MechanicsSimple Harmonic Motion3 of 5
Simple Harmonic Motion · 3

Graphs and Equations of Simple Harmonic Motion

We want to track where an oscillating block on a spring is, how fast it is moving, and how hard the spring pulls on it at every moment of its bounce.

1

The Position Graph: Amplitude, Period, and Quarters

First, let's trace the block's position over time as a wave and see how two measurements describe its entire shape.

The Position Graph: Amplitude, Period, and Quarters
−10\htmlClass{lc-blue}{-10}
0\htmlClass{lc-blue}{0}
+10\htmlClass{lc-blue}{+10}
++
A=10 cm\htmlClass{lc-blue}{A} = \htmlClass{lc-blue}{10}\text{ cm}
T=4 sT = 4\text{ s}
+10\htmlClass{lc-blue}{+10}
0\htmlClass{lc-blue}{0}
−10\htmlClass{lc-blue}{-10}
x (cm)\htmlClass{lc-blue}{x}\ (\text{cm})
00
11
22
33
44
t (s)t\ (\text{s})
Total distance in one period T\displaystyle \dist{\text{Total distance}}\text{ in one period } T =4A⏟amplitude(center to peak)\displaystyle = 4\underbrace{\pos{A}}_{\substack{\text{amplitude} \\ \text{(center to peak)}}}

Measure the amplitude A\pos{A} from the center equilibrium line (x=0\pos{x} = \pos{0}) to a peak or a valley, never from the top peak to the bottom valley (20 cm20\text{ cm} is 2A2\pos{A}, not A\pos{A}).

2

Velocity and Acceleration Graphs

From the four quarter-marks on the position graph, we want to sketch the block's velocity and acceleration graphs without memorizing trigonometry rules.

Velocity and Acceleration Graphs
x (cm)\htmlClass{lc-blue}{x}\ (\text{cm})
+10\htmlClass{lc-blue}{+10}
0\htmlClass{lc-blue}{0}
−10\htmlClass{lc-blue}{-10}
v\htmlClass{lc-pink}{v}
a\htmlClass{lc-orange}{a}
00
11
22
33
44
t (s)t\ (\text{s})

Because the spring's restoring force always pulls opposite to the block's displacement and in direct proportion to it,

Fs\displaystyle \force{F_s} =−kx\displaystyle = -k\pos{x}

the acceleration graph is always an upside-down, scaled copy of the position graph.

Across the four quarter-marks of the cycle, the velocity wave peaks at the center crossings where the position wave is steepest, while the acceleration wave peaks at the turnaround edges right opposite the position wave:

At the top and bottom of the bounce, velocity drops to zero while spring force and acceleration peak opposite to position, and in the middle, force and acceleration drop to zero while speed peaks.
3

The Position Equation

The four quarter-marks tell us where the block is at t=0,1,2,3,t = 0, 1, 2, 3, and 4 s4\text{ s}, but to find its exact position at an in-between time like t=0.7 st = 0.7\text{ s}, we need an equation for the position curve.

The Position Equation
x (cm)\htmlClass{lc-blue}{x}\ (\text{cm})
+10\htmlClass{lc-blue}{+10}
0\htmlClass{lc-blue}{0}
−10\htmlClass{lc-blue}{-10}
00
11
22
33
44
t (s)t\ (\text{s})
x(0.7)=?\htmlClass{lc-blue}{x(0.7)} = {?}

For a block released from the positive peak +A\pos{+A} at t=0t = 0, the position at any time tt is

x(t)\displaystyle \pos{x(t)} =A⏟amplitudecos⁡ ⁣(2π⏟one cyclein radians⋅tT⏟fraction of aperiod completed)\displaystyle = \underbrace{\pos{A}}_{\text{amplitude}} \cos\!\left(\underbrace{2\pi}_{\substack{\text{one cycle} \\ \text{in radians}}} \cdot \underbrace{\frac{t}{T}}_{\substack{\text{fraction of a} \\ \text{period completed}}}\right)

Since frequency is the reciprocal of the period, f=1T\rate{f} = \frac{1}{T}, we can also write the same equation in terms of frequency:

x(t)\displaystyle \pos{x(t)} =Acos⁡(2πft)\displaystyle = \pos{A}\cos(2\pi \rate{f} t)

Worked example: For our block with A=10 cm\pos{A} = \pos{10}\text{ cm} and T=4 sT = 4\text{ s} starting at x=+10 cm\pos{x} = \pos{+10}\text{ cm}, where is the block at t=0.7 st = 0.7\text{ s}?

Text solution
Substitute A\pos{A}, TT, and tt into the position equationSince t=0.7 st = 0.7\text{ s} is between t=0 st = 0\text{ s} (+10 cm\pos{+10}\text{ cm}) and the first quarter-mark at t=1 st = 1\text{ s} (0 cm\pos{0}\text{ cm}), we expect a positive position on the way toward equilibrium.
x(0.7)\displaystyle \pos{x(0.7)} =10cos⁡ ⁣(2π⋅0.74)\displaystyle = \pos{10}\cos\!\left(2\pi \cdot \frac{0.7}{4}\right)
Convert the fraction of a cycle to radians and evaluatePut your calculator in Radian Mode whenever 2π2\pi is inside the trig function.
x(0.7)=10cos⁡(2π⋅0.175)=10cos⁡(1.10 rad)=+4.54 cm\displaystyle \begin{aligned} \pos{x(0.7)} &= \pos{10}\cos(2\pi \cdot 0.175) \\ &= \pos{10}\cos(1.10\text{ rad}) \\ &= \pos{+4.54}\text{ cm} \end{aligned}

So at t=0.7 st = 0.7\text{ s}, the block is at x=+4.54 cm\pos{x} = \pos{+4.54}\text{ cm}, just before it crosses the center line at t=1 st = 1\text{ s}.

4

Starting Positions and the Phase Constant

Clicking the stopwatch at a different moment in the bounce shifts which point of the wave sits at t=0t = 0, so we need a way to write the position equation for any starting spot.

