AP Physics 1 · Topic 7.3 · Reading guide, about 5 min

Graphs and equations of oscillation

Read position, velocity and acceleration graphs of SHM, find amplitude, period and phase, and use x(t) = A cos(2 pi f t).

In one minute

A graph of an oscillating object against time is a wave-shaped curve, and that curve carries all the information about the motion: how far it swings, how long a cycle takes, where it is fast, where it is slow. Learning to read these graphs is one of the most tested skills in this unit.

In this topic you will connect three graphs (position, velocity, acceleration) to each other and to the equation x(t)=Acos⁡(2πft)x(t)=A\cos(2\pi ft). The key picture is that each graph is the same sinusoid shifted by a quarter of a period.

Key terms

Sinusoidal
Having the shape of a sine or cosine curve, smoothly repeating between a maximum and a minimum.
Amplitude (AA)
Maximum displacement. On an xx-tt graph it is the height of a peak above the center line.
Period (TT)
Time for one full cycle. On a graph it is the horizontal distance between two adjacent peaks.
Angular frequency (ω\omega)
ω=2πf=2π/T\omega=2\pi f=2\pi/T, in radians per second. It appears inside the sine or cosine.
Phase
Where in its cycle the oscillator is at t=0t=0. Starting at the positive extreme gives a cosine curve (starting at the negative extreme gives a negative cosine); starting at equilibrium moving up gives a sine curve.
Maximum speed
vmax=Aω=2πfAv_{max}=A\omega=2\pi fA, reached each time the object passes through equilibrium.
Maximum acceleration
amax=Aω2a_{max}=A\omega^2, reached at the extremes, where the restoring force is largest.
Quarter-cycle shift
Position, velocity and acceleration graphs have the same shape but are offset from one another by T/4T/4.

The position graph and its equation

If you release a mass from rest at the extreme x=+Ax=+A and start the clock then, the position is x(t)=Acos⁡(2πft)x(t)=A\cos(2\pi ft). At t=0t=0 it equals AA. A quarter period later it passes through equilibrium, at half a period it reaches −A-A, and at one full period it returns to +A+A. If instead you start the clock as the mass passes equilibrium moving in the positive direction, the same motion is x(t)=Asin⁡(2πft)x(t)=A\sin(2\pi ft). The only difference between the two is phase, the starting point in the cycle.

From any xx-tt graph you can read three things directly. The amplitude is the maximum height. The period is the time between repeating features, for example peak to peak. The frequency follows as f=1/Tf=1/T, and then ω=2πf\omega=2\pi f. Remember that the peak-to-peak height is 2A2A, a common trap.

Velocity and acceleration graphs

The velocity at any instant is the slope of the position graph. Where x(t)x(t) is at a peak or valley, the slope is zero, so v=0v=0. Where x(t)x(t) crosses the center line, the slope is steepest, so ∣v∣|v| is maximum. For x=Acos⁡(2πft)x=A\cos(2\pi ft) the velocity curve is an upside-down sine: v(t)=−Aωsin⁡(ωt)v(t)=-A\omega\sin(\omega t). It starts at zero, becomes negative as the mass moves back toward equilibrium, and has its biggest magnitude at the quarter-cycle point.

Acceleration is the slope of the velocity graph. It is zero when velocity is at a peak, and largest in magnitude when velocity crosses zero. Using the force rule, a=−(k/m)xa=-(k/m)x, the acceleration graph is just the position graph turned upside down and scaled: a(t)=−Aω2cos⁡(ωt)a(t)=-A\omega^2\cos(\omega t). At every instant the acceleration points opposite to the displacement.

So the pattern to memorize is: position is at an extreme when velocity is zero and acceleration is greatest; position is zero when velocity is greatest and acceleration is zero.

Quarter-cycle snapshot for a mass released from x=+Ax=+A
TimePositionVelocityAcceleration
00+A+A00Maximum, negative
T/4T/400Maximum, negative00
T/2T/2−A-A00Maximum, positive
3T/43T/400Maximum, positive00
TT+A+A00Maximum, negative

Worked example

