1.05n - Combining sine and cosine into harmonic form

1.05n - Combining sine and cosine into harmonic form

Combine sine and cosine into one shifted wave, select a phase with the correct signs, sketch its features and solve equations over a stated interval.

Matching coefficients in cosine form

Can 3cos⁡θ+4sin⁡θ3\cos\theta+4\sin\theta ever reach 77? Each term has its own maximum, but those maxima occur at different angles. Surprisingly, the combined wave reaches only 55. A single shifted cosine will explain why.

You already know

Expand cos⁡(θ−α)=cos⁡θcos⁡α+sin⁡θsin⁡α\cos(\theta-\alpha)=\cos\theta\cos\alpha+\sin\theta\sin\alpha. Also sin⁡2α+cos⁡2α=1\sin^2\alpha+\cos^2\alpha=1. Keep the signs of both coefficients when choosing a quadrant.

The height and horizontal position of the combined wave are different pieces of information.

Amplitude and phase

The amplitude is half the difference between a full wave's maximum and minimum heights. The phase in Rcos⁡(θ−α)R\cos(\theta-\alpha), with R>0R>0, is the argument offset α\alpha. For cos⁡θ\cos\theta, the amplitude is 11 and a phase is 00; adding a constant changes the midline, not the amplitude.

Matching the coefficients of cos⁡θ\cos\theta and sin⁡θ\sin\theta gives Rcos⁡α=aR\cos\alpha=a and Rsin⁡α=bR\sin\alpha=b. Squaring and adding determines the amplitude.

Cosine harmonic form

If (a,b)≠(0,0)(a,b)\ne(0,0), then

acos⁡θ+bsin⁡θ=Rcos⁡(θ−α),R=a2+b2>0,a\cos\theta+b\sin\theta=R\cos(\theta-\alpha),\qquad R=\sqrt{a^2+b^2}>0,

where cos⁡α=a/R\cos\alpha=a/R and sin⁡α=b/R\sin\alpha=b/R. Choose α\alpha in the requested range. This is derived from compound-angle identities, not supplied as a separate result.

Not in the formula sheet: learn it.

The ratio tan⁡α=b/a\tan\alpha=b/a is useful when a≠0a\ne0, but it cannot distinguish opposite quadrants.

Worked example 1: positive coefficients

Question. Write 3cos⁡θ+4sin⁡θ3\cos\theta+4\sin\theta as Rcos⁡(θ−α)R\cos(\theta-\alpha), with R>0R>0 and 0≤α<2π0\le\alpha<2\pi.

Plan. Find the amplitude, then match both coefficient signs.

R=32+42=5square and addcos⁡α=3/5,sin⁡α=4/5match coefficientsα=arctan⁡(4/3)=0.927295…quadrant I\begin{aligned} R&=\sqrt{3^2+4^2}=5 &&\text{square and add}\\ \cos\alpha&=3/5,\quad\sin\alpha=4/5 &&\text{match coefficients}\\ \alpha&=\arctan(4/3)=0.927295\ldots &&\text{quadrant I} \end{aligned}

Why this step? Both phase components are positive, so the acute inverse-tangent value is appropriate.

Answer. 5cos⁡(θ−α)5\cos(\theta-\alpha), where α=arctan⁡(4/3)\alpha=\arctan(4/3).

Check. At θ=0\theta=0, it gives 5cos⁡α=35\cos\alpha=3, matching the expression.

Change only the cosine coefficient's sign. The amplitude survives, but the phase moves quadrants.

Worked example 2: a quadrant-II phase

Question. Write −3cos⁡θ+4sin⁡θ-3\cos\theta+4\sin\theta in the same form and phase range.

Plan. Use the same amplitude and locate the phase from its sine and cosine.

R=5unchanged squarescos⁡α=−3/5,sin⁡α=4/5signed coefficientsα=π−arctan⁡(4/3)=2.214297…quadrant II\begin{aligned} R&=5 &&\text{unchanged squares}\\ \cos\alpha&=-3/5,\quad\sin\alpha=4/5 &&\text{signed coefficients}\\ \alpha&=\pi-\arctan(4/3)=2.214297\ldots &&\text{quadrant II} \end{aligned}

Why this step? An acute phase would put a positive cosine coefficient back into the expansion.

