Oscillations and SHM: Spring-Mass, Simple Pendulum, Energy, Resonance
An oscillation is any motion that repeats itself about a fixed mean position, like a swinging pendulum, a vibrating guitar string or a mass bouncing on a spring. The simplest and most important kind is simple harmonic motion (SHM), and its few formulas for period, speed, acceleration and energy are tested every year in MDCAT, ECAT, NEET and JEE Main. This lesson explains each formula, shows where it comes from, and works through the standard question types.
Asked in: MDCAT, NUMS, ECAT, NEET, JEE Main, FSc and Class 11-12 boards
What is simple harmonic motion?
A body performs SHM when its acceleration is directly proportional to its displacement from the mean position and always directed towards the mean position. The restoring force is therefore F = −kx, and the acceleration is a = −ω²x, where ω is the angular frequency.
Amplitude A is the maximum displacement from the mean position. Time period T is the time for one complete oscillation; frequency f is the number of oscillations per second (hertz). One oscillation covers a distance of 4A.
SHM can be pictured as the projection, on a diameter, of a point moving uniformly round a circle of radius A at angular speed ω. This is why ω, measured in rad/s, appears in every SHM formula.
- a = −ω²x
- F = −kx
- ω = 2πf = 2π ÷ T
- f = 1 ÷ T
Displacement, velocity and acceleration
If timing starts at the mean position, displacement is x = A sin ωt. Velocity and acceleration then follow from this equation.
Speed is maximum at the mean position (x = 0) and zero at the extreme positions (x = ±A). Acceleration does the opposite: zero at the mean position and maximum at the extremes.
Velocity leads displacement by a quarter cycle (90° or π/2), and acceleration is exactly opposite to displacement (180° out of phase). To read A and ω from an equation such as x = 0.05 sin(10πt), compare it with x = A sin ωt: A = 0.05 m and ω = 10π rad/s, so f = 5 Hz.
- x = A sin(ωt + φ)
- v = ±ω√(A² − x²)
- v_max = Aω (at mean position)
- a_max = ω²A (at extreme positions)
The spring-mass system
A mass m attached to a spring of spring constant k oscillates with SHM because the spring force obeys Hooke's law, F = −kx. Its period depends only on m and k, not on the amplitude and not on g, so a horizontal and a vertical spring with the same m and k have the same period.
For a vertical spring, the static extension e produced by the hanging mass satisfies ke = mg, which gives an alternative form of the period.
Springs in parallel share the load, so their constants add. Springs in series each stretch by the full force, so their reciprocals add. Cutting a spring into n equal pieces makes each piece n times stiffer.
- T = 2π√(m ÷ k)
- Vertical spring: T = 2π√(e ÷ g)
- Parallel: k = k₁ + k₂
- Series: 1/k = 1/k₁ + 1/k₂
The simple pendulum
A small bob on a light inextensible string performs SHM when the angle of swing is small (below about 10°). Its period depends only on the length L and the acceleration due to gravity g. It does not depend on the mass of the bob or, for small swings, on the amplitude.
A seconds pendulum has a period of 2 s (one second for each swing). With g = 9.8 m/s² its length is about 0.993 m, close to 1 m.
If the pendulum is in a lift accelerating upwards at a, use g + a; accelerating downwards, use g − a. In free fall the effective g is zero and the pendulum does not oscillate. On the Moon, where g is about one sixth of the Earth's value, the period is √6 ≈ 2.45 times longer.
- T = 2π√(L ÷ g)
- L = gT² ÷ 4π²
- In a lift: T = 2π√(L ÷ (g ± a))
- T is proportional to √L and to 1 ÷ √g
Energy in SHM
In an undamped oscillator the total mechanical energy stays constant; it keeps changing form between kinetic and potential energy. At the mean position all the energy is kinetic, and at the extremes all of it is potential.
Total energy is proportional to the square of the amplitude and, for a given amplitude and mass, to the square of the frequency. Doubling the amplitude makes the energy four times larger.
Kinetic and potential energy are equal when x = A ÷ √2, about 0.707A. Both KE and PE oscillate at twice the frequency of the displacement.
- PE = ½kx²
- KE = ½k(A² − x²)
- Total E = ½kA² = ½mω²A²
- KE = PE at x = A ÷ √2
Damping, forced oscillations and resonance
In real systems friction and air resistance remove energy, so the amplitude dies away gradually; this is damped oscillation. Car shock absorbers use heavy damping to stop the body bouncing.
If a periodic external force drives an oscillator, it vibrates at the driving frequency (forced oscillation). When the driving frequency equals the natural frequency of the system, the amplitude becomes very large. This is resonance, and energy transfer is then maximum.
Resonance is used in tuning a radio to a station, in microwave ovens (water molecules absorb energy at a matching frequency), in musical instruments and in MRI. It is also why soldiers break step when crossing a bridge. Heavier damping lowers and flattens the resonance peak.
- Resonance condition: driving frequency = natural frequency
- Natural frequency of a spring-mass: f₀ = (1 ÷ 2π)√(k ÷ m)
Solved examples
- A 0.5 kg mass is attached to a spring of constant 200 N/m. Find the angular frequency, time period and frequency of its oscillations.
- ω = √(k ÷ m) = √(200 ÷ 0.5) = √400 = 20 rad/s.
- T = 2π ÷ ω = 6.283 ÷ 20 = 0.314 s.
- f = 1 ÷ T = 3.18 Hz.
Answer: ω = 20 rad/s, T = 0.314 s, f = 3.18 Hz - Find the period of a simple pendulum 2.45 m long (g = 9.8 m/s²). What length would give a seconds pendulum?
- T = 2π√(L ÷ g) = 2π√(2.45 ÷ 9.8) = 2π√0.25 = 2π × 0.5 = π ≈ 3.14 s.
- A seconds pendulum has T = 2 s, so L = gT² ÷ 4π² = 9.8 × 4 ÷ 39.48.
- L = 0.993 m.
Answer: T ≈ 3.14 s; seconds pendulum length ≈ 0.993 m - A particle performs SHM with amplitude 10 cm and period 0.2π s. Find its maximum speed, maximum acceleration and its speed when it is 6 cm from the mean position.
- ω = 2π ÷ T = 2π ÷ 0.2π = 10 rad/s; A = 0.1 m.
- v_max = Aω = 0.1 × 10 = 1 m/s.
- a_max = ω²A = 100 × 0.1 = 10 m/s².
- At x = 0.06 m: v = ω√(A² − x²) = 10√(0.01 − 0.0036) = 10 × 0.08 = 0.8 m/s.
Answer: 1 m/s, 10 m/s², 0.8 m/s - Ravi attaches a 2 kg block to a spring of constant 800 N/m and sets it oscillating with amplitude 5 cm. Find the total energy, the kinetic and potential energy at 3 cm from the mean position, and the maximum speed.
- Total E = ½kA² = ½ × 800 × 0.05² = 1 J.
- At x = 0.03 m: PE = ½ × 800 × 0.03² = 0.36 J.
- KE = 1 − 0.36 = 0.64 J.
- At the mean position all 1 J is kinetic: ½ × 2 × v² = 1, so v_max = 1 m/s.
Answer: E = 1 J; PE = 0.36 J, KE = 0.64 J; v_max = 1 m/s - Two springs of constants 300 N/m and 600 N/m carry a 2 kg mass. Find the period when they are connected (a) in series and (b) in parallel.
- (a) Series: k = 300 × 600 ÷ (300 + 600) = 200 N/m. T = 2π√(2 ÷ 200) = 2π × 0.1 = 0.628 s.
- (b) Parallel: k = 300 + 600 = 900 N/m. T = 2π√(2 ÷ 900) = 2π × 0.0471 = 0.296 s.
- The stiffer (parallel) arrangement oscillates faster.
Answer: (a) 0.628 s, (b) 0.296 s - A simple pendulum has a period of 2 s on the ground (g = 9.8 m/s²). Find its period in a lift accelerating upwards at 2.2 m/s², and in a lift falling freely.
- Period is proportional to 1 ÷ √g. Accelerating upwards, effective g = 9.8 + 2.2 = 12 m/s².
- T' = 2 × √(9.8 ÷ 12) = 2 × 0.904 = 1.81 s.
- In free fall effective g = 0, so the bob does not swing back; the period becomes infinite.
Answer: 1.81 s; infinite (no oscillation) in free fall
Exam shortcuts
- Compare any given equation with x = A sin ωt to read off A and ω at once, then use f = ω ÷ 2π.
- Mean position: speed maximum, acceleration zero, all energy kinetic. Extreme position: speed zero, acceleration maximum, all energy potential.
- Pendulum period depends on L and g only; spring period depends on m and k only. Changing the bob's mass does nothing to a pendulum, and taking a spring to the Moon does nothing to its period.
- Ratios save time: T is proportional to √L, √m and 1 ÷ √k, 1 ÷ √g. Four times the length or mass means double the period.
- KE = PE at x = A ÷ √2. At x = A ÷ 2, PE is one quarter of the total and KE three quarters.
Common mistakes
- Confusing ω (rad/s) with f (Hz). Divide ω by 2π to get the frequency.
- Thinking the period of a pendulum depends on the mass of the bob or on a small amplitude.
- Adding spring constants for springs in series. In series the reciprocals add, so the combination is softer.
- Saying acceleration is maximum at the mean position. Acceleration is zero there and maximum at the extremes.
- Assuming energy is proportional to amplitude. It is proportional to amplitude squared.
Practice MCQs
- In simple harmonic motion, the acceleration of the body is:
A) Proportional to velocity
B) Constant in magnitude
C) Inversely proportional to displacement
D) Proportional to displacement and directed opposite to it
Answer: D) Proportional to displacement and directed opposite to it — The defining condition of SHM is a = −ω²x: acceleration proportional to displacement and directed towards the mean position. - The time period of a seconds pendulum is:
A) 1 s
B) 2 s
C) 0.5 s
D) 4 s
Answer: B) 2 s — A seconds pendulum takes one second for each swing from one extreme to the other, so a complete oscillation takes 2 s. - The speed of a particle in SHM is maximum at the:
A) Mean position
B) Extreme positions
C) Point halfway between mean and extreme
D) Speed is the same everywhere
Answer: A) Mean position — v = ω√(A² − x²) is largest when x = 0, the mean position, and zero at x = ±A. - An oscillator has a time period of 0.25 s. Its frequency is:
A) 0.25 Hz
B) 25.1 Hz
C) 4 Hz
D) 8 Hz
Answer: C) 4 Hz — f = 1 ÷ T = 1 ÷ 0.25 = 4 Hz. 25.1 is the angular frequency in rad/s, not the frequency. - The length of a simple pendulum is made four times larger. Its time period:
A) Doubles
B) Becomes four times
C) Halves
D) Remains unchanged
Answer: A) Doubles — T is proportional to √L, so 4 times the length gives √4 = 2 times the period. - The bob of a simple pendulum is replaced by one of twice the mass, keeping the length the same. The period:
A) Doubles
B) Remains unchanged
C) Increases √2 times
D) Halves
Answer: B) Remains unchanged — T = 2π√(L ÷ g) contains no mass term, so the period is unchanged. - A 1 kg mass on a spring of constant 100 N/m oscillates with a period of:
A) 62.8 s
B) 6.28 s
C) 0.628 s
D) 0.1 s
Answer: C) 0.628 s — T = 2π√(m ÷ k) = 2π√(0.01) = 2π × 0.1 = 0.628 s. Inverting the ratio to √(k ÷ m) gives 62.8 s. - A particle in SHM has amplitude 4 cm and angular frequency 5 rad/s. Its maximum speed is:
A) 1 m/s
B) 20 m/s
C) 0.8 m/s
D) 0.2 m/s
Answer: D) 0.2 m/s — v_max = Aω = 0.04 × 5 = 0.2 m/s. ω²A = 1 m/s² is the maximum acceleration, not speed. - In SHM of amplitude A, the kinetic energy equals the potential energy at a displacement of:
A) A ÷ √2
B) A ÷ 2
C) A ÷ 4
D) A√2
Answer: A) A ÷ √2 — Set ½kx² = ½k(A² − x²): 2x² = A², so x = A ÷ √2. At A ÷ 2 the PE is only one quarter of the total. - The total energy of a particle in SHM is proportional to:
A) Its amplitude
B) The square of its amplitude
C) The square root of its amplitude
D) The reciprocal of its amplitude
Answer: B) The square of its amplitude — E = ½kA² = ½mω²A², so energy is proportional to A². - Resonance occurs when:
A) Damping is made as large as possible
B) The amplitude of the system becomes zero
C) The driving frequency is twice the natural frequency
D) The driving frequency equals the natural frequency of the system
Answer: D) The driving frequency equals the natural frequency of the system — At resonance energy transfer from the driver is most efficient, so the amplitude reaches its maximum. - A mass on a single spring has period T. The same mass is hung from two such identical springs joined in series. The new period is:
A) 2T
B) T ÷ √2
C) √2 T
D) T ÷ 2
Answer: C) √2 T — In series k_eff = k ÷ 2. T is proportional to 1 ÷ √k, so the period becomes √2 T. T ÷ √2 would be the parallel arrangement. - A pendulum has a period of 2 s on Earth. On the Moon, where g is one sixth of its value on Earth, the period would be about:
A) 12 s
B) 4.9 s
C) 0.82 s
D) 2 s
Answer: B) 4.9 s — T is proportional to 1 ÷ √g. With g reduced 6 times, T = 2 × √6 = 4.9 s. Multiplying by 6 instead of √6 gives 12 s. - The displacement of a particle is x = 0.05 sin(10πt) metres. The frequency of oscillation is:
A) 5 Hz
B) 10 Hz
C) 31.4 Hz
D) 0.2 Hz
Answer: A) 5 Hz — Compare with x = A sin ωt: ω = 10π rad/s, so f = ω ÷ 2π = 5 Hz. 31.4 is ω itself; 0.2 s is the period. - A 0.2 kg block on a spring of constant 80 N/m oscillates with amplitude 10 cm. Its speed when it is 5 cm from the mean position is:
A) 2 m/s
B) 1 m/s
C) 1.73 m/s
D) 1.41 m/s
Answer: C) 1.73 m/s — ω = √(80 ÷ 0.2) = 20 rad/s. v = ω√(A² − x²) = 20√(0.01 − 0.0025) = 20 × 0.0866 = 1.73 m/s. 2 m/s is the maximum speed at the mean position.
Questions
Why does a pendulum's period not depend on the mass of the bob?
The restoring force on the bob is mg sin θ, which is proportional to its mass, while its inertia is also proportional to mass. The two cancel, so the acceleration and hence the period depend only on L and g. The same idea explains why all bodies fall with the same acceleration.
Is the motion of a simple pendulum always SHM?
Only for small angles, roughly below 10°. The restoring force is proportional to sin θ, and only for small angles is sin θ almost equal to θ, which makes the force proportional to displacement. At large amplitudes the period becomes slightly longer than 2π√(L ÷ g).
What is the difference between free, damped and forced oscillations?
Free oscillations happen at the natural frequency with no energy loss, so the amplitude stays constant. Damped oscillations lose energy to friction, so the amplitude decreases with time. Forced oscillations are driven by an external periodic force and take place at the driving frequency; their amplitude is largest at resonance.
How do I find the period of a vertical spring if k is not given?
Use the static extension. When the mass hangs at rest, ke = mg, so m ÷ k = e ÷ g. Then T = 2π√(e ÷ g). For example, a mass that stretches a spring by 9.8 cm oscillates with T = 2π√(0.098 ÷ 9.8) = 0.628 s.