cos ( A ± B ) = cos A cos B ∓ sin A sin B
On this page
Before you start
This page is easier if you are comfortable with:
What Compound angle: cosine means
The formula gives the cosine of a sum or difference. Note the sign change: for A + B there is a minus, for A − B there is a plus.
It is used to find exact values such as cos 1 5 ∘ = cos ( 4 5 ∘ − 3 0 ∘ ) .
Putting B = A gives the double angle formula for cosine. The sine version is compound angle: sine, and putting both angles equal gives the double angle: cosine.
This page is part of Trigonometric identities in Trigonometry . Topics that work alongside it: Compound angle: sine , Compound angle: tangent , Double angle: cosine (three forms) , Double angle: sine , Harmonic form: a cos x + b sin x and Properties of the sine, cosine and tangent graphs .
What is it used for? The compound angle formula cos(A + B) = cos A cos B − sin A sin B (and cos(A − B) with a plus) finds the cosine of a sum or difference of angles.
Finding exact values such as cos 75°. Proving other identities, including the double angle formulae . Writing a sin x + b cos x in harmonic form.
How to use compound angle: cosine
Write the angle as a sum or difference of known angles. Substitute into the formula, remembering the sign change. Use exact values. Simplify.
Graph cos(x − π/3) and cos x cos(π/3) + sin x sin(π/3) 0 1 2 3 4 5 6 -1.5 -1 -0.5 0 0.5 1 1.5 cos(x − π/3) and cos x cos(π/3) + sin x sin(π/3) x y cos(x − π/3) cos x cos(π/3) + sin x sin(π/3) Graph with x from 0 to 6.3 and y from -1.5 to 1.5. Shows the curve cos(x − π/3); the curve cos x cos(π/3) + sin x sin(π/3). The two expressions give one wave, shifted π/3 to the right of cos x.
Worked examples
These examples are worked by hand, step by step, so you can compare your own working.
Example 1: verify the formula Check that cos ( a − b ) = cos a cos b + sin a sin b numerically.
Worked example Answer checked
Answer
cos ( A − B ) = cos A cos B + sin A sin B \cos(A-B)=\cos A\cos B+\sin A\sin B cos ( A − B ) = cos A cos B + sin A sin B State the formula
cos ( A − B ) = cos A cos B + sin A sin B
Check numerically
Random values of the angles give equal sides.
Example 2: an exact value Find the exact value of cos 1 5 ∘ .
Worked example
Answer
6 + 2 4 \dfrac{\sqrt6+\sqrt2}{4} 4 6 + 2 Write 15° as 45° − 30°
cos 1 5 ∘ = cos ( 4 5 ∘ − 3 0 ∘ )
Use the formula
= cos 4 5 ∘ cos 3 0 ∘ + sin 4 5 ∘ sin 3 0 ∘
Substitute the exact values
Example 3: cos(A + B) Using the same values as above, find cos ( A + B ) .
Worked example
Answer
33 65 \dfrac{33}{65} 65 33 Use cos(A + B) = cos A cos B − sin A sin B
5 4 × 13 12 − 5 3 × 13 5
Evaluate
65 48 − 65 15 = 65 33
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
cos(60° + 30°) cos60cos30 − sin60sin30
0.
cos 15° = cos(45° − 30°) cos45cos30 + sin45sin30
0.9659.
cos A = 0.8, cos B = 12/13 (acute) cos(A + B)
0.5077.
same cos(A − B)
0.9692.
Word problems
cos(A ± B) = cos A cos B ∓ sin A sin B: the sign in the middle is the opposite of the sign between the angles.
cos 90° A = 60°, B = 30°.
0.5 × 0.866 − 0.866 × 0.5 Check: 0 ✓ 0
cos 15° A = 45°, B = 30°; plus sign in the middle.
0.6124 + 0.3536 Check: ✓ 0.9659
cos(A + B) Higher sin A = 0.6, sin B = 5/13.
9.6/13 − 3/13 Check: ✓ 0.5077
cos(A − B) Higher Same values.
9.6/13 + 3/13 Check: ✓ 0.9692
Common mistakes
cos(A + B) = cos A + cos B additive ✗
cos A cos B − sin A sin B ✓
Not linear.
Same sign in the middle cos(A + B) with + ✗
minus for A + B ✓
Opposite.
Using sin A cos B wrong pairs ✗
cos cos and sin sin ✓
Pairs.
Degrees vs radians mixed ✗
consistent ✓
Calculator mode.
Exam tips
cos(A + B) = cosAcosB − sinAsinB.
Opposite sign in the middle.
cos·cos, sin·sin.
Find the missing ratio by Pythagoras.
Check with exact values.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. cos 75° (cos(45° + 30°)), 4 dp Foundation 0.2588
2. cos 105° (60° + 45°), 4 dp Foundation -0.2588
3. cos(A + B): cos A = 0.6, sin A = 0.8, cos B = 0.8, sin B = 0.6 Foundation 0
4. cos(A − B): same Higher 0.96
5. cos(30° − 30°) Higher 1
6. cos(90° − 60°), 4 dp Higher 0.866
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Compound angle formula cos(A ± B). Cosine cos. Sine sin. Acute < 90°. Exact value Surd form. Double angle B = A.
Frequently asked questions
What is cos(A + B)? cos A cos B − sin A sin B.
What is cos(A − B)? cos A cos B + sin A sin B.
Is cos(A + B) = cos A + cos B? No.
What does B = A give? The double angle formula, see double angle cosine.
Which page covers sine? compound angle sine.
Which page covers tangent? compound angle tangent.