Search

Search papers and lessons

Strain Energy

Level 3 · 12 min read

Strain energy is the energy stored in a solid as it is stretched or sheared; for a linear elastic material it is the area under the stress-strain line, and it is returned when the load is removed.

On this page

  • Colour = topic mix
  • Linear algebra
  • Calculus
  • Classical mechanics
  • Discrete math
  • Mechanical engineering
  • ReadReady to readNot yet

TL;DR

When a solid is stretched, sheared or squeezed, the Work done on it is stored inside it as strain energy. For a linear elastic material (one whose stress is proportional to strain) the stored energy per unit volume is one half of stress times strain, which is the area under a straight stress-strain line. When the load is removed while the material is still elastic (it springs back to its original shape), the stored energy is given back. Strain energy is the quantity that the principle of minimum potential energy and most computer methods for structures are built on.

Builds on: Stress Tensor, Strain Tensor, Hooke's Law, Work · Leads to: Principle of Minimum Potential Energy, Finite Element Method

Where it's used

Clocks and toys. A mechanical clock or wind-up toy stores energy in a coiled steel spring. Winding the key stretches or twists the spring, and the stored strain energy slowly drives the gears as the spring unwinds. The spring is designed to stay elastic (it returns to its rest shape when unloaded), so it works the same way each time.

Diving boards and beams. A diving board stores strain energy as it bends under a diver's weight, and the energy is returned as the board springs back up. Engineers size a beam so that its strain energy stays in the elastic range, where the bending is recovered on unloading.

Topology optimisation. Software that designs a lightweight part removes material where it carries little strain energy. The total strain energy, or the compliance (how far a structure gives under a fixed load, which for a linear structure is twice the strain energy), is the quantity the design tries to reduce. The part keeps material only where the load path needs it.

How it works

Take a straight bar of length L=2L = 2 m and cross-section A=0.01A = 0.01 m², made of a soft material with Young's modulus E=100E = 100 MPa, the stiffness of the material (its stress divided by its strain in a pull). It is pulled slowly, so that the force grows from zero to F=10F = 10 kN. Find the energy stored in the bar.

  1. Find the stress. The stress is the force divided by the area, σ=F/A=10 000/0.01=1 000 000\sigma = F/A = 10\,000 / 0.01 = 1\,000\,000 Pa, which is 1 MPa. Check: newtons per square metre are pascals, so the unit is right.
  2. Find the strain. Hooke's law for the material gives ε=σ/E=106/108=0.01\varepsilon = \sigma/E = 10^6 / 10^8 = 0.01. Check: a strain of 0.01 means a 1 percent stretch.
  3. Find the elongation. The bar stretches by δ=εL=0.01×2=0.02\delta = \varepsilon L = 0.01 \times 2 = 0.02 m, which is 20 mm. Check: the bar is now 2.02 m long.
  4. Add up the work. The force grows in step with the stretch, so it is 0 at the start and 10 kN at the end. The average force is 5 kN, and the Work is the average force times the distance, 12Fδ=12×10 000×0.02=100\tfrac12 F\delta = \tfrac12 \times 10\,000 \times 0.02 = 100 J. Check: this is the area of a triangle with base 0.02 m and height 10 kN, which is 12×0.02×10 000=100\tfrac12 \times 0.02 \times 10\,000 = 100 J.
  5. Check per unit volume. The energy per unit volume is u=12σε=12×106×0.01=5000u = \tfrac12\sigma\varepsilon = \tfrac12 \times 10^6 \times 0.01 = 5000 J/m³. The volume is V=AL=0.02V = AL = 0.02 m³, so the total is 5000×0.02=1005000 \times 0.02 = 100 J. Check: this agrees with step 4.
  6. Read the result. The bar stores 100 J. If the load is removed while the bar is still elastic, the bar returns to its original length and gives back the 100 J.

The graph shows the stress against the strain, and the stored energy is the shaded triangle under the line.

00.0050.010.0150.0200.511.52strain epsilonstress sigma (MPa)
  • sigma = E epsilon, with E = 100 MPa
The stress rises in a straight line with the strain. The area under the line up to the marked point, 1 MPa at a strain of 0.01, is the strain energy per unit volume, 5000 J/m³.

The math

Definition: Strain energy

For a linear elastic body with stress tensor σ\boldsymbol{\sigma} and strain tensor ε\boldsymbol{\varepsilon}, the strain energy density is

