Simple Harmonic Motion (SHM): notes and previous year questions
The restoring force F = −kx, x = A sin(ωt + φ), velocity and acceleration, period, springs, pendulums and phase.
120 JEE Main questions (2002–2026)
12 JEE Advanced questions (1994–2025)
32 NEET questions (2000–2026)
Simple Harmonic Motion (SHM) in short
SHM is periodic, oscillatory motion with a restoring force proportional to the displacement: F = −kx.
The shadow of a point moving round a circle does SHM, so x = A sin(ωt + φ).
A is the amplitude, ω the angular frequency, ωt + φ the phase and φ the phase at t = 0.
The speed is largest, Aω, at the centre; the acceleration is largest, Aω², at the ends.
1What is simple harmonic motion?
A swinging pendulum or a block bouncing on a spring repeats its motion after a fixed time, so it is periodic, and it goes to and fro about a centre, the equilibrium position, so it is oscillatory. The simplest oscillation of all is simple harmonic motion (SHM).
Pull a block on a spring to the right and the spring pulls it back to the left; push it left and the spring pushes it right. The farther it goes, the stronger the pull: twice the displacement, twice the force. This force, always pointing back to the centre, is the restoring force.
F=−kxThe definition of SHM: restoring force proportional to the displacement x and opposite to it.
k is the force constant (N/m): how stiff the spring is.
The minus sign means the force always points back toward x=0.
Example: k=100 N/m and x=+0.20 m give F=−20 N, 20 N to the left.
2The SHM equation
A point going round a circle of radius A at a steady ω radians per second casts a shadow on a diameter. The shadow moves fastest in the middle and stops at the ends: it does SHM. Plotted against time, its position is a sine curve.
x=Asin(ωt+ϕ)
A: the amplitude, the largest displacement (m).
ω: the angular frequency (rad/s), how fast the point goes round the circle.
ωt+ϕ: the phase; ϕ is the phase at t=0 (the phase constant).
x=Acos(ωt+ϕ′) is the same motion with ϕ′=ϕ−π/2.
To start at x=+A we need sinϕ=1, so ϕ=π/2 and x=Acosωt.
3Velocity and acceleration
At the centre the block moves fastest but the spring is relaxed, so the acceleration is zero. At the ends it stops for an instant but the spring pulls hardest, so the acceleration is largest.
v=dtdx=Aωcos(ωt+ϕ)
v=ωA2−x2Using cos² + sin² = 1 to write v in terms of x.
a=dtdv=−ω2xThe test for SHM: acceleration proportional to displacement and opposite to it.
Quantity
Formula
Largest value
Where
Displacement
x=Asin(ωt+ϕ)
A
the ends
Speed
v=ωA2−x2
vmax=Aω
the centre, x=0
Acceleration
a=−ω2x
amax=Aω2
the ends, x=±A
4Period and frequency
One full oscillation is a round trip: centre → one end → centre → other end → centre. Its time is the periodT. The number of oscillations per second is the frequencyf, in hertz (1 Hz = 1 s⁻¹). One oscillation is one turn of the circle, 2π radians.
T=ω2π,f=T1=2πω
ω=2πf
5Spring and mass
The spring gives F=−kx and Newton's second law gives F=ma, so a=−(k/m)x. Comparing with a=−ω2x:
ω=mk,T=2πkm
f=2π1mk
A 4 times heavier block swings twice as slowly (T∝m); a stiffer spring swings faster (T∝1/k).
The period does not depend on the amplitude, and a spring's period does not depend on g.
k=200 N/m and m=2 kg: T=2π0.01=0.2π≈0.628 s.
Springs in series (end to end) carry the same force and their stretches add, so the pair is softer. Springs in parallel (side by side) stretch equally and their forces add. A block between two springs fixed to opposite walls is a parallel pair: moved by x, both push it back.
keq1=k11+k21Series. Two equal springs: k/2, so the period grows by √2.
keq=k1+k2Parallel, or between two walls: T = 2π√(m/(k₁ + k₂)).
6The simple pendulum
A small bob on a light string of length l, pulled aside by θ: its weight mg has a part mgcosθ along the string and a part mgsinθ along the arc, back toward the bottom. That is the restoring force. For small angles sinθ≈θ (in radians; at 10°, 0.1745 rad against 0.1736) and θ=x/l, where x is the distance along the arc:
F≈−mgθ=−lmgxLike a spring with k = mg/l, so ω² = g/l: the mass cancels.
T=2πgl
The period depends only on the length and g: not on the mass, and not on the amplitude (for small swings).
4 times longer: twice the period.
For T=2 s with g=10 m/s²: l=gT2/4π2=40/39.5≈1.01 m.
On the Moon (g/6): T′=6T≈2.45T.
7More oscillators, and phase
T=2πmgdIPhysical pendulum: a rigid body swinging about a pivot; I about the pivot, d from pivot to centre of mass.
T=2πCITorsional pendulum: a disc twisting on a wire with twisting constant C.
A uniform rod of length L swinging about one end: I=mL2/3, d=L/2, so T=2π2L/3g.
The phase difference between two oscillations with the same ω is Δϕ=ϕ1−ϕ2.
Phase difference
What you see
0 or 2π
in phase: they move together
π
out of phase: always opposite (one at the right end when the other is at the left end)
π/2
one passes the centre as the other reaches an end
Summary
Key ideas
SHM is periodic, oscillatory motion with a restoring force proportional to the displacement: F = −kx.
The shadow of a point moving round a circle does SHM, so x = A sin(ωt + φ).
A is the amplitude, ω the angular frequency, ωt + φ the phase and φ the phase at t = 0.
The speed is largest, Aω, at the centre; the acceleration is largest, Aω², at the ends.
a = −ω²x is the test for SHM.
T = 2π/ω, f = 1/T and ω = 2πf; never T = 2π/f.
A spring and mass: T = 2π√(m/k), independent of the amplitude.
Springs in series are softer; springs in parallel (or between two walls) add their constants.
A simple pendulum: T = 2π√(l/g) for small swings, independent of the mass.
In accelerating lifts and cars use the effective g.
Physical pendulum T = 2π√(I/mgd); torsional pendulum T = 2π√(I/C).
Phase difference 0 means in step, π means opposite, π/2 means a quarter cycle apart.
Every equation
Restoring force
F=−kx
Displacement
x=Asin(ωt+ϕ)
Velocity
v=Aωcos(ωt+ϕ)
Speed at x
v=ωA2−x2
Acceleration
a=−ω2x
Largest speed
vmax=Aω
Largest acceleration
amax=Aω2
Period
T=2π/ω
Frequency
f=1/T=ω/2π
Spring
T=2πm/k
Spring frequency
f=2π1k/m
Series
1/keq=1/k1+1/k2
Parallel
keq=k1+k2
Pendulum
T=2πl/g
Car accelerating
geff=g2+a2
Lift
geff=g±a
Physical pendulum
T=2πI/mgd
Torsional pendulum
T=2πI/C
Phase difference
Δϕ=ϕ1−ϕ2
Previous year questions with solutions
Real JEE and NEET questions on simple harmonic motion (shm). Try each one before you open the solution.
Q1NEET 2026One correct option
Savitha, a XI standard student, while conducting an experiment to determine the effective length of a simple pendulum L, notes down the data of time taken to complete 30 oscillations as 60 s and hence calculates the length of the simple pendulum as: (Take π2=9.8, and g=9.8m/s2 )
A0.75 m
B1.5 m
C2 m
D1 m
Show answer and solution
Answer:Option D
One oscillation takes T=3060=2s. Then
L=4π2gT2=4×9.89.8×22=1m
A pendulum with a period of 2s — one second for each swing from side to side — is called a seconds pendulum, and it is about a metre long.
The trap is C, 2m, which squares the π in 2π but not the 2, dividing by 2π2 instead of 4π2. The others simply do not fit: with π2=g, T=2L, so 0.75m gives 1.73s and 1.5m gives 2.45s, not 2s.
Q2JEE Main 2026One correct option
A simple pendulum of string length 30 cm performs 20 oscillations in 10 s . The length of the string required for the pendulum to perform 40 oscillations in the same time duration is
____ cm . [Assume that the mass of the pendulum remains same.]
A0.75
B7.5
C15
D120
Show answer and solution
Answer:Option B
First the two periods. Twenty oscillations in 10s give T1=0.5s; forty in the same time give T2=0.25s. The period must halve.
Since T∝L, L∝T2:
L2=L1(T1T2)2=30×(21)2=7.5cm
The trap is C, 15cm, which halves the length as if T∝L. D, 120cm, goes the wrong way: a longer pendulum swings more slowly. A, 0.75cm, is the right idea with a slip of a factor of ten.
Q3JEE Advanced 2016One or more correct options
A block with mass M is connected by a massless spring with stiffness constant k to a rigid wall and moves without friction on a horizontal surface. The block oscillates with small amplitude A about an equilibrium position x₀. Consider two cases:
(i) when the block is at x₀; and
(ii) when the block is at x = x₀ + A.
In both cases, a particle with mass m( < M) is softly placed on the block after which they stick on each other. Which of the following statement(s) is(are) true about the motion after the mass m is placed on the mass M?
AThe amplitude of oscillation in the first case changes by a factor of m+MM, whereas in the second case it remains unchanged.
BThe final time period of oscillation in both the cases is same
CThe total energy decreases in both the cases
DThe instantaneous speed at x₀ of the combined masses decreases in both the cases
Show answer and solution
Answer:Options A, B, D
Case (i), at x0: the block is moving at Aω, so momentum is shared, MAω=(M+m)v′, and with ω′=M+mk the amplitude becomes AM+mM. Case (ii), at x0+A: the block is at rest at an extreme, so the amplitude stays A. Statement A is true.
B is true: in both cases the mass is M+m on the same spring, so T=2πkM+m.
C is false. In case (i) the sticking is inelastic and energy is lost, but in case (ii) the energy 21kA2 is unchanged, since A is.
D is true. In case (i) the speed at x0 is v′=M+mMAω, less than Aω. In case (ii) it is Aω′, and ω′<ω.
The trap is C: energy is lost only when there is motion to share at the moment of sticking.
Practice questions, easy to hard
Three questions from the simple harmonic motion (shm) practice ladder: one easy, one medium, one hard.
Q4Numerical answer
The constant ω in a=−ω2x is the angular frequency of the SHM, in rad/s. It fixes how fast the motion repeats:
ω=T2π=2πf
Here T is the period in seconds, and f=T1 is the frequency: the number of oscillations each second, in hertz (Hz). Keep the three apart: ω in rad/s, f in Hz, T in s.
For example, a=−16x means ω2=16, so ω=4rad/s, T=42π=2π≈1.57s and f=T1≈0.64Hz.
A particle moves along a line with a=−100x (SI units). How many oscillations does it make each second? Give the frequency f in Hz, to two decimal places.
Show answer and solution
Answer:1.5915 Hz
ω2=100, so ω=10rad/s. Then f=2πω=2π10≈1.59Hz.
The trap is answering 10: that is ω, in rad/s, not the number of oscillations per second. Another is 100, which forgets the square: the 100 is ω2. And T=102π≈0.63s is the period, the time for one oscillation, not the number per second.
Q5One or more correct options
The reverse can happen too: a piece falls OFF a block. If nothing pushes it, the piece leaves with the velocity it had, and so does the rest: no momentum passes between them. The remaining block carries on from the same place at the same speed, but with a new ω, because its mass has changed.
A block oscillating on a horizontal spring with amplitude A and period T is at an extreme when three quarters of its mass drops off, leaving one quarter attached. Which statements are true?
AThe amplitude stays A
BThe period becomes 2T
CThe greatest speed doubles
DThe energy of the oscillation falls to a quarter
Show answer and solution
Answer:Options A, B, C
At the extreme the block is at rest, so what remains starts from rest at the same stretch: the amplitude stays A (A). A quarter of the mass halves the period, T∝mass (B), so ω doubles and vmax=Aω doubles too (C).
D is false: the energy 21kA2 depends only on k and A, and neither has changed. The piece that fell off was at rest, so it took no energy with it.
Q6Numerical answer
The momentum p=mv follows the speed, so from v2=ω2(A2−x2) a graph of p against x is an ellipse. It crosses the x-axis at ±A and the p-axis at ±pmax=±mAω. At x=0 all the energy is kinetic, so E=2mpmax2, and ω=mApmax.
The momentum–displacement graph of a 2kg particle in SHM is an ellipse that crosses the x-axis at ±0.5m and the p-axis at ±4kgm/s. What is the particle's total energy, in joules?
Show answer and solution
Answer:4 J
E=2mpmax2=416=4J. (Also ω=mApmax=2×0.54=4rad/s, and 21mω2A2=21×2×16×0.25=4J agrees.)
The trap is treating 4kgm/s as a speed, 21×2×42=16J: it is a momentum, so the speed is only 2m/s. Another is using the 0.5m on the x-axis as if it were part of the energy at x=0, where the potential energy is zero.