impera Open Impera

AP Physics C: Mechanics · Oscillations

Simple harmonic motion

1The defining equation

Simple harmonic motion (SHM) occurs when the restoring force is proportional to displacement: $F = -kx$. Newton's second law then gives the differential equation:
$$\frac{d^2x}{dt^2} = -\omega^2x, \qquad \omega = \sqrt{\frac{k}{m}}$$

Any system whose equation of motion has this form performs SHM with angular frequency ω.

Check yourself

Which differential equation describes simple harmonic motion?

  • d²x/dt² = ω²x

  • d²x/dt² = −ω²x

  • dx/dt = −ωx

  • d²x/dt² = −ω²

Show the answer

d²x/dt² = −ω²x

Acceleration proportional and opposite to x.

2The solution

$$x(t) = A\cos(\omega t + \phi)$$

  • A: amplitude; φ: phase constant (set by initial conditions);
  • $T = \frac{2\pi}{\omega}$, $f = \frac{1}{T} = \frac{\omega}{2\pi}$.

Differentiating:
$$v(t) = -A\omega\sin(\omega t + \phi), \qquad a(t) = -A\omega^2\cos(\omega t + \phi) = -\omega^2x$$

So $v_{max} = A\omega$ (at x = 0) and $a_{max} = A\omega^2$ (at x = ±A).

Worked example

x(t) = 0.05 cos(4πt) (m).

  1. A = 0.05 m; ω = 4π rad/s; T = 0.5 s; f = 2 Hz.
  2. $v_{max} = 0.05 \times 4\pi \approx 0.63$ m/s; $a_{max} = 0.05 \times 16\pi^2 \approx 7.9$ m/s².

Position, velocity and acceleration in SHM

Check yourself

For x(t) = 0.2 cos(5t) in SI units, the maximum speed is:

  • 5 m/s

  • 1.0 m/s

  • 0.04 m/s

  • 0.2 m/s

Show the answer

1.0 m/s

Aω.

3Initial conditions

Given $x_0$ and $v_0$ at t = 0:
$$A = \sqrt{x_0^2 + \left(\frac{v_0}{\omega}\right)^2}, \qquad \tan\phi = -\frac{v_0}{\omega x_0}$$

  • Released from rest at x = A: φ = 0, $x = A\cos\omega t$.
  • Starting at x = 0 moving in +x: $x = A\sin\omega t$.
Worked example

ω = 10 rad/s, x₀ = 0.03 m, v₀ = 0.4 m/s.

  1. $A = \sqrt{0.03^2 + 0.04^2} = 0.05$ m.
Check yourself

An oscillator starts at x = 0 with positive velocity. Its position is best written as:

  • −A cos ωt

  • A cos ωt

  • −A sin ωt

  • A sin ωt

Show the answer

A sin ωt

Zero at t = 0, increasing.

4Velocity as a function of position

Combining x and v (or using energy):
$$v = \pm\omega\sqrt{A^2 - x^2}$$

Worked example

A = 0.1 m, ω = 5 rad/s, at x = 0.06 m: v = 5√(0.01 − 0.0036) = 5 × 0.08 = 0.4 m/s.

Check yourself

An oscillator has A = 0.5 m and ω = 2 rad/s. Its speed at x = 0.3 m is:

  • 0.6 m/s

  • 0.8 m/s

  • 0.4 m/s

  • 1.0 m/s

Show the answer

0.8 m/s

2√(0.25 − 0.09).

5Going deeper: the differential equation and initial conditions

The defining condition: a restoring force proportional to displacement, $F = -kx$. Newton's second law then gives the differential equation

$$\frac{d^2x}{dt^2} = -\omega^2 x, \qquad \omega = \sqrt{\frac{k}{m}}$$

Any system whose equation of motion can be put in this form performs simple harmonic motion with angular frequency ω. Its solution is

$$x = A\cos(\omega t + \phi)$$

Differentiating: $v = -A\omega\sin(\omega t + \phi)$ and $a = -A\omega^2\cos(\omega t + \phi) = -\omega^2x$.

  • Period $T = 2\pi/\omega$ and frequency $f = 1/T$: independent of amplitude.
  • Maximum speed $A\omega$, at the equilibrium position.
  • Maximum acceleration $A\omega^2$, at the extremes.
  • Velocity leads displacement by a quarter cycle; acceleration is exactly opposite to displacement.
  • Speed at any position: $v = \omega\sqrt{A^2 - x^2}$.

Worked example (reading the equation): $x = 0.10\cos(4\pi t)$ in SI units.

  1. A = 0.10 m; ω = 4π rad/s; f = 2.0 Hz; T = 0.50 s.
  2. Maximum speed = 0.10 × 4π = 1.26 m/s.
  3. Maximum acceleration = $0.10(4\pi)^2 = 15.8$ m/s².

Initial conditions fix A and φ. If at t = 0 the displacement is $x_0$ and the velocity $v_0$:

$$A = \sqrt{x_0^2 + \left(\frac{v_0}{\omega}\right)^2}$$

Worked example

an oscillator with ω = 10 rad/s is at $x_0 = 0.030$ m moving at $v_0 = 0.40$ m/s.

  1. $A = \sqrt{0.030^2 + 0.040^2} = 0.050$ m.
  2. Released from rest at maximum displacement: φ = 0 (cosine). Started at equilibrium moving in the positive direction: $x = A\sin\omega t$.

Worked example (timing): how long does an oscillator take to go from equilibrium to half its amplitude?

  1. $x = A\sin\omega t = \frac{A}{2}$, so $\omega t = \frac{\pi}{6}$.
  2. $t = \frac{T}{12}$. The second half of the journey to the extreme takes $\frac{T}{4} - \frac{T}{12} = \frac{T}{6}$: twice as long, because the oscillator is slowing.

Showing a system is SHM: displace it by a small x, find the net force, and show it has the form −(constant) × x. That constant plays the role of k.

Worked example (floating cylinder): a cylinder of cross-section A and mass m floats upright in liquid of density ρ. Pushed down by x, the extra buoyant force is $\rho gAx$ upward.

  1. $m\frac{d^2x}{dt^2} = -\rho gAx$.
  2. So $\omega = \sqrt{\rho gA/m}$ and $T = 2\pi\sqrt{m/(\rho gA)}$.

Link to circular motion: SHM is the projection of uniform circular motion onto a diameter; ω is the angular speed of that reference circle.

Common mistakes

  • Using kinematic equations (constant acceleration) for an oscillator.
  • Setting a calculator to degrees for $\cos(\omega t)$.
  • Thinking a larger amplitude gives a longer period.
Check yourself

In simple harmonic motion, at the instant the displacement is at its maximum, the:

  • Velocity and acceleration are both zero

  • Velocity is maximum and the acceleration is zero

  • Velocity is zero and the acceleration has its maximum magnitude

  • Velocity and acceleration are both maximum

Show the answer

Velocity is zero and the acceleration has its maximum magnitude

a = −ω²x is largest where x is largest; the object is momentarily at rest.

6For top marks

  • Show that a system obeys d²x/dt² = −ω²x, then read off ω.
  • Differentiate x(t) for v and a, keeping the phase.
  • Find A and φ from initial conditions.
  • Use v = ω√(A² − x²) for speed at a given position.
Check yourself

If the restoring force on a 2 kg mass is F = −50x (N), the angular frequency is:

  • 100 rad/s

  • 10 rad/s

  • 5 rad/s

  • 25 rad/s

Show the answer

5 rad/s

√(50/2).

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera