Home / Learn / Exam prep / IIT JAM Physics / Lesson 3.1
All lessons

Module 3: Oscillations, waves and optics · Lesson 3.1 · about 40 min

Simple harmonic motion

What makes a motion simple harmonic, how displacement, velocity, acceleration and energy are linked, why every small oscillation is SHM, and how to get the period of springs, pendulums and odd systems in one line.

Key points, meanings and formulas on one page: choose "Save as PDF" in the print box.

Module 3 · about 40 minutes. By the end you will be able to recognise SHM from its equation, move freely between displacement, velocity, acceleration and energy, find the frequency of any small oscillation from its potential energy, and write down the period of springs, pendulums and the unusual oscillators JAM likes to invent.

Whenever a push back is proportional to how far you are from home, you oscillate in a perfect sine wave, and the period does not depend on how far you went.

1. The one equation behind it all

Pull a block on a spring a distance x from where the spring is relaxed. The spring pulls back with a force F=−kx: twice the stretch, twice the pull, always towards the middle. Newton’s second law gives

mx¨=−kx⟹x¨=−ω2x,ω=km

This is the equation of simple harmonic motion (SHM): acceleration proportional to displacement, and opposite to it. Any system whose equation can be put in this form is an SHM, whatever it is made of, and ω is read straight off as the square root of the number in front of x.

Its general solution has two constants, set by how you start the motion:

x(t)=Acos⁡(ωt+ϕ)
Symbol Name Set by
A amplitude (largest displacement) the start
ϕ initial phase the start
ω angular frequency (rad/s) the system only
T=2π/ω period the system only
f=1/T frequency (Hz) the system only

The period depends only on m and k, never on A. This is called isochronism, and it is why pendulums and quartz crystals keep time.

2. Watch it: the reference circle

The block below moves as x=Acos⁡ωt. Under it, a dot goes round a circle at a steady angular speed ω. Its shadow on the horizontal line is exactly the block’s position. That is all SHM is: one coordinate of uniform circular motion.

Change the mass and spring constant and the period changes; change the amplitude and it does not. The bars show kinetic and potential energy swapping while their sum stays fixed.

Try it: double the amplitude and watch the readout. The period stays the same, because the block has twice as far to go but is pushed twice as hard all the way.

3. Velocity and acceleration

Differentiate x=Acos⁡(ωt+ϕ) twice:

v=−Aωsin⁡(ωt+ϕ),a=−Aω2cos⁡(ωt+ϕ)=−ω2x
  • The velocity is a quarter cycle (π/2) ahead of the displacement. The acceleration is half a cycle (π) ahead: always opposite to x.
  • Largest speed Aω at the middle; largest acceleration Aω2 at the ends, where the block stops for an instant.
  • Eliminating time gives the most useful single formula in this lesson:
v=ωA2−x2
A
how far the motion reaches from the middle
ω
how fast the reference dot turns, in radians per second: √(stiffness ÷ inertia)
ωt + φ
the phase: where in its cycle the motion is
v = ω√(A² − x²)
speed at any position, without needing the time
Physical meaning
A stiff spring (large k) pulls back hard and makes quick oscillations; a heavy mass (large m) resists changes of speed and makes slow ones. The size of the swing does not matter.

Worked example. A particle moves as x=0.05cos⁡(10t+π/4) m. Find its period, its greatest speed and acceleration, and its speed at x=3 cm.

  1. Read off A=0.05 m and ω=10 rad/s, so T=2π/10=0.628 s.
  2. Greatest speed Aω=0.5 m/s; greatest acceleration Aω2=5 m/s².
  3. At x=0.03 m: v=100.0025−0.0009=10×0.04=0.4 m/s.

The phase π/4 played no part: it only decides when these things happen.

Timing trick. Because the reference dot turns at a steady rate, “how long from here to there” is just “what angle does the dot sweep”. From the middle to A/2 the dot turns 30∘, which is T/12; from the end to A/2 it turns 60∘, which is T/6. Students who assume constant speed get T/8 for both.

4. Energy

The spring stores potential energy 12kx2; the block carries kinetic energy 12mv2=12mω2(A2−x2)=12k(A2−x2). Add them:

E=12kx2+12k(A2−x2)=12kA2=12mω2A2

The total is constant and grows as the square of the amplitude. Averaged over a cycle, kinetic and potential energy are equal: each is E/2.

Worked example. A 0.25 kg block on a spring with k=100 N/m oscillates with amplitude 4 cm. What fraction of its energy is kinetic at x=2 cm?

  1. E=12(100)(0.04)2=0.08 J.
  2. Potential energy at 2 cm: 12(100)(0.02)2=0.02 J, a quarter of the total, because (x/A)2=1/4.
  3. So the kinetic energy is 0.06 J, three quarters of the total. The mass was not needed.

5. Every small oscillation is SHM

Here is why SHM is everywhere. Take any smooth potential energy U(x) with a minimum at x0. Step through what happens close to the bottom:

Zoom in. Near x₀ write x = x₀ + s, with s small, and expand U in a Taylor series: U = U(x₀) + U′(x₀)s + ½U″(x₀)s² + ...

The slope is zero. At a minimum U′(x₀) = 0, so the linear term drops out.

Keep the first surviving term. For small s the s² term beats every higher power: U ≈ U(x₀) + ½U″(x₀)s².

That is a spring. Compare with ½ks²: the effective spring constant is k = U″(x₀). The force is −U″(x₀)s, proportional to −s.

Read off ω. ω = √(U″(x₀)/m). A minimum (U″ > 0) oscillates; a maximum (U″ < 0) is unstable and the particle runs away.

ω=U′′(x0)m

