BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyThe High School: physics from the very first step

The pendulum and energy in oscillations

A pendulum swinging through small angles is a simple harmonic oscillator whose period depends only on its length and on g, and in every oscillation energy flows back and forth between motion and position.

You need this first

Full reading path (32 pages)
  1. Powers of ten and scientific notation (hs-0)
  2. Units and the SI system (hs-0)
  3. Solving and rearranging formulas (hs-0)
  4. Graphs, straight lines and slope (hs-0)
  5. Quadratics and power laws (hs-0)
  6. Angles, radians and trigonometry (hs-0)
  7. Vectors (hs-0)
  8. Distance and displacement (hs-1)
  9. Rates of change and area under a graph (hs-0)
  10. Speed and velocity (hs-1)
  11. Position–time graphs (hs-1)
  12. Acceleration (hs-1)
  13. Velocity–time graphs (hs-1)
  14. Equations for constant acceleration (hs-1)
  15. Free fall (hs-1)
  16. What is a force? (hs-2)
  17. Relative velocity (hs-1)
  18. Newton's first law: inertia (hs-2)
  19. Newton's second law (hs-2)
  20. Circular motion (hs-1)
  21. Newton's third law (hs-2)
  22. Weight, normal force and tension (hs-2)
  23. Springs and Hooke's law (hs-2)
  24. Oscillations and simple harmonic motion (hs-5)
  25. Friction and drag (hs-2)
  26. Inclined planes (hs-2)
  27. Centripetal force (hs-2)
  28. Work (hs-3)
  29. Kinetic energy and the work–energy theorem (hs-3)
  30. Newton's law of gravitation (hs-2)
  31. Gravitational potential energy (hs-3)
  32. Conservation of energy (hs-3)
On this page · 6 sections
  1. The pendulum is an oscillator too
  2. Energy in an oscillating spring
  3. Energy in a swinging pendulum
  4. Real oscillations die out
  5. Try it
  6. Summary

Hang a weight from a string and let it swing. Galileo noticed that a swinging lamp seems to keep the same rhythm whether it swings wide or narrow, and for three centuries the best clocks in the world were pendulum clocks. This lesson shows why the pendulum keeps time, and follows the energy of an oscillator as it moves.

The pendulum is an oscillator too#

A simple pendulum is a small heavy bob of mass mm on a light string of length ℓ\ell, swinging about a fixed pivot. Its position is given by the angle θ\theta between the string and the vertical. At θ=0\theta = 0 the bob hangs straight down: that is its stable equilibrium.

When the bob is pulled aside, gravity has a part along the path that pulls it back towards the bottom. Measure the displacement along the arc: at angle θ\theta (in radians) the bob has moved a distance s=ℓθs = \ell\theta from the bottom. The part of the weight mgmg along the path is mgsin⁡θmg\sin\theta, pointing back towards the bottom. That is a restoring force, but it is proportional to sin⁡θ\sin\theta, not to the displacement itself, so it is not yet simple harmonic motion.

The step that makes it simple is the small-angle approximation. For a small angle measured in radians, sin⁡θ\sin\theta is almost equal to θ\theta itself:

Small-angle approximation
sin⁡θ≈θ(θ in radians, ∣θ∣≪1)\sin\theta \approx \theta \qquad (\theta \text{ in radians, } |\theta| \ll 1)
In words

sine theta is approximately theta ( theta in radians, the absolute value of theta is much less than 1)

At 10∘=0.174510^\circ = 0.1745 rad, sin⁡θ=0.1736\sin\theta = 0.1736: a difference of only 0.5%. Even at 30∘30^\circ (0.5240.524 rad, sin⁡θ=0.500\sin\theta = 0.500) it is about 5%. With this approximation the restoring force is mgθ=(mg/ℓ) smg\theta = (mg/\ell)\,s: proportional to the displacement ss, exactly like a spring with spring constant mg/ℓmg/\ell. So the pendulum oscillates in simple harmonic motion, and ω=k/m\omega = \sqrt{k/m} from the previous lesson becomes (mg/ℓ)/m=g/ℓ\sqrt{(mg/\ell)/m} = \sqrt{g/\ell}. The MIT notes reach the same result from energy conservation:

Angular frequency of a pendulum (small angles)
ω=gℓ\omega = \sqrt{\frac{g}{\ell}}
In words

omega equals the square root of g over ell, end of root

Period of a pendulum (small angles)
T=2πℓgT = 2\pi\sqrt{\frac{\ell}{g}}
In words

T equals 2 pi the square root of ell over g, end of root