Starting Positions and the Phase Constant
x (cm)\htmlClass{lc-blue}{x}\ (\text{cm})
+10\htmlClass{lc-blue}{+10}
+5\htmlClass{lc-blue}{+5}
0\htmlClass{lc-blue}{0}
−10\htmlClass{lc-blue}{-10}
00
11
22
33
44
t (s)t\ (\text{s})
x(t)=?\htmlClass{lc-blue}{x(t)} = {?}
x (cm)\htmlClass{lc-blue}{x}\ (\text{cm})
+10\htmlClass{lc-blue}{+10}
−10\htmlClass{lc-blue}{-10}
+10cos⁡ ⁣(2πt4)\htmlClass{lc-blue}{+10}\cos\!\left(\dfrac{2\pi t}{4}\right)
+10\htmlClass{lc-blue}{+10}
−10\htmlClass{lc-blue}{-10}
−10cos⁡ ⁣(2πt4)\htmlClass{lc-blue}{-10}\cos\!\left(\dfrac{2\pi t}{4}\right)
+10\htmlClass{lc-blue}{+10}
−10\htmlClass{lc-blue}{-10}
+10sin⁡ ⁣(2πt4)\htmlClass{lc-blue}{+10}\sin\!\left(\dfrac{2\pi t}{4}\right)
+10\htmlClass{lc-blue}{+10}
−10\htmlClass{lc-blue}{-10}
−10sin⁡ ⁣(2πt4)\htmlClass{lc-blue}{-10}\sin\!\left(\dfrac{2\pi t}{4}\right)
00
11
22
33
44
t (s)t\ (\text{s})

When the stopwatch starts at one of the four quarter-marks, we match the trig function directly to the graph at t=0t = 0:

Starts at +A:x(t)=+Acos⁡ ⁣(2πtT)Starts at −A:x(t)=−Acos⁡ ⁣(2πtT)Starts at 0 heading up (+):x(t)=+Asin⁡ ⁣(2πtT)Starts at 0 heading down (−):x(t)=−Asin⁡ ⁣(2πtT)\displaystyle \begin{aligned} &\text{Starts at }\pos{+A}: \\ &\quad \pos{x(t)} = \pos{+A}\cos\!\left(\frac{2\pi t}{T}\right) \\[6pt] &\text{Starts at }\pos{-A}: \\ &\quad \pos{x(t)} = \pos{-A}\cos\!\left(\frac{2\pi t}{T}\right) \\[6pt] &\text{Starts at }\pos{0}\text{ heading up }(+): \\ &\quad \pos{x(t)} = \pos{+A}\sin\!\left(\frac{2\pi t}{T}\right) \\[6pt] &\text{Starts at }\pos{0}\text{ heading down }(-): \\ &\quad \pos{x(t)} = \pos{-A}\sin\!\left(\frac{2\pi t}{T}\right) \end{aligned}

When the stopwatch starts partway between a peak and the center line, we add the head-start angle inside the cosine:

x(t)\displaystyle \pos{x(t)} =Acos⁡ ⁣(2πtT+ϕ⏟phase constant(head-start angle at t=0))\displaystyle = \pos{A}\cos\!\left(\frac{2\pi t}{T} + \underbrace{\pos{\phi}}_{\substack{\text{phase constant} \\ \text{(head-start angle at } t = 0\text{)}}}\right)

Worked example: A block oscillates with A=10 cm\pos{A} = \pos{10}\text{ cm} and T=4 sT = 4\text{ s}. At t=0 st = 0\text{ s}, it is at x=+5 cm\pos{x} = \pos{+5}\text{ cm} and heading down toward equilibrium. Write its position equation x(t)\pos{x(t)}.

Text solution
Plug the starting position at t=0t = 0 into the equationAt t=0t = 0, the time term 2πtT\frac{2\pi t}{T} is zero and x(0)=+5 cm\pos{x(0)} = \pos{+5}\text{ cm}.
5=10cos⁡(0+ϕ)cos⁡(ϕ)=0.5\displaystyle \begin{aligned} \pos{5} &= \pos{10}\cos(0 + \pos{\phi}) \\ \cos(\pos{\phi}) &= 0.5 \end{aligned}
Find the head-start angle ϕ\pos{\phi} and write x(t)\pos{x(t)}On the downward side of the cosine wave (heading down from the +10 cm\pos{+10}\text{ cm} peak), cos⁡(ϕ)=0.5\cos(\pos{\phi}) = 0.5 is one-sixth of a cycle past the peak. The angle ϕ=−π3\pos{\phi} = \pos{-\frac{\pi}{3}} also has cos⁡(ϕ)=0.5\cos(\pos{\phi}) = 0.5, but it is one-sixth of a cycle before the peak, where the block is heading up toward +10 cm\pos{+10}\text{ cm}.
ϕ=π3 radx(t)=10cos⁡ ⁣(2πt4+π3)\displaystyle \begin{aligned} \pos{\phi} &= \pos{\frac{\pi}{3}}\text{ rad} \\[4pt] \pos{x(t)} &= \pos{10}\cos\!\left(\frac{2\pi t}{4} + \pos{\frac{\pi}{3}}\right) \end{aligned}

So the phase constant ϕ=π3 rad\pos{\phi} = \pos{\frac{\pi}{3}}\text{ rad} tells us the block was already one-sixth of a cycle past its positive peak when the stopwatch started.

Shifting the block's starting state at t=0t = 0 slides the position wave horizontally across the vertical axis without changing its amplitude A\pos{A} or period TT:

Starting the stopwatch at a different moment in the bounce slides the exact same wave across the starting line, changing the starting angle without changing the amplitude or period.
5

Angular Frequency and Reading Equations

Now let's go the other way: when a problem gives us a position equation with numbers already plugged in, we want to read the amplitude, angular frequency, period, and frequency straight from it.

Angular Frequency and Reading Equations
x(t)\displaystyle \pos{x(t)} =0.35cos⁡(6πt)\displaystyle = 0.35\cos(6\pi t)
A=?ω=?T=?f=?\displaystyle \begin{alignedat}{2} \pos{A} &= {?} &\qquad \rate{\omega} &= {?} \\ T &= {?} &\qquad \rate{f} &= {?} \end{alignedat}

Combining 2πT\frac{2\pi}{T} (or 2πf2\pi \rate{f}) into a single symbol gives the compact form of the position equation:

