AP Physics C: Mechanics · Unit 7 lecture · Part 5 of 10 · 9 min

7.3 Representing and analyzing SHMReading the waves: x, v and a

Mr. Thompkins
The exam loves to hand you a graph and ask for an equation, or hand you an equation and ask for a graph. Once you see how the three graphs fit together, you can go in either direction in a minute.

Take $x = 0.10\cos(\pi t)$, with A = 0.10 m and $\omega = \pi$ rad/s, so T = 2.0 s. Its velocity is the derivative, $v = -0.10\pi\sin(\pi t) = -0.31\sin(\pi t)$, and its acceleration is $a = -0.10\pi^2\cos(\pi t) = -0.99\cos(\pi t)$. Look at them stacked.

00.511.522.533.54-0.12-0.08-0.0400.040.080.12t (s)x (m)x = 0.10 cos(πt)
Position: starts at +A, crosses zero at 0.5 s, reaches −A at 1.0 s.
00.511.522.533.54-0.4-0.200.20.4t (s)v (m/s)v = −0.31 sin(πt)
Velocity: the slope of x(t). Zero at the ends of the motion, largest at x = 0.
00.511.522.533.54-1.2-0.8-0.400.40.81.2t (s)a (m/s²)a = −0.99 cos(πt)
Acceleration: the slope of v(t), and exactly −ω² times x. A mirror image of the position graph.
?Wait, how do I read slope off a graph?
The slope of a curve at a point is how steeply it rises there: positive going up, negative going down, zero at a peak or a valley. Velocity is the slope of x(t), and acceleration is the slope of v(t). Where x has a peak, v crosses zero.

Three patterns to own. First, wherever x is at a peak or valley (a turning point), the slope is zero, so v = 0. Second, wherever x crosses zero, the slope is steepest, so the speed is largest there. Third, a always has the opposite sign to x, because $a = -\omega^2x$: the a graph is the x graph flipped upside down and scaled by $\omega^2$. In the language of phase, v is a quarter cycle ahead of x, and a is half a cycle away from x.

Pause and think
On the graphs, look at t = 0.5 s. What are x, v and a doing, and where is the object?
I thought about it. Show me
At t = 0.5 s, x = 0, so the object is passing through equilibrium. The force there is zero, so a = 0. And v is at its most negative value, about −0.31 m/s: it is moving at top speed in the −x direction, on its way to −A.

To turn a graph into an equation, read three things. The amplitude is the height of a peak above the middle. The period is the time between two matching points, like peak to peak. And the starting point decides the phase: starting at +A is a plain cosine ($\phi = 0$), starting at zero and moving up is a sine (or $\cos(\omega t - \frac{\pi}{2})$), starting at −A is $-A\cos(\omega t)$ (or $\phi = \pi$).

?Wait, what does "a quarter cycle ahead" mean?
Shifting a graph by a quarter period changes the phase by $\frac{\pi}{2}$ rad. The velocity graph reaches each feature (a peak, a zero crossing) a quarter period before the position graph does. In symbols, $-\sin\theta = \cos\left(\theta + \frac{\pi}{2}\right)$, so $v = A\omega\cos\left(\omega t + \phi + \frac{\pi}{2}\right)$: the same wave as x, with $\frac{\pi}{2}$ more phase.
Pause and think
Sketch, in your head, x(t) for an object released from rest at x = −A. What does its a(t) graph look like at t = 0?
I thought about it. Show me
x(t) starts at the bottom, $-A\cos(\omega t)$, and rises. At t = 0 the acceleration is $-\omega^2(-A) = +A\omega^2$, its largest positive value: the spring is compressed as much as it gets, so it pushes the hardest toward +x. The a(t) graph starts at its top, a mirror image of x(t).
From graph to equation
The graph shows the position of an object in SHM. (a) Write x(t) in SI units. (b) Find the maximum speed. (c) Find the position, velocity and acceleration at t = 0.30 s.
00.20.40.60.811.21.41.6-8-6-4-202468t (s)x (cm)peaknext peak
  1. (a) Read the graph: the peaks are at 6.0 cm, so $A = 0.060$ m. Peaks at 0.20 s and 1.0 s, so $T = 0.80$ s and $\omega = \frac{2\pi}{0.80} = 2.5\pi = 7.85\ \text{rad/s}$.
    Why?
    Measure the period between two peaks rather than from zero. Peak to peak is easier to read exactly.
  2. It starts at x = 0 heading up, which is a sine: $x(t) = 0.060\sin(2.5\pi t)$, or equivalently $0.060\cos(2.5\pi t - \frac{\pi}{2})$.
  3. (b) $v_{max} = A\omega = (0.060)(7.85) = 0.47\ \text{m/s}$.
  4. (c) At t = 0.30 s the phase is $2.5\pi(0.30) = 0.75\pi$ rad. $x = 0.060\sin(0.75\pi) = 0.042\ \text{m}$.
    Why?
    Radians. 0.75π rad is 135°, past the peak and on the way down.
  5. $v = A\omega\cos(0.75\pi) = (0.471)(-0.707) = -0.33\ \text{m/s}$, and $a = -\omega^2x = -(61.7)(0.0424) = -2.6\ \text{m/s}^2$.
    Why?
    Signs check: past the peak, the object is moving down (v < 0) and it is above equilibrium, so a < 0.

Answer: (a) $x = 0.060\sin(2.5\pi t)$. (b) 0.47 m/s. (c) x ≈ 0.042 m, v ≈ −0.33 m/s, a ≈ −2.6 m/s².

Stuck? Get a hint
  1. Amplitude: the height of a peak. Period: the time from one peak to the next.
  2. It starts at zero going up: a sine function. Then $\omega = 2\pi/T$.
  3. For (c), plug t = 0.30 s into x, v and a, with the calculator in radians.
Check yourself
An object in SHM is at its maximum positive displacement. Which describes its velocity and acceleration at that instant?
  1. Av is maximum and positive; a is zero
  2. Bv is zero; a is maximum and positive
  3. Cv is zero; a is maximum and negative
  4. Dv and a are both zero
Show the answer

C. At a turning point the object stops for an instant, so v = 0, and $a = -\omega^2x$ is as negative as it gets. The last choice is the classic trap: stopped doesn't mean no force. The spring is stretched the most right there.

  • Velocity is the slope of x(t); acceleration is the slope of v(t).
  • v = 0 at the ends (turning points), and speed is largest at x = 0. a is always opposite to x: $a = -\omega^2x$.
  • Graph to equation: amplitude from the peak, period from peak to peak, phase from where it starts at t = 0.