Answer. 5cos⁡(θ−α)5\cos(\theta-\alpha), where α=π−arctan⁡(4/3)\alpha=\pi-\arctan(4/3).

Check. At zero the form gives −3-3; at θ=π/2\theta=\pi/2 it gives 44.

A plus-cosine form has the opposite sine coefficient: Rcos⁡(θ+β)=Rcos⁡βcos⁡θ−Rsin⁡βsin⁡θR\cos(\theta+\beta)=R\cos\beta\cos\theta-R\sin\beta\sin\theta. Expand the requested form before matching. If a=0a=0, select the phase directly from its sine and cosine; if both coefficients are zero, the function is zero and has no unique phase.

Equivalent sine forms and phase signs

A cosine and a sine can describe the same shifted wave. Their coefficient-to-phase correspondence differs, so do not just replace the function's name.

Sine harmonic form

For R>0R>0,

Rsin⁡(θ+β)=Rsin⁡βcos⁡θ+Rcos⁡βsin⁡θ,R\sin(\theta+\beta)=R\sin\beta\cos\theta+R\cos\beta\sin\theta,

while a minus sign gives cosine coefficient −Rsin⁡β-R\sin\beta. Match each coefficient to the expanded form. The amplitude remains a2+b2\sqrt{a^2+b^2} for a nonzero combination.

Not in the formula sheet: learn it.

The phase belongs to the form you chose. A complementary acute phase changes a cosine-minus form into a sine-plus form.

Worked example 3: a sine-plus form

Question. Express 4sin⁡θ+3cos⁡θ4\sin\theta+3\cos\theta as Rsin⁡(θ+β)R\sin(\theta+\beta), with 0<β<π/20<\beta<\pi/2.

Plan. Expand the requested sine form and match coefficients.

R=5amplitudeRcos⁡β=4,Rsin⁡β=3match expansionβ=arctan⁡(3/4)acute phase\begin{aligned} R&=5 &&\text{amplitude}\\ R\cos\beta&=4,\quad R\sin\beta=3 &&\text{match expansion}\\ \beta&=\arctan(3/4) &&\text{acute phase} \end{aligned}

Why this step? In the sine-plus form the cosine coefficient matches Rsin⁡βR\sin\beta, not Rcos⁡βR\cos\beta.

Answer. 5sin⁡(θ+arctan⁡(3/4))5\sin(\theta+\arctan(3/4)).

Check. At zero, the form gives 5sin⁡β=35\sin\beta=3. Also arctan⁡(4/3)+arctan⁡(3/4)=π/2\arctan(4/3)+\arctan(3/4)=\pi/2, linking it to the previous cosine form.

Change only the cosine coefficient's sign; a sine-minus form now keeps the phase acute.

Worked example 4: a sine-minus form

Question. Express 4sin⁡θ−3cos⁡θ4\sin\theta-3\cos\theta as Rsin⁡(θ−γ)R\sin(\theta-\gamma), with 0<γ<π/20<\gamma<\pi/2.

Plan. Match Rcos⁡γR\cos\gamma and −Rsin⁡γ-R\sin\gamma.

R=5same amplitudecos⁡γ=4/5,sin⁡γ=3/5match both signsγ=arctan⁡(3/4)acute range\begin{aligned} R&=5 &&\text{same amplitude}\\ \cos\gamma&=4/5,\quad\sin\gamma=3/5 &&\text{match both signs}\\ \gamma&=\arctan(3/4) &&\text{acute range} \end{aligned}

Why this step? The minus in the angle produces the required negative cosine coefficient.

Answer. 5sin⁡(θ−arctan⁡(3/4))5\sin(\theta-\arctan(3/4)).

Check. At θ=0\theta=0 the answer gives −3-3, and at θ=π/2\theta=\pi/2 it gives 44.

Pure sine and cosine are boundary cases, too: 4sin⁡θ=4cos⁡(θ−π/2)4\sin\theta=4\cos(\theta-\pi/2). Equivalent phases differ by full turns; the question's phase range selects the representative to report.

Watch out

Rsin⁡(θ−γ)R\sin(\theta-\gamma) has cosine coefficient −Rsin⁡γ-R\sin\gamma. Writing Rsin⁡γ=−3R\sin\gamma=-3 in the last example forgets that leading minus and sends the phase to the wrong quadrant.

Use new coefficients to make that sign choice yourself.

Continue this lesson.

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

Create free account