x(t)\displaystyle \pos{x(t)} =A⏟amplitudecos⁡(ω⏟angular frequencyω=2πT=2πft+ϕ)\displaystyle = \underbrace{\pos{A}}_{\text{amplitude}}\cos(\underbrace{\rate{\omega}}_{\substack{\text{angular frequency} \\ \rate{\omega} \,=\, \frac{2\pi}{T} \,=\, 2\pi \rate{f}}} t + \pos{\phi})

Worked example: Find the amplitude A\pos{A}, angular frequency ω\rate{\omega}, frequency f\rate{f}, and period TT for (a) x(t)=0.35cos⁡(6πt)\pos{x(t)} = 0.35\cos(6\pi t) and (b) x(t)=0.15sin⁡(4t)\pos{x(t)} = 0.15\sin(4t), where x\pos{x} is in meters and tt is in seconds.

Text solution
Part (a) Read A\pos{A} and ω\rate{\omega}, then solve for f\rate{f} and TTThe positive distance out front is A\pos{A} (even if there were a minus sign in front of 0.350.35, amplitude is always positive), and the entire number multiplying tt is ω\rate{\omega}.
A=0.35 m,ω=6π rad/s≈18.85 rad/s2πf=6π  ⟹  f=3 HzT=1f=13 s≈0.33 s\displaystyle \begin{aligned} \pos{A} &= \pos{0.35}\text{ m}, \\[4pt] \rate{\omega} &= \rate{6\pi}\text{ rad/s} \approx \rate{18.85}\text{ rad/s} \\[4pt] 2\pi \rate{f} &= \rate{6\pi} \implies \rate{f} = \rate{3}\text{ Hz} \\[4pt] T &= \frac{1}{\rate{f}} = \frac{1}{3}\text{ s} \approx 0.33\text{ s} \end{aligned}
Part (b) Repeat when ω\rate{\omega} has no π\pi written in itSet the number multiplying tt equal to 2πT\frac{2\pi}{T} the exact same way.
A=0.15 m,ω=4 rad/s2πT=4  ⟹  T=2π4≈1.57 sf=1T=42π≈0.64 Hz\displaystyle \begin{aligned} \pos{A} &= \pos{0.15}\text{ m}, \qquad \rate{\omega} = \rate{4}\text{ rad/s} \\[4pt] \frac{2\pi}{T} &= \rate{4} \implies T = \frac{2\pi}{\rate{4}} \approx 1.57\text{ s} \\[4pt] \rate{f} &= \frac{1}{T} = \frac{\rate{4}}{2\pi} \approx \rate{0.64}\text{ Hz} \end{aligned}

So whether the number in front of tt contains π\pi or not, setting it equal to 2πT\frac{2\pi}{T} and 2πf2\pi \rate{f} immediately gives the period and frequency.

6

Maximum Velocity and Acceleration from Circular Motion

We know where the velocity and acceleration graphs peak, and now we want to find the numerical values of those peaks, vmax⁡\rate{v_{\max}} and amax⁡\acc{a_{\max}}, as well as the block's acceleration at any position x\pos{x}.

Recall from uniform circular motion that a peg moving around a circle of radius r\pos{r} covers one circumference 2πr2\pi \pos{r} every period TT at constant speed v=2πrT\rate{v} = \frac{2\pi \pos{r}}{T}, with an inward centripetal acceleration of magnitude ac=v2r\acc{a_c} = \frac{\rate{v}^2}{\pos{r}}.

Maximum Velocity and Acceleration from Circular Motion
x\htmlClass{lc-blue}{x}
A=10 cm\htmlClass{lc-blue}{A} = \htmlClass{lc-blue}{10}\text{ cm}
A\htmlClass{lc-blue}{A}
T=4 sT = 4\text{ s}
v\htmlClass{lc-pink}{v}
vmax⁡=?\htmlClass{lc-pink}{v_{\max}} = {?}
a\htmlClass{lc-orange}{a}
amax⁡=?\htmlClass{lc-orange}{a_{\max}} = {?}
00
11
22
33
44
t (s)t\ (\text{s})

Matching the oscillating block to the vertical shadow of a peg on a wheel of radius A\pos{A} gives the peaks of all three graphs:

xmax⁡=A(at the turnaround edges x=±A)vmax⁡=2πAT=ωA(at equilibrium x=0)amax⁡=(ωA)2A=ω2A=(2πT)2A(at the turnaround edges x=±A)\displaystyle \begin{aligned} \pos{x_{\max}} &= \pos{A} \\ &\text{(at the turnaround edges } \pos{x} = \pos{\pm A}\text{)} \\[8pt] \rate{v_{\max}} &= \frac{2\pi \pos{A}}{T} = \rate{\omega} \pos{A} \\ &\text{(at equilibrium } \pos{x} = \pos{0}\text{)} \\[8pt] \acc{a_{\max}} &= \frac{(\rate{\omega} \pos{A})^2}{\pos{A}} = \rate{\omega}^2 \pos{A} \\ &= \left(\frac{2\pi}{T}\right)^2 \pos{A} \\ &\text{(at the turnaround edges } \pos{x} = \pos{\pm A}\text{)} \end{aligned}

Because the acceleration graph is an upside-down copy of the position graph scaled by ω2\rate{\omega}^2, the acceleration at any position x\pos{x} is

a\displaystyle \acc{a} =−ω2x\displaystyle = -\rate{\omega}^2 \pos{x} =−(2πT)2x\displaystyle = -\left(\frac{2\pi}{T}\right)^2 \pos{x}

Since T=2πmkT = 2\pi\sqrt{\frac{m}{k}} for a mass mm on a spring of constant kk, squaring ω=2πT\rate{\omega} = \frac{2\pi}{T} also links angular frequency directly to the mass and spring constant:

ω2\displaystyle \rate{\omega}^2 =km\displaystyle = \frac{k}{m}

Worked example: For our spring with period T=4 sT = 4\text{ s}, what is the block's acceleration at the instant it is at position x=+0.04 m\pos{x} = \pos{+0.04}\text{ m} (+4 cm\pos{+4}\text{ cm})?

