# Hooke's law

**Hooke's law** is a principle of physics that states that the force needed to extend or compress a spring by some distance is proportional to that distance. That is: where is a constant factor characteristic of the spring, its stiffness. The law is named after 17th century British physicist Robert Hooke. He first stated the law in 1660 as a Latin anagram.^{[1]}^{[2]} He published the solution of his anagram in 1678 as: *ut tensio, sic vis* ("as the extension, so the force" or "the extension is proportional to the force").

Hooke's equation in fact holds (to some extent) in many other situations where an elastic body is deformed, such as wind blowing on a tall building, a musician plucking a string of a guitar, or the filling of a party balloon. An elastic body or material for which this equation can be assumed is said to be linear-elastic or **Hookean**.

Hooke's law is only a first order linear approximation to the real response of springs and other elastic bodies to applied forces. It must eventually fail once the forces exceed some limit, since no material can be compressed beyond a certain minimum size, or stretched beyond a maximum size, without some permanent deformation or change of state. In fact, many materials will noticeably deviate from Hooke's law well before those elastic limits are reached.

On the other hand, Hooke's law is an accurate approximation for most solid bodies, as long as the forces and deformations are small enough. For this reason, Hooke's law is extensively used in all branches of science and engineering, and is the foundation of many disciplines such as seismology, molecular mechanics and acoustics. It is also the fundamental principle behind the spring scale, the manometer, and the balance wheel of the mechanical clock.

The modern theory of elasticity generalizes Hooke's law to say that the strain (deformation) of an elastic object or material is proportional to the stress applied to it. However, since general stresses and strains may have multiple independent components, the "proportionality factor" may no longer be just a single real number, but rather a linear map (a tensor) that can be represented by a matrix of real numbers.

In this general form, Hooke's law and Newton's laws of static equilibrium make it possible to deduce the relation between strain and stress for complex objects in terms of intrinsic properties of the materials it is made of. For example, one can deduce that a homogeneous rod with uniform cross section will behave like a simple spring when stretched, with a stiffness directly proportional to its cross-section area and inversely proportional to its length.

## Formal definition

### For linear springs

Consider a simple helical spring that has one end attached to some fixed object, while the free end is being pulled by a force whose magnitude is . Suppose that the spring has reached a state of equilibrium, where its length is not changing anymore. Let be the amount by which the free end of the spring was displaced from its "relaxed" position (when it is not being stretched). Hooke's law states that

or, equivalently,

where is a positive real number, characteristic of the spring. Moreover, the same formula holds when the spring is compressed, with and both negative in that case. According to this formula, the graph of the applied force as a function of the displacement will be a straight line passing through the origin, whose slope is .

Hooke's law for a spring is often stated under the convention that is the restoring (reaction) force exerted by the spring on whatever is pulling its free end. In that case the equation becomes

since the direction of the restoring force is opposite to that of the displacement.

### General "scalar" springs

Hooke's spring law usually applies to any elastic object, of arbitrary complexity, as long as both the deformation and the stress can be expressed by a single number that can be both positive and negative.

For example, when a block of rubber attached to two parallel plates is deformed by shearing, rather than stretching or compression, the shearing force and the sideways displacement of the plates obey Hooke's law (for small enough deformations).

Hooke's law also applies when a straight steel bar or concrete beam, supported at both ends, is bent by a weight placed at some intermediate point. The displacement in this case is the deviation of the beam, measured in the transversal direction, relative to its unloaded shape.

The law also applies when a stretched steel wire is twisted by pulling on a lever attached to one end. In this case the stress can be taken as the force applied to the lever, and as the distance traveled by it along its circular path. Or, equivalently, one can let be the torque applied by the lever to the end of the wire, and be the angle by which that end turns. In either case is proportional to (although the constant is different in each case.)and

### Vector formulation

