Skip to main content

Auxiliary angle: writing asin⁡x+bcos⁡xa \sin x + b \cos x as Rsin⁡(x+α)R \sin(x + \alpha)

Syllabus dot point

“Express asin⁡x+bcos⁡xa \sin x + b \cos x in the form Rsin⁡(x+α)R \sin(x + \alpha) or Rcos⁡(x−α)R \cos(x - \alpha) and use this to solve equations and find extreme values”

HSCMaths Extension 1Trigonometric Functions (ME-T1, T2, T3)15 min read

Quick answer

Write asin⁡x+bcos⁡x=Rsin⁡(x+α)a \sin x + b \cos x = R \sin(x + \alpha) with R=a2+b2R = \sqrt{a^2 + b^2} and tan⁡α=ba\tan \alpha = \frac{b}{a} in the quadrant determined by the signs of aa and bb; this collapses any sum of two same-frequency sinusoids into a single shifted sine wave with known amplitude RR and phase α\alpha, so the maximum is RR, the minimum is −R-R, and equations reduce to sin⁡(x+α)=cR\sin(x + \alpha) = \frac{c}{R}.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions

What this dot point is asking

NESA wants you to combine asin⁡x+bcos⁡xa \sin x + b \cos x into a single sinusoidal expression of the form Rsin⁡(x+α)R \sin(x + \alpha) or Rcos⁡(x±α)R \cos(x \pm \alpha), find the amplitude RR and the phase α\alpha, and use this to solve equations or find extreme values. The whole method rests on one fact: the sum of two sinusoids of the same frequency is itself a single sinusoid of that frequency. Adding a sine wave and a cosine wave does not give a lumpy curve; it gives one clean sine wave, just shifted sideways and scaled up. Finding RR and α\alpha is finding the amplitude and the sideways shift of that combined wave.

The answer

The two waves combine into one

It helps to see the result before the algebra. Take a concrete case, 3sin⁡x+4cos⁡x3 \sin x + 4 \cos x. Plot the two pieces separately.

Stage 1: the two component wavesTwo separate waves are plotted: 3 sine x with amplitude 3, and 4 cosine x with amplitude 4.xπ2π3 sin x4 cos x

Now add them at every value of xx (add the two heights). The result is a new wave.

Stage 2: add the two waves point by pointAdding the two component waves at every x gives a new wave, 3 sine x plus 4 cosine x, shown heavier in the accent colour.xπ2π3 sin x + 4 cos x

That summed wave is not a new kind of curve. It is exactly a single sine wave of amplitude 55, shifted to the left. In symbols, 3sin⁡x+4cos⁡x=5sin⁡(x+α)3\sin x + 4\cos x = 5\sin(x + \alpha).

Stage 3: the sum is one sinusoidThe summed wave is exactly the single sinusoid 5 sine of x plus alpha, with amplitude 5 and a leftward phase shift alpha.xπ2π5 = R−5y = 5 sin(x + α)

So the job is just to find the amplitude RR (here 55) and the phase shift α\alpha. Both come straight out of a right triangle, as we will see.

Deriving the form Rsin⁡(x+α)R \sin(x + \alpha)

Expand the target using the sine sum identity:

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

For this to equal asin⁡x+bcos⁡xa \sin x + b \cos x for all xx, the coefficient of sin⁡x\sin x and the coefficient of cos⁡x\cos x must match separately:

Rcos⁡α=a,Rsin⁡α=b.R \cos \alpha = a, \qquad R \sin \alpha = b.

Square and add the two equations. Since cos⁡2α+sin⁡2α=1\cos^2\alpha + \sin^2\alpha = 1,

R2=a2+b2  ⟹  R=a2+b2(R>0).R^2 = a^2 + b^2 \implies R = \sqrt{a^2 + b^2} \quad (R > 0).

Divide the two equations:

tan⁡α=ba.\tan \alpha = \frac{b}{a}.

Geometrically, aa, bb and RR are the two legs and the hypotenuse of a right triangle, and α\alpha is the angle at the origin. That is the picture to draw.

Stage 4: the right triangle for R and alphaA right triangle with horizontal side a equals 3, vertical side b equals 4, and hypotenuse R equals 5. The angle alpha at the origin satisfies tan alpha equals b over a.αa = 3b = 4R = 5

Crucially, tan⁡α=ba\tan\alpha = \frac{b}{a} alone has two candidate angles per turn, so choose α\alpha in the quadrant where Rcos⁡αR\cos\alpha has the sign of aa and Rsin⁡αR\sin\alpha has the sign of bb. When both aa and bb are positive, α\alpha is in the first quadrant, which is the most common exam case.

Key fact

asin⁡x+bcos⁡x=Rsin⁡(x+α),R=a2+b2,tan⁡α=ba,a \sin x + b \cos x = R \sin(x + \alpha), \qquad R = \sqrt{a^2 + b^2}, \qquad \tan\alpha = \frac{b}{a},

with α\alpha in the quadrant fixed by the signs of aa (=Rcos⁡α= R\cos\alpha) and bb (=Rsin⁡α= R\sin\alpha). The combined wave has amplitude RR, so its maximum value is RR and its minimum is −R-R. The frequency (and hence period 2π2\pi) is unchanged; only the amplitude and phase change.

The other equivalent forms

Depending on what the question asks, the same expression can be written with cosine or with a minus sign. Each comes from matching coefficients against the corresponding expansion:

Rcos⁡(x−α)=Rcos⁡αcos⁡x+Rsin⁡αsin⁡x,so use Rcos⁡α=b, Rsin⁡α=a.R \cos(x - \alpha) = R\cos\alpha\cos x + R\sin\alpha\sin x, \quad \text{so use } R\cos\alpha = b, \ R\sin\alpha = a.

Rsin⁡(x−α)=Rcos⁡αsin⁡x−Rsin⁡αcos⁡x,used for asin⁡x−bcos⁡x with Rcos⁡α=a, Rsin⁡α=b.R \sin(x - \alpha) = R\cos\alpha\sin x - R\sin\alpha\cos x, \quad \text{used for } a\sin x - b\cos x \text{ with } R\cos\alpha = a, \ R\sin\alpha = b.

The amplitude R=a2+b2R = \sqrt{a^2+b^2} is the same in every form; only the placement and sign of α\alpha change. If the exam does not specify a form, Rsin⁡(x+α)R\sin(x+\alpha) with R>0R > 0 and α\alpha in (−π,π]\left(-\pi, \pi\right] is the safe default.

Why this matters: maxima, minima and equations

Once asin⁡x+bcos⁡xa \sin x + b \cos x is a single sinusoid Rsin⁡(x+α)R\sin(x + \alpha), three things become easy because sin⁡\sin of anything lives between −1-1 and 11:

  • The maximum value is RR, reached when x+α=π2+2nπx + \alpha = \frac{\pi}{2} + 2n\pi (i.e. sin⁡=1\sin = 1).
  • The minimum value is −R-R, reached when sin⁡=−1\sin = -1.
  • An equation asin⁡x+bcos⁡x=ca \sin x + b \cos x = c collapses to sin⁡(x+α)=cR\sin(x + \alpha) = \frac{c}{R}, which you solve by the standard general solution and then restrict.
  • Sketching is reduced to drawing one amplitude-RR sine curve shifted by α\alpha.

A neat consequence: asin⁡x+bcos⁡x=ca\sin x + b\cos x = c has no solution at all when ∣c∣>R=a2+b2|c| > R = \sqrt{a^2+b^2}, because sin⁡(x+α)\sin(x+\alpha) cannot exceed 11. Spotting that saves you from chasing roots that do not exist.

