📘 CodingMarble Learn

Oscillations of a Spring and a Simple Pendulum

A block on a spring feels a pull back F = −kx, where k is the force constant (stiffness). It does SHM with T = 2π√(m/k). A simple pendulum, for small swings, feels a pull back mg sinθ ≈ mgθ and does SHM with T = 2π√(L/g). The pendulum’s period does not depend on the bob’s mass or (for small swings) on the amplitude.

🎬 Step-by-step story

  1. Pull the block out by x. The spring pulls it back with F = −kx. k tells how stiff the spring is: the force needed to stretch it by 1 m.
  2. Put a mass 4 times bigger on the same spring. It moves slower and the period doubles. So T = 2π√(m/k).
  3. Now use a spring 4 times stiffer. The block moves faster and the period halves. Stiffer spring, quicker swings.
  4. A simple pendulum: a heavy bob on a light string of length L. The pull back is mg sinθ. For small angles sinθ ≈ θ, so it is SHM.
  5. Make the string 4 times longer: the period doubles. Make the bob heavier: the period stays the same. T = 2π√(L/g).
  6. Free play: change mass, stiffness and length, and try the pendulum on the Moon or Jupiter.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

What does k really tell me?

How many newtons it takes to stretch the spring by 1 m. Bigger k, stiffer spring, bigger red arrow for the same stretch.

Why does a heavier block move slower on a spring?

The same spring force has to speed up more mass, so the acceleration is smaller. Period grows as √m.

Why does a stiffer spring swing faster?

A bigger k pulls harder for the same stretch, giving bigger acceleration, so T falls as 1/√k.

Why only small angles for the pendulum?

SHM needs force ∝ x. mg sinθ is close to mgθ only when θ is small (under about 10°).

Why does a heavy bob not swing faster?

More mass means more pull but also more inertia; they cancel. Watch the bob grow in step 5 with no change in T.

Why would a pendulum be slower on the Moon?

g is smaller there, so the pull back is weaker. T = 2π√(L/g) gets bigger. Try it in free play.

Spring force and force constant

Stretch or squeeze a spring by x and it pulls or pushes back with F = −kx (Hooke’s law, for small x). The minus sign means the force is opposite to the stretch.

k is the force constant or spring constant: the force needed per metre of stretch. Unit: N/m. A big k means a stiff spring.

Newton’s second law: ma = −kx, so a = −(k/m) x. This is SHM with ω² = k/m.

T = 2π√(m/k),   f = (1/2π)√(k/m).

Springs joined together

Vertical spring

Hang a mass on a vertical spring. It stretches by d until kd = mg, so k = mg/d. About this new resting point it still does SHM with the same T = 2π√(m/k). Gravity only shifts the middle; it does not change the period. Also T = 2π√(d/g).

Simple pendulum and its time period

A simple pendulum is a small heavy bob hung on a light string that does not stretch, of length L (measured to the centre of the bob).

Pull it aside by angle θ. Gravity mg has a part mg sinθ along the arc, pulling it back. For small angles (less than about 10°), sinθ ≈ θ = x/L, so

F ≈ −(mg/L) x   →   a = −(g/L) x.

That is SHM with ω² = g/L, so T = 2π√(L/g).

A seconds pendulum has T = 2 s; on Earth its length is about 0.99 m.

Try it: find g at home

Hang a small heavy object on a thread 1.00 m long. Pull it aside a little (about the width of your hand) and time 20 swings. Suppose you get 40.1 s, so T = 2.005 s. Then g = 4π²L/T² = 4 × 9.87 × 1.00 / 4.02 ≈ 9.8 m/s². Now repeat with a 0.25 m thread: predict T first (half of 2.0 s), then check. In the 3D, step 5 lets you do the same with the L slider.

Key formulas and definitions

Worked examples

1. A spring stretches by 5 cm when a 10 N force acts. Find k.

k = F/x = 10 / 0.05 = 200 N/m.

2. A 0.5 kg block is attached to a spring with k = 50 N/m. Find T and f.

T = 2π√(m/k) = 2π√(0.5/50) = 2π × 0.1 = 0.628 s. f = 1/T ≈ 1.59 Hz.

3. The mass on a spring is made 4 times. What happens to T?

T ∝ √m, so T becomes √4 = 2 times.

4. Two springs of 100 N/m each hold a 1 kg mass (a) in series, (b) in parallel. Find T in each case.

(a) k = 50 N/m, T = 2π√(1/50) ≈ 0.889 s. (b) k = 200 N/m, T = 2π√(1/200) ≈ 0.444 s.

5. A mass hung on a vertical spring stretches it by 2.5 cm. Find the period of vertical oscillations (g = 9.8 m/s²).

T = 2π√(d/g) = 2π√(0.025/9.8) = 2π × 0.0505 ≈ 0.317 s.

6. Find the time period of a simple pendulum of length 1 m (g = 9.8 m/s²).

T = 2π√(1/9.8) = 2π × 0.319 ≈ 2.01 s.

7. Find the length of a seconds pendulum (T = 2 s) where g = 9.8 m/s².

L = gT²/4π² = 9.8 × 4 / 39.48 ≈ 0.993 m.

8. A pendulum has T = 2 s on Earth. What is T on the Moon, where g is 1/6 of Earth’s?

T ∝ 1/√g, so T_moon = 2 × √6 ≈ 4.9 s.

Common mistakes

Practice quiz

1. Unit of spring constant k is:
2. Time period of a spring–mass system is:
3. If the length of a pendulum is made 4 times, its period becomes:
4. The period of a simple pendulum does NOT depend on:
5. Two identical springs in parallel give an effective k of:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is the time period of a simple pendulum?

T = 2π√(L/g) for small swings, where L is the length to the bob’s centre and g is gravity.

What is the force constant of a spring?

The force needed per unit stretch, k = F/x, in N/m. It measures stiffness.

Does amplitude change the period of a pendulum?

For small swings, no. For large swings the period gets slightly longer.

Where this is taught

Spain2º BachilleratoVibrations and waves
CBSE (India)Class 11Oscillations and Waves
USA (Common Core, NGSS, AP)Grade 11Force and Translational Dynamics
USA (Common Core, NGSS, AP)Grade 12Force and Translational Dynamics
USA (Common Core, NGSS, AP)Grade 12Oscillations
Russia9 классMechanical oscillations and waves
Russia9 классMechanical oscillations and waves
China高二Selective 1 Ch.2 Oscillations

Learn first

Learn next

Related lessons

All Physics lessons