SHM Graphs, Equations of Motion and the Vertical Spring
AP Physics 1 · Unit 7 — Oscillations
Position, velocity and acceleration as functions of time
$$x=A\cos(\omega t),\qquad v=-A\omega\sin(\omega t),\qquad a=-A\omega^2\cos(\omega t),\qquad \omega=\frac{2\pi}{T}=2\pi f$$Use cosine when the object is released from rest at maximum displacement ($x=A$ at $t=0$) and sine when it starts at equilibrium moving in the positive direction. Both describe the same motion; only the starting instant differs. Note $\omega$ here is angular frequency in rad/s — it is not a rotation, but it obeys $\omega=\sqrt{k/m}$ for a spring and $\sqrt{g/L}$ for a pendulum. From these, $v_{\max}=A\omega$ and $a_{\max}=A\omega^2$, and $a=-\omega^2x$ at every instant.
Reading the three graphs
On an $x$–$t$ graph, the slope is $v$: velocity is zero at the peaks and largest where the curve crosses the axis. Acceleration is always opposite to displacement, so the $a$–$t$ graph is the $x$–$t$ graph flipped upside down. The $v$–$t$ graph is shifted a quarter period ahead of $x$. Read the period from two successive identical points, not from peak to trough (that is only half a period). For $x=0{,}05\cos(4\pi t)$ m, $\omega=4\pi$ rad/s gives $T=0{,}5$ s, $v_{\max}=0{,}63$ m/s and $a_{\max}=7{,}9$ m/s².
The vertical spring
Hanging a mass on a spring stretches it by $\Delta y=\frac{mg}{k}$ to a new equilibrium. Oscillations then happen about that new equilibrium, with the same $T=2\pi\sqrt{m/k}$ as on a horizontal surface: gravity shifts the centre of the motion but does not change the period. A $0{,}4$ kg mass on a $100$ N/m spring hangs $0{,}04$ m below the unstretched length and oscillates with $T=2\pi\sqrt{0{,}004}\approx0{,}40$ s. The amplitude is set by where it is released: released from the unstretched position, it oscillates with $A=\Delta y$ about the new equilibrium, and the net force at the lowest point is $kA$ upward.
Worked example: reading the equation and releasing a hanging spring from the unstretched position
(a) An object oscillates according to $x=0.05\cos(4\pi t)$ (m, s). Find the period, the first time the object passes through equilibrium, and its speed at that moment. (b) A $0.4$ kg object is hung from a spring with $k=100$ N/m, held at the position where the spring is unstretched, and then gently released. Find the amplitude of oscillation and the maximum spring force. Take $g=10$ m/s².
Solution
(a) $\omega=4\pi$ rad/s so
$$T=\frac{2\pi}{\omega}=\frac{2\pi}{4\pi}=0.5\ \text{s}$$Starting at the extreme $x=A$, the object first passes equilibrium after a quarter period: $t=T/4=0.125$ s. There the speed is at its maximum:
$$v_{\max}=A\omega=0.05(4\pi)\approx0.63\ \text{m/s}$$(b) The new equilibrium position is below the unstretched position by
$$\Delta y=\frac{mg}{k}=\frac{0.4(10)}{100}=0.04\ \text{m}$$Released from the unstretched position, which is $0.04$ m from equilibrium and at rest, so $A=0.04$ m. The lowest point is $2A=0.08$ m below the unstretched position, and the spring force there is:
$$F_{\max}=k(2A)=100(0.08)=8\ \text{N}$$twice the weight of $4$ N — so the net force at the bottom is $4$ N upward, exactly equal to $kA$.