How exam questions ask about the auxiliary angle

  • "Express asin⁡x+bcos⁡xa\sin x + b\cos x in the form Rsin⁡(x+α)R\sin(x+\alpha)": match coefficients, give R=a2+b2R = \sqrt{a^2+b^2} and α\alpha in the stated quadrant. Watch the requested form and the stated range for α\alpha.
  • "Hence find the maximum/minimum value (and where it occurs)": the max is RR, the min is −R-R; solve x+α=π2x + \alpha = \frac{\pi}{2} (or −π2-\frac{\pi}{2}) for the location.
  • "Hence solve asin⁡x+bcos⁡x=ca\sin x + b\cos x = c": divide by RR, take both general-solution branches of sin⁡\sin, then restrict to the interval.
  • "Sketch y=asin⁡x+bcos⁡xy = a\sin x + b\cos x": read off amplitude RR, period 2π2\pi, and a phase shift of α\alpha to the left.
  • "Find the values of cc for which asin⁡x+bcos⁡x=ca\sin x + b\cos x = c has solutions": the condition is ∣c∣≤R|c| \le R.
Exam technique

Show the expansion Rcos⁡αsin⁡x+Rsin⁡αcos⁡xR\cos\alpha\sin x + R\sin\alpha\cos x and the two matched equations explicitly; markers award method marks for that step even if the arithmetic slips. Compute RR from R2=a2+b2R^2 = a^2 + b^2 (Pythagoras), then α\alpha from tan⁡α=ba\tan\alpha = \frac{b}{a}, and state which quadrant α\alpha is in. Respect the requested form (Rsin⁡R\sin vs Rcos⁡R\cos, plus vs minus) and the stated range for α\alpha. For a "maximum value" question the answer is simply RR with units if any, not the value of xx, unless the location is also asked. For an equation, do not forget the second branch of the general solution before restricting.

Worked example

Express a sum as a single sinusoid

Express 3sin⁡x+4cos⁡x3 \sin x + 4 \cos x in the form Rsin⁡(x+α)R \sin(x + \alpha). Expanding Rsin⁡(x+α)=Rcos⁡αsin⁡x+Rsin⁡αcos⁡xR \sin(x + \alpha) = R\cos\alpha\sin x + R\sin\alpha\cos x and matching coefficients gives Rcos⁡α=3R\cos\alpha = 3 and Rsin⁡α=4R\sin\alpha = 4. Square and add to eliminate α\alpha:

R=32+42=9+16=5.R = \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = 5.

Both coefficients are positive, so α\alpha lies in the first quadrant. Divide to find the angle:

tan⁡α=43,α=arctan⁡43≈53.13∘≈0.927 rad.\tan \alpha = \frac{4}{3}, \qquad \alpha = \arctan \frac{4}{3} \approx 53.13^\circ \approx 0.927 \text{ rad}.

3sin⁡x+4cos⁡x=5sin⁡(x+0.927) (to 3 dp).3 \sin x + 4 \cos x = 5 \sin(x + 0.927) \text{ (to 3 dp)}.

Convert and solve a trigonometric equation

Solve sin⁡x+3cos⁡x=1\sin x + \sqrt{3} \cos x = 1 for 0≤x≤2π0 \le x \le 2\pi. First convert the left side to a single sinusoid. With a=1a = 1 and b=3b = \sqrt{3}:

R=1+3=2,tan⁡α=31=3,α=π3.R = \sqrt{1 + 3} = 2, \qquad \tan \alpha = \frac{\sqrt{3}}{1} = \sqrt{3}, \qquad \alpha = \frac{\pi}{3}.

The equation becomes 2sin⁡ ⁣(x+π3)=12\sin\!\left(x + \frac{\pi}{3}\right) = 1, so sin⁡ ⁣(x+π3)=12\sin\!\left(x + \frac{\pi}{3}\right) = \frac{1}{2}. Apply the general solution for sine:

x+π3=π6+2nπorx+π3=5π6+2nπ,x + \frac{\pi}{3} = \frac{\pi}{6} + 2n\pi \quad \text{or} \quad x + \frac{\pi}{3} = \frac{5\pi}{6} + 2n\pi,

giving x=−π6+2nπx = -\frac{\pi}{6} + 2n\pi or x=π2+2nπx = \frac{\pi}{2} + 2n\pi. In [0,2π][0, 2\pi]: x=π2x = \dfrac{\pi}{2} or x=−π6+2π=11π6x = -\dfrac{\pi}{6} + 2\pi = \dfrac{11\pi}{6}.

