• Foundation
  • About 20 min
  • 5 practice questions

Sum and difference formulas and allied angles

Derive cos(x + y) from the unit circle, obtain the other sum and difference formulas from it, use them for allied angles such as π − x and π/2 + x, and find exact values such as sin 75° and tan 15°.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Follow the unit-circle proof of cos(x + y) = cos x cos y − sin x sin y.
  • Derive cos(x − y), sin(x ± y), tan(x ± y) and cot(x ± y) from it.
  • Use the allied-angle results for π/2 ± x, π ± x and 2π − x.
  • Find exact values of angles such as 15°, 75° and 105°, and prove simple identities.

The value of sin 75° cannot be read from a table of standard angles, but 75° = 45° + 30° can. The sum and difference formulas express trigonometric functions of x + y and x − y in terms of functions of x and y. Everything else in this chapter, including the double-angle and sum-to-product formulas, grows out of them.

Proof of cos(x + y)

Take the unit circle with centre O. Let P₄ = (1, 0), let P₁ be reached by the angle x, P₂ by the angle x + y, and P₃ by the angle −y. Then P₁ = (cos x, sin x), P₂ = (cos(x + y), sin(x + y)), P₃ = (cos y, −sin y) and P₄ = (1, 0). The angle P₁OP₃ is x + y and so is the angle P₄OP₂, and the sides from O all have length 1, so triangles P₁OP₃ and P₂OP₄ are congruent and P₁P₃ = P₂P₄.

  1. By the distance formula, P₁P₃² = (cos x − cos y)² + (sin x + sin y)² = (cos²x + sin²x) + (cos²y + sin²y) − 2cos x cos y + 2sin x sin y = 2 − 2(cos x cos y − sin x sin y).
  2. Similarly, P₂P₄² = (1 − cos(x + y))² + sin²(x + y) = 1 − 2cos(x + y) + 1 = 2 − 2cos(x + y).
  3. Equating the two: 2 − 2cos(x + y) = 2 − 2(cos x cos y − sin x sin y), so cos(x + y) = cos x cos y − sin x sin y.

The other formulas follow

  • Replace y by −y: cos(x − y) = cos x cos y + sin x sin y.
  • Put x = π/2 in cos(x − y): cos(π/2 − y) = sin y. Then sin(π/2 − y) = cos(π/2 − (π/2 − y)) = cos y.
  • sin(x + y) = cos(π/2 − (x + y)) = cos((π/2 − x) − y) = cos(π/2 − x)cos y + sin(π/2 − x)sin y, so sin(x + y) = sin x cos y + cos x sin y.
  • Replace y by −y: sin(x − y) = sin x cos y − cos x sin y.
  • tan(x + y) = sin(x + y)/cos(x + y); divide top and bottom by cos x cos y: tan(x + y) = (tan x + tan y)/(1 − tan x tan y), valid when none of x, y, x + y is an odd multiple of π/2.
  • Similarly tan(x − y) = (tan x − tan y)/(1 + tan x tan y), cot(x + y) = (cot x cot y − 1)/(cot y + cot x) and cot(x − y) = (cot x cot y + 1)/(cot y − cot x), when no angle involved is a multiple of π.

sin(x ± y) = sin x cos y ± cos x sin y; cos(x ± y) = cos x cos y ∓ sin x sin y; tan(x ± y) = (tan x ± tan y)/(1 ∓ tan x tan y).

— Sum and difference formulas

Allied angles

Choosing x or y to be π/2, π or 2π gives the results for allied angles. For example sin(π − x) = sin π cos x − cos π sin x = 0 + sin x = sin x.

Allied-angle results (tan follows by division; for example tan(π + x) = tan x)
Anglesincos
π/2 − xcos xsin x
π/2 + xcos x−sin x
π − xsin x−cos x
π + x−sin x−cos x
2π − x−sin xcos x

Evaluating sin, cos or tan of any angle

  1. Remove whole periods Subtract multiples of 2π (or π for tan).
  2. Write it as an allied angle π − x, π + x or 2π − x with x acute.
  3. Fix the sign Use the quadrant of the original angle.
  4. Use the standard value From the table for π/6, π/4, π/3.

Worked example 1: exact values

