Differential-Equations · Unit 8 · Video 2 · Interactive Practice

The Sinusoidal Identity and Its Right Triangle

IKey Formulas

FormulaNameWhat you need
acos⁡θ+bsin⁡θ=Acos⁡(θ−ϕ)a\cos\theta + b\sin\theta = A\cos(\theta - \phi)Sinusoidal identityThe same angle θ\theta (same frequency) in both terms
A=a2+b2A = \sqrt{a^2 + b^2}Amplitude = hypotenuseLegs aa (horizontal) and bb (vertical)
tan⁡ϕ=ba,ϕ=tan⁡−1ba\tan\phi = \dfrac{b}{a}, \quad \phi = \tan^{-1}\dfrac{b}{a}Phase angle, opposite bba,b>0a, b > 0, so 0<ϕ<π20 < \phi < \tfrac{\pi}{2}; if a<0a < 0, add π\pi (Problem 3)
cos⁡ωt+ωksin⁡ωt=1+(ω/k)2 cos⁡(ωt−ϕ)\cos\omega t + \frac{\omega}{k}\sin\omega t = \sqrt{1+(\omega/k)^2}\,\cos(\omega t - \phi)Applied to the Cartesian answera=1a = 1, b=ω/kb = \omega/k, θ=ωt\theta = \omega t

Key Insight: Memorize the triangle, not two formulas: legs aa and bb, hypotenuse AA, and the angle ϕ\phi at the corner opposite bb, so bb goes on top in tan⁡ϕ=b/a\tan\phi = b/a.

IIThe Triangle Behind the Identity

The point (a,b)(a, b) is the corner of a right triangle whose hypotenuse is AA and whose angle is ϕ\phi.

IIISame Frequency Required

A cosine and a sine combine into one cosine only when they share the same frequency.

IVConverting the Cartesian Answer

With a=1a = 1 and b=ω/kb = \omega/k, the triangle turns the Cartesian answer into amplitude 1/1+(ω/k)21/\sqrt{1+(\omega/k)^2} and phase lag ϕ\phi.

VQuiz Questions

Problem 1 · Read the Triangle

Given: 3cos⁡θ+4sin⁡θ=Acos⁡(θ−ϕ)3\cos\theta + 4\sin\theta = A\cos(\theta - \phi) — find the amplitude AA and the phase angle ϕ\phi.

What is the amplitude A?

What is the phase angle φ?

✅ Correct! The triangle has legs 33 and 44, so it is the 3-4-5 triangle: 3cos⁡θ+4sin⁡θ=5cos⁡(θ−53.1°)3\cos\theta + 4\sin\theta = 5\cos(\theta - 53.1\degree).
❌ Not quite. The hypotenuse is not the sum of the legs; Pythagoras gives A=32+42A = \sqrt{3^2 + 4^2}.
❌ Not quite. 32+42=253^2 + 4^2 = 25 is A2A^2; the amplitude is its square root, A=5A = 5.
❌ Not quite. 3+4\sqrt{3 + 4} skips squaring the legs; Pythagoras gives A=32+42A = \sqrt{3^2 + 4^2}.
❌ Check the amplitude. AA is the hypotenuse of the triangle with legs a=3a = 3 and b=4b = 4: square, add, then take the square root.
❌ Close, but the ratio is upside down. b=4b = 4 is the side opposite ϕ\phi, so it goes on top: tan⁡ϕ=4/3\tan\phi = 4/3.
❌ Not quite. 45=b/A\tfrac{4}{5} = b/A is sin⁡ϕ\sin\phi, not tan⁡ϕ\tan\phi; the tangent is opposite over adjacent, b/a=4/3b/a = 4/3.
❌ Not quite. 43\tfrac{4}{3} is tan⁡ϕ\tan\phi, not the angle itself; take the inverse tangent: ϕ=tan⁡−143≈0.927\phi = \tan^{-1}\tfrac{4}{3} \approx 0.927 rad.
❌ Check the angle. tan⁡ϕ\tan\phi is opposite over adjacent, b/ab/a, and ϕ\phi is the inverse tangent of that ratio.
Show solution

Here a=3a = 3 and b=4b = 4. Draw the triangle with horizontal leg 33 and vertical leg 44.

A=a2+b2=9+16=25=5A = \sqrt{a^2 + b^2} = \sqrt{9 + 16} = \sqrt{25} = 5

The angle ϕ\phi sits at the corner where the hypotenuse meets the horizontal leg, opposite bb:

tan⁡ϕ=ba=43,ϕ=tan⁡−143≈53.1°≈0.927 rad\tan\phi = \frac{b}{a} = \frac{4}{3}, \qquad \phi = \tan^{-1}\frac{4}{3} \approx 53.1\degree \approx 0.927 \text{ rad}

So 3cos⁡θ+4sin⁡θ=5cos⁡(θ−53.1°)3\cos\theta + 4\sin\theta = 5\cos(\theta - 53.1\degree). Since a,b>0a, b > 0, ϕ\phi lies between 00 and 90°90\degree, as it should.

Problem 2 · Which Side Is on Top?

Given: cos⁡2t+3sin⁡2t\cos 2t + \sqrt{3}\sin 2t — write it as a single cosine Acos⁡(2t−ϕ)A\cos(2t - \phi).

✅ Correct! Legs 11 and 3\sqrt{3} give hypotenuse 22 and tan⁡ϕ=3\tan\phi = \sqrt{3}, so ϕ=π/3\phi = \pi/3; the frequency 22 is untouched.
❌ Close, but the ratio is inverted. tan⁡−1(1/3)=π/6\tan^{-1}(1/\sqrt{3}) = \pi/6 puts aa on top. The side opposite ϕ\phi is b=3b = \sqrt{3}, so tan⁡ϕ=3/1\tan\phi = \sqrt{3}/1.
❌ Not quite. a2+b2=1+3=4a^2 + b^2 = 1 + 3 = 4 is the square of the amplitude; the amplitude itself is 4=2\sqrt{4} = 2.
❌ Not quite. The identity keeps the angle: here θ=2t\theta = 2t, so the single cosine has the same frequency 22, not 11.
❌ Not quite. Read aa, bb and θ\theta off the expression, then use the triangle.
Show solution

Match acos⁡θ+bsin⁡θa\cos\theta + b\sin\theta: a=1a = 1, b=3b = \sqrt{3}, θ=2t\theta = 2t.

A=12+(3)2=4=2,tan⁡ϕ=ba=3  ⇒  ϕ=π3A = \sqrt{1^2 + (\sqrt{3})^2} = \sqrt{4} = 2, \qquad \tan\phi = \frac{b}{a} = \sqrt{3} \;\Rightarrow\; \phi = \frac{\pi}{3}

Therefore cos⁡2t+3sin⁡2t=2cos⁡ ⁣(2t−π3)\cos 2t + \sqrt{3}\sin 2t = 2\cos\!\left(2t - \tfrac{\pi}{3}\right).

Check: 2cos⁡(2t−π3)=2(cos⁡2t⋅12+sin⁡2t⋅32)=cos⁡2t+3sin⁡2t2\cos(2t - \tfrac{\pi}{3}) = 2\left(\cos 2t \cdot \tfrac{1}{2} + \sin 2t \cdot \tfrac{\sqrt{3}}{2}\right) = \cos 2t + \sqrt{3}\sin 2t ✓

Problem 3 · A Negative Coefficient

Given: −cos⁡t+sin⁡t-\cos t + \sin t — write it as Acos⁡(t−ϕ)A\cos(t - \phi) with A>0A > 0. Here a<0a < 0, so the corner (a,b)(a, b) is not in the first quadrant.

✅ Correct! The corner (−1,1)(-1, 1) points up and to the left, at angle 135°=3π/4135\degree = 3\pi/4.
❌ Close, but that is the calculator's angle. tan⁡−1(1/(−1))=−π/4\tan^{-1}(1/(-1)) = -\pi/4 points to (1,−1)(1, -1), and 2cos⁡(t+π/4)=cos⁡t−sin⁡t\sqrt{2}\cos(t + \pi/4) = \cos t - \sin t, the negative of what you want. With a<0a < 0, add π\pi: ϕ=−π/4+π=3π/4\phi = -\pi/4 + \pi = 3\pi/4.
❌ Not quite. 2cos⁡(t−π/4)=cos⁡t+sin⁡t\sqrt{2}\cos(t - \pi/4) = \cos t + \sin t: the minus sign on the cosine was dropped.
❌ Not quite. The angle is right, but A=(−1)2+12=2A = \sqrt{(-1)^2 + 1^2} = \sqrt{2}, not (−1)2+12=2(-1)^2 + 1^2 = 2.
Show solution

Here a=−1a = -1, b=1b = 1. The amplitude is still the hypotenuse: A=(−1)2+12=2A = \sqrt{(-1)^2 + 1^2} = \sqrt{2}.