U0=12 σ:ε=12∑i,jσijεij,U_0 = \tfrac12\,\boldsymbol{\sigma}:\boldsymbol{\varepsilon} = \tfrac12 \sum_{i,j} \sigma_{ij}\varepsilon_{ij},

and the strain energy of the whole body of volume VV is U=∫VU0 dVU = \int_V U_0\, dV. The colon means the sum of products of matching entries, the same meaning as in Principle of Minimum Potential Energy.

Step 1 in symbols: the stress and strain for a pull

For a pull along one axis the only stress is σ=F/A\sigma = F/A, and the only strain is ε=δ/L\varepsilon = \delta/L. In the walkthrough, σ=1\sigma = 1 MPa and ε=0.01\varepsilon = 0.01.

Step 2 in symbols: the force as a function of the stretch

Hooke's law for the bar, from Hooke's Law, gives F=kδF = k\delta with k=EA/Lk = EA/L. Here k=100×106×0.01/2=5×105k = 100\times 10^6 \times 0.01 / 2 = 5 \times 10^5 N/m. Check: at δ=0.02\delta = 0.02 m the force is 5×105×0.02=10 0005 \times 10^5 \times 0.02 = 10\,000 N, as in the walkthrough.

The Work done as the stretch grows from 00 to δ\delta is the integral of the force,

U=∫0δkx dx=12kδ2=12Fδ.U = \int_0^{\delta} k x\, dx = \tfrac12 k\delta^2 = \tfrac12 F\delta.

The factor 12\tfrac12 appears because the force starts at zero, so the work is the area of a triangle, not a rectangle. Check: 12×5×105×0.022=100\tfrac12 \times 5\times 10^5 \times 0.02^2 = 100 J.

Step 3 in symbols: the same result per unit volume

Substitute δ=εL\delta = \varepsilon L and k=EA/Lk = EA/L into 12kδ2\tfrac12 k\delta^2:

U=12EAL(εL)2=12Eε2 (AL)=12Eε2V.U = \tfrac12 \frac{EA}{L}(\varepsilon L)^2 = \tfrac12 E\varepsilon^2 \,(AL) = \tfrac12 E\varepsilon^2 V.

So the energy density is U0=12Eε2U_0 = \tfrac12 E\varepsilon^2, and with σ=Eε\sigma = E\varepsilon this is 12σε=σ2/(2E)\tfrac12 \sigma\varepsilon = \sigma^2/(2E). Check: 12×108×10−4×0.02=100\tfrac12 \times 10^8 \times 10^{-4} \times 0.02 = 100 J, using V=0.02V = 0.02 m³.

Step 4 in symbols: the general tensor form

For a general isotropic linear material, the stress is σ=λ tr(ε) I+2μ ε\boldsymbol{\sigma} = \lambda\,\mathrm{tr}(\boldsymbol{\varepsilon})\,I + 2\mu\,\boldsymbol{\varepsilon}. Here λ\lambda and μ\mu are the Lamé constants of Linear Elasticity (two material constants, where μ\mu is the shear modulus), II is the identity matrix, and tr\mathrm{tr} is the trace, the sum of the diagonal entries. Substituting into 12σ:ε\tfrac12\boldsymbol{\sigma}:\boldsymbol{\varepsilon} gives

U0=12λ (tr ε)2+μ ε:ε.U_0 = \tfrac12\lambda\,\big(\mathrm{tr}\,\boldsymbol{\varepsilon}\big)^2 + \mu\,\boldsymbol{\varepsilon}:\boldsymbol{\varepsilon}.

The shear part shows the factor clearly. The shear terms in 12σ:ε\tfrac12\boldsymbol{\sigma}:\boldsymbol{\varepsilon} are 12(σ12ε12+σ21ε21)=σ12ε12=12τγ\tfrac12(\sigma_{12}\varepsilon_{12} + \sigma_{21}\varepsilon_{21}) = \sigma_{12}\varepsilon_{12} = \tfrac12\tau\gamma, where τ\tau is the shear stress and γ=2ε12\gamma = 2\varepsilon_{12} is the engineering shear strain.

Step 5 in symbols: the energy is never negative

The stiffness of a real material is positive definite, so U0≥0U_0 \geq 0 for every strain, and it is zero only when the strain is zero. That is why strain energy can be added up over a body without cancelling, and why it can serve as the measure that the minimisation principle works with.

Step 6 in symbols: the energy is recovered

