Sub topic 7
The spring-mass system: T = 2π√(m/k)
This chapter assumes you know Newton's second law, the restoring-force definition of SHM (F = −kx), the solution x = A sin(ωt + φ), and the energy expression ½kA². It also assumes you can differentiate sine and cosine. Here we apply those ideas to the most common oscillator in JEE problems, a mass on a spring.
Setup and derivation
Take a block of mass m on a smooth horizontal surface, attached to an ideal spring of force constant k. Ideal means the spring is massless and obeys Hooke's law. Let x be the displacement of the block from the natural length, measured along the spring's axis.
The spring exerts the only horizontal force on the block. Gravity and the normal force cancel. So Newton's second law gives:
m a = −kx
The force is proportional to the displacement and points opposite to it, so the motion is simple harmonic. Rewrite the equation:
a = −(k/m) x
Compare this with a = −ω²x. You can read off the angular frequency directly:
- ω = √(k/m)
- T = 2π/ω = 2π√(m/k)
- f = 1/T = (1/2π)√(k/m)
What the period depends on
The period depends only on m and k. It does not depend on:
- the amplitude A
- the value of g
- where the motion takes place, so the same block and spring oscillate with the same period on the Earth, on the Moon, or in a satellite
A heavier block gives a longer period, because it accelerates less for the same force. A stiffer spring gives a shorter period. Quadrupling the mass doubles the period. Quadrupling k halves it.
This differs from the simple pendulum, whose period does depend on g. The first code example shows the contrast.
import math
def spring_period(m, k):
return 2 * math.pi * math.sqrt(m / k)
def pendulum_period(length, g=9.8):
return 2 * math.pi * math.sqrt(length / g)
print(spring_period(0.5, 200.0))
print(pendulum_period(1.0))The spring-mass period is about 0.314 s for m = 0.5 kg and k = 200 N/m. The 1 m pendulum has a period of about 2.007 s on Earth. If you change g in pendulum_period, its result changes. Nothing in spring_period takes g as an input.
Worked example: speed and energy
A block of mass 0.5 kg is attached to a spring with k = 200 N/m. It is pulled 0.1 m and released. Find its speed when the displacement is 0.06 m.
First, ω = √(k/m) = √(200/0.5) = 20 rad/s.
Next, use v = ω√(A² − x²):
v = 20 × √(0.1² − 0.06²) = 20 × 0.08 = 1.6 m/s
Check this with energy conservation. The total energy is ½kA² = ½ × 200 × 0.01 = 1.0 J. The potential energy at x = 0.06 m is ½ × 200 × 0.0036 = 0.36 J. The kinetic energy is therefore 0.64 J, and ½ × 0.5 × 1.6² = 0.64 J. The two methods agree.
import math
m, k, A = 0.5, 200.0, 0.1
omega = math.sqrt(k / m)
x = 0.06
v = omega * math.sqrt(A**2 - x**2)
total = 0.5 * k * A**2
kinetic = 0.5 * m * v**2
potential = 0.5 * k * x**2
print(v)
print(math.isclose(total, kinetic + potential))The code prints a speed of about 1.6 and then True.
Maximum quantities
For a spring-mass system with amplitude A, the extremes follow from the SHM formulas:
| Quantity | Maximum value | Where it occurs |
|---|---|---|
| Speed | Aω = A√(k/m) | At the equilibrium position, x = 0 |
| Acceleration | Aω² = kA/m | At the extremes, x = ±A |
| Spring force | kA | At the extremes |
| Kinetic energy | ½kA² | At x = 0 |
| Potential energy | ½kA² | At x = ±A |
Kinetic and potential energy are equal when ½k(A² − x²) = ½kx². This gives x = ±A/√2.
Common ways to set up a problem
Many JEE questions give the initial conditions in unusual forms. Use these steps:
- Find the equilibrium position, where the net force is zero.
- Measure displacement from that position, not from the natural length (this matters for vertical springs, covered in a later chapter).
- Compute ω = √(k/m).
- Use the initial position and velocity to find A and φ.
If the block is pushed from x = 0 with speed v₀, then A = v₀/ω. If it is released from rest at displacement x₀, then A = |x₀|.
The amplitude is set by the energy you give the system. Doubling A doubles the maximum speed and quadruples the energy. It leaves the period unchanged.
Time to travel between positions
Because the motion is sinusoidal, the time between two positions is not proportional to the distance. Take x = A sin ωt, starting from the equilibrium position.
- The time to go from x = 0 to x = A/2 is t = (1/ω) sin⁻¹(1/2) = π/(6ω) = T/12.
- The time to go from x = A/2 to x = A is T/4 − T/12 = T/6.
So the block covers the first half of the amplitude in T/12 and the second half in twice that time. It moves fastest near the center. The reference-circle picture makes these fractions easy to see: x = A/2 corresponds to a phase of 30°.
Two blocks and a changing mass
Suppose a second mass is added or removed, and the spring constant stays the same. Compare the periods:
- If a block of mass m oscillates with period T, then a block of mass 4m on the same spring has period 2T.
- If the mass of the block increases by 21%, the period increases by about 10%, because T ∝ √m and √1.21 = 1.1.
A frequent error appears when a block sticks to the oscillator at the moment it passes through the equilibrium point. Here the speed matters. A mass m₂ dropped onto a moving mass m₁ at x = 0 in a perfectly inelastic collision conserves momentum, so the new speed is v' = m₁v/(m₁ + m₂). The new amplitude is A' = v'/ω', where ω' = √(k/(m₁ + m₂)). If the lump is added at the extreme position, where the speed is zero, the amplitude does not change. Only the period changes.
Common errors
- Using g in the period. The horizontal and vertical spring-mass periods are both 2π√(m/k). Gravity shifts the equilibrium position but does not change the period.
- Mixing k and m units. Convert grams to kilograms and N/cm to N/m before substituting.
- Confusing f and ω. The formula ω = √(k/m) gives radians per second. The frequency in hertz is ω/2π.
- Measuring x from the wrong point. The equation m a = −kx holds only when x is measured from the equilibrium position.
- Treating a massive spring as ideal. The formula assumes a massless spring. If the spring has mass, the period is slightly larger.
Summary of the key results
- Restoring force: F = −kx
- Angular frequency: ω = √(k/m)
- Period: T = 2π√(m/k)
- Total energy: E = ½kA², independent of time
- Speed at displacement x: v = ω√(A² − x²)
Exercise
A block of mass 0.2 kg on a smooth horizontal surface is attached to a spring with k = 80 N/m. It is displaced 5 cm and released. Find (a) the period, (b) the maximum speed, and (c) the speed when the displacement is 3 cm.
Show answer
(a) ω = √(80/0.2) = √400 = 20 rad/s, so T = 2π/20 ≈ 0.314 s. (b) The maximum speed is Aω = 0.05 × 20 = 1.0 m/s. (c) v = ω√(A² − x²) = 20 × √(0.05² − 0.03²) = 20 × 0.04 = 0.8 m/s.
Exercise
A block of mass m on a smooth horizontal spring has amplitude A and period T. At x = 0, a lump of putty of mass m falls vertically onto the block and sticks to it. Find the new period and the new amplitude in terms of T and A.
Show answer
The new mass is 2m, so the new period is T' = 2π√(2m/k) = √2 T. Momentum along the horizontal is conserved, so the speed halves: v' = v/2, where v = Aω. The new angular frequency is ω' = ω/√2. The new amplitude is A' = v'/ω' = (Aω/2)/(ω/√2) = A/√2.