01 / 21

Representing & Analyzing
Simple Harmonic Motion

Master the equations, graphs, and energy relationships that describe oscillatory systems from springs to pendulums.

AP Physics C: Mechanics

What is Simple Harmonic Motion?

Simple Harmonic Motion (SHM) is periodic motion in which the restoring force is directly proportional to displacement and directed toward equilibrium. Any system obeying this rule oscillates sinusoidally.

Periodic
Motion repeats after a fixed time interval \( T \).
Oscillatory
Object moves back and forth about equilibrium.
Sinusoidal
Position follows \( \sin \) or \( \cos \) functions of time.

Key Parameters of SHM

\( A \) : Amplitude
Maximum displacement from equilibrium (meters).
\( T \) : Period
Time for one complete oscillation (seconds).
\( f \) : Frequency
\( f = 1/T \), oscillations per second (Hz).
\( \omega \) : Angular Frequency
\( \omega = 2\pi f = 2\pi / T \) in rad/s.
\( \phi \) : Phase Constant
Determines initial position at \( t = 0 \).

Why SHM Matters

SHM is the foundation of wave physics, electrical circuits (LC oscillators), molecular vibrations, and mechanical engineering. Virtually every small-displacement oscillation near a stable equilibrium is approximately simple harmonic.

Mass-Spring
\( T = 2\pi\sqrt{m/k} \)
Simple Pendulum
\( T = 2\pi\sqrt{L/g} \) (small angle)

The Core Differential Equation

Newton's second law for a mass on a spring gives:

The general solution is:

Position, Velocity, & Acceleration

1
Position: \( x(t) = A\cos(\omega t + \phi) \)
2
Velocity: \( v(t) = \dfrac{dx}{dt} = -A\omega\sin(\omega t + \phi) \)
3
Acceleration: \( a(t) = \dfrac{d^2x}{dt^2} = -A\omega^2\cos(\omega t + \phi) = -\omega^2 x \)

Graphing \( x \), \( v \), and \( a \)

Spring vs. Pendulum

Mass-Spring Simple Pendulum
Restoring Force \( F = -kx \) \( F_t = -mg\sin\theta \)
Angular Frequency \( \omega = \sqrt{k/m} \) \( \omega = \sqrt{g/L} \)
Period \( T = 2\pi\sqrt{m/k} \) \( T = 2\pi\sqrt{L/g} \)
Depends on mass? Yes No
Approximation? Exact (ideal spring) Small angle \( \theta \ll 1 \)

Energy in SHM

In an ideal (undamped) SHM system, total mechanical energy is conserved. Kinetic and potential energies exchange continuously.

K
Kinetic Energy: \( K = \tfrac{1}{2}mv^2 = \tfrac{1}{2}m\omega^2 A^2 \sin^2(\omega t + \phi) \)
U
Potential Energy: \( U = \tfrac{1}{2}kx^2 = \tfrac{1}{2}kA^2\cos^2(\omega t + \phi) \)
E
Total Energy: \( E = K + U = \tfrac{1}{2}kA^2 = \text{constant} \)

Energy vs. Displacement

Watching a damped oscillator lose its spiral

A spring cart on a rail connected to a cutaway fluid dashpot with a visible piston assembly.With linear damping, the phase trajectory contracts and mechanical energy decreases at the rate −bv². The undamped comparison has constant total mechanical energy.

Damping contracts the phase trajectory

Damping contracts the phase trajectory. With linear damping, the phase trajectory contracts and mechanical energy decreases at the rate −bv². The undamped comparison has constant total mechanical energy.With linear damping, the phase trajectory contracts and mechanical energy decreases at the rate −bv². The undamped comparison has constant total mechanical energy.

Undamped energy exchange

Undamped energy exchange. For m = 0.50 kg, k = 200 N/m and A = 0.10 m, total energy is 1 J and angular frequency is 20 rad/s. Kinetic and potential energies exchange at twice the displacement frequency.For m = 0.50 kg, k = 200 N/m and A = 0.10 m, total energy is 1 J and angular frequency is 20 rad/s. Kinetic and potential energies exchange at twice the displacement frequency.

How to Apply SHM Analysis

1
Identify the restoring force. Verify \( F \propto -x \) (or \( \tau \propto -\theta \) for rotational).
2
Find \( \omega \). Write the equation of motion in the form \( \ddot{x} + \omega^2 x = 0 \). Read off \( \omega \).
3
Determine \( A \) and \( \phi \). Use initial conditions: \( x(0) = A\cos\phi \) and \( v(0) = -A\omega\sin\phi \).
4
Write the full solution. \( x(t) = A\cos(\omega t + \phi) \). Differentiate for \( v(t) \) and \( a(t) \).
5
Use energy methods for questions about speed at a position: \( \tfrac{1}{2}kA^2 = \tfrac{1}{2}kx^2 + \tfrac{1}{2}mv^2 \).