On unloading in the elastic range, the stress returns to zero along the same straight line. The work the body gives back is the same area, so the net energy change over a full load cycle is zero. Energy is lost only when a permanent deformation or heat is produced.

Worked examples

Example
1. A small pull (tiny)

A bar has length 11 m, area 0.0010.001 m², and E=100E = 100 MPa. It is pulled with F=100F = 100 N.

  1. The stress is 100/0.001=105100 / 0.001 = 10^5 Pa, which is 0.1 MPa.
  2. The strain is 105/(108)=0.00110^5 / (10^8) = 0.001.
  3. The elongation is 0.001×1=0.0010.001 \times 1 = 0.001 m.
  4. The strain energy is 12Fδ=12×100×0.001=0.05\tfrac12 F\delta = \tfrac12 \times 100 \times 0.001 = 0.05 J.
  5. Check with the density: 12Eε2V=12×108×10−6×10−3=0.05\tfrac12 E\varepsilon^2 V = \tfrac12 \times 10^8 \times 10^{-6} \times 10^{-3} = 0.05 J. The two agree.
  6. Interpretation: a force of 100 N stores only 0.05 J in this bar, because the stretch is a millimetre.
Example
2. Doubling the force (standard)

The bar of the walkthrough is loaded to F=20F = 20 kN instead of 10 kN.

  1. The stress doubles to 2 MPa, and the strain doubles to 0.020.02.
  2. The elongation doubles to δ=0.04\delta = 0.04 m.
  3. The strain energy is 12Fδ=12×20 000×0.04=400\tfrac12 F\delta = \tfrac12 \times 20\,000 \times 0.04 = 400 J.
  4. Check with the density: 12Eε2V=12×108×4×10−4×0.02=400\tfrac12 E\varepsilon^2 V = \tfrac12 \times 10^8 \times 4 \times 10^{-4} \times 0.02 = 400 J.
  5. Interpretation: doubling the force makes the energy four times larger, because the energy grows as the square of the force, U=F2L/(2EA)U = F^2 L/(2EA).
Example
3. A steel bar (realistic)

A steel bar of length 0.50.5 m and cross-section 22 cm² =2×10−4= 2 \times 10^{-4} m² is stretched by 0.10.1 mm. Take E=200E = 200 GPa, a typical value for steel.

  1. The strain is ε=δ/L=10−4/0.5=2×10−4\varepsilon = \delta/L = 10^{-4}/0.5 = 2 \times 10^{-4}.
  2. The stress is Eε=2×1011×2×10−4=4×107E\varepsilon = 2 \times 10^{11} \times 2 \times 10^{-4} = 4 \times 10^{7} Pa, which is 40 MPa.
  3. The force is σA=4×107×2×10−4=8000\sigma A = 4 \times 10^{7} \times 2 \times 10^{-4} = 8000 N.
  4. The strain energy is 12Fδ=12×8000×10−4=0.4\tfrac12 F\delta = \tfrac12 \times 8000 \times 10^{-4} = 0.4 J.
  5. Check with the density: the energy density is 12σε=12×4×107×2×10−4=4000\tfrac12\sigma\varepsilon = \tfrac12 \times 4 \times 10^7 \times 2 \times 10^{-4} = 4000 J/m³, and the volume is 0.5×2×10−4=10−40.5 \times 2 \times 10^{-4} = 10^{-4} m³, so 4000×10−4=0.44000 \times 10^{-4} = 0.4 J.
  6. Interpretation: a stretch that is barely visible stores less than half a joule in a steel bar of this size, which is enough to show that stored energy is small in ordinary elastic service.

Try it: the same bar is stretched by 0.2 mm instead. What is the strain energy? Answer: the energy goes up by the square of the stretch, so it is 4×0.4=1.64 \times 0.4 = 1.6 J. Check: the force doubles to 16 000 N and 12×16 000×2×10−4=1.6\tfrac12 \times 16\,000 \times 2 \times 10^{-4} = 1.6 J.

Common mistakes and tradeoffs

It is tempting to think that the strain energy is the force times the stretch, FδF\delta. In fact the force grows from zero as the bar stretches, so the energy is the area of a triangle, 12Fδ\tfrac12 F\delta. The full product FδF\delta is the work for a load that is applied suddenly and kept at its final value.

It is tempting to think that the energy density is 12σ2\tfrac12\sigma^2, with no modulus. In fact the strain is σ/E\sigma/E for a pull, so the density is σ2/(2E)\sigma^2/(2E). A stiff material with the same stress stores less energy than a soft one.

