Lesson 7 of 8 · 22 min

Harmonic form: a cos(x) + b sin(x) as one wave

Write acos⁡(x)+bsin⁡(x)a\cos(x) + b\sin(x) as Rcos⁡(x±α)R\cos(x \pm \alpha) or Rsin⁡(x±α)R\sin(x \pm \alpha), and use the single wave to find maximum and minimum values and to sketch the graph.

What you will be able to do

  • Explain why acos⁡(x)+bsin⁡(x)a\cos(x) + b\sin(x) is a single sinusoidal wave with amplitude a2+b2\sqrt{a^2 + b^2}.
  • Find RR and α\alpha for any of the forms Rcos⁡(x±α)R\cos(x \pm \alpha) and Rsin⁡(x±α)R\sin(x \pm \alpha) by expanding and equating coefficients.
  • State the maximum and minimum values of acos⁡(x)+bsin⁡(x)a\cos(x) + b\sin(x) and where they occur.
  • Sketch y=acos⁡(x)+bsin⁡(x)y = a\cos(x) + b\sin(x) on a domain by converting it to harmonic form.

Add a cosine wave and a sine wave of the same period. You might expect a lumpy mess. Instead you always get another clean wave with the same period, just taller and shifted sideways. Try matching one below.

Interactive

Match the sum with one wave

α\alpha moves in steps of π12≈0.26\frac{\pi}{12} \approx 0.26. The highest point of the faint curve tells you RR and the shift.

Why it works. Expand the target form with a compound-angle identity:

Rcos⁡(x−α)=Rcos⁡(α)cos⁡(x)+Rsin⁡(α)sin⁡(x)R\cos(x - \alpha) = R\cos(\alpha)\cos(x) + R\sin(\alpha)\sin(x)

This equals acos⁡(x)+bsin⁡(x)a\cos(x) + b\sin(x) for every xx exactly when the coefficients match: Rcos⁡(α)=aR\cos(\alpha) = a and Rsin⁡(α)=bR\sin(\alpha) = b. Those are the polar coordinates of the point (a,b)(a, b): RR is its distance from the origin and α\alpha its angle.

Key idea

Converting to harmonic form

acos⁡(x)+bsin⁡(x)=Rcos⁡(x−α),Rcos⁡(α)=a,Rsin⁡(α)=ba\cos(x) + b\sin(x) = R\cos(x - \alpha), \qquad R\cos(\alpha) = a, \quad R\sin(\alpha) = b

Square and add: R2(cos⁡2(α)+sin⁡2(α))=a2+b2R^2\left(\cos^2(\alpha) + \sin^2(\alpha)\right) = a^2 + b^2, so R=a2+b2R = \sqrt{a^2 + b^2}. Divide: tan⁡(α)=ba\tan(\alpha) = \frac{b}{a}, with the quadrant of α\alpha fixed by the signs of cos⁡(α)=aR\cos(\alpha) = \frac{a}{R} and sin⁡(α)=bR\sin(\alpha) = \frac{b}{R}.

Any of the four forms

  1. Expand the target form

    For example Rsin⁡(x+α)=Rcos⁡(α)sin⁡(x)+Rsin⁡(α)cos⁡(x)R\sin(x + \alpha) = R\cos(\alpha)\sin(x) + R\sin(\alpha)\cos(x).

  2. Equate coefficients of cos(x) and sin(x)

    Write two equations, such as Rsin⁡(α)=aR\sin(\alpha) = a and Rcos⁡(α)=bR\cos(\alpha) = b. Take R>0R > 0.

  3. Find R

    R=a2+b2R = \sqrt{a^2 + b^2} for every form.

  4. Find alpha from the two equations

    Divide them to get tan⁡(α)\tan(\alpha), and use the signs of sin⁡(α)\sin(\alpha) and cos⁡(α)\cos(\alpha) to choose the quadrant. Usually the question asks for 0<α<π20 < \alpha < \frac{\pi}{2}, and choosing the right form makes both equations positive.

  5. Check

    Substitute x=0x = 0: both sides should agree.

Worked example

Write cos⁡(x)+3sin⁡(x)\cos(x) + \sqrt{3}\sin(x) as Rcos⁡(x−α)R\cos(x - \alpha) and sketch it

  • Simple familiar
  • Technology free

(a) Express cos⁡(x)+3sin⁡(x)\cos(x) + \sqrt{3}\sin(x) in the form Rcos⁡(x−α)R\cos(x - \alpha), where R>0R > 0 and 0<α<π20 < \alpha < \frac{\pi}{2}. (b) Hence sketch y=cos⁡(x)+3sin⁡(x)y = \cos(x) + \sqrt{3}\sin(x) for 0≤x≤2π0 \le x \le 2\pi.

