This whole subtopic is higher level. Nothing in it is on an SL paper.
Educerie · IB Diploma · Mathematics: analysis and approaches
IB Mathematics AA 3.10 · HL only
Compound angle identities
How do you find sin, cos or tan of a sum or difference of two angles from the ratios of the angles themselves, and where do the double angle identities come from?
What you will learn
HL Know the compound angle identities for sin, cos and tan of A ± B, and the sign pattern in each.
HL Understand how the double angle identities for sin, cos and tan come from the compound angle identities with B = A.
HL Know the double angle identity for tan and where it is undefined.
HL Understand how compound angles open up equations, identity proofs, multiple angles and sums of inverse tangents.
You must be able to
HL Find the exact value of sin, cos or tan of a sum or difference of known angles, such as cos 195°.
HL Find sin(A ± B), cos(A ± B) or tan(A ± B) from given ratios of A and B, with signs set by the quadrants.
HL Show that the double angle identities, including tan 2θ, follow from the compound angle identities.
HL Prove identities, including triple angle results, using compound and double angle identities.
HL Solve equations by expanding a compound or double angle, without dividing by a factor that can be zero.
HL Write a sum of inverse tangents, or a sin x + b cos x, as a single expression using the tangent or sine identity.
In the exam. Paper 1 (no calculator): exact values such as cos195∘ (3 to 4 marks), sin(A+B) from two given ratios (4 to 6 marks), "show that" identities, equations that open up once a compound angle is expanded (5 to 7 marks), and a 4-mark "show that" adding two inverse tangents. Paper 2: the same equations with non-exact solutions. Paper 3, the paper that asks most about this subtopic: multiple angle identities built step by step, conjectures proved, and asinx+bcosx as one wave. The identities are in the formula booklet; the marks are for choosing and using them and for showing every line.
1The six identities
sin(A±B)=sinAcosB±cosAsinB
cos(A±B)=cosAcosB∓sinAsinB
tan(A±B)=1∓tanAtanBtanA±tanB · all in the formula booklet.
The ∓ means "the opposite of the ±". Take the top sign everywhere or the bottom sign everywhere. The signs are where the marks go:
Sine keeps the sign and mixes.sin(A+B) has a + in the middle: sincos+cossin.
Cosine flips the sign and does not mix.cos(A+B) has a − in the middle: coscos−sinsin.
Tangent keeps the sign on top and flips it underneath.
Test: cos(A−A) must be 1=cos2A+sin2A, so the plus is right.
The tangent identity is sine over cosine: divide top and bottom of cosAcosB−sinAsinBsinAcosB+cosAsinB by cosAcosB, and every term becomes a tangent or a 1.
It fails if tanA or tanB is undefined (an angle of 2π). Use sine and cosine then. tan(A+B) is itself undefined when 1−tanAtanB=0, that is, when A+B is an odd multiple of 2π.
2Why they are true
The guide does not ask you to prove these. One proof makes the sign pattern stick, and the chord method returns with vectors in 3.13.
In Figure 1, P(cosA,sinA) and Q(cosB,sinB) are points on the unit circle at angles A and B. The angle POQ is A−B. Measure PQ2 in two ways.
Figure 1 · Two points on the unit circle, two ways to measure PQ
PQ2=(cosA−cosB)2+(sinA−sinB)2=cos2A+sin2A+cos2B+sin2B−2cosAcosB−2sinAsinB=2−2(cosAcosB+sinAsinB)distance formulacos2+sin2=1, twicePQ2=12+12−2(1)(1)cos(A−B)=2−2cos(A−B)cosine rule in triangle OPQcos(A−B)=cosAcosB+sinAsinBequate the two
Every other identity follows:
Replace B with −B, using cos(−B)=cosB and sin(−B)=−sinB. This gives cos(A+B)=cosAcosB−sinAsinB.
For sine, use sinθ=cos(2π−θ). Then sin(A+B)=cos((2π−A)−B), and the cosine difference identity gives sinAcosB+cosAsinB.
Replacing B with −B again gives sin(A−B). Tangent is sine over cosine (section 1).
Figure 2 shows the same results as a picture. A unit-hypotenuse triangle with angle B sits on the line at angle A. The top corner's height splits into sinAcosB+cosAsinB. Its distance across is cosAcosB−sinAsinB.
Figure 2 · sin(A + B) and cos(A + B) read off one picture
3Exact values from angles you know
Any sum or difference of 30∘, 45∘, 60∘ and 90∘ (6π, 4π, 3π, 2π) has an exact value you can build. The known angles may be obtuse (150∘, 135∘). Any valid pair gives the same answer.
Worked example 1 (Paper 1). Find the exact values of cos195∘, sin(1211π) and tan195∘.
cos195∘=cos(150∘+45∘)=cos150∘cos45∘−sin150∘sin45∘=(−23)(22)−(21)(22)=−46+2negative: 195∘ is in the third quadrantsin1211π=sin(32π+4π)=(23)(22)+(−21)(22)=46−2positive: 1211π is in the second quadranttan195∘=tan(135∘+60∘)=1−(−1)(3)−1+3=3+13−1=3−1(3−1)2=24−23=2−3multiply top and bottom by 3−1 to rationalise
tan195∘=tan15∘ (period 180∘): small and positive, as 2−3≈0.27 is.
4Reading an identity backwards
Questions often hide a compound angle in expanded form. Spot the pattern (coscos−sinsin, sincos−cossin, a fraction of tangents) and collapse it.
Worked example 2 (Paper 1). Write each as a single ratio and evaluate where possible.
In the second line, the minus between the cosine pair and the sine pair says plus inside the bracket, because cosine flips. This sign is most often lost. The last line is the idea behind section 11.
5Shifts by a quarter-turn or half-turn
When one angle is 2π, π or 23π, its sine and cosine are 0, 1 or −1. The identity collapses to one term. This proves the symmetry results of 3.11.
Example: sin(π−x)=sinπcosx−cosπsinx=0+sinx, and cos(x+2π)=cosx⋅0−sinx⋅1=−sinx.
Expression
Simplifies to
sin(x+π), cos(x+π), tan(x+π)
−sinx, −cosx, tanx
sin(π−x), cos(π−x), tan(π−x)
sinx, −cosx, −tanx
sin(2π−x), cos(2π−x)
cosx, sinx
sin(x+2π), cos(x+2π), tan(x+2π)
cosx, −sinx, −cotx
Rebuild any entry in one line; do not memorise. For a tangent with a quarter-turn shift, do not use the tangent identity, since tan2π does not exist. Shift the sine and cosine separately.
Worked example 3 (Paper 1). Simplify cos(x−23π)+sin(x+π) and tan(x−2π).
cos(x−23π)=cosxcos23π+sinxsin23π=0+(−1)sinx=−sinxsin(x+π)=sinxcosπ+cosxsinπ=−sinxsum=−2sinxtan(x−2π)=cosx⋅0+sinx⋅1sinx⋅0−cosx⋅1=−cotxtan identity not usable here
6From the ratios of A and B to the ratios of A±B
Common exam form: one ratio of each angle and its quadrant are given. You need both sin and cos of each before using an identity.
Worked example 4 (Paper 1).A is obtuse with sinA=2920, and B is acute with cosB=419. Find the exact values of sin(A+B), cos(A−B) and tan(A+B).
cosA=−2921A obtuse: cosA<0 (20-21-29 triangle)sinB=4140B acute: sinB>0 (9-40-41 triangle)sin(A+B)=(2920)(419)+(−2921)(4140)=1189180−840=−1189660cos(A−B)=(−2921)(419)+(2920)(4140)=1189−189+800=1189611cos(A+B)=1189−189−800=−1189989tan(A+B)=−989/1189−660/1189=989660sin over cos; the tan identity needs fractions of fractions
The tangent identity with tanA=−2120 and tanB=940 gives the same 989660. Two routes that agree make the answer right.
A double angle often sits inside the compound angle. Find the double angle ratios first, then combine, with 2A as the first angle and B as the second.
Worked example 5 (Paper 1).A and B are acute with tanA=32 and sinB=53. Find the exact value of cos(2A−B).
sinA=132,cosA=133,cosB=54right-angled triangles (sides 2,3,13 and 3,4,5); both acutesin2A=2(132)(133)=1312,cos2A=1−2(132)2=135the surds cancelcos(2A−B)=cos2AcosB+sin2AsinB=135⋅54+1312⋅53=6520+36=6556
Given the tangent of a sum and of one part, substitute into the identity and solve the linear equation.
Worked example 6 (Paper 1). Given tan(A+B)=32 and tanA=4, find tanB.
1−4t4+t=32,t=tanB12+3t=2−8t,11t=−10,tanB=−1110
You found tanB without finding B.
7Double angle identities, derived
At HL you must derive sin2θ, cos2θ and tan2θ by putting B=A. Figure 3 is the family tree.
Figure 3 · Every double angle identity is a compound angle identity with B = A
tan2θ=1−tan2θ2tanθ · in the formula booklet. It fails where tanθ=±1, because then 2θ is an odd multiple of 2π and tan2θ is undefined, and where tanθ is itself undefined. Its reciprocal is cot2θ=2tanθ1−tan2θ.
The three forms of cos2A each have a job:
cos2A−sin2A when both appear.
2cos2A−1 when all in cos.
1−2sin2A when all in sin.
Rearranged, the last two give cos2A=21+cos2A and sin2A=21−cos2A. You will use these in HL integration.
The misconception to kill now
sin2x is not 2sinx. Figure 4 draws both. sin2x squeezes the graph horizontally and peaks at 1. 2sinx stretches it to a peak of 2.
They are equal only where 2sinxcosx=2sinx, that is 2sinx(cosx−1)=0. Since cosx=1 forces sinx=0, that means sinx=0 alone: x=0, π, 2π on this graph.
Figure 4 · sin 2x and 2 sin x are different functions
Worked example 7 (Paper 1).θ is obtuse and sinθ=257. Find tan2θ, sin2θ and cos2θ.
cosθ=−2524,tanθ=−2477-24-25 triangle; obtuse, so cosine and tangent are negativesin2θ=2(257)(−2524)=−625336cos2θ=1−2(257)2=625527the sin-only form, since sinθ is giventan2θ=1−576492(−247)=576527−127=−527336check: 527/625−336/625=−527336✓
Another route (link to 1.14). Expand (cosθ+isinθ)2=cos2θ+isin2θ and match real and imaginary parts. That gives both double angle identities at once. The cube gives the triple angles. Paper 3 may ask you to compare the methods.
8Equations that open up
Expanding a compound or double angle often turns an awkward equation into a familiar one. Collect everything on one side and factorise. Never divide by an expression that could be zero.
Worked example 8 (Paper 1). Solve cos(x+3π)=sinx for 0≤x<2π.
cosxcos3π−sinxsin3π=sinx21cosx=(1+23)sinxtanx=1+2321=2+31=2−3divide by cosx; rationalisex=12π,1213πtan12π=2−3 (section 3); tan has period π
Dividing by cosx is safe only after checking that cosx=0 is not a solution. At x=2π the sides are −23 and 1; at 23π, 23 and −1.
Worked example 9 (Paper 1). Solve cos2x=3sinx−1 for 0≤x≤2π.
1−2sin2x=3sinx−1the equation has sin x, so use the sin-only form2sin2x+3sinx−2=0(2sinx−1)(sinx+2)=0sinx=21orsinx=−2reject: sine never reaches −2x=6π,65π
Worked example 10 (Paper 1). Solve tan2x=3tanx for 0≤x≤π.
1−tan2x2tanx=3tanx2tanx=3tanx(1−tan2x)tanx(3tan2x−1)=0do not divide by tanx: that loses rootstanx=0ortanx=±31x=0,πorx=6π,65π
Figure 5 confirms the four solutions. At x=2π, y=tan2x passes through zero while 3tanx has an asymptote. So 2π is not a solution.
Figure 5 · Solutions of tan 2x = 3 tan x on 0 ≤ x ≤ π
On Paper 2 the same algebra often ends with a non-exact angle. Solve for the whole compound angle first, list every value in the widened interval, and only then subtract. Section 10 and Q4 work that way.
9Proving identities and building multiple angles
A "show that" is a proof, and every line counts. Start from the more complicated side and work towards the other. Do not move terms across the identity sign.
Worked example 11 (Paper 1). Show that cosx+sinxcosx−sinx≡cos2x1−sin2x.
RHS=cos2x−sin2xcos2x+sin2x−2sinxcosx=(cosx−sinx)(cosx+sinx)(cosx−sinx)2=cosx+sinxcosx−sinx=LHS1=cos2+sin2; the two double anglesperfect square; difference of two squares
Triple angles. Write 3θ=2θ+θ. Expand with the compound identity, then use the double angle identities. The skill is choosing the form of cos2θ that leaves the variable you want. The results to know how to reach:
sin3θ=3sinθ−4sin3θ and cos3θ=4cos3θ−3cosθ
Worked example 12 (Paper 1). Show that tan3θ≡1−3tan2θ3tanθ−tan3θ.
tan3θ=tan(2θ+θ)=1−tan2θtanθtan2θ+tanθ=1−1−t22t21−t22t+t,t=tanθ=(1−t2)−2t22t+t(1−t2)=1−3t23t−t3double angle identity for tanmultiply top and bottom by 1−t2
For the sine version, expand sin2θcosθ+cos2θsinθ. Use cos2θ=1−2sin2θ, then cos2θ=1−sin2θ (Q3). The cosine version uses cos2θ=2cos2θ−1.
Paper 3 often asks you to conjecture a general result from a few cases, then prove it with these identities or by induction. Test the conjecture on an easy value such as θ=0, then spend your effort on the proof.
10Two waves in one: asinx+bcosx
Sections 10 and 11 go beyond the guide's wording. They apply the identities, and exam questions (Paper 3 above all) build them step by step.
Reading the sine identity backwards turns a sum of a sine and a cosine into a single wave (the last line of section 4 was a case). For a>0 and b>0, let R=a2+b2. Pick an acute angle α with cosα=Ra and sinα=Rb, so tanα=ab. Then
Rsin(x+α) is one sine wave: amplitude R, period 2π, extremes ±R.
A Paper 3 question may use the cosine form. cosθ=Rb and sinθ=Ra give asinx+bcosx=Rcos(x−θ), with tanθ=ba.
If a coefficient is negative, or the question names another form such as Rsin(x−α), expand the target form and match coefficients: Rsin(x−α)=Rcosαsinx−Rsinαcosx.
Square and add for R.
Divide for tanα.
Let the signs of Rcosα and Rsinα fix the quadrant of α.
Worked example 13 (Paper 2). Write 5sinx−2cosx in the form Rsin(x−α) with R>0 and α acute, then solve 5sinx−2cosx=3 for 0≤x≤2π.
Rsin(x−α)=Rcosαsinx−Rsinαcosx,Rcosα=5,Rsinα=2match the coefficientsR=25+4=29,tanα=52,α=0.380529sin(x−0.3805)=3,sin(x−0.3805)=0.5571−0.3805≤x−0.3805≤5.903widen the interval firstx−0.3805=0.5909orπ−0.5909=2.5507x=0.971orx=2.93
The maximum is 29≈5.39, so 5sinx−2cosx=6 has no solution.
11More from the tangent identity: inverse tangents, lines, triangles
Each of these names the quantities as angles, then takes the tangent of their sum or difference.
Adding inverse tangents. Let α=arctanp and β=arctanq with p,q>0, so tanα=p and tanβ=q. Then
tan(α+β)=1−pqp+q
If pq<1, then α+β is between 0 and 2π, inside the range of arctan. So arctanp+arctanq=arctan1−pqp+q.
If pq>1, the sum lies between 2π and π and the fraction is negative. Add π to its arctan.
If pq=1, the sum is exactly 2π.
Worked example 14 (Paper 1). Find the exact value of arctan52+arctan73 and of arctan3+arctan4.
tan(arctan52+arctan73)=1−35652+73=35293529=1arctan52+arctan73=4πpq=356<1: the sum is acutetan(arctan3+arctan4)=1−127=−117arctan3+arctan4=π−arctan117pq=12>1: the sum is obtuse, so not −arctan117
The angle between two lines
A line of gradient m makes an angle α with the positive x-axis where tanα=m. For gradients m1 and m2, the angle between the lines is the difference of two such angles, so
tanθ=1+m1m2m1−m2
The modulus gives the acute angle. Example: for gradients 3 and −21, tanθ=1−233+21=7, so θ=81.9∘. Without the modulus the fraction is −7, the obtuse angle 98.1∘.
When m1m2=−1, the denominator is zero and the tangent is undefined. The lines are perpendicular, the familiar test.
Angles of a triangle
If A+B+C=π then tanC=−tan(A+B).
This rearranges to tanA+tanB+tanC=tanAtanBtanC. Q8 uses it.
Practice questions
31 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.