Physics notes

Simple Harmonic Motion and Oscillations Notes: Formulas, Tricks and Solved Examples

Spring-mass systems, energy in SHM, velocity and acceleration, the simple pendulum, phase and time period, other oscillators, damping and superposition, each with the method that solves it fastest.

By Sunil Kumar. Updated 5 December 2026.

How to recognise SHM

A motion is simple harmonic when the restoring force (or torque) is proportional to the displacement from the mean position and points towards it.

Condition
Differential form
  • Every SHM is periodic and oscillatory. The reverse is not true.
  • gives SHM only for . For other odd the motion is oscillatory but not simple harmonic. For even the body does not oscillate.
  • , and are SHM. is SHM about a shifted mean position with angular frequency . and are periodic but not SHM.
Shortcut To test any system: displace it by a small , write the net restoring force, and bring it to the form . That constant is the effective , and .
Common mistake . Its time period is , not , and its amplitude is of the coefficient.

Spring-mass systems

Time period
Springs in series
Springs in parallel
Cutting a spring
  • A mass between two springs fixed to two walls is the parallel case, even though the springs look in line. Both springs push the mass back together.
  • Vertical spring: gravity only shifts the mean position by . The time period stays , and can be written .
  • Spring cut into equal parts: each part has constant . Parts joined in parallel give , so the period becomes .
  • Spring cut in ratio : the pieces have constants and .
  • Two blocks , joined by a spring on a smooth floor: use the reduced mass, with .
  • Spring of mass : use in place of .
Tip The time period of a spring-mass system does not depend on . It is the same on the Moon, in a lift and in a satellite. A pendulum is the opposite.

Worked example. A mass on a spring has time period . The spring is cut into two equal halves and the mass is hung from both halves joined in parallel. Find the new time period.

Show the method
  1. Each half has constant because is constant.
  2. In parallel the constants add: .
  3. .

Worked example. A block falls on a vertical spring or a second mass is gently placed on an oscillating block at the mean position. What changes?

Show the method
  1. Momentum is conserved at the instant of sticking: .
  2. The new angular frequency is .
  3. The new amplitude is (if placed at the mean position of a horizontal spring). If placed at the extreme position the amplitude does not change, only the period does.

Energy in SHM

Kinetic energy
Potential energy
Total energy
  • at . This happens 4 times in one oscillation.
  • At : and , so .
  • and oscillate with frequency (period ). The total energy does not oscillate.
  • Average over one period: .
  • If the potential energy at the mean position is and not zero, then and .
Shortcut Ratio questions need no formula work. Write and , then put the fraction.
Common mistake "Energy" in a question on a particle given at time : first find ( here), then use the ratios. Do not put into the energy formula with and mixed up. For : and .

Worked example. At what displacement is the kinetic energy of a particle in SHM equal to 75 percent of its total energy?

Show the method
  1. .
  2. , so .

Velocity and acceleration

Velocity
at the mean position
Acceleration
at the extremes
From two readings
  • and . Two given maxima give and at once.
  • Velocity leads displacement by . Acceleration leads velocity by and is opposite in phase () to displacement.
  • Graph of against is an ellipse: . Graph of against is a straight line of slope . Graph of against is an ellipse.
  • At the speed is . At it is .
Shortcut "Speed is half the maximum" means , so . Keep the pair in mind: half the displacement goes with of the speed and the other way round.

Worked example. A particle in SHM has speeds and at displacements and . Find the time period.

Show the method
  1. and .
  2. Subtract: .
  3. .

Simple pendulum

Time period
Situation
Lift accelerating up with
Lift accelerating down with
Free fall or satellite, the pendulum does not oscillate
Vehicle accelerating horizontally with
Bob of density in liquid of density
Charged bob, field vertical
Charged bob, field horizontal
  • Small changes: . A 2 percent increase in length gives a 1 percent increase in period. Use this only for changes of a few percent. For 21 percent or 44 percent use the square root directly (, ).
  • Seconds pendulum: s, length close to 1 m (99.3 cm) on Earth.
  • The period does not depend on the mass of the bob or, for small angles, on the amplitude.
  • Pendulum of length comparable to the Earth's radius : . For infinite length min.
  • At height or depth use the changed : , .
  • Hollow bob filled with water that leaks out: the centre of mass first goes down, then comes back up. The period first increases, then returns to the first value.
  • Clock: a pendulum clock runs slow when increases (summer, going up a mountain). Time lost per day is s.
Common mistake Two pendulums of lengths and start together. They are again in phase when the shorter one has made exactly one oscillation more: .

Worked example. A pendulum has period in air. Its bob has density times that of water. Find its period when it oscillates fully inside water (ignore viscosity).

Show the method
  1. .
  2. .

Equation of SHM, phase and time between two positions

General equation
Amplitude of a combination

The fastest way to handle time questions is the reference circle. A particle moving on a circle of radius with angular speed has a shadow on the diameter that does SHM. Time taken .

JourneyAngleTime
Mean to
Mean to
Mean to
Mean to extreme
to extreme
Extreme to
  • Starting from the mean position use . Starting from the extreme use .
  • Distance covered in time is , in is from any starting point. In it is only if the start is the mean or the extreme.
  • Two particles on the same line with the same and cross each other at moving in opposite directions: phase difference . If they cross at the phase difference is .
  • Initial phase from initial conditions: and .
Common mistake The time from the mean position to is , not . The particle is fastest near the mean position, so the first half of the path takes less time than the second half ( against ).

Worked example. A particle starts from the extreme position. After what fraction of the period is its displacement half the amplitude?

Show the method
  1. From the extreme use . gives .
  2. .

Other oscillating systems

Physical pendulum
Torsional pendulum
Liquid in a U-tube
Floating cylinder
Tunnel through the Earth
Piston on a gas column
Magnet in a field
Dipole in an electric field
  • In the physical pendulum is about the pivot (use the parallel axis theorem) and is the distance from the pivot to the centre of mass.
  • Rod of length pivoted at one end: . Ring hung from a point on its rim: . Disc hung from its rim: .
  • in the U-tube is the total length of the liquid column, the height in one limb at rest. For the floating cylinder is the submerged length at rest.
  • A straight tunnel through the Earth gives the same 84.6 min whether or not it passes through the centre.
  • A point charge on the axis of a charged ring, close to the centre, also does SHM: find the force for small and read off the constant.

Damped and forced oscillations

Damped amplitude
Damped energy
Damped angular frequency
Quality factor
  • Energy falls twice as fast as amplitude because . If the amplitude becomes the energy becomes .
  • Equal time intervals give equal ratios. Amplitude in 5 s means after 10 s and after 15 s.
  • Time for the amplitude to halve: . Time for the energy to halve: .
  • Forced oscillation: in the steady state the body oscillates with the frequency of the driver, not its own. Resonance: driver frequency equals natural frequency, and the amplitude is largest. Less damping gives a taller and sharper peak.

Superposition of two SHMs

Same line, same frequency
Phase of the resultant
  • : . : . : . Equal amplitudes with : the resultant is again.
  • Convert everything to sine first. , so and differ in phase by .
  • Perpendicular SHMs of the same frequency: or gives a straight line, with equal amplitudes gives a circle, otherwise an ellipse.
Common mistake A minus sign is a phase of : . Fix the signs before reading the phase difference.
Revise with the short notesSolve questions of this chapterAll physics notes