Three things are missing from this formula, and each one matters:

  • The mass. A heavier bob needs more force to speed up, but gravity pulls it harder in exactly the same proportion. All pendulums of the same length keep the same time.
  • The amplitude. As for the spring, a wider swing is also a faster swing. This is only true for small angles; for wide swings the period grows a little.
  • Anything except ℓ\ell and gg. A longer pendulum is slower, and the same pendulum is slower where gravity is weaker.
Worked example

A clock pendulum

A pendulum clock ticks once every second, so its pendulum has a period of 2.0 s2.0\ \text{s} (one second each way). How long must the pendulum be? Use g=9.81 m/s2g = 9.81\ \text{m/s}^2.

Rearrange the period formula

Square T=2πℓ/gT = 2\pi\sqrt{\ell/g} to get T2=4π2ℓ/gT^2 = 4\pi^2\ell/g, so ℓ=gT2/(4π2)\ell = gT^2/(4\pi^2).

Calculate

ℓ=9.81×2.02/(4π2)=0.99 m\ell = 9.81 \times 2.0^2/(4\pi^2) = 0.99\ \text{m}. This is why tall "grandfather clocks" are about two metres high: the pendulum alone is nearly a metre long.

Worked example

The same pendulum on the Moon

A 1.0 m1.0\ \text{m} pendulum is taken to the Moon, where g=1.62 m/s2g = 1.62\ \text{m/s}^2 (NASA's Moon Fact Sheet). Compare its period there with its period on Earth.

On Earth

T=2π1.0/9.81=2.0 sT = 2\pi\sqrt{1.0/9.81} = 2.0\ \text{s}.

On the Moon

T=2π1.0/1.62=4.9 sT = 2\pi\sqrt{1.0/1.62} = 4.9\ \text{s}. Weaker gravity gives a weaker restoring push, so the pendulum swings about two and a half times more slowly. Measuring the period of a pendulum is in fact a way to measure gg.

Energy in an oscillating spring#

An oscillator keeps trading one kind of energy for another. For a mass on a spring, the moving mass has kinetic energy 12mv2\tfrac12 mv^2, and a stretched or squeezed spring stores energy too. Stretching a spring by xx takes work. The force you need grows steadily from 00 to kxkx as you pull, so on average it is 12kx\tfrac12 kx, and the work is that average force times the distance xx. (On a force–stretch graph it is the area of the triangle under the line.) The stored spring energy (elastic potential energy) is

Energy stored in a spring
U=12kx2U = \tfrac12 k x^2
In words

U equals one half k x squared

The total energy is the sum of the two:

Energy of a mass on a spring
E=12mv2+12kx2E = \tfrac12 m v^2 + \tfrac12 k x^2
In words

E equals one half m v squared plus one half k x squared

With no friction this total stays the same. At a turning point the mass is at rest and all the energy is in the spring: E=12kA2E = \tfrac12 kA^2. At equilibrium the spring is relaxed and all the energy is kinetic. In between it is shared, and the sum never changes:

Total energy of a simple harmonic oscillator
E=12kA2E = \tfrac12 k A^2
In words

E equals one half k A squared

So the energy grows with the square of the amplitude. Setting 12mvmax2=12kA2\tfrac12 m v_\text{max}^2 = \tfrac12 kA^2 gives vmax=Ak/m=ωAv_\text{max} = A\sqrt{k/m} = \omega A, the same result as from the slope of the position graph in the previous lesson.

Energy against position for a mass on a spring, computed from U=12kx2U = \tfrac12 kx^2 and K=E−UK = E - U with E=12kA2E = \tfrac12 kA^2. The mass moves only between −A-A and +A+A, where the kinetic energy is not negative.
Worked example

Sharing the energy

The block from the previous lesson (m=0.40 kgm = 0.40\ \text{kg}, k=25 N/mk = 25\ \text{N/m}, amplitude 5.0 cm5.0\ \text{cm}) is 3.0 cm3.0\ \text{cm} from equilibrium. How fast is it moving?

Total energy

E=12kA2=12×25×0.0502=0.031 JE = \tfrac12 kA^2 = \tfrac12 \times 25 \times 0.050^2 = 0.031\ \text{J}.

Energy in the spring now

U=12kx2=12×25×0.0302=0.011 JU = \tfrac12 kx^2 = \tfrac12 \times 25 \times 0.030^2 = 0.011\ \text{J}.

Kinetic energy and speed

K=E−U=0.020 JK = E - U = 0.020\ \text{J}, so v=2K/m=2×0.020/0.40=0.32 m/sv = \sqrt{2K/m} = \sqrt{2 \times 0.020/0.40} = 0.32\ \text{m/s}, a little less than the largest speed of 0.40 m/s0.40\ \text{m/s}.

Energy in a swinging pendulum#

The pendulum does the same with gravity. At the end of its swing the bob is momentarily at rest and raised above its lowest point; at the bottom it is lowest and fastest. A bob on a string of length ℓ\ell, at angle θ\theta, is a height h=ℓ(1−cos⁡θ)h = \ell(1 - \cos\theta) above the bottom, and its energy is

Energy of a pendulum
E=12mv2+mgℓ(1−cos⁡θ)E = \tfrac12 m v^2 + m g \ell (1 - \cos\theta)
In words

E equals one half m v squared plus m g ell the quantity 1 minus cos theta

Released from rest at angle θ0\theta_0, all its energy starts as gravitational potential energy, and at the bottom all of it is kinetic: 12mv2=mgh\tfrac12 mv^2 = mgh, so v=2ghv = \sqrt{2gh}. This holds for any angle, small or not.

Worked example

Speed at the bottom of the swing

A pendulum 1.0 m1.0\ \text{m} long is released from rest at 20∘20^\circ from the vertical. How fast is the bob moving at the bottom?

Height of the release point

h=ℓ(1−cos⁡θ0)=1.0×(1−cos⁡20∘)=0.060 mh = \ell(1 - \cos\theta_0) = 1.0 \times (1 - \cos 20^\circ) = 0.060\ \text{m}.

Speed

v=2gh=2×9.81×0.060=1.09 m/sv = \sqrt{2gh} = \sqrt{2 \times 9.81 \times 0.060} = 1.09\ \text{m/s}, whatever the mass of the bob.

Real oscillations die out#

A real pendulum does not swing for ever. Air pushes against the bob and the pivot rubs, and these frictional forces turn the energy of the oscillation slowly into heat. The amplitude shrinks swing by swing until the pendulum hangs still. This is called a damped oscillation. A pendulum clock keeps going because a weight or a spring gives the pendulum a tiny push every swing, just enough to replace what friction takes.

Try it#

Change the length, the mass and the strength of gravity, and time ten swings. Check that the mass does not matter, that four times the length doubles the period, and that the energy bars trade kinetic for potential energy as the bob swings.

Pendulum Lab. Simulation by PhET Interactive Simulations, University of Colorado Boulder, licensed under CC BY-NC 4.0 (https://phet.colorado.edu). Open full screen

Summary#

  • For small angles (in radians) sin⁡θ≈θ\sin\theta \approx \theta, and a pendulum is a simple harmonic oscillator with ω=g/ℓ\omega = \sqrt{g/\ell} and T=2πℓ/gT = 2\pi\sqrt{\ell/g}.
  • The period does not depend on the mass or (for small swings) on the amplitude; it measures gg.
  • A stretched spring stores U=12kx2U = \tfrac12 kx^2. The total energy of a mass on a spring, E=12mv2+12kx2=12kA2E = \tfrac12 mv^2 + \tfrac12 kx^2 = \tfrac12 kA^2, stays constant as it moves between spring and motion.
  • A pendulum trades gravitational potential energy for kinetic energy: released from height hh, it reaches v=2ghv = \sqrt{2gh} at the bottom.
  • Friction drains the energy, so real oscillations are damped: the amplitude shrinks while the period stays nearly the same.

Symbols on this page

Show the 25 symbols used here
θ\theta theta.
An angle. Say it: “theta” (sounds like “thay-ta or thee-ta”).
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ω\omega omega.
Angular frequency, ω = 2πf = 2π/T. Unit: rad/s. Say it: “omega”.
ℓ\ell script l.
A length or distance; ℓ_p is a physical distance and ℓ_c a comoving one. Unit: m (a comoving ℓ_c is in notches, Guth's units). Say it: “ell”.
∘\circ degree.
Degrees of angle (as in 45°). Say it: “degrees”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≪\ll much less than.
Is much less than. Say it: “is much less than”.
×\times times.
Times (multiplication). Between two vectors: the cross product. Say it: “times”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
kk k.
The spring constant. Unit: N/m. Say it: “k”.
TT T.
Period: the time for one complete oscillation. Unit: s. Say it: “T”.
xx x.
Displacement from the equilibrium position, x(t). Unit: m. Say it: “x”.
mm m.
Mass of the oscillating object. Unit: kg. Say it: “m”.
gg g.
The gravitational acceleration near the Earth's surface, about 9.81 m/s². Unit: m/s². Say it: “g”.
vv v.
Speed of the oscillating mass or of the pendulum bob. Unit: m/s. Say it: “v”.
AA A.
Amplitude: the largest displacement from equilibrium. Unit: m. Say it: “A”.
ss s.
Displacement of the pendulum bob along its arc, s = ℓθ. Unit: m. Say it: “s”.
hh h.
Height of the pendulum bob above its lowest point. Unit: m. Say it: “h”.
θ0\theta_{0} theta nought.
The angle from the vertical at which the pendulum is released. Say it: “theta nought”.
EE E.
Total mechanical energy of the oscillator: kinetic plus potential energy. Unit: J. Say it: “E”.
UU U.
Energy stored in the stretched or squeezed spring (elastic potential energy), U = ½kx². Unit: J. Say it: “U”.
KK K.
Kinetic energy, K = ½mv². Unit: J. Say it: “capital K”.
vmaxv_{\text{max}} maximum speed.
The largest speed of the oscillation, reached at equilibrium: v_max = ωA. Unit: m/s. Say it: “v sub max”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 24 words used here

New here

small-angle approximation.
Replacing sin θ and tan θ by θ, and cos θ by 1, which is very accurate for small angles measured in radians.
damping.
The gradual loss of energy from an oscillation or wave, by friction, resistance or radiation, so that its size dies away.

Also used

energy.
A quantity, measured in joules, that a body or field has because of its motion, position or state; a closed system keeps its total. Explained in Conservation of energy.
stable equilibrium.
A resting position that a body returns to when nudged, like a ball at the bottom of a bowl. Explained in Oscillations and simple harmonic motion.
displacement.
The change in position from start to finish: how far and in which direction, ignoring the route in between. Explained in Vectors.
radian.
The natural unit of angle: the angle whose arc on a circle is as long as the radius. A full turn is 2π radians. Explained in Angles, radians and trigonometry.
restoring force.
A force that pushes a body back towards its resting position whenever it is moved away. Explained in Springs and Hooke's law.
proportional.
Of two quantities: always in the same ratio, so that doubling one doubles the other. Explained in Graphs, straight lines and slope.
simple harmonic motion.
Back-and-forth motion in which the push towards the middle is proportional to the distance from it, so the position follows a sine curve in time. Explained in Springs and Hooke's law.
spring constant.
The stiffness k of a spring: the force it gives per metre of stretch, in newtons per metre. Explained in Springs and Hooke's law.
MIT.
Massachusetts Institute of Technology: the university in Cambridge, USA, whose free courses this site rewrites.
conserved.
Keeping the same total value as time passes, as energy and momentum do when nothing outside changes them. Explained in Conservation of energy.
amplitude.
The size of an oscillation or wave: the largest distance from its middle position, or the number multiplying the sine. Explained in Oscillations and simple harmonic motion.
kinetic energy.
The energy a body has because it is moving. Explained in Kinetic energy and the work–energy theorem.
graph.
The picture of a function: the curve y = f(x) for one variable, or the surface z = f(x, y) for two. Explained in Graphs, straight lines and slope.
elastic.
Of a collision: keeping the total kinetic energy the same, so none is lost to heat, sound or change of shape. Explained in Springs and Hooke's law.
potential energy.
Energy stored in the arrangement of a system, such as a raised weight or a stretched spring, that a conservative force can give back. Explained in Gravitational potential energy.
turning point.
A place where a moving body stops for an instant and turns back, because there all its energy is potential energy. Explained in Quadratics and power laws.
equilibrium.
A state that does not change by itself, because the influences acting on it balance. Explained in Newton's first law: inertia.
gravitational potential energy.
The energy a body has because of where it sits in a gravitational field, which turns into kinetic energy as it falls. Explained in Work.
heat.
Energy that passes between bodies because their temperatures differ, rather than by one doing mechanical work on the other. Explained in Temperature and thermal energy.
harmonic oscillator.
Anything that swings back and forth about a balance point with a restoring force proportional to how far it is pulled away, like a spring. Explained in The harmonic oscillator.

Academic

approximation.
Close to, but not exactly, the true value; an approximation is such a value or formula, chosen because it is simpler.
dies out.
Decreases gradually towards zero and then no longer matters.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. A pendulum is made four times as long. What happens to its period?
  2. Two pendulums have the same length. One has a bob of 0.1 kg0.1\ \text{kg}, the other of 1 kg1\ \text{kg}. Swinging through small angles, which has the longer period?
  3. A mass on a spring oscillates with total energy EE. How much of it is kinetic energy when the mass is halfway to a turning point, at x=A/2x = A/2?
  4. You double the amplitude of a mass-spring oscillator. Its total energy becomes…
0 of 4 answered

Flashcards

1 / 4