In the case of a helical spring that is stretched or compressed along its axis, the applied (or restoring) force and the resulting elongation or compression have the same direction (which is the direction of said axis). Therefore, if and are defined as vectors, Hooke's equation still holds, and says that the force vector is the elongation vector multiplied by a fixed scalar.

### General tensor form

Some elastic bodies will deform in one direction when subjected to a force with a different direction. One example is a horizontal wood beam with non-square rectangular cross section that is bent by a transverse load that is neither vertical nor horizontal. In such cases, the *magnitude* of the displacement will be proportional to the magnitude of the force , as long as the direction of the latter remains the same (and its value is not too large); so the scalar version of Hooke's law will hold. However, the force and displacement *vectors* will not be scalar multiples of each other, since they have different directions. Moreover, the ratio between their magnitudes will depend on the direction of the vector .

Yet, in such cases there is often a fixed linear relation between the force and deformation vectors, as long as they are small enough. Namely, there is a function from vectors to vectors, such that , and for any real numbers and any displacement vectors . Such a function is called a (second-order) tensor.

With respect to an arbitrary Cartesian coordinate system, the force and displacement vectors can be represented by 3×1 matrices of real numbers. Then the tensor connecting them can be represented by a 3×3 matrix of real coefficients, that, when multiplied by the displacement vector, gives the force vector:

That is,

for equal to 1,2, and 3. Therefore, Hooke's law can be said to hold also when and are vectors with variable directions, except that the stiffness of the object is a tensor , rather than a single real number .

### Hooke's law for continuous media

