Lesson 2 · 35 min

Position, Velocity and Acceleration in Harmonic Motion

Lesson 1 described a simple harmonic motion by its displacement. Differentiating it gives the velocity and the acceleration, their largest values, and how they are timed against each other. It also reveals the property that defines simple harmonic motion: the acceleration is always proportional to the displacement and opposite to it. That property is what the next lessons look for in a spring–mass system and a pendulum.

Learning objectives

Differentiating the displacement

From now on, a dot over a symbol means a derivative with respect to time: \(\dot x = dx/dt\) is the velocity and \(\ddot x = d^2x/dt^2\) the acceleration. With the chain rule (the derivative of \(\sin u\) is \(\cos u\,\dfrac{du}{dt}\), and \(du/dt = \omega\) here):

Displacement, velocity and acceleration in SHM

\[ \begin{aligned} \colPos{x} &= C\sin(\omega t + \phi) \\[4pt] \colVel{\dot x} &= C\omega\cos(\omega t + \phi) \\[4pt] \colAcc{\ddot x} &= -C\omega^2\sin(\omega t + \phi) \end{aligned} \]

All three are sinusoids with the same circular frequency \(\omega\). Their amplitudes grow by a factor \(\omega\) at each derivative, so the largest values are:

Largest speed and acceleration

\[ v_{\max} = C\omega \qquad\qquad a_{\max} = C\omega^2 \]
Figure 2.1 A particle in simple harmonic motion along a line, with its velocity (green) and acceleration (red) arrows, and the graphs of \(x\), \(\dot x\) and \(\ddot x\) against time. Press Play and watch where each arrow is longest. Then double the frequency: the largest speed doubles, and the largest acceleration grows four times.

Where in the cycle?

Follow the particle through one cycle in Figure 2.1:

On the graphs, the velocity curve peaks a quarter of a period before the displacement curve: it leads by \(90^\circ\), since \(\cos u = \sin(u + \pi/2)\). The acceleration curve is the displacement curve turned upside down: they are \(180^\circ\) apart.

Example 2.1 — Largest speed and acceleration

A machine part vibrates with \(x = 0.04\sin 10t\ \text{m}\). Find its largest speed and its largest acceleration.

Show solution
\[ v_{\max} = C\omega = 0.04(10) = 0.400\ \text{m/s} \qquad a_{\max} = C\omega^2 = 0.04(10)^2 = 4.00\ \text{m/s}^2 \]

The speed is largest each time the part passes \(x = 0\); the acceleration is largest at \(x = \pm 0.04\ \text{m}\).

Example 2.2 — The state at a given time

For \(x = 0.05\sin(8t + 0.6)\ \text{m}\) (Example 1.2), find the displacement, velocity and acceleration at \(t = 0.25\ \text{s}\). Is the particle speeding up or slowing down?

Show solution

The angle is \(8(0.25) + 0.6 = 2.6\ \text{rad}\).

\[ x = 0.05\sin 2.6 = 0.0258\ \text{m} \qquad \dot x = 0.05(8)\cos 2.6 = -0.343\ \text{m/s} \] \[ \ddot x = -0.05(8)^2\sin 2.6 = -1.65\ \text{m/s}^2 \]

\(\dot x\) and \(\ddot x\) are both negative, so the particle is speeding up: it is moving toward equilibrium from the positive side.

The signature of simple harmonic motion

Compare the expressions for \(x\) and \(\ddot x\): the acceleration is the displacement times \(-\omega^2\).

The defining property

\[ \ddot x = -\omega^2 x \]

In simple harmonic motion the acceleration is proportional to the displacement and always points toward equilibrium.

This is the key to the rest of the module. When Newton's second law for a system gives an equation of the form \(\ddot x = -(\text{a positive constant})\,x\), the system moves in simple harmonic motion, and the constant is \(\omega^2\). Lessons 3, 5, 6 and 7 find that constant for springs and pendulums.

Figure 2.2 The same motion plotted against the displacement instead of time. The acceleration–displacement graph is a straight line through the origin with slope \(-\omega^2\): change the frequency and it tilts. The velocity–displacement graph is an ellipse: the speed is largest at \(x = 0\) and zero at the ends.

Speed at a given position

The ellipse in Figure 2.2 has an equation. Because the acceleration is given as a function of position, use \(\ddot x\,dx = \dot x\,d\dot x\) (the relation \(a\,ds = v\,dv\) from rectilinear motion) and integrate from an extreme, where \(x = C\) and \(\dot x = 0\):

\[ \int_0^{\dot x} \dot x\,d\dot x = \int_C^{x} -\omega^2 x\,dx \quad\Rightarrow\quad \tfrac12\dot x^2 = \tfrac12\omega^2\left(C^2 - x^2\right) \]

Speed as a function of position

\[ \dot x = \pm\,\omega\sqrt{C^2 - x^2} \]

The sign depends on the direction of motion at that instant.

Example 2.3 — Speed halfway out

For the part of Example 2.1 (\(C = 0.04\ \text{m}\), \(\omega = 10\ \text{rad/s}\)), find its speed when it is \(20\ \text{mm}\) from equilibrium.

Show solution
\[ |\dot x| = \omega\sqrt{C^2 - x^2} = 10\sqrt{0.04^2 - 0.02^2} = 0.346\ \text{m/s} \]

Halfway out, the part still has \(\sqrt3/2 = 87\%\) of its largest speed: it slows down mostly near the ends.

Example 2.4 — The motion from its largest values

A body in simple harmonic motion has a largest speed of \(1.2\ \text{m/s}\) and a largest acceleration of \(18\ \text{m/s}^2\). Find its circular frequency, amplitude and period.

Show solution

Divide the two largest values: \(a_{\max}/v_{\max} = C\omega^2/(C\omega) = \omega\).

\[ \omega = \frac{18}{1.2} = 15.0\ \text{rad/s} \qquad C = \frac{v_{\max}}{\omega} = \frac{1.2}{15} = 0.0800\ \text{m} \qquad \tau = \frac{2\pi}{15} = 0.419\ \text{s} \]

Check your understanding

Key takeaways