Read off the maximum value and where it occurs

Find the maximum value of 5sin⁡x−12cos⁡x5\sin x - 12\cos x and the smallest positive xx at which it occurs. For asin⁡x−bcos⁡xa\sin x - b\cos x, use the form Rsin⁡(x−α)R\sin(x - \alpha) where Rcos⁡α=aR\cos\alpha = a and Rsin⁡α=bR\sin\alpha = b:

R=25+144=13,cos⁡α=513,sin⁡α=1213,α≈1.176 rad.R = \sqrt{25 + 144} = 13, \qquad \cos\alpha = \frac{5}{13}, \quad \sin\alpha = \frac{12}{13}, \qquad \alpha \approx 1.176 \text{ rad}.

The maximum of 13sin⁡(x−α)13\sin(x - \alpha) is 1313, occurring when sin⁡(x−α)=1\sin(x - \alpha) = 1, i.e. x−α=π2x - \alpha = \frac{\pi}{2}:

x=π2+α≈π2+1.176≈2.747 rad.x = \frac{\pi}{2} + \alpha \approx \frac{\pi}{2} + 1.176 \approx 2.747 \text{ rad}.

Extract amplitude, period and phase for sketching

Sketch y=sin⁡x+cos⁡xy = \sin x + \cos x. With a=b=1a = b = 1, compute RR and α\alpha:

R=12+12=2,tan⁡α=11=1,α=π4.R = \sqrt{1^2 + 1^2} = \sqrt{2}, \qquad \tan\alpha = \frac{1}{1} = 1, \qquad \alpha = \frac{\pi}{4}.

So y=2sin⁡ ⁣(x+π4)y = \sqrt{2}\sin\!\left(x + \frac{\pi}{4}\right). The amplitude is 2\sqrt{2}, the period is 2π2\pi, and the graph is the standard sine curve shifted π4\frac{\pi}{4} to the left. It crosses zero (going up) at x=−π4x = -\frac{\pi}{4}, reaches its peak 2\sqrt{2} at x=π4x = \frac{\pi}{4}, and returns to zero at x=3π4x = \frac{3\pi}{4}.

Decide when an equation has no solutions

For what values of cc does 3sin⁡x+4cos⁡x=c3\sin x + 4\cos x = c have a solution? From the auxiliary-angle form the left side equals 5sin⁡(x+0.927)5\sin(x + 0.927), whose range is [−5,5][-5, 5]. The equation therefore has a solution exactly when

−5≤c≤5.-5 \le c \le 5.

For ∣c∣>5|c| > 5 there is no solution, because a sinusoid of amplitude 55 can never reach further than 55 from zero. This is a favourite "show there are no solutions" twist.

Edge cases worth knowing

  • A pure Rcos⁡R\cos answer is sometimes neater. If the question gives asin⁡x+bcos⁡xa\sin x + b\cos x with bb much larger, the Rcos⁡(x−α)R\cos(x - \alpha) form (with tan⁡α=ab\tan\alpha = \frac{a}{b}) may put α\alpha in a tidier place. The amplitude is identical.
  • A negative leading coefficient. For −3sin⁡x+4cos⁡x-3\sin x + 4\cos x the matched equations give Rcos⁡α=−3<0R\cos\alpha = -3 < 0 and Rsin⁡α=4>0R\sin\alpha = 4 > 0, so α\alpha is in the second quadrant. Trust the signs, not just tan⁡α\tan\alpha.
  • Adding a constant shifts the extremes, not the amplitude. The maximum of Rsin⁡(x+α)+kR\sin(x+\alpha) + k is R+kR + k and the minimum is k−Rk - R; the amplitude is still RR.