It is tempting to think that stored energy is always lost when the load is removed. In fact in the elastic range it is returned, and the bar goes back to its original length. Energy is lost only through permanent deformation, which is plastic (the material keeps the change after unloading), or through heat from friction and damping.

It is tempting to forget the shear terms when computing the energy. In fact the full energy is 12σ:ε\tfrac12\boldsymbol{\sigma}:\boldsymbol{\varepsilon}, which includes the shear products as well as the normal ones, and the shear part is 12τγ\tfrac12\tau\gamma, not τγ\tau\gamma.

When to use it. Use strain energy for linear elastic bodies under slowly applied loads, where the energy stored is fully recovered on unloading. It is the natural measure for comparing designs, for energy methods, and for checking the energy that a structure returns.

When not to use it. For materials that yield (start to deform permanently at a limiting stress), the stress-strain line stops being straight, and part of the work becomes permanent deformation rather than stored energy. For rubber-like materials stretched by large amounts, the energy density needs a non-linear form, such as the strain energy functions used in rubber mechanics.

History

Robert Hooke's law of 1678 gave the force in a spring as proportional to its stretch, and so it gave the work of stretching it. Thomas Young's modulus of 1807 supplied the stiffness of a bar. The energy of the stretched body as a whole came later, once the stress and strain were written as tensors in the 1820s by Augustin-Louis Cauchy.

In 1879 Alberto Castigliano published theorems that express the displacements of a structure as derivatives of its strain energy. Walther Ritz, in 1908, showed that the energy could be minimised over a family of trial displacements to find an approximate answer. These ideas made strain energy a working tool in structural analysis.

From the 1950s the Finite Element Method applied the same energy idea to whole structures on a computer, summing the strain energy of many small elements. Strain energy has been a routine output of design software since then.

Recap

  • For a linear elastic body the strain energy density is U0=12σ:εU_0 = \tfrac12\boldsymbol{\sigma}:\boldsymbol{\varepsilon}, and the total is its integral over the volume.
  • For a pull, U=12Fδ=12Eε2VU = \tfrac12 F\delta = \tfrac12 E\varepsilon^2 V, so the energy grows as the square of the force or the stretch.
  • The energy is never negative, and in the elastic range it is recovered on unloading.
  • Read next: Principle of Minimum Potential Energy, which uses strain energy minus the work of the loads, the total potential energy of the body, and Finite Element Method, which computes it for real shapes.

Check yourself

QuestionRecall: write the strain energy density for a linear elastic material in tensor form, and give its value for a simple pull with stress sigma and strain epsilon.Show answer
The density is U0=12σ:εU_0 = \tfrac12\boldsymbol{\sigma}:\boldsymbol{\varepsilon}. For a simple pull it is 12σε\tfrac12\sigma\varepsilon, which is also σ2/(2E)\sigma^2/(2E), because σ=Eε\sigma = E\varepsilon.
QuestionComputation: a bar has E = 50 MPa, area 0.02 m², length 1 m, and is pulled by F = 2 kN. Find the elongation and the strain energy.Show answer
The stress is 2000/0.02=1052000/0.02 = 10^5 Pa, so the strain is 105/(5×107)=0.00210^5/(5\times 10^7) = 0.002. The elongation is 0.002×1=0.0020.002 \times 1 = 0.002 m. The strain energy is 12Fδ=12×2000×0.002=2\tfrac12 F\delta = \tfrac12 \times 2000 \times 0.002 = 2 J. Check: 12Eε2V=12×5×107×4×10−6×0.02=2\tfrac12 E\varepsilon^2 V = \tfrac12 \times 5\times 10^7 \times 4\times 10^{-6} \times 0.02 = 2 J.
QuestionWhy: why is the strain energy one half of F times the elongation, rather than the full product?Show answer
Because the force grows steadily from zero as the bar stretches, its average over the stretch is half the final force. The work is the average force times the distance, so it is 12Fδ\tfrac12 F\delta, the area of a triangle under the force-stretch line.
QuestionApplied: a bar stores 100 J when loaded to a force F. An engineer doubles the force on the same elastic bar. By what factor does the stored energy change, and what happens to the energy when the load is removed?Show answer
The energy goes up by a factor of four, because strain energy is F2L/(2EA)F^2L/(2EA) and so grows as the square of the force. In the elastic range all of it, 400 J, is returned on unloading, since the bar returns to its original length and no energy is spent on permanent deformation.

Sources