Text solution
Find the angular frequency ω\rate{\omega} from the period
ω\displaystyle \rate{\omega} =2πT\displaystyle = \frac{2\pi}{T} =2π4 s≈1.57 rad/s\displaystyle = \frac{2\pi}{4\text{ s}} \approx \rate{1.57}\text{ rad/s}
Substitute ω\rate{\omega} and x\pos{x} into the position-to-acceleration equation
a=−ω2x=−(1.57 rad/s)2(+0.04 m)=−0.099 m/s2\displaystyle \begin{aligned} \acc{a} &= -\rate{\omega}^2 \pos{x} \\ &= -(\rate{1.57}\text{ rad/s})^2(\pos{+0.04}\text{ m}) \\ &= \acc{-0.099}\text{ m/s}^2 \end{aligned}

So when the block is at x=+0.04 m\pos{x} = \pos{+0.04}\text{ m}, its acceleration is −0.099 m/s2\acc{-0.099}\text{ m/s}^2, pointing back toward equilibrium in the negative direction.

As the peg goes around the wheel of radius A\pos{A}, its vertical shadow moves right along with the block on the spring, projecting full velocity ωA\rate{\omega} \pos{A} parallel to the wall at x=0\pos{x} = \pos{0} and full inward acceleration ω2A\rate{\omega}^2 \pos{A} parallel to the wall at the turnaround edges x=±A\pos{x} = \pos{\pm A}:

As the peg circles at a steady speed, the shadows of its velocity and acceleration arrows on the wall match the block's changing velocity and acceleration.
7

Worked Example: Analyzing a Harmonic Oscillator

Let's put all of these graph and equation tools together on a single problem for a 0.5 kg0.5\text{ kg} block on a spring.

Worked example: A 0.5 kg0.5\text{ kg} block oscillates on a spring. On its position-versus-time graph, the wave starts at the bottom valley x=−0.20 m\pos{x} = \pos{-0.20}\text{ m} at t=0 st = 0\text{ s} and first reaches the top peak x=+0.20 m\pos{x} = \pos{+0.20}\text{ m} at t=1.5 st = 1.5\text{ s}. Find (a) the amplitude A\pos{A}, period TT, angular frequency ω\rate{\omega}, and spring constant kk, (b) the position equation x(t)\pos{x(t)} and the block's position at t=1.1 st = 1.1\text{ s}, and (c) the maximum speed vmax⁡\rate{v_{\max}}, the first time t>0t > 0 when the block reaches vmax⁡\rate{v_{\max}}, and the block's acceleration at x=+0.10 m\pos{x} = \pos{+0.10}\text{ m}.

+0.20\htmlClass{lc-blue}{+0.20}
0\htmlClass{lc-blue}{0}
−0.20\htmlClass{lc-blue}{-0.20}
x (m)\htmlClass{lc-blue}{x}\ (\text{m})
00
0.750.75
1.51.5
2.252.25
3.03.0
t (s)t\ (\text{s})
Worked Example: Analyzing a Harmonic Oscillator
x (m)\htmlClass{lc-blue}{x}\ (\text{m})
+0.20\htmlClass{lc-blue}{+0.20}
0\htmlClass{lc-blue}{0}
−0.20\htmlClass{lc-blue}{-0.20}
0.5 kg0.5\text{ kg}
00
1.51.5
t (s)t\ (\text{s})
A=?T=?\htmlClass{lc-blue}{A} = {?}\qquad T = {?}
Text solution
Part (a) Find A\pos{A}, TT, ω\rate{\omega}, and kk from the graphMeasure A\pos{A} from the center line x=0\pos{x} = \pos{0}, and double the 1.5 s1.5\text{ s} valley-to-peak time because going from −0.20 m\pos{-0.20}\text{ m} to +0.20 m\pos{+0.20}\text{ m} is only half a cycle (two quarters).
A=0.20 mT=2(1.5 s)=3.0 sω=2πT=2π3.0 s≈2.09 rad/sk=mω2=(0.5 kg)(2π3.0 rad/s)2≈2.19 N/m\displaystyle \begin{aligned} \pos{A} &= \pos{0.20}\text{ m} \\[4pt] T &= 2(1.5\text{ s}) = 3.0\text{ s} \\[4pt] \rate{\omega} &= \frac{2\pi}{T} = \frac{2\pi}{3.0\text{ s}} \approx \rate{2.09}\text{ rad/s} \\[4pt] k &= m\rate{\omega}^2 \\ &= (0.5\text{ kg})\left(\rate{\frac{2\pi}{3.0}}\text{ rad/s}\right)^2 \\ &\approx 2.19\text{ N/m} \end{aligned}
Part (b) Write x(t)\pos{x(t)} and evaluate at t=1.1 st = 1.1\text{ s}Starting at the bottom valley −A\pos{-A} at t=0 st = 0\text{ s} gives a negative cosine wave, which we evaluate in Radian Mode.
x(t)=−0.20cos⁡ ⁣(2π3.0t)=−0.20cos⁡(2.09t)x(1.1)=−0.20cos⁡ ⁣(2π(1.1)3.0)=−0.20cos⁡(2.30 rad)≈+0.13 m\displaystyle \begin{aligned} \pos{x(t)} &= \pos{-0.20}\cos\!\left(\rate{\frac{2\pi}{3.0}}t\right) \\ &= \pos{-0.20}\cos(\rate{2.09}t) \\[6pt] \pos{x(1.1)} &= \pos{-0.20}\cos\!\left(\frac{2\pi(1.1)}{3.0}\right) \\ &= \pos{-0.20}\cos(2.30\text{ rad}) \\ &\approx \pos{+0.13}\text{ m} \end{aligned}
Part (c) Find vmax⁡\rate{v_{\max}}, the first time it occurs, and a\acc{a} at x=+0.10 m\pos{x} = \pos{+0.10}\text{ m}The block first reaches vmax⁡\rate{v_{\max}} at its first equilibrium crossing (x=0\pos{x} = \pos{0}), one-quarter period after starting at the bottom valley.
vmax⁡=ωA=(2.09 rad/s)(0.20 m)≈0.42 m/sat t=T4=3.0 s4=0.75 sa=−ω2x=−(2.09 rad/s)2(+0.10 m)≈−0.44 m/s2\displaystyle \begin{aligned} \rate{v_{\max}} &= \rate{\omega} \pos{A} \\ &= (\rate{2.09}\text{ rad/s})(\pos{0.20}\text{ m}) \\ &\approx \rate{0.42}\text{ m/s} \\[4pt] \text{at } t &= \frac{T}{4} = \frac{3.0\text{ s}}{4} = 0.75\text{ s} \\[8pt] \acc{a} &= -\rate{\omega}^2 \pos{x} \\ &= -(\rate{2.09}\text{ rad/s})^2(\pos{+0.10}\text{ m}) \\ &\approx \acc{-0.44}\text{ m/s}^2 \end{aligned}

