Web Analytics
Simple pendulum – simulation, formula and problems

Simple pendulum

A simple pendulum is a small ball of mass m hanging on a light, inextensible string of length l. When the ball is moved away from its equilibrium position and released, it oscillates – it moves back and forth around the lowest point. We ignore the mass of the string and air resistance, and treat the ball as a point (that is why it is also called the “mathematical” pendulum). The pendulum is one of the most important examples of oscillatory motion in physics.

Simulation

Set the length of the string, the initial angle, the mass of the ball and the planet, then click Start. You can also drag the ball with the mouse or your finger. The simulation calculates the motion exactly (without the small-angle approximation) and measures the period – compare it with the period from the formula.

Forces acting on the ball

Two forces act on the ball: the force of gravity m · g (vertically downwards) and the tension in the string (along the string, towards the pivot). We split the force of gravity into two components: one along the string, which is balanced by the tension, and one tangential (perpendicular to the string), which pulls the ball back towards the equilibrium position:

F = − m · g · sin θ

The minus sign means that the force always acts opposite to the displacement: when the ball is on the right, the force pulls it to the left, and the other way round. Such a force is called a restoring force. At the equilibrium position (θ = 0) it is zero, but there the ball has its highest speed, so it “overshoots”.

Period of the pendulum

The period T is the time the pendulum takes to make one full oscillation (there and back). The frequency f = 1 / T is the number of oscillations per second. For small angles (up to about 10–15°) sin θ ≈ θ (angle in radians), so the motion is simple harmonic and the period is:

T = 2π · √(l / g)

The formula tells us three important things:

For larger angles the period is a little longer than the formula says. The simulation shows this: at 20° the difference is about 0.8%, at 60° about 7%, and at 80° about 14%.

Example

A pendulum of length l = 1 m on Earth (g = 9.81 m/s²) has a period of

T = 2π · √(1 / 9.81) ≈ 2.01 s

A pendulum whose period is exactly 2 s (each swing through the equilibrium takes 1 s) is called a seconds pendulum. Its length is l = g · T² / (4π²) ≈ 0.994 m. The same pendulum on other planets:

placeg (m/s²)T for l = 1 m
Earth9.812.01 s
Mars3.713.26 s
Moon1.624.94 s

Check the table in the simulation: choose a planet and wait for the measured period to appear.

Energy of the pendulum

When the ball is pulled aside by an angle θ0, it rises to a height h = l · (1 − cos θ0) and has potential energy Ep = m · g · h. As it swings down, the potential energy turns into kinetic energy Ek = m · v² / 2. At the lowest point all the energy is kinetic and the speed is the highest:

vmax = √(2 · g · h) = √(2 · g · l · (1 − cos θ₀))

At the end positions the ball stops for a moment – then all the energy is potential. The bars in the simulation show how the energy flows from one form into the other. When you turn on air resistance, the total energy slowly decreases and the amplitude gets smaller – this is damped oscillation.

A little history

Problems

Use g = 9.81 m/s² and π ≈ 3.14, and assume the angles are small. Solve the problem, then check the solution (and in the simulation).

  1. What is the period of a pendulum 25 cm long?
    Solution

    T = 2π · √(0.25 / 9.81) ≈ 6.28 · 0.160 ≈ 1.00 s.

  2. How many times longer must the string be for the period to double?
    Solution

    4 times, because the period is proportional to the square root of the length: √4 = 2.

  3. A student measured that a pendulum makes 20 oscillations in 40.2 s. What is the period and how long is the pendulum?
    Solution

    T = 40.2 s / 20 = 2.01 s. From T = 2π · √(l / g) we get l = g · T² / (4π²) = 9.81 · 2.01² / 39.48 ≈ 1.00 m. Timing many oscillations reduces the error of measuring with a stopwatch.

  4. A ball of mass 0.2 kg on a 1 m string is pulled aside by 60° and released. What is its potential energy at the start and what is its speed at the lowest point?
    Solution

    h = l · (1 − cos 60°) = 1 · 0.5 = 0.5 m; Ep = m · g · h = 0.2 · 9.81 · 0.5 ≈ 0.98 J. At the lowest point Ek = Ep, so v = √(2 · g · h) = √9.81 ≈ 3.13 m/s. (Here the angle is not small, but conservation of energy always holds.)

  5. An astronaut took a 1 m pendulum to the Moon. What is its period on the Moon (g = 1.62 m/s²) and why is it longer than on Earth?
    Solution

    T = 2π · √(1 / 1.62) ≈ 4.94 s. Gravity on the Moon is weaker, so the restoring force is smaller – the ball speeds up more slowly and an oscillation lasts longer.

Where the pendulum is used

Check your knowledge

1. A 1 m pendulum has a period of about 2 s. If we hang a ball twice as heavy on the same string, the period will be:

2. How many times shorter must the string be for the period to be halved?

3. Where does the ball of a pendulum have its highest speed?

4. We take the same pendulum from Earth to the Moon, where g is about 6 times smaller. The period will be:

5. When does the formula T = 2π · √(l / g) hold?

Next: mass and spring – another oscillator, whose period depends on the mass. How to program the pendulum in Java: simple pendulum in OSP.

🛠 Build this kind of simulation yourself: Simple pendulum in Java (OSP) – oscillation in code

👩‍🏫 For teachers – lesson plan

Simple pendulum – for teachers – lesson plan

Level: Age 13–14 (oscillations); second year of secondary school

Lesson goals

  • the student measures the period of a pendulum and describes what it depends on (length, g) and what it does not depend on (mass, small angle)
  • applies the formula T = 2π · √(l / g) and calculates the length or g from a measured period
  • explains how potential energy turns into kinetic energy and the effect of air resistance

Suggested lesson flow (45 min)

  1. Introduction (10 min): a question from everyday life, then the theory and formulas on this page.
  2. Work with the simulation (15 min): the activity below, in pairs.
  3. Tasks (10 min): the tasks on this page; students check their answers in the simulation.
  4. Check your knowledge (5 min): the quiz at the end of the introduction.
  5. Discussion (5 min): the questions below.

Activity with the simulation

In groups, students use the simulation to measure the period for 4 lengths (0.25 m, 0.5 m, 1 m and 2 m), enter it in a table and check the rule “four times longer – twice as slow”. Then, with l = 1 m, they change the initial angle from 10° to 80° and record how much longer the measured period is than the formula gives. Finally they build a real pendulum from a string and a nut, time 10 oscillations with a stopwatch and calculate g.

Discussion questions

  • Why do we time 10 or 20 oscillations instead of one when measuring the period?
  • How would the period of a pendulum change in a lift accelerating upwards?