Pc15 - Simple harmonic motion

Pc15 - Simple harmonic motion

Simple harmonic motion turns a second-order differential equation into a repeating movement about equilibrium. Pc15 connects the equation to its sine-and-cosine solution, uses initial displacement and velocity to find the constants, and reads amplitude and period from the result. The equation also explains why a larger swing need not take longer.

The equation behind a repeating motion

If an ideal oscillator is pulled twice as far from equilibrium and released, will it take twice as long to complete a cycle? Its displacement changes, but its period does not. The explanation starts with the acceleration law, not a stopwatch.

Take equilibrium as x=0x=0, with positive displacement in a chosen direction. If acceleration is −4x-4x, then at x=3x=3 it is −12-12, while at x=−3x=-3 it is 1212. In both cases acceleration points back towards equilibrium, and doubling the displacement doubles its magnitude.

Simple harmonic motion

A motion is simple harmonic motion, or SHM, when its acceleration is proportional to its displacement from a fixed equilibrium position and directed towards that position:

d2xdt2=−ω2x,ω>0\frac{d^2x}{dt^2}=-\omega^2x,\qquad \omega>0

Here xx is displacement, tt is time and ω\omega is angular frequency. A dot denotes differentiation with respect to time: x˙\dot{x} is velocity and x¨\ddot{x} is acceleration. For example, x¨=−4x\ddot{x}=-4x is an SHM equation; x¨=4x\ddot{x}=4x is not, because acceleration points away from equilibrium.

The negative sign supplies the restoring direction. The positive number ω2\omega^2 determines how quickly the oscillation runs. During one complete cycle, a sine or cosine argument advances by 2π2\pi radians.

SHM solution and period

For x¨=−ω2x\ddot{x}=-\omega^2x, where ω>0\omega>0,

x=pcos⁡(ωt)+qsin⁡(ωt),T=2πωx=p\cos(\omega t)+q\sin(\omega t),\qquad T=\frac{2\pi}{\omega}

Here pp and qq are constants determined by the initial conditions, and TT is the period of a non-stationary motion. If TT is known, ω=2π/T\omega=2\pi/T.

Not in the formula booklet: learn it.

You may recognise an SHM equation and quote this solution unless the question specifically asks you to solve it by a stated method. The next part shows the auxiliary-equation route as well.

Worked example 1: building a model from a period

Question. An object is modelled as performing SHM about x=0x=0, with period 44 seconds. Write down its differential equation and general solution.

Plan. Convert the period to angular frequency, square it for the acceleration law, then write the sine-and-cosine solution.

ω=2π4=π2one cycle in four secondsx¨=−π24xuse −ω2xx=pcos⁡(πt2)+qsin⁡(πt2)general SHM solution\begin{aligned} \omega&=\frac{2\pi}{4}=\frac\pi2 && \text{one cycle in four seconds} \\ \ddot{x}&=-\frac{\pi^2}{4}x && \text{use }-\omega^2x \\ x&=p\cos\left(\frac{\pi t}{2}\right)+q\sin\left(\frac{\pi t}{2}\right) && \text{general SHM solution} \end{aligned}

Why this step? The coefficient of xx is the square of angular frequency, not angular frequency itself.

Answer. x¨=−π24x\ddot{x}=-\frac{\pi^2}{4}x, with the displayed general solution.

Check. Increasing tt by 44 increases each trigonometric argument by 2π2\pi, returning to the same displacement and velocity.

Worked example 2 changes only the observed period from 44 to 66 seconds. A slower oscillation needs a smaller restoring coefficient.

Worked example 2: a longer period

Question. Write down the equation and general solution for SHM of period 66 seconds about x=0x=0.

Plan. Recalculate ω\omega and then ω2\omega^2.

ω=2π6=π3new angular frequencyx¨=−π29xsquare before substitutingx=pcos⁡(πt3)+qsin⁡(πt3)same solution structure\begin{aligned} \omega&=\frac{2\pi}{6}=\frac\pi3 && \text{new angular frequency} \\ \ddot{x}&=-\frac{\pi^2}{9}x && \text{square before substituting} \\ x&=p\cos\left(\frac{\pi t}{3}\right)+q\sin\left(\frac{\pi t}{3}\right) && \text{same solution structure} \end{aligned}

Why this step? A longer period means a smaller ω\omega, so the acceleration for a fixed displacement has smaller magnitude.

Answer. x¨=−π29x\ddot{x}=-\frac{\pi^2}{9}x, with the displayed solution.

Check. In 66 seconds the argument advances by π3(6)=2π\frac\pi3(6)=2\pi.

The two constants change the particular motion, while the equation's coefficient fixes the period.

Watch out

Wrong: from x¨=−9x\ddot{x}=-9x, take ω=9\omega=9 and T=2π/9T=2\pi/9. Right: ω2=9\omega^2=9, so ω=3\omega=3 and T=2π/3T=2\pi/3.

Use a new observed period to build the equation rather than guessing its coefficient.

Using displacement and velocity at the start

Initial displacement determines the cosine coefficient, while initial velocity determines the sine coefficient after differentiation.

You already know

For a constant-coefficient homogeneous equation, the auxiliary equation gives its complementary function. Roots ±ωi\pm\omega i produce pcos⁡(ωt)+qsin⁡(ωt)p\cos(\omega t)+q\sin(\omega t). Differentiate before applying a velocity condition.

For SHM,

x˙=−pωsin⁡(ωt)+qωcos⁡(ωt)\dot{x}=-p\omega\sin(\omega t)+q\omega\cos(\omega t)

At t=0t=0, the sine terms vanish and cosine is 11, so x(0)=px(0)=p and x˙(0)=qω\dot{x}(0)=q\omega. A non-zero starting displacement does not imply the object starts at a turning point: its velocity must also be zero.

Worked example 3: released from rest

Question. Solve x¨+4x=0\ddot{x}+4x=0, using the auxiliary equation, given x=3 cmx=3\,\mathrm{cm} and x˙=0\dot{x}=0 when t=0t=0. Time is in seconds.

Plan. Obtain the trigonometric general solution, then apply the displacement and differentiated velocity conditions.

r2+4=0⟹r=±2iauxiliary rootsx=pcos⁡2t+qsin⁡2tgeneral solutionx(0)=p=3initial displacementx˙=−2psin⁡2t+2qcos⁡2tdifferentiatex˙(0)=2q=0⟹q=0initial velocity\begin{aligned} r^2+4&=0\quad\Longrightarrow\quad r=\pm2i && \text{auxiliary roots} \\ x&=p\cos2t+q\sin2t && \text{general solution} \\ x(0)&=p=3 && \text{initial displacement} \\ \dot{x}&=-2p\sin2t+2q\cos2t && \text{differentiate} \\ \dot{x}(0)&=2q=0\quad\Longrightarrow\quad q=0 && \text{initial velocity} \end{aligned}

Why this step? “Released from rest” gives a velocity condition, so it belongs in x˙\dot{x}, not in xx.

Answer. x=3cos⁡2tx=3\cos2t centimetres.

Check. x(0)=3x(0)=3, x˙(0)=0\dot{x}(0)=0, and x¨=−12cos⁡2t=−4x\ddot{x}=-12\cos2t=-4x.

Worked example 4 changes only the initial velocity, from 00 to 8 cm s−18\,\mathrm{cm\,s^{-1}}. The same initial position is no longer a turning point.

Worked example 4: already moving at the start

Question. Solve x¨+4x=0\ddot{x}+4x=0 for x(0)=3 cmx(0)=3\,\mathrm{cm} and x˙(0)=8 cm s−1\dot{x}(0)=8\,\mathrm{cm\,s^{-1}}.

Plan. Use the same auxiliary roots and determine the changed sine coefficient from the new velocity.

r=±2i⟹x=pcos⁡2t+qsin⁡2tsame equationp=3initial displacementx˙=−2psin⁡2t+2qcos⁡2tdifferentiate first2q=8⟹q=4apply x˙(0)=8\begin{aligned} r&=\pm2i\quad\Longrightarrow\quad x=p\cos2t+q\sin2t && \text{same equation} \\ p&=3 && \text{initial displacement} \\ \dot{x}&=-2p\sin2t+2q\cos2t && \text{differentiate first} \\ 2q&=8\quad\Longrightarrow\quad q=4 && \text{apply }\dot{x}(0)=8 \end{aligned}

Why this step? The factor 22 comes from differentiating sin⁡2t\sin2t; the sine coefficient is half the initial velocity here.

Answer. x=3cos⁡2t+4sin⁡2tx=3\cos2t+4\sin2t centimetres.

Check. At t=0t=0, displacement is 33 and velocity is 88. Each term has second derivative −4-4 times itself, so the differential equation is satisfied.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account