So the graph's quarter-marks give t=0.75 st = 0.75\text{ s} for maximum speed and confirm that at t=1.1 st = 1.1\text{ s} the block is at x≈+0.13 m\pos{x} \approx \pos{+0.13}\text{ m} on its way up to the +0.20 m\pos{+0.20}\text{ m} peak, while a=−ω2x\acc{a} = -\rate{\omega}^2 \pos{x} gives −0.44 m/s2\acc{-0.44}\text{ m/s}^2 at x=+0.10 m\pos{x} = \pos{+0.10}\text{ m} without needing the time.

Key concepts

Whenever you analyze a harmonic oscillator, start by cutting one full period TT into four equal quarters of duration T4\tfrac{T}{4} and distance A\pos{A} (for a total distance of 4A4\pos{A} per bounce, measuring A\pos{A} from x=0\pos{x} = \pos{0} to a peak and checking that TT covers a full peak-to-peak cycle rather than a half-cycle from peak to valley). If a question asks about the turnaround edges (x=±A\pos{x} = \pos{\pm A}) or the equilibrium crossings (x=0\pos{x} = \pos{0}), read the answer straight from the quarter-marks instead of plugging into a trig equation: at the edges, velocity is zero and acceleration peaks opposite to position (a=∓amax⁡\acc{a} = \acc{\mp a_{\max}}); at x=0\pos{x} = \pos{0}, acceleration is zero and velocity peaks in the direction of motion (v=±vmax⁡\rate{v} = \rate{\pm v_{\max}}). Use the position equation only when you need x\pos{x} at an in-between time like t=0.7 st = 0.7\text{ s}, and always evaluate it in Radian Mode.

To write or read the equation x(t)=Acos⁡(ωt+ϕ)\pos{x(t)} = \pos{A}\cos(\rate{\omega} t + \pos{\phi}), look first at t=0t = 0: starting at +A\pos{+A} is +Acos⁡(ωt)\pos{+A}\cos(\rate{\omega} t), at −A\pos{-A} is −Acos⁡(ωt)\pos{-A}\cos(\rate{\omega} t), at 0\pos{0} heading up is +Asin⁡(ωt)\pos{+A}\sin(\rate{\omega} t), at 0\pos{0} heading down is −Asin⁡(ωt)\pos{-A}\sin(\rate{\omega} t), and starting partway at a spot like x=+5 cm\pos{x} = \pos{+5}\text{ cm} out of A=10 cm\pos{A} = \pos{10}\text{ cm} heading down uses x(0)=Acos⁡(ϕ)\pos{x(0)} = \pos{A}\cos(\pos{\phi}) to find the head-start angle ϕ=π3 rad\pos{\phi} = \pos{\tfrac{\pi}{3}}\text{ rad}. Out front, the positive magnitude is always A\pos{A} (so x(t)=−0.35cos⁡(6πt)\pos{x(t)} = -\pos{0.35}\cos(\rate{6\pi} t) has A=0.35 m\pos{A} = \pos{0.35}\text{ m}), and the entire number multiplying tt is the angular frequency ω=2πT=2πf\rate{\omega} = \frac{2\pi}{T} = 2\pi \rate{f} (ω=6π rad/s\rate{\omega} = \rate{6\pi}\text{ rad/s}, and if mass mm is known, k=mω2k = m\rate{\omega}^2). Across the three graphs, the peaks scale by ω\rate{\omega} each time: position peak A\pos{A}, velocity peak vmax⁡=ωA\rate{v_{\max}} = \rate{\omega} \pos{A}, and acceleration peak amax⁡=ω2A\acc{a_{\max}} = \rate{\omega}^2 \pos{A}. And if you are given a position x\pos{x} and asked for acceleration, skip time tt completely and use a=−ω2x\acc{a} = -\rate{\omega}^2 \pos{x}.

8

Practice

1

A block on a frictionless table oscillates on a spring between x=+12 cm\pos{x} = \pos{+12}\text{ cm} and x=−12 cm\pos{x} = \pos{-12}\text{ cm}, taking 8.0 s8.0\text{ s} to complete one full bounce. At t=0 st = 0\text{ s}, the block is released from rest at x=+12 cm\pos{x} = \pos{+12}\text{ cm}. (a) What are the amplitude A\pos{A} and period TT of the motion, and what total distance does the block travel in one period? (b) Divide the 8.0 s8.0\text{ s} cycle into four equal quarters (t=0,2.0,4.0,6.0,t = 0, 2.0, 4.0, 6.0, and 8.0 s8.0\text{ s}). At which of these times is the block's velocity zero, maximum positive, and maximum negative, and at which of these times is its acceleration zero, maximum positive, and maximum negative? Explain how you know from the block's motion and the spring force.

Where is the equilibrium line x=0\pos{x} = \pos{0} between +12 cm\pos{+12}\text{ cm} and −12 cm\pos{-12}\text{ cm}, and where is the block at each of the four 2.0 s2.0\text{ s} quarter-marks?