Worked example. A simple model of the bond in a molecule uses U(x)=a/x2−b/x with a,b>0. Find the equilibrium separation and the frequency of small vibrations of a particle of mass m.

  1. U′(x)=−2a/x3+b/x2=0 gives x0=2a/b.
  2. U′′(x)=6a/x4−2b/x3. At x0: U′′=(6a−2bx0)/x04=2a/x04=b4/(8a3).
  3. So ω=b4/(8a3m).

The trap in exams: reading k from the coefficient of x2 in a potential like U=3x2. Remember U=12kx2, so here k=6, not 3.

6. Springs and pendulums

The recipe never changes: find the restoring force (or torque) for a small displacement, write it as “constant × displacement”, and divide by the inertia.

System ω2 Remember
Springs in parallel / in series (k1+k2)/m / k1k2/[(k1+k2)m] opposite to resistors
Spring cut to a fraction f of its length k/(fm) a shorter spring is stiffer
Vertical spring with static stretch δ g/δ gravity shifts the centre, not ω
Simple pendulum g/L mass does not matter
Physical pendulum (pivot d from centre of mass) mgd/I use the parallel-axis theorem for I
Pendulum in a lift with acceleration a up (g+a)/L use the effective gravity
Two masses joined by a spring k/μ, μ=m1m2/(m1+m2) reduced mass
Liquid in a U-tube, column length L 2g/L the level difference is twice the shift

Worked example. A thin ring of radius 25 cm hangs on a nail and swings in its own plane. Find its period (g=9.8 m/s²).

  1. About its centre a ring has I=mR2; about a point on the rim (parallel axes) I=2mR2.
  2. The centre of mass is d=R from the nail, so ω2=mgR/(2mR2)=g/(2R).
  3. T=2π2R/g=2π0.5/9.8=1.42 s: the same as a simple pendulum of length 2R.

For hands-on practice with real numbers, the Pendulum lab lets you change length, gravity and amplitude, the Spring combinations tool works out series and parallel springs, and the SHM circle shows the reference circle in slow motion. If you have measured a real pendulum, the Pendulum lab analyser turns your timings into g with an uncertainty.

“Any motion that repeats itself is simple harmonic.” No. Periodic means it repeats; simple harmonic means the acceleration is exactly −ω2 times the displacement from a fixed point, so the motion is a single pure sine wave. A ball bouncing on the floor is periodic but not SHM. x=Asin⁡ωt+Asin⁡2ωt is periodic but not SHM. Surprisingly, x=Asin2⁡ωt is SHM: sin2⁡ωt=12(1−cos⁡2ωt), a pure oscillation at 2ω about the point A/2.

7. Adding two SHMs of the same frequency

Two SHMs along the same line with the same ω add to a single SHM with that ω. Treat each as an arrow (a phasor) of length Ai at angle ϕi and add the arrows:

A2=A12+A22+2A1A2cos⁡(ϕ2−ϕ1)

Worked example. x1=2sin⁡ωt and x2=2sin⁡(ωt+2π/3): A2=4+4+8cos⁡120∘=4, so A=2. Two equal motions 120∘ apart add up to one of the same size. (Different frequencies, beats and Lissajous figures come in lesson 3.3.)

8. When SHM stops being exact

Real oscillators are SHM only for small amplitudes. For a pendulum released from 90∘, the restoring torque −mgLsin⁡θ is weaker than −mgLθ, and the period is about 18% longer than 2πL/g. In general, a potential V∝|x|n gives a period that changes with energy as T∝E1/n−1/2: only n=2 keeps the period fixed. GATE and NET also ask about slow changes: if a pendulum’s length is shortened very slowly, the quantity E/ω stays constant (an adiabatic invariant), which is the classical root of E=nℏω.

  • SHM means x¨=−ω2x; read ω as the square root of the coefficient. Solution x=Acos⁡(ωt+ϕ); the period does not depend on amplitude.
  • Velocity leads displacement by π/2, acceleration by π. v=ωA2−x2, vmax⁡=Aω, amax⁡=Aω2.
  • E=12kA2; kinetic equals potential at x=A/2; each averages E/2 over a cycle.
  • Small oscillations about any minimum: ω=U′′(x0)/m. Watch the factor 12 in U=12kx2.
  • Pendulums: ω2=g/L (simple), mgd/I (physical), with g replaced by the effective gravity in an accelerating frame.
  • Same-frequency SHMs add like arrows: A2=A12+A22+2A1A2cos⁡Δϕ.

Practise: exam questions on this lesson

They start easy and climb to top-rank level. Check each answer, then read the full solution. There are more on the simple harmonic motion practice page.

Next: lesson 3.2 adds friction and a driving force, which leads to resonance. The same x¨=−ω2x reappears in electric circuits and in the quantum harmonic oscillator; the GATE Physics course takes it further with small oscillations of many coupled bodies and normal modes.

Check yourself

1A particle in SHM has amplitude 10 cm. Where is its kinetic energy equal to its potential energy?
2A pendulum clock is taken from sea level to the top of a high mountain, where g is smaller. What happens?
3For a particle moving in the potential U(x), what sets the angular frequency of small oscillations about a minimum at x₀?

Sources

  • D. Kleppner and R. Kolenkow, An Introduction to Mechanics, 2nd ed. (2014), chapter 6: oscillations
  • A. P. French, Vibrations and Waves, MIT Introductory Physics Series (1971), chapters 1 to 3
  • H. J. Pain and P. Rankin, Introduction to Vibrations and Waves (2015), chapter 1
  • IIT JAM Physics syllabus (Oscillations, Waves and Optics section), published by the organising IIT each year

Your ticks stay in this browser. Save them as a file on the course home.

Updated 2026-11-22. Not affiliated with IIT or the JAM organising institute. Exam pattern as published for recent years: always check the official JAM website before the exam. All questions are original.