A 0.25 kg0.25\text{ kg} cart on a spring is pulled 0.20 m0.20\text{ m} from equilibrium and released at t=0t=0. It completes one cycle every 0.50 s0.50\text{ s}. Find the equation of motion, the maximum speed, and the maximum acceleration.

The amplitude is A=0.20 mA=0.20\text{ m}. The frequency is f=1/T=1/0.50=2.0 Hzf=1/T=1/0.50=2.0\text{ Hz}, so ω=2πf=2π(2.0)≈12.6 rad/s\omega=2\pi f=2\pi(2.0)\approx12.6\text{ rad/s}. Starting from an extreme means a cosine: x(t)=(0.20 m)cos⁡(2π(2.0 Hz)t)x(t)=(0.20\text{ m})\cos\left(2\pi(2.0\text{ Hz})t\right). The maximum speed is vmax=Aω=(0.20)(12.57)≈2.5 m/sv_{max}=A\omega=(0.20)(12.57)\approx2.5\text{ m/s}, reached at t=T/4=0.125 st=T/4=0.125\text{ s} as the cart passes equilibrium. The maximum acceleration is amax=Aω2=(0.20)(12.57)2≈32 m/s2a_{max}=A\omega^2=(0.20)(12.57)^2\approx32\text{ m/s}^2, reached at t=0t=0 and every half-cycle after, at the extremes. Check: the spring constant is k=mω2=(0.25)(158)≈39 N/mk=m\omega^2=(0.25)(158)\approx39\text{ N/m}, and kA/m=(39.5)(0.20)/0.25≈32 m/s2kA/m=(39.5)(0.20)/0.25\approx32\text{ m/s}^2, which matches.

Reading a graph in practice

Suppose a graph shows a curve that starts at zero, rises to +0.10 m+0.10\text{ m} at 0.5 s0.5\text{ s}, returns to zero at 1.0 s1.0\text{ s}, and reaches its minimum at 1.5 s1.5\text{ s}. Then A=0.10 mA=0.10\text{ m} and T=2.0 sT=2.0\text{ s} (one full cycle takes you back to zero heading upward). This is a sine curve, so the phase differs from the cosine case. When you read velocity from a position graph, find where the curve is steep. When you read acceleration, find where the curve is most sharply bent: peaks and valleys of xx are where ∣a∣|a| is greatest.

A common exam skill is matching: given a graph of one quantity, choose the graph of another. Use the quarter-shift rule: the velocity curve reaches each feature a quarter cycle before the position curve does, and the acceleration curve is flipped relative to position.

How it connects

  • Back to 1.3: velocity as the slope of a position graph and acceleration as the slope of a velocity graph are used here at every step.
  • Back to 7.2: period and frequency give you the time axis scale and the 2πf2\pi f inside the sinusoid.
  • Back to 7.1: a=−(k/m)xa=-(k/m)x explains why the acceleration graph mirrors the position graph.
  • Forward to 7.4: the points of maximum speed and maximum stretch on these graphs are where the energy is all kinetic or all potential.

Common mistakes

  • Putting maximum velocity and maximum position together. They are a quarter-cycle apart. Velocity is zero at the extremes.
  • Reading amplitude as peak-to-peak height. Amplitude is measured from the center line, so it is half the peak-to-peak distance.
  • Using degrees in the calculator. In cos⁡(2πft)\cos(2\pi ft) the angle is in radians, so set the calculator to radian mode.
  • Forgetting the sign of acceleration. The acceleration always has the opposite sign from the displacement, so its graph is flipped, not in phase with position.

How it shows up on the exam

  • Graph questions show an xx-tt curve and ask for amplitude, period, frequency, or the times when speed or acceleration is maximum.
  • Matching questions give one graph and ask you to pick or sketch a related graph of velocity or acceleration for the same motion.
  • Equation questions give x(t)x(t) with numbers and ask for the amplitude, the frequency, or the position at a particular time.

Check yourself

  1. At what points of the cycle is the speed zero, and what is the acceleration there?
  2. If the clock starts as the mass passes equilibrium, does the equation use sine or cosine, and why?
  3. How do you get the maximum speed from the amplitude and period?
  4. Sketch the acceleration graph if the position graph is a cosine that starts at its maximum.

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.