(a) The amplitude is measured from the equilibrium line (x=0\pos{x} = \pos{0}) to a turnaround edge, so A=12 cm\pos{A} = \pos{12}\text{ cm} (watch out for the common mistake of measuring peak-to-valley from +12 cm\pos{+12}\text{ cm} to −12 cm\pos{-12}\text{ cm} and getting A=24 cmA = 24\text{ cm}). The period is T=8.0 sT = 8.0\text{ s}. Because one full bounce consists of four quarter-trips of length A\pos{A}, the total distance traveled in one period is
Total distance\displaystyle \dist{\text{Total distance}} =4A\displaystyle = 4\pos{A} =4(12 cm)\displaystyle = 4(\pos{12}\text{ cm}) =48 cm\displaystyle = \dist{48}\text{ cm}
(not 24 cm24\text{ cm}, which is only the one-way trip from +12 cm\pos{+12}\text{ cm} to −12 cm\pos{-12}\text{ cm}).
(b) At the turnaround edges (t=0 st = 0\text{ s} at +12 cm\pos{+12}\text{ cm}, t=4.0 st = 4.0\text{ s} at −12 cm\pos{-12}\text{ cm}, and t=8.0 st = 8.0\text{ s} at +12 cm\pos{+12}\text{ cm}), the block momentarily stops to turn around, so velocity is zero. At t=2.0 st = 2.0\text{ s}, the block passes through equilibrium (x=0\pos{x} = \pos{0}) at top speed heading from +12 cm\pos{+12}\text{ cm} toward −12 cm\pos{-12}\text{ cm}, so velocity is at its maximum negative value (don't call t=2.0 st = 2.0\text{ s} maximum positive velocity just because speed is greatest; the motion is in the negative direction). At t=6.0 st = 6.0\text{ s}, it passes through equilibrium heading back toward +12 cm\pos{+12}\text{ cm}, so velocity is at its maximum positive value.
By Hooke's Law (Fs=−kx\force{F_s} = -k\pos{x}), acceleration is proportional to position and points in the opposite direction: at t=2.0 st = 2.0\text{ s} and t=6.0 st = 6.0\text{ s} (x=0\pos{x} = \pos{0}), the spring is unstretched so acceleration is zero (avoid the trap of thinking acceleration is maximum at x=0\pos{x} = \pos{0} where speed is maximum); at t=0 st = 0\text{ s} and t=8.0 st = 8.0\text{ s} (x=+12 cm\pos{x} = \pos{+12}\text{ cm}), the stretched spring pulls hardest in the negative direction so acceleration is at its maximum negative value; at t=4.0 st = 4.0\text{ s} (x=−12 cm\pos{x} = \pos{-12}\text{ cm}), the compressed spring pushes hardest in the positive direction so acceleration is at its maximum positive value.
2

A block on a spring oscillates with an amplitude of 15 cm\pos{15}\text{ cm} and a frequency of f=0.20 Hz\rate{f} = \rate{0.20}\text{ Hz}. The stopwatch is started at t=0 st = 0\text{ s} at the instant the block passes through equilibrium (x=0\pos{x} = \pos{0}) heading in the positive direction. (a) Find the period TT and write the equation for the block's position x(t)\pos{x(t)} in centimeters. (b) Using the four quarter-marks of the cycle, predict whether the block's position at t=1.8 st = 1.8\text{ s} is positive or negative and which direction it is moving, then calculate x(1.8 s)\pos{x(1.8\text{ s})}.

Which of the four starting wave shapes passes through x=0\pos{x} = \pos{0} heading up at t=0 st = 0\text{ s}, and between which two quarter-marks of the period TT does t=1.8 st = 1.8\text{ s} fall?

(a) The period is the reciprocal of the frequency:
T\displaystyle T =1f\displaystyle = \frac{1}{\rate{f}} =10.20 Hz\displaystyle = \frac{1}{\rate{0.20}\text{ Hz}} =5.0 s\displaystyle = 5.0\text{ s}
Because the wave starts at x=0\pos{x} = \pos{0} at t=0 st = 0\text{ s} and heads in the positive direction, it is a positive sine wave (using cos⁡\cos instead of sin⁡\sin would wrongly start the block at +15 cm+15\text{ cm}):
x(t)\displaystyle \pos{x(t)} =15sin⁡ ⁣(2πt5.0)\displaystyle = \pos{15}\sin\!\left(\frac{2\pi t}{5.0}\right) =15sin⁡(0.40πt) cm\displaystyle = \pos{15}\sin(\rate{0.40\pi} t)\text{ cm}
(b) Splitting the 5.0 s5.0\text{ s} period into quarters gives marks at 1.25 s1.25\text{ s} (reaches +15 cm\pos{+15}\text{ cm}), 2.50 s2.50\text{ s} (crosses 0\pos{0} heading down), 3.75 s3.75\text{ s} (reaches −15 cm\pos{-15}\text{ cm}), and 5.0 s5.0\text{ s} (back to 0\pos{0}). Since t=1.8 st = 1.8\text{ s} lies between the first quarter (1.25 s1.25\text{ s} at +15 cm\pos{+15}\text{ cm}) and the second quarter (2.50 s2.50\text{ s} at 0\pos{0}), the block is at a positive position and moving in the negative direction back toward equilibrium. Evaluating in Radian Mode gives
x(1.8)\displaystyle \pos{x(1.8)} =15sin⁡ ⁣(2π(1.8)5.0)\displaystyle = \pos{15}\sin\!\left(\frac{2\pi(1.8)}{5.0}\right) =15sin⁡(2.26 rad)\displaystyle = \pos{15}\sin(2.26\text{ rad}) =+11.6 cm (or +12 cm)\displaystyle = \pos{+11.6}\text{ cm}\text{ (or }\pos{+12}\text{ cm)}
(If you leave your calculator in Degree Mode, you will get the wrong answer 15sin⁡(2.26∘)=+0.59 cm15\sin(2.26^\circ) = +0.59\text{ cm}.)
3

A block oscillates with amplitude A=20 cm\pos{A} = \pos{20}\text{ cm} and period T=3.0 sT = 3.0\text{ s}. When the stopwatch is clicked at t=0 st = 0\text{ s}, the block is at x=+10 cm\pos{x} = \pos{+10}\text{ cm} and moving toward equilibrium (heading in the negative direction). (a) Find the phase constant ϕ\pos{\phi} in radians and state what fraction of a full cycle the block had already completed after its +20 cm\pos{+20}\text{ cm} peak when the stopwatch was started. (b) Write the position equation in the form x(t)=Acos⁡(2πtT+ϕ)\pos{x(t)} = \pos{A}\cos(\tfrac{2\pi t}{T} + \pos{\phi}).

Substitute t=0 st = 0\text{ s} and x(0)=+10 cm\pos{x(0)} = \pos{+10}\text{ cm} into x(t)=Acos⁡(2πtT+ϕ)\pos{x(t)} = \pos{A}\cos(\tfrac{2\pi t}{T} + \pos{\phi}) to find cos⁡(ϕ)\cos(\pos{\phi}).

(a) Substituting x=+10 cm\pos{x} = \pos{+10}\text{ cm} and A=20 cm\pos{A} = \pos{20}\text{ cm} at t=0 st = 0\text{ s} into x(0)=Acos⁡(0+ϕ)\pos{x(0)} = \pos{A}\cos(0 + \pos{\phi}) gives
10\displaystyle \pos{10} =20cos⁡(ϕ)  ⟹  cos⁡(ϕ)\displaystyle = \pos{20}\cos(\pos{\phi}) \implies \cos(\pos{\phi}) =0.50\displaystyle = 0.50
Because the block is heading down from the positive peak toward equilibrium, the phase constant is
ϕ\displaystyle \pos{\phi} =π3 rad (60∘≈1.05 rad)\displaystyle = \pos{\frac{\pi}{3}}\text{ rad}\text{ }(\pos{60^\circ} \approx \pos{1.05}\text{ rad})
which is π32π=16\frac{\pos{\tfrac{\pi}{3}}}{2\pi} = \frac{1}{6} of a full cycle past the positive peak (watch out for the mistake of thinking that being halfway to the center at x=12A\pos{x} = \frac{1}{2}\pos{A} means half of a quarter-cycle, which would give the wrong fraction 18\frac{1}{8} of a cycle and ϕ=π4 rad\phi = \frac{\pi}{4}\text{ rad}).
(b) With x\pos{x} in centimeters and tt in seconds (keeping ϕ\pos{\phi} in radians rather than writing 60∘60^\circ inside a radian equation), the position equation is
x(t)\displaystyle \pos{x(t)} =20cos⁡ ⁣(2πt3.0+π3)\displaystyle = \pos{20}\cos\!\left(\frac{2\pi t}{3.0} + \pos{\frac{\pi}{3}}\right)
4

The position of an oscillating block is given by the equation x(t)=−0.18cos⁡(5.0t)\pos{x(t)} = -0.18\cos(5.0t), where x\pos{x} is in meters and tt is in seconds. (a) Find the amplitude A\pos{A}, angular frequency ω\rate{\omega}, period TT, and frequency f\rate{f}, and state where the block is at t=0 st = 0\text{ s}. (b) Calculate the block's maximum speed vmax⁡\rate{v_{\max}} and maximum acceleration magnitude amax⁡\acc{a_{\max}}, and explain using the circular-motion shadow why the block reaches vmax⁡\rate{v_{\max}} at equilibrium (x=0\pos{x} = \pos{0}) but reaches amax⁡\acc{a_{\max}} at the turnaround edges (x=±A\pos{x} = \pos{\pm A}).

Remember that amplitude is a distance from the center line, and set the number multiplying tt equal to ω=2πT\rate{\omega} = \frac{2\pi}{T}.

(a) Amplitude is the positive maximum distance from equilibrium, so A=0.18 m\pos{A} = \pos{0.18}\text{ m} (don't include the minus sign to write A=−0.18 mA = -0.18\text{ m}; the minus sign shows that at t=0 st = 0\text{ s} the block starts at the negative turnaround edge x=−0.18 m\pos{x} = \pos{-0.18}\text{ m}). The number multiplying tt is the angular frequency, ω=5.0 rad/s\rate{\omega} = \rate{5.0}\text{ rad/s}. Setting 2πT=5.0 rad/s\frac{2\pi}{T} = \rate{5.0}\text{ rad/s} gives the period and frequency (don't assume a π\pi was left out and write T=25.0=0.40 sT = \frac{2}{5.0} = 0.40\text{ s}):
T\displaystyle T =2π5.0 rad/s≈1.26 s (or 1.3 s),f\displaystyle = \frac{2\pi}{\rate{5.0}\text{ rad/s}} \approx 1.26\text{ s}\text{ (or }1.3\text{ s)}, \qquad \rate{f} =1T\displaystyle = \frac{1}{T} =5.02π≈0.80 Hz\displaystyle = \frac{\rate{5.0}}{2\pi} \approx \rate{0.80}\text{ Hz}
(b) The maximum speed and maximum acceleration magnitude are
vmax⁡=ωA=(5.0 rad/s)(0.18 m)=0.90 m/samax⁡=ω2A=(5.0 rad/s)2(0.18 m)=4.5 m/s2\displaystyle \begin{aligned} \rate{v_{\max}} &= \rate{\omega} \pos{A} \\ &= (\rate{5.0}\text{ rad/s})(\pos{0.18}\text{ m}) \\ &= \rate{0.90}\text{ m/s} \\[6pt] \acc{a_{\max}} &= \rate{\omega}^2 \pos{A} \\ &= (\rate{5.0}\text{ rad/s})^2(\pos{0.18}\text{ m}) \\ &= \acc{4.5}\text{ m/s}^2 \end{aligned}
(Be careful to square ω\rate{\omega} when finding amax⁡\acc{a_{\max}}; forgetting the square gives 0.90 m/s20.90\text{ m/s}^2.) On a spinning wheel of radius A\pos{A} casting a vertical shadow onto a wall, when the peg passes the middle (x=0\pos{x} = \pos{0}) its velocity vector (ωA\rate{\omega} \pos{A}) points parallel to the wall while its inward centripetal acceleration vector (ω2A\rate{\omega}^2 \pos{A}) points perpendicular to the wall, giving the shadow full speed vmax⁡\rate{v_{\max}} and zero vertical acceleration; at the top and bottom edges (x=±A\pos{x} = \pos{\pm A}), the peg's velocity is perpendicular to the wall so the shadow momentarily stops, while the inward acceleration vector points straight along the wall to give the shadow its maximum acceleration amax⁡\acc{a_{\max}}.
5

A block on a spring oscillates with a period of T=2.0 sT = 2.0\text{ s} and an amplitude of A=0.12 m\pos{A} = \pos{0.12}\text{ m}. What is the block's acceleration (including sign) at the instant it is at position x=−0.050 m\pos{x} = \pos{-0.050}\text{ m}? Explain why the sign of the acceleration is opposite to the sign of x\pos{x}.

How does acceleration a\acc{a} depend on angular frequency ω\rate{\omega} and position x\pos{x} at any spot in the bounce?

First find the angular frequency from the period:
ω\displaystyle \rate{\omega} =2πT\displaystyle = \frac{2\pi}{T} =2π2.0 s\displaystyle = \frac{2\pi}{2.0\text{ s}} =π rad/s≈3.14 rad/s\displaystyle = \rate{\pi}\text{ rad/s} \approx \rate{3.14}\text{ rad/s}
Using the position-to-acceleration relationship a=−ω2x\acc{a} = -\rate{\omega}^2 \pos{x} (rather than using A=0.12 m\pos{A} = \pos{0.12}\text{ m}, which would give amax⁡\acc{a_{\max}} at the edge instead of a\acc{a} at x=−0.050 m\pos{x} = \pos{-0.050}\text{ m}) gives
a\displaystyle \acc{a} =−(3.14 rad/s)2(−0.050 m)\displaystyle = -(\rate{3.14}\text{ rad/s})^2(\pos{-0.050}\text{ m}) =+0.49 m/s2\displaystyle = \acc{+0.49}\text{ m/s}^2
(Dropping the minus sign in a=−ω2x\acc{a} = -\rate{\omega}^2 \pos{x} gives the wrong sign −0.49 m/s2-0.49\text{ m/s}^2, and forgetting to square ω\rate{\omega} gives +0.16 m/s2+0.16\text{ m/s}^2.) The acceleration is positive because when the block is at a negative position (x=−0.050 m\pos{x} = \pos{-0.050}\text{ m}), the compressed spring pushes it back toward equilibrium in the positive direction (Fs=−kx>0\force{F_s} = -k\pos{x} > 0).
6

A 0.40 kg0.40\text{ kg} block oscillates on a horizontal frictionless spring. On its position-versus-time graph, the block starts at the bottom valley x=−0.16 m\pos{x} = \pos{-0.16}\text{ m} at t=0 st = 0\text{ s} and first reaches the top peak x=+0.16 m\pos{x} = \pos{+0.16}\text{ m} at t=0.80 st = 0.80\text{ s}. (a) Find the amplitude A\pos{A}, period TT, angular frequency ω\rate{\omega}, and spring constant kk. (b) Write the equation for position x(t)\pos{x(t)} and find the block's position at t=0.60 st = 0.60\text{ s}. (c) Find the block's maximum speed, the first time t>0t > 0 when it reaches that speed, and its acceleration when it is at x=+0.080 m\pos{x} = \pos{+0.080}\text{ m}.

How many quarters of a full cycle does it take to go from the bottom valley (−0.16 m\pos{-0.16}\text{ m}) to the top peak (+0.16 m\pos{+0.16}\text{ m})?

(a) The amplitude is A=0.16 m\pos{A} = \pos{0.16}\text{ m}. Traveling from the bottom valley (−0.16 m\pos{-0.16}\text{ m}) to the top peak (+0.16 m\pos{+0.16}\text{ m}) is only half a cycle (two quarters), so the full period is
T\displaystyle T =2(0.80 s)\displaystyle = 2(0.80\text{ s}) =1.6 s\displaystyle = 1.6\text{ s}
(Using the half-period T=0.80 sT = 0.80\text{ s} by mistake doubles ω\rate{\omega} to 7.85 rad/s7.85\text{ rad/s} and quadruples kk to 24.7 N/m24.7\text{ N/m}.) The angular frequency and spring constant are
ω=2πT=2π1.6 s≈3.93 rad/sk=mω2=(0.40 kg)(3.93 rad/s)2≈6.2 N/m\displaystyle \begin{aligned} \rate{\omega} &= \frac{2\pi}{T} = \frac{2\pi}{1.6\text{ s}} \approx \rate{3.93}\text{ rad/s} \\[4pt] k &= m\rate{\omega}^2 \\ &= (0.40\text{ kg})(\rate{3.93}\text{ rad/s})^2 \\ &\approx 6.2\text{ N/m} \end{aligned}
(b) Because the graph starts at the negative valley −0.16 m\pos{-0.16}\text{ m} at t=0 st = 0\text{ s}, it is a negative cosine wave:
x(t)\displaystyle \pos{x(t)} =−0.16cos⁡ ⁣(2πt1.6)\displaystyle = \pos{-0.16}\cos\!\left(\frac{2\pi t}{1.6}\right) =−0.16cos⁡(3.93t) m\displaystyle = \pos{-0.16}\cos(\rate{3.93}t)\text{ m}
At t=0.60 st = 0.60\text{ s}, evaluating in Radian Mode gives
x(0.60)\displaystyle \pos{x(0.60)} =−0.16cos⁡ ⁣(2π(0.60)1.6)\displaystyle = \pos{-0.16}\cos\!\left(\frac{2\pi(0.60)}{1.6}\right) =−0.16cos⁡(2.36 rad)\displaystyle = \pos{-0.16}\cos(2.36\text{ rad}) =+0.11 m\displaystyle = \pos{+0.11}\text{ m}
(Forgetting the leading minus sign gives −0.11 m-0.11\text{ m}, and Degree Mode gives −0.16 m-0.16\text{ m}.) A positive value of +0.11 m\pos{+0.11}\text{ m} matches the graph since the block crosses x=0\pos{x} = \pos{0} heading up at t=0.40 st = 0.40\text{ s} and reaches +0.16 m\pos{+0.16}\text{ m} at t=0.80 st = 0.80\text{ s}.
(c) The maximum speed is
vmax⁡\displaystyle \rate{v_{\max}} =ωA\displaystyle = \rate{\omega} \pos{A} =(3.93 rad/s)(0.16 m)≈0.63 m/s\displaystyle = (\rate{3.93}\text{ rad/s})(\pos{0.16}\text{ m}) \approx \rate{0.63}\text{ m/s}
which the block first reaches when it first crosses equilibrium one-quarter period after t=0 st = 0\text{ s}, at
t\displaystyle t =T4\displaystyle = \frac{T}{4} =1.6 s4\displaystyle = \frac{1.6\text{ s}}{4} =0.40 s\displaystyle = 0.40\text{ s}
(not at the top peak t=0.80 st = 0.80\text{ s}, where v=0\rate{v} = \rate{0}). At x=+0.080 m\pos{x} = \pos{+0.080}\text{ m}, its acceleration is
a\displaystyle \acc{a} =−ω2x\displaystyle = -\rate{\omega}^2 \pos{x} =−(3.93 rad/s)2(+0.080 m)≈−1.2 m/s2\displaystyle = -(\rate{3.93}\text{ rad/s})^2(\pos{+0.080}\text{ m}) \approx \acc{-1.2}\text{ m/s}^2