Skip to main content
ExamExplained
NSW · Maths Extension 1
Maths Extension 1 study scene
§-Syllabus dot point
NSWMaths Extension 1Syllabus dot point

How do we write asinx+bcosxa \sin x + b \cos x as a single sinusoid, and what is this used for?

Express asinx+bcosxa \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

A focused answer to the HSC Maths Extension 1 dot point on the auxiliary angle technique. Writing asinx+bcosxa \sin x + b \cos x as a single sinusoid by adding two waves into one, finding the amplitude RR and phase α\alpha from a right triangle, and using the result to solve equations and identify maxima and minima, with stage-by-stage diagrams and worked examples.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

What this dot point is asking

NESA wants you to combine asinx+bcosxa \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, 3sinx+4cosx3 \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π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π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, 3sinx+4cosx=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π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αsinx+Rsinαcosx.R \sin(x + \alpha) = R \cos \alpha \sin x + R \sin \alpha \cos x.

For this to equal asinx+bcosxa \sin x + b \cos x for all xx, the coefficient of sinx\sin x and the coefficient of cosx\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 cos2α+sin2α=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.

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αcosx+Rsinαsinx,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αsinxRsinαcosx,used for asinxbcosx 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 asinx+bcosxa \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 asinx+bcosx=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: asinx+bcosx=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 asinx+bcosxa\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 asinx+bcosx=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=asinx+bcosxy = 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 asinx+bcosx=ca\sin x + b\cos x = c has solutions": the condition is cR|c| \le R.

Edge cases worth knowing

  • A pure RcosR\cos answer is sometimes neater. If the question gives asinx+bcosxa\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 3sinx+4cosx-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 kRk - R; the amplitude is still RR.

Exam-style practice questions

Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

2022 HSC Q123 marksExpress 3sinx+cosx\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 3sinx+cosx\sqrt{3} \sin x + \cos x.
Show worked answer →

Expand Rsin(x+α)=Rcosαsinx+RsinαcosxR \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}.

3sinx+cosx=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.

2021 HSC Q134 marksSolve 2sinx2cosx=22 \sin x - 2 \cos x = \sqrt{2} for 0x2π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.

ExamExplained