AP® Physics C: Mechanics · Unit 7 · Topic 7.3

The Equations of Simple Harmonic Motion

Simple harmonic motion is fully described by x(t) = A cos(omega t + phi), where amplitude sets the size of the swing, angular frequency sets how fast it repeats, and the phase constant sets where it starts.

Every simple oscillator, no matter what it's made of, obeys the same differential equation: acceleration proportional to negative position, a = -omega2 x. The function x(t) = A cos(omega t + phi) solves that equation for any values of A and phi, which is why one formula covers springs, pendulums and anything else that feels a restoring force proportional to displacement. The three constants are not interchangeable: omega comes from the physics of the system itself (spring stiffness and mass, or gravity and length), while A and phi come from how you started the motion.

Amplitude A stretches the curve vertically: it's the maximum distance from equilibrium, fixed by how far you pulled or pushed the object before releasing it. Angular frequency omega stretches the curve horizontally: it sets how many radians of the cosine cycle pass per second, so period T = 2 π / omega and frequency f = omega / (2 π). The phase constant phi slides the whole curve left or right along the time axis without changing its height or its repeat rate. It just answers the question: where was the oscillator, and which way was it moving, at t = 0? Differentiating x(t) gives velocity v(t) = -A omega sin(omega t + phi), and differentiating again gives acceleration a(t) = -A omega2 cos(omega t + phi) = -omega2 x(t), tying the kinematics directly back to Newton's second law.

This equation is the hinge of the whole unit: earlier you found omega from force equations like F = -kx, and next you'll use x(t), v(t) and a(t) together to track how kinetic and potential energy trade off and to find velocity or acceleration at any position without needing time at all.

Key terms

Amplitude (A)
The maximum displacement from equilibrium, set by the initial pull or push, not by time.
Angular frequency (omega)
The rate of change of the phase angle in radians per second, fixed by the system's mass and restoring force.
Phase constant (phi)
The offset inside the cosine that encodes the oscillator's position and direction of motion at t = 0.
Period (T)
The time for one full cycle, equal to 2 π divided by omega.

Watch it explained

  1. How it worksHow do amplitude, angular frequency and phase constant each reshape the curve?
  2. Worked exampleFind the position at t = 0.3 s for an oscillator with x(t) = 0.12 cos(6t + π/4) meters.
  3. Worked exampleFind the amplitude and phase constant for an oscillator released from rest at x = 0.05 m.
  4. Common mistakeWhy doesn't changing the phase constant change either the period or the amplitude?

Check yourself

Your turn1 of 2
An oscillator's position is x(t) = 0.154cos(8t + 1.4) meters. Find its velocity function v(t).

End of topic.