y=cos⁡(x)+3sin⁡(x)=2cos⁡(x−π3)y = \cos(x) + \sqrt{3}\sin(x) = 2\cos\left(x - \frac{\pi}{3}\right)

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Expand the target form and equate the coefficients of cos⁡(x)\cos(x) and sin⁡(x)\sin(x).

  2. R=a2+b2R = \sqrt{a^2 + b^2}; find α\alpha from tan⁡(α)\tan(\alpha) and the signs.

  3. Sketch as a cosine graph: amplitude RR, shifted right by α\alpha.

Watch out for

  • Swapping the coefficients so that tan⁡(α)=13\tan(\alpha) = \frac{1}{\sqrt{3}} and α=π6\alpha = \frac{\pi}{6}.

  • Shifting the graph left instead of right for x−αx - \alpha.

Express sin⁡(x)+cos⁡(x)\sin(x) + \cos(x) in the form Rsin⁡(x+α)R\sin(x + \alpha), where R>0R > 0 and 0<α<π20 < \alpha < \frac{\pi}{2}. State RR and α\alpha.

Maximum and minimum. Since −1≤cos⁡(x−α)≤1-1 \le \cos(x - \alpha) \le 1, the expression acos⁡(x)+bsin⁡(x)a\cos(x) + b\sin(x) takes every value from −R-R to RR. Its maximum RR occurs when x−α=0x - \alpha = 0 (plus multiples of 2π2\pi), and its minimum −R-R when x−α=πx - \alpha = \pi.

What is the maximum value of 5sin⁡(x)−12cos⁡(x)5\sin(x) - 12\cos(x)?

Choose one answer

Worked example

Two alternating voltages combined

  • Complex unfamiliar
  • Technology active

In a circuit, two alternating voltages combine to give V(t)=120cos⁡(100πt)+50sin⁡(100πt)V(t) = 120\cos(100\pi t) + 50\sin(100\pi t) volts, where tt is the time in seconds.

(a) Write V(t)V(t) in the form Rcos⁡(100πt−α)R\cos(100\pi t - \alpha), with α\alpha in radians to 4 decimal places. (b) State the peak voltage and the first time after t=0t = 0 at which it occurs, in milliseconds to 2 decimal places. (c) Find the first time after t=0t = 0 at which the voltage is 6565 V.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Treat 100πt100\pi t as the angle and convert to harmonic form.

  2. The amplitude RR is the peak; the phase α\alpha tells you when it happens.

  3. For a "first time", track the phase from its starting value and pick the first solution after it.

Watch out for

  • Answering t=α−π/3100πt = \frac{\alpha - \pi/3}{100\pi}, which is negative, so not after t=0t = 0.

  • Calculator in degree mode: α\alpha must be in radians because 100πt100\pi t is.

Common mistake

tan⁻¹ alone can give the wrong angle

For −cos⁡(x)+sin⁡(x)=Rcos⁡(x−α)-\cos(x) + \sin(x) = R\cos(x - \alpha), Rcos⁡(α)=−1R\cos(\alpha) = -1 and Rsin⁡(α)=1R\sin(\alpha) = 1, so α\alpha is in the second quadrant: α=3π4\alpha = \frac{3\pi}{4}. A calculator's tan⁡−1(−1)\tan^{-1}(-1) gives −π4-\frac{\pi}{4}, which is wrong. Always check the signs of both equations, or choose a form that makes them positive (here 2sin⁡(x−π4)\sqrt{2}\sin\left(x - \frac{\pi}{4}\right)).

Exam tip

Exact or approximate?

When ba\frac{b}{a} is ±1\pm 1, ±3\pm\sqrt{3} or ±13\pm\frac{1}{\sqrt{3}}, give α\alpha exactly. Otherwise α=tan⁡−1(ba)\alpha = \tan^{-1}\left(\frac{b}{a}\right) is exact but not a nice number, so Paper 2 questions usually ask for it to a stated number of decimal places, in radians unless degrees are asked for. Keep the unrounded value for later parts.

Summary

  • acos⁡(x)+bsin⁡(x)a\cos(x) + b\sin(x) is a single wave: Rcos⁡(x−α)R\cos(x - \alpha) with R=a2+b2R = \sqrt{a^2 + b^2}.

  • Expand the target form, equate the coefficients of cos⁡(x)\cos(x) and sin⁡(x)\sin(x), then find RR and α\alpha.

  • The signs of Rcos⁡(α)R\cos(\alpha) and Rsin⁡(α)R\sin(\alpha) decide the quadrant of α\alpha; choose the form that keeps α\alpha acute when you can.

  • The maximum is RR and the minimum is −R-R; find where they occur from the harmonic form.

  • To sketch, treat Rcos⁡(x−α)R\cos(x - \alpha) as a cosine graph with amplitude RR shifted right by α\alpha.

Finished the lesson?

Try the 2 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 7 of 80% read

Save your progress with a free account