Common traps
Sign of α\alpha misplaced
Rsin⁡(x+α)R \sin(x + \alpha) has α\alpha added; Rsin⁡(x−α)R \sin(x - \alpha) has α\alpha subtracted. The form determines whether the phase is left-shifted or right-shifted.
Wrong quadrant for α\alpha
tan⁡α=ba\tan \alpha = \frac{b}{a} has two candidate angles per period. Choose the one consistent with the signs of Rcos⁡α=aR \cos \alpha = a and Rsin⁡α=bR \sin \alpha = b.
Forgetting to divide by RR when solving
Rsin⁡(x+α)=cR \sin(x + \alpha) = c requires dividing by RR, then taking arcsin⁡\arcsin, then accounting for both branches.
Confusing amplitude with max/min
Maximum value of Rsin⁡(x+α)+cR \sin(x + \alpha) + c is R+cR + c, minimum is c−Rc - R, amplitude is RR. Track each.
Negative RR
The convention is R>0R > 0. If you ever write −Rsin⁡(x+α)-R \sin(x + \alpha), fold the minus into the phase via −Rsin⁡(x+α)=Rsin⁡(x+α+π)-R\sin(x+\alpha) = R\sin(x+\alpha+\pi) to keep RR positive.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC-style3 marks
Express 3sin⁡x+cos⁡x\sqrt{3} \sin x + \cos x in the form Rsin⁡(x+α)R \sin(x + \alpha) where R>0R > 0 and 0<α<π20 < \alpha < \frac{\pi}{2}, and hence find the maximum value of 3sin⁡x+cos⁡x\sqrt{3} \sin x + \cos x.
Show worked answer →

Expand Rsin⁡(x+α)=Rcos⁡αsin⁡x+Rsin⁡αcos⁡xR \sin(x + \alpha) = R \cos \alpha \sin x + R \sin \alpha \cos x.

Match coefficients: Rcos⁡α=3R \cos \alpha = \sqrt{3} and Rsin⁡α=1R \sin \alpha = 1.

R2=(3)2+12=4R^2 = (\sqrt{3})^2 + 1^2 = 4, so R=2R = 2.

tan⁡α=13\tan \alpha = \frac{1}{\sqrt{3}}, so α=π6\alpha = \frac{\pi}{6}.

3sin⁡x+cos⁡x=2sin⁡ ⁣(x+π6)\sqrt{3} \sin x + \cos x = 2 \sin\!\left( x + \frac{\pi}{6} \right).

Maximum value is 22 (achieved when sin⁡=1\sin = 1, that is x+π6=π2x + \frac{\pi}{6} = \frac{\pi}{2}, so x=π3x = \frac{\pi}{3}).

Markers reward expansion of Rsin⁡(x+α)R \sin(x + \alpha), matching coefficients, the Pythagorean step for RR, and the maximum value of RR.

HSC-style4 marks
Solve 2sin⁡x−2cos⁡x=22 \sin x - 2 \cos x = \sqrt{2} for 0≤x≤2π0 \le x \le 2 \pi.
Show worked answer →

Write LHS as Rsin⁡(x−α)R \sin(x - \alpha) with Rcos⁡α=2R \cos \alpha = 2 and Rsin⁡α=2R \sin \alpha = 2.

R=4+4=22R = \sqrt{4 + 4} = 2 \sqrt{2}, tan⁡α=1\tan \alpha = 1, α=π4\alpha = \frac{\pi}{4}.

Equation: 22sin⁡ ⁣(x−π4)=22 \sqrt{2} \sin\!\left( x - \frac{\pi}{4} \right) = \sqrt{2}, so sin⁡ ⁣(x−π4)=12\sin\!\left( x - \frac{\pi}{4} \right) = \frac{1}{2}.

General solution for sin⁡=12\sin = \frac{1}{2}: x−π4=π6+2nπx - \frac{\pi}{4} = \frac{\pi}{6} + 2 n \pi or π−π6+2nπ\pi - \frac{\pi}{6} + 2 n \pi.

So x=π4+π6=5π12x = \frac{\pi}{4} + \frac{\pi}{6} = \frac{5 \pi}{12} or x=π4+5π6=13π12x = \frac{\pi}{4} + \frac{5 \pi}{6} = \frac{13 \pi}{12}.

Both are in [0,2π][0, 2 \pi].

Markers reward the auxiliary-angle conversion, identifying both general-solution branches of sin⁡\sin, restricting to the given interval, and a clean final list.

Practise this

Sources & how we know this

ExamExplained