WorkbenchDrag the tip of the L (or the slider x) until the point on the right climbs as high as it can. Where does the green hypotenuse point then?
Loading figure…
What this move does
Think of asinx+bcosx as the height of an L-shaped path: walk a along the angle x, then turn left 90∘ and walk b. The vertical parts of the two legs are exactly asinx and bcosx. The L is rigid and turns as one piece, so its tip always lies on the circle of radius R=a2+b2, and the hypotenuse always runs a fixed angle φ ahead of the first leg:
This is the auxiliary angle formula. Use it in three steps:
Take out R: R=a2+b2. What is left in the brackets is Rasinx+Rbcosx, and the squares of the two coefficients add up to 1.
Recognize φ: Ra and Rb are the cosine and sine of φ, the direction angle of the point (a,b). The quadrant is decided by (a,b).
After combining, use the properties of sine: the extreme values ±R, the period, the monotonic intervals and the axes of symmetry all come down to sin(x+φ). If x is restricted to an interval, find the range of x+φ first.
Predict first
What is the maximum of y=sinx+3cosx?
Choose an answer first; then you can see the result.
✓You predicted it!✗Not what you expected — which is exactly why it is worth a pause.
1+3 would need sinx and cosx to equal 1at the same time, which is impossible. The right way is to combine the two terms into one:
sinx+3cosx=2(21sinx+23cosx)=2sin(x+3π)⩽2,
with equality at x=6π. In the picture: the legs of the L have lengths 1 and 3, so the hypotenuse has length 2, and the tip is highest when the hypotenuse points straight up.
Loading figure…
Drag x to 30∘. What height does the reading card show?
Work through one
Writing sin x + √3 cos x as a single sine
Step 1 / 6
Loading figure…
First leg: a sin x
Walk a length a=1 along the angle x. The height of this leg is asinx: the red lower part of the bar.
asinx
Second leg: b cos x
The hypotenuse: length R, φ ahead
One height, computed two ways
The maximum
The minimum
Evaluating expressions: look at the angles, then pin down the range
The auxiliary angle “combines two terms into one”. Evaluation problems often go the other way: they split an angle into a sum or difference of known angles, and every formula in this chapter gets used. For example:
Given α∈(0,2π) and sin(α−6π)=31, find cosα.
Look at the angles: α=(α−6π)+6π, a known angle plus a special angle.
Pin down the range: α−6π∈(−6π,3π), and its sine is positive, so it lies in (0,3π) and its cosine is positive: cos(α−6π)=322.
Apply the formula: cosα=322⋅23−31⋅21=626−1.
Other common ways to split angles are 2α=(α+β)+(α−β) and 4π+α=2π−(4π−α), and writing 1 as sin2α+cos2α or as tan4π. If only tan2α is left in the expression, the tangent half-angle substitutionsinα=1+t22t, cosα=1+t21−t2 (t=tan2α) turns everything into a rational expression in t.
Practice
Exercise 1Basic
Find the maximum of y=3sinx−4cosx.
Hint · direction
The two terms cannot both be at their maximum at once. Combine them into one term first.
Hint · method
R=a2+b2.
Hint · first step
R=9+16=5 and y=5sin(x+φ), where cosφ=53 and sinφ=−54.
Full solution
The maximum is 5, reached when x+φ=2π+2kπ.
Exercise 2Basic
Find cos40∘3cos10∘−sin10∘.
Hint · direction
The numerator has the form acosx+bsinx, and the coefficients 3 and −1 look familiar.
Hint · method
Take out 2: the numerator is 2(23cos10∘−21sin10∘). Which angle sum formula is inside the brackets?
There is a product and a square: lower the power first, so that everything is linear in 2x.
Hint · method
sinxcosx=21sin2x and cos2x=21+cos2x; then use the auxiliary angle.
Hint · first step
f(x)=23sin2x+21cos2x+21.
Full solution
f(x)=sin(2x+6π)+21, with maximum 23 (at x=6π+kπ).
Exercise 4Challenge
Find the maximum of y=cosx+2sinx+1.
Hint · direction
After clearing the denominator, x appears only in sinx and cosx, and both to the first power.
Hint · method
Rearrange to sinx−ycosx=2y−1 and combine the left side with an auxiliary angle; its absolute value is at most 1+y2.
Hint · first step
1+y2sin(x−θ)=2y−1 has a solution if and only if ∣2y−1∣⩽1+y2.
Full solution
Squaring gives 4y2−4y+1⩽1+y2, that is 3y2−4y⩽0, so 0⩽y⩽34. The maximum is 34. (Geometrically, y is the slope of the line through the points (cosx,sinx) and (−2,−1).)
Finding the auxiliary angle from tan φ = b/a alone
✗
The wrong step: −sinx+3cosx: tanφ=−13=−3, take φ=−3π, so the expression is 2sin(x−3π).
What went wrong? Think first, then open
DiagnosisExpand: 2sin(x−3π)=sinx−3cosx, off by exactly a minus sign. tanφ only fixes the direction of a line, so φ could still be off by π. The auxiliary angle must satisfy two conditions, cosφ=Ra and sinφ=Rb: the point (a,b)=(−1,3) is in quadrant II.
✓
The right step: cosφ=−21 and sinφ=23, so φ=32π and the expression is 2sin(x+32π). Try (a,b)=(−1,1) on the workbench: the φ reading is 43π, not −4π.
“φ is the direction of the point (a, b), not just a slope”
Exhibit
Using ±R as the extreme values on an interval
✗
The wrong step: For x∈[0,2π], the minimum of y=sinx+3cosx=2sin(x+3π) is −2.
What went wrong? Think first, then open
Diagnosis−2 would need x+3π=23π, that is x=67π, which is not in the interval. The L may only turn through 90∘, so the hypotenuse never gets to point straight down.
✓
The right step: x+3π∈[3π,65π], where the smallest value of sine is sin65π=21. So the minimum is 1 (at x=2π) and the maximum is 2 (at x=6π).
“After combining, find the range of x + φ first”
The Auxiliary Angle and Evaluating Expressions ← → step · F full screen · Esc exit