sin 75° = sin(45° + 30°) = sin 45° cos 30° + cos 45° sin 30° = (1/√2)(√3/2) + (1/√2)(1/2) = (√3 + 1)/(2√2). Next, tan 15° = tan(45° − 30°) = (1 − 1/√3)/(1 + 1/√3) = (√3 − 1)/(√3 + 1). Multiplying top and bottom by (√3 − 1) gives (3 − 2√3 + 1)/(3 − 1) = 2 − √3. Finally cos 105° = cos(60° + 45°) = (1/2)(1/√2) − (√3/2)(1/√2) = (1 − √3)/(2√2), which is negative, as it should be in quadrant II.

Worked example 2: allied angles

(i) cos 150° = cos(180° − 30°) = −cos 30° = −√3/2. (ii) sin(4π/3) = sin(π + π/3) = −sin(π/3) = −√3/2. (iii) tan(11π/6) = tan(2π − π/6) = −tan(π/6) = −1/√3.

Worked example 3: sin(x + y) from given values

If sin x = 3/5 and cos y = 5/13, where x and y are acute, find sin(x + y) and cos(x + y). Working: cos x = √(1 − 9/25) = 4/5 and sin y = √(1 − 25/169) = 12/13, both positive since the angles are acute. Then sin(x + y) = (3/5)(5/13) + (4/5)(12/13) = 15/65 + 48/65 = 63/65, and cos(x + y) = (4/5)(5/13) − (3/5)(12/13) = 20/65 − 36/65 = −16/65. The negative cosine shows that x + y is more than 90°.

Worked example 4: proving an identity

Prove that sin(x + y) sin(x − y) = sin²x − sin²y. Working: LHS = (sin x cos y + cos x sin y)(sin x cos y − cos x sin y) = sin²x cos²y − cos²x sin²y. Replace cos²y by 1 − sin²y and cos²x by 1 − sin²x: sin²x − sin²x sin²y − sin²y + sin²x sin²y = sin²x − sin²y = RHS.

Worked example 5: tan(π/4 + x)

tan(π/4 + x) = (tan(π/4) + tan x)/(1 − tan(π/4) tan x) = (1 + tan x)/(1 − tan x), since tan(π/4) = 1.

Key takeaways: prove cos(x + y) once from the unit circle, and every other sum and difference formula follows by replacing y with −y or using π/2 − x. Allied angles are special cases. To find exact values, split the angle into standard angles; to find sin(x + y) from given values, first find the missing sines and cosines with the correct signs.

Check your understanding

  1. 1. What is the exact value of cos 15°?

    1. (√3 − 1)/(2√2)
    2. (√3 + 1)/(2√2)
    3. (1 − √3)/(2√2)
    4. √3/2
    Show answer

    Answer: B. cos 15° = cos(45° − 30°) = cos 45° cos 30° + sin 45° sin 30° = (1/√2)(√3/2) + (1/√2)(1/2) = (√3 + 1)/(2√2). The value (√3 − 1)/(2√2) is sin 15°.

  2. 2. What is sin(π + x) equal to?

    1. sin x
    2. cos x
    3. −sin x
    4. −cos x
    Show answer

    Answer: C. sin(π + x) = sin π cos x + cos π sin x = 0 × cos x + (−1) sin x = −sin x.

  3. 3. If tan A = 1/2 and tan B = 1/3, what is tan(A + B)?

    1. 1
    2. 5/6
    3. 1/6
    4. 5/7
    Show answer

    Answer: A. tan(A + B) = (1/2 + 1/3)/(1 − 1/2 × 1/3) = (5/6)/(5/6) = 1. So A + B = π/4 when A and B are acute.

  4. 4. What is the value of tan 75°?

    1. 2 − √3
    2. √3 − 1
    3. 1/√3
    4. 2 + √3
    Show answer

    Answer: D. tan 75° = tan(45° + 30°) = (1 + 1/√3)/(1 − 1/√3) = (√3 + 1)/(√3 − 1). Multiplying top and bottom by (√3 + 1): (4 + 2√3)/2 = 2 + √3.

  5. 5. If sin x = 4/5 and cos y = −5/13, with x and y both in the second quadrant, what is sin(x + y)?

    1. −56/65
    2. 56/65
    3. −16/65
    4. 16/65
    Show answer

    Answer: A. In quadrant II cosine is negative and sine positive: cos x = −3/5 and sin y = 12/13. Then sin(x + y) = (4/5)(−5/13) + (−3/5)(12/13) = −20/65 − 36/65 = −56/65.

Privacy · Terms · Refunds · Delivery