Example 1: Mass-Spring

A \( 0.50 \text{ kg} \) block is attached to a spring with \( k = 200 \text{ N/m} \). It is pulled \( 0.10 \text{ m} \) from equilibrium and released from rest. Find the period, maximum speed, and maximum acceleration.

1
Angular frequency: \( \omega = \sqrt{k/m} = \sqrt{200/0.5} = 20 \text{ rad/s} \)
2
Period: \( T = 2\pi/\omega = 2\pi/20 \approx 0.314 \text{ s} \)
3
Max speed: \( v_{\max} = A\omega = (0.10)(20) = 2.0 \text{ m/s} \)
4
Max acceleration: \( a_{\max} = A\omega^2 = (0.10)(400) = 40 \text{ m/s}^2 \)

Example 2: Finding \( \phi \)

A mass on a spring has \( \omega = 10 \text{ rad/s} \) and \( A = 0.20 \text{ m} \). At \( t = 0 \), the mass is at \( x_0 = 0.10 \text{ m} \) moving in the negative direction. Find \( \phi \).

1
Position condition: \( x(0) = A\cos\phi \;\Rightarrow\; 0.10 = 0.20\cos\phi \;\Rightarrow\; \cos\phi = 0.5 \)
2
Velocity condition: \( v(0) = -A\omega\sin\phi < 0 \;\Rightarrow\; \sin\phi > 0 \)
3
Result: \( \cos\phi = 0.5 \) and \( \sin\phi > 0 \;\Rightarrow\; \phi = \pi/3 \)

Example 3: Energy Method

Using the system from Example 1 (\( k = 200 \text{ N/m} \), \( A = 0.10 \text{ m} \), \( m = 0.50 \text{ kg} \)), find the speed when \( x = 0.06 \text{ m} \).

1
Total energy: \( E = \tfrac{1}{2}kA^2 = \tfrac{1}{2}(200)(0.01) = 1.0 \text{ J} \)
2
PE at \( x = 0.06 \text{ m} \): \( U = \tfrac{1}{2}(200)(0.06)^2 = 0.36 \text{ J} \)
3
KE: \( K = E - U = 1.0 - 0.36 = 0.64 \text{ J} \)
4
Speed: \( v = \sqrt{2K/m} = \sqrt{2(0.64)/0.50} = 1.6 \text{ m/s} \)

Common Mistakes

✕ Confusing \( \omega \) and \( f \)
Using frequency \( f \) in radians formulas. Remember: \( \omega = 2\pi f \). Period formulas use \( \omega \), not \( f \).
✕ Wrong phase constant \( \phi \)
Ignoring the velocity sign at \( t = 0 \). Both \( x(0) \) and \( v(0) \) are needed to determine \( \phi \) uniquely.
✕ Pendulum mass dependence
Claiming a heavier pendulum swings more slowly. Period of a simple pendulum is independent of mass.
✕ Max \( v \) at endpoints
Speed is maximum at equilibrium (\( x = 0 \)), not at the turning points where \( v = 0 \).
✕ Energy not conserved
Forgetting that in ideal SHM, \( E = \tfrac{1}{2}kA^2 \) is constant. Energy shifts between \( K \) and \( U \), never lost.

SHM Quick Reference

Quantity Expression Max Value
Position \( A\cos(\omega t + \phi) \) \( A \)
Velocity \( -A\omega\sin(\omega t + \phi) \) \( A\omega \)
Acceleration \( -A\omega^2\cos(\omega t + \phi) \) \( A\omega^2 \)
Kinetic Energy \( \tfrac{1}{2}m\omega^2 A^2\sin^2(\omega t + \phi) \) \( \tfrac{1}{2}kA^2 \)
Potential Energy \( \tfrac{1}{2}kA^2\cos^2(\omega t + \phi) \) \( \tfrac{1}{2}kA^2 \)
Total Energy \( \tfrac{1}{2}kA^2 \) \( \tfrac{1}{2}kA^2 \) (constant)

Question 1 of 5

A block on a spring has amplitude \( A \) and angular frequency \( \omega \). What is the maximum speed of the block?

Question 2 of 5

In SHM, at what displacement is the kinetic energy equal to the potential energy?

Question 3 of 5

If the mass of a simple pendulum is doubled (length unchanged), its period:

Question 4 of 5

A mass-spring system has \( k = 50 \text{ N/m} \), \( m = 2.0 \text{ kg} \), and \( A = 0.40 \text{ m} \). What is the total mechanical energy?

Question 5 of 5

The acceleration of a particle in SHM is zero when the particle is at: