doPhysics.in
All chapters
Kinematics of SHM · Lesson 1 of 5

The Mathematics of Oscillation

13 min read4 ideas5 checksBy Asheshanand Acharya
What you will learn 0 / 4
Radians and the graphs of sine and cosine
Maths you need
Look around
The sea at Marine Drive

Sit on the sea wall at Marine Drive in Mumbai for a day. In the morning the water laps high against the stones. By early afternoon it has fallen far below them. By evening it is high again. The level rises and falls smoothly, and the pattern repeats about every 12 hours and 25 minutes. A fisherman who knows this pattern can say when the water will be high tomorrow.

you will be able to write a quantity that rises and falls like the tide as one sine function. You will also say what a later start does to it.

Radians

Every equation of this unit measures angles in radians. The chapter Kinematics of Circular Motion defined the radian as the angle whose arc equals the radius. A full turn is \(2\pi\) rad, so half a turn gives \(\pi\) rad \(= 180°\). To turn an angle of \(x\) degrees into \(\theta\) radians, multiply by \(\pi/180\).

\[ \theta = \frac{\pi\,x}{180} \]

So \(60° = \pi/3 \approx 1.047\,\text{rad}\), and \(270° = 3\pi/2 \approx 4.712\,\text{rad}\). One radian is about \(57.3°\). A calculator must be set to radians before it evaluates \(\sin 2\) or \(\cos 0.5\). In degree mode it silently gives a wrong answer.

The graphs of sine and cosine

Plot \(y = \sin\theta\) with \(\theta\) in radians. The curve starts at \(0\) and rises to \(+1\) at \(\theta = \pi/2\). It returns to \(0\) at \(\pi\), falls to \(-1\) at \(3\pi/2\) and is back at \(0\) at \(2\pi\). After \(2\pi\) the same shape repeats for ever. The graph of \(y = \cos\theta\) has exactly the same shape. It starts at its top, \(+1\), at \(\theta = 0\).

Both curves stay between \(-1\) and \(+1\). Both repeat every \(2\pi\), so \(2\pi\) is their period in the angle. A curve of this shape is called a sinusoid, whether it is a sine or a cosine. Every oscillation in this unit is drawn with it.

Common mistake

The graph of \(\sin\theta\) is not a picture of anything moving along a wavy path. It is a graph of one number against another. When a particle's position follows a sine curve in time, the particle itself moves along a straight line, to and fro.

Shifting a sine by a phase
Maths you need

Adding a constant to the angle

Now draw \(y = \sin(\theta + \varphi)\), where \(\varphi\) is a fixed angle. The curve has the value that \(\sin\theta\) had a little later, at \(\theta + \varphi\). So every feature of the curve arrives earlier by \(\varphi\). The whole graph slides to the left by \(\varphi\) without changing its shape. The constant \(\varphi\) is called a phase added to the angle.

Adding a phase to the angleThe graph of y = sin(θ + φ) for θ from 0 to a little beyond 2π radians, drawn solid, over the dashed graphs of sin θ and cos θ. A slider sets the phase φ from 0 to 360 degrees. As φ grows the solid curve slides to the left by φ, and its first peak, marked by a dot, moves from θ = π/2 towards θ = 0. At φ = π/2 the solid curve lies exactly on cos θ; at φ = π it is minus sin θ; at φ = 3π/2 it is minus cos θ; at φ = 2π it is sin θ again.1−1Oθ (rad)y π/2 π 3π/2 2π sin θ cos θ φ = 0: the curve is sin θ
SimMove the slider to set \(\varphi\). The solid curve is \(\sin(\theta + \varphi)\); the dashed curves are \(\sin\theta\) and \(\cos\theta\). The dot marks the first peak, which starts at \(\theta = \pi/2\) and moves left as \(\varphi\) grows. Stop at \(90°\), \(180°\), \(270°\) and \(360°\).

Set \(\varphi = \pi/2\). The peak that was at \(\pi/2\) moves to \(\theta = 0\), and the solid curve lies exactly on \(\cos\theta\). Set \(\varphi = \pi\). The curve is now upside down: every value of \(\sin\theta\) has changed its sign. At \(\varphi = 2\pi\) the curve has slid by one full period and looks as it did at the start.

RememberShifting sine and cosine
\[ \sin(\theta + 2\pi) = \sin\theta; \quad \sin(\theta + \pi) = -\sin\theta; \quad \sin(\theta + \tfrac{\pi}{2}) = \cos\theta; \quad \cos(\theta + \tfrac{\pi}{2}) = -\sin\theta \]
Holds whenevery angle \(\theta\), measured in radians. The same rules hold for cosine: \(\cos(\theta + 2\pi) = \cos\theta\) and \(\cos(\theta + \pi) = -\cos\theta\).
Symbols\(\theta\) any angle
Unitsangles in rad

One more rule is used often. The complement of an angle turns a sine into a cosine: \(\sin(\pi/2 - \theta) = \cos\theta\). You may check it on a right-angled triangle. The side opposite one acute angle is the side adjacent to the other.

CheckpointUnanswered

Which expression equals \(\sin(\theta + \pi)\) for every angle \(\theta\)?

Checkpoint · select all that applyUnanswered

Which of these expressions equal \(\cos\theta\) for every angle \(\theta\)?

A sine plus a cosine is one sine
Maths you need

A sine plus a cosine

Motion in SHM is often built from two parts, one written with a sine and one with a cosine. Their sum \(a\sin\theta + b\cos\theta\) looks like a new kind of curve. It is not. The sum is always one sinusoid of the same period, shifted by some phase. Try it in the figure below before reading the proof.

A sine plus a cosineTwo dashed curves, a sin θ in blue and b cos θ in green, and their sum drawn solid. Two sliders set a and b from 0 to 4. The sum is always a single sine curve of the same period. Its peak, marked by a dot, touches the dashed line y = R, where R is the square root of a squared plus b squared; with a = 3 and b = 4 the peak is 5, not 7. A readout gives R and the phase δ, the angle whose tangent is b/a.246−2−4−6Oθ (rad)y π/2 π 3π/2 2π R = 5.00, δ = 53° a·sin θ b·cos θ
SimSet \(a\) and \(b\) with the sliders. The dashed curves are \(a\sin\theta\) and \(b\cos\theta\); the solid curve is their sum. The dot marks its peak, which always touches the dashed level \(R\). With \(a = 3\) and \(b = 4\) the peak is \(5\), not \(7\). Set \(b = 0\): the sum is \(a\sin\theta\) itself, with \(\delta = 0\).
Deriving \(a\sin\theta + b\cos\theta = R\sin(\theta + \delta)\) step 1 of 4
1

\[ R\sin(\theta + \delta) = R\cos\delta\,\sin\theta + R\sin\delta\,\cos\theta \]

Why. expand with the rule \(\sin(A + B) = \sin A\cos B + \cos A\sin B\).

A sine never exceeds \(1\), so \(R\sin(\theta + \delta)\) never exceeds \(R\). The greatest value of \(a\sin\theta + b\cos\theta\) is therefore \(\sqrt{a^2 + b^2}\). It is not \(a + b\), because the two parts never reach their peaks at the same angle. The sine peaks at \(\pi/2\) and the cosine at \(0\).

RememberA sine plus a cosine
\[ a\sin\theta + b\cos\theta = \sqrt{a^2 + b^2}\,\sin(\theta + \delta), \qquad \tan\delta = \dfrac{b}{a} \]
Holds whenany constants \(a\) and \(b\) and every angle \(\theta\). The largest value of the sum is \(\sqrt{a^2 + b^2}\) and the smallest is \(-\sqrt{a^2 + b^2}\).
Symbols\(a\), \(b\) the coefficients of the sine and the cosine; \(\delta\) the phase of the sum
Units\(\theta\) and \(\delta\) in rad
ExampleThe largest value of \(3\sin\theta + 4\cos\theta\)

Write \(3\sin\theta + 4\cos\theta\) as a single sine. State its largest value and the angle at which it first occurs.

Try it on paper first. The solution is one tap away when you are ready.
Checkpoint · numericUnanswered

The displacement of a particle is \(x = 5\sin\theta + 12\cos\theta\) centimetres, where the angle \(\theta\) grows steadily. What is the largest displacement, in cm?

cm± 2 %
Derivatives of sine and cosine
Maths you need

Derivatives of sine and cosine

In this unit the position of a particle will be a sine of time. Its velocity \(v = dx/dt\) and its acceleration \(a = dv/dt\) are then derivatives of a sine. Look at the graph of \(\sin t\). Its slope is largest, \(+1\), where the curve crosses zero going up. The slope is zero at the top. This pattern of slopes is exactly the graph of \(\cos t\).

\[ \frac{d}{dt}\sin t = \cos t, \qquad \frac{d}{dt}\cos t = -\sin t \]

The minus sign in the second rule also comes from the slopes. Just after \(t = 0\), \(\cos t\) falls from its top, so its slope is negative while \(\sin t\) is positive.

The chain rule

The time in SHM always appears multiplied by a constant \(\omega\), as in \(\sin\omega t\). To differentiate such a function, use the chain rule. Let \(u = \omega t\). The sine changes with \(u\) at the rate \(\cos u\), and \(u\) changes with \(t\) at the rate \(\omega\). The two rates multiply.

RememberDerivatives of \(\sin\omega t\) and \(\cos\omega t\)
\[ \frac{d}{dt}\sin\omega t = \omega\cos\omega t, \qquad \frac{d}{dt}\cos\omega t = -\omega\sin\omega t \]
Holds when\(\omega\) is a constant and the angle is in radians.
Symbols\(\omega\) a constant, in rad/s; \(t\) the time
Units\(\omega\) in rad/s, \(t\) in s

Differentiate \(\sin\omega t\) twice. The first derivative is \(\omega\cos\omega t\). The second is \(-\omega^2\sin\omega t\), which is \(-\omega^2\) times the function we started with. The same happens with \(\cos\omega t\). This property will define simple harmonic motion in the next lesson. Few functions have it, and sine and cosine are the ones that matter.

ExampleTwo derivatives of 0.2 sin 5t

A quantity changes with time as \(x = 0.2\sin 5t\). Find \(dx/dt\) and \(d^2x/dt^2\), and show that \(d^2x/dt^2 = -25x\).

Try it on paper first. The solution is one tap away when you are ready.
CheckpointUnanswered

What is the derivative of \(\cos 3t\) with respect to \(t\)?

CheckpointUnanswered

A quantity varies as \(y = 4\sin 2t\). What is \(d^2y/dt^2\)?

Back to the tide

The water at Marine Drive rises and falls about a mean level. Its height \(h\) above that level follows a sinusoid in time quite closely: \(h = a\sin(2\pi t/T + \varphi)\), with \(T\) about \(12.4\) hours. The constant \(a\) is the greatest rise. The phase \(\varphi\) records where in its cycle the water was when the clock read zero. Tomorrow's tide table is today's curve, slid along by the phase.

Story · Aryabhata, 499 CE
How the sine got its name

In 499 CE the astronomer Aryabhata of Kusumapura, near today's Patna, finished the Aryabhatiya. In it he gave a table of the half-chords of a circle, which he called jya, for angles in steps of \(3.75°\). The half-chord of a circle is exactly our sine, times the radius. Arab scholars translated the word as jiba. Later it was misread as jaib, meaning a fold or a pocket. A Latin translator of the twelfth century turned that into sinus. The function that describes every oscillation still carries this Indian name.

In the world
The voltage in a wall socket

The voltage at a wall socket in India is a sinusoid in time, \(V = 325\sin(100\pi t)\) volts. It repeats \(50\) times a second, so its angle grows by \(2\pi \times 50 = 100\pi \approx 314\) radians every second. The peak of \(325\,\text{V}\) is \(\sqrt{2}\) times the \(230\,\text{V}\) printed on appliances. The rate at which this voltage changes is \(dV/dt = 325 \times 100\pi\cos(100\pi t)\), by the chain rule. That rate is what a transformer responds to.

Exam traps
  1. Evaluating \(\sin\omega t\) with the calculator in degree mode.
    In every SHM formula the angle is in radians. Switch the calculator to radians first.
  2. Writing the largest value of \(a\sin\theta + b\cos\theta\) as \(a + b\).
    The parts never peak together. Use \(R = \sqrt{a^2 + b^2}\).
  3. Forgetting the factor \(\omega\) when differentiating \(\sin\omega t\).
    By the chain rule, every differentiation of \(\sin\omega t\) or \(\cos\omega t\) brings one factor \(\omega\).
  4. Losing the minus sign in the derivative of cosine.
    \(d(\cos t)/dt = -\sin t\): a cosine falls just after \(t = 0\).