The angle must satisfy cos⁡ϕ=a/A=−12\cos\phi = a/A = -\tfrac{1}{\sqrt{2}} and sin⁡ϕ=b/A=12\sin\phi = b/A = \tfrac{1}{\sqrt{2}}, so ϕ\phi is in the second quadrant: ϕ=3π4\phi = \tfrac{3\pi}{4}. The plain inverse tangent gives tan⁡−1(−1)=−π4\tan^{-1}(-1) = -\tfrac{\pi}{4}, which is off by π\pi.

−cos⁡t+sin⁡t=2cos⁡ ⁣(t−3π4)-\cos t + \sin t = \sqrt{2}\cos\!\left(t - \tfrac{3\pi}{4}\right)

Check: 2(cos⁡tcos⁡3π4+sin⁡tsin⁡3π4)=2(−12cos⁡t+12sin⁡t)=−cos⁡t+sin⁡t\sqrt{2}\left(\cos t \cos\tfrac{3\pi}{4} + \sin t \sin\tfrac{3\pi}{4}\right) = \sqrt{2}\left(-\tfrac{1}{\sqrt{2}}\cos t + \tfrac{1}{\sqrt{2}}\sin t\right) = -\cos t + \sin t ✓

Problem 4 · Convert a Multiplied-Out Answer

Given: with k=1k = 1 and ω=3\omega = \sqrt{3}, a response left in the form acos⁡+bsin⁡a\cos + b\sin reads y=14cos⁡3 t+34sin⁡3 ty = \tfrac{1}{4}\cos\sqrt{3}\,t + \tfrac{\sqrt{3}}{4}\sin\sqrt{3}\,t — find its amplitude and phase lag.

What is the amplitude?

What is the phase lag φ?

✅ Correct! y=12cos⁡ ⁣(3 t−π3)y = \tfrac{1}{2}\cos\!\left(\sqrt{3}\,t - \tfrac{\pi}{3}\right), matching the polar formulas 1/1+(ω/k)2=1/21/\sqrt{1+(\omega/k)^2} = 1/2 and tan⁡−1(ω/k)=π/3\tan^{-1}(\omega/k) = \pi/3.
❌ Not quite. 2=1+(ω/k)22 = \sqrt{1 + (\omega/k)^2} is the hypotenuse of the triangle with legs 11 and ω/k\omega/k; the front factor 11+(ω/k)2=14\tfrac{1}{1+(\omega/k)^2} = \tfrac{1}{4} still multiplies it.
❌ Check the amplitude. The amplitude is a2+b2\sqrt{a^2 + b^2} with a=14a = \tfrac14 and b=34b = \tfrac{\sqrt3}{4}, not a sum of the coefficients or the sum of their squares.
❌ Close, but the ratio is inverted. The sine coefficient is opposite ϕ\phi: tan⁡ϕ=b/a=3\tan\phi = b/a = \sqrt{3}, not 1/31/\sqrt{3}.
❌ Not quite. ϕ=π/4\phi = \pi/4 needs equal coefficients (tan⁡ϕ=1\tan\phi = 1); here b/a=3b/a = \sqrt{3}.
❌ Check the lag. tan⁡ϕ=b/a\tan\phi = b/a uses both coefficients; the common factor 14\tfrac14 cancels.
Show solution

Read off a=14a = \tfrac{1}{4}, b=34b = \tfrac{\sqrt{3}}{4}, θ=3 t\theta = \sqrt{3}\,t. (These are k2k2+ω2\tfrac{k^2}{k^2+\omega^2} and kωk2+ω2\tfrac{k\omega}{k^2+\omega^2} with k=1k = 1, ω=3\omega = \sqrt{3}.)

A=116+316=416=12,tan⁡ϕ=3/41/4=3  ⇒  ϕ=π3A = \sqrt{\tfrac{1}{16} + \tfrac{3}{16}} = \sqrt{\tfrac{4}{16}} = \tfrac{1}{2}, \qquad \tan\phi = \frac{\sqrt{3}/4}{1/4} = \sqrt{3} \;\Rightarrow\; \phi = \frac{\pi}{3}

So y=12cos⁡ ⁣(3 t−π3)y = \tfrac{1}{2}\cos\!\left(\sqrt{3}\,t - \tfrac{\pi}{3}\right).

Same answer by the video's route: ω/k=3\omega/k = \sqrt{3}, so the amplitude is 11+3=12\dfrac{1}{\sqrt{1 + 3}} = \dfrac{1}{2} and the lag is tan⁡−13=π3\tan^{-1}\sqrt{3} = \dfrac{\pi}{3} ✓

Solved: 0 / 4