{{#invoke:main|main}} The stresses and strains of the material inside a continuous elastic material (such as a block of rubber, the wall of a boiler, or a steel bar) are connected by a linear relationship that is mathematically similar to Hooke's spring law, and is often referred to by that name.

However, the strain state in a solid medium around some point cannot be described by a single vector. The same parcel of material, no matter how small, can be compressed, stretched, and sheared at the same time, along different directions. Likewise, the stresses in that parcel can be at once pushing, pulling, and shearing.

In order to capture this complexity, the relevant state of the medium around a point must be represented by two second-order tensors, the strain tensor (in lieu of the displacement ) and the stress tensor (replacing the restoring force ).The analogous of Hooke's spring law for continuous media is then

where is a fourth-order tensor (that is, a linear map between second-order tensors) usually called the stiffness tensor or elasticity tensor. One may also write it as

where the tensor , called the compliance tensor, represents the inverse of said linear map.

In a Cartesian coordinate system, the stress and strain tensors can be represented by 3×3 matrices

Being a linear mapping between the nine numbers and the nine numbers , the stiffness tensor is represented by a matrix of 3×3×3×3 = 81 real numbers . Hooke's law then says that

All three tensors generally vary from point to point inside the medium, and may vary with time as well. The strain tensor merely specifies the displacement of the medium particles in the neighborhood of the point, while the stress tensor specifies the forces that neighboring parcels of the medium are exerting on each other. Therefore, they are independent of the composition and physical state of the material. The stiffness tensor , on the other hand, is a property of the material, and often depends on physical state variables such as temperature, pressure, and microstructure.

Due to the inherent symmetries of , , and , only 21 elastic coefficients of the latter are independent. For isotropic media (which have the same physical properties in any direction), can be reduced to only two independent numbers, the bulk modulus and the shear modulus , that quantify the material's resistance to changes in volume and to shearing deformations, respectively.

## Analogous laws

Since Hooke's law is a simple proportionality between two quantities, its formulas and consequences are mathematically similar to those of many other physical laws, such as those describing the motion of fluids, or the polarization of a dielectric by an electric field.

In particular, the tensor equation relating elastic stresses to strains is entirely similar to the equation relating the viscous stress tensor and the strain rate tensor in flows of viscous fluids; although the former pertains to static stresses (related to *amount* of deformation) while the latter pertains to dynamical stresses (related to the *rate* of deformation).

## Units of measurement

In SI units, displacements are measured in metres (m), and forces in newtons (N or kg·m/s^{2}). Therefore the spring constant , and each element of the tensor , is measured in newtons per metre (N/m), or kilograms per second squared (kg/s^{2}).

For continuous media, each element of the stress tensor is a force divided by an area; it is therefore measured in units of pressure, namely pascals (Pa, or N/m^{2}, or kg/m/s^{2}. The elements of the strain tensor are dimensionless (displacements divided by distances). Therefore the entries of are also expressed in units of pressure.

## General application to elastic materials

Objects that quickly regain their original shape after being deformed by a force, with the molecules or atoms of their material returning to the initial state of stable equilibrium, often obey Hooke's law.

Hooke's law only holds for some materials under certain loading conditions. Steel exhibits linear-elastic behavior in most engineering applications; Hooke's law is valid for it throughout its **elastic range** (i.e., for stresses below the yield strength). For some other materials, such as aluminium, Hooke's law is only valid for a portion of the elastic range. For these materials a proportional limit stress is defined, below which the errors associated with the linear approximation are negligible.

Rubber is generally regarded as a "non-hookean" material because its elasticity is stress dependent and sensitive to temperature and loading rate.

Generalizations of Hooke's law for the case of large deformations is provided by models of neo-Hookean solids and Mooney-Rivlin solids.

## Derived formulas

### Tensional stiffness of a uniform bar

We may view a rod of any elastic material as a linear spring. The rod has length *L* and cross-sectional area *A*. Its extension (strain) is linearly proportional to its tensile stress *σ* by a constant factor , the inverse of its modulus of elasticity *E*, such that

In turn,

(*i.e.*, [change in length] as a fraction or percentage of total length),

and because

such that

this relationship may also be expressed as

### Spring energy

The potential energy stored in a spring is given by

which comes from adding up the energy it takes to incrementally compress the spring. That is, the integral of force over displacement. Since the external force has the same general direction as the displacement, the potential energy of a spring is always non-negative.

This potential "U" can be visualized as a parabola on the *U*-*x* plane such that . As the spring is stretched in the positive x-direction, the potential energy increases parabolically (the same thing happens as the spring is compressed). Since the change in potential energy changes at a constant rate: . Note that the change in the change in U is constant even when the displacement and acceleration are zero.

### Relaxed force constants (generalized compliance constants)

Relaxed force constants (the inverse of Grunenberg`s generalized compliance constants) are uniquely defined for molecular systems, in contradistinction to the usual “rigid” force constants, and thus their use allows meaningful correlations to be made between force fields calculated for reactants, transition state, and product of a chemical reaction. Just as the potential energy can be written as a quadratic form in the internal coordinates, so it can also be written in terms of generalized forces. The resulting coefficients are termed compliance constants. The suitability of relaxed force constants (inverse compliance constants) as covalent bond strength descriptors was demonstrated as early as ~1980, at the University of Cambridge. Recently, the suitability as non-covalent bond strength descriptors was demonstrated, too.^{[3]}

### Harmonic oscillator

{{#invoke:see also|seealso}}

A mass *m* attached to the end of a spring is a classic example of a harmonic oscillator. By pulling slightly on the mass and then releasing it, the system will be set in sinusoid oscillating motion about the equilibrium position. To the extent that the spring obeys Hooke's law, and that one can neglect friction and the mass of the spring, the amplitude of the oscillation will remain constant; and its frequency will be independent of its amplitude, determined only by the mass and the stiffness of the spring:

This phenomenon made possible the construction of accurate mechanical clocks and watches that could be carried on ships and people's pockets.

### Rotation in Gravity-Free Space

If the mass *m* was attached to a spring with force constant *k* and rotating in free space, the spring tension (F_{t}) would balance the required centripetal force (F_{c}) as follows -

Since F_{t} = F_{c} and x = r, therefore:

Given that , this leads to the same frequency equation as above -

## Linear elasticity theory for continuous media

Template:Einstein summation convention

### Isotropic materials

(see viscosity for an analogous development for viscous fluids.)

Isotropic materials are characterized by properties which are independent of direction in space. Physical equations involving isotropic materials must therefore be independent of the coordinate system chosen to represent them. The strain tensor is a symmetric tensor. Since the trace of any tensor is independent of any coordinate system, the most complete coordinate-free decomposition of a symmetric tensor is to represent it as the sum of a constant tensor and a traceless symmetric tensor.^{[4]}^{:Ch. 10} Thus in index notation:

where is the Kronecker delta. In direct tensor notation:

where is the second-order identity tensor.
The first term on the right is the constant tensor, also known as the **volumetric strain tensor**, and the second term is the traceless symmetric tensor, also known as the **deviatoric strain tensor** or shear tensor.

The most general form of Hooke's law for isotropic materials may now be written as a linear combination of these two tensors:

where *K* is the bulk modulus and *G* is the shear modulus.

Using the relationships between the elastic moduli, these equations may also be expressed in various other ways. A common form of Hooke's law for isotropic materials, expressed in direct tensor notation, is
^{[5]}

where and are the Lamé constants, is the second-rank identity tensor, and is the symmetric part of the fourth-rank identity tensor. In index notation:

The inverse relationship is^{[6]}

Therefore the compliance tensor in the relation is

In terms of Young's modulus and Poisson's ratio, Hooke's law for isotropic materials can then be expressed as

This is the form in which the strain is expressed in terms of the stress tensor in engineering. The expression in expanded form is

where *E* is the Young's modulus and is Poisson's ratio. (See 3-D elasticity).

Derivation of Hooke's law in 3D The 3-D form of Hooke's law can be derived using Poisson's ratio and the 1-D form of Hooke's law as follows. Consider the strain and stress relation as a superposition of two effects: stretching in direction of the load (1) and shrinking (caused by the load) in perpendicular directions (2 and 3),

where is the Poisson's ratio and the Young's modulus. We get similar equations to the loads in directions 2 and 3,

and

Summing the three cases together () we get

or by adding and subtracting one

Calculating the sum

and substituting it to the equation solved for gives

where and are the Lamé parameters. Similar treatment of directions 2 and 3 gives the Hooke's law in three dimensions.

In matrix form, Hooke's law for isotropic materials can be written as

where is the **engineering shear strain**.
The inverse relation may be written as

which can be simplified thanks to the Lamé constants :

#### Plane stress

Under plane stress conditions . In that case Hooke's law takes the form

The inverse relation is usually written in the reduced form

### Anisotropic materials

The symmetry of the Cauchy stress tensor () and the generalized Hooke's laws () implies that . Similarly, the symmetry of the infinitesimal strain tensor implies that . These symmetries are called the **minor symmetries** of the **stiffness tensor** (). This reduces the number of elastic constants from 81 to 36.

If in addition, since the displacement gradient and the Cauchy stress are work conjugate, the stress–strain relation can be derived from a strain energy density functional (), then

The arbitrariness of the order of differentiation implies that . These are called the **major symmetries** of the stiffness tensor. This reduces the number of elastic constants to 21 from 36. The major and minor symmetries indicate that the stiffness tensor has only 21 independent components.

#### Matrix representation (stiffness tensor)

It is often useful to express the anisotropic form of Hooke's law in matrix notation, also called Voigt notation. To do this we take advantage of the symmetry of the stress and strain tensors and express them as six-dimensional vectors in an orthonormal coordinate system () as

Then the stiffness tensor () can be expressed as

and Hooke's law is written as

Similarly the compliance tensor () can be written as

#### Change of coordinate system

If a linear elastic material is rotated from a reference configuration to another, then the material is symmetric with respect to the rotation if the components of the stiffness tensor in the rotated configuration are related to the components in the reference configuration by the relation^{[7]}