Compound-Angle Formulae

Set A and B in degrees, or the way an exam sets them, by one function's value and a quadrant, and choose A + B or A − B. The picture reaches P in two walks, cos B along the turned axis and ±sin B across it; the table works the three formulae, and works the sine and cosine exactly in surds when A and B are whole multiples of 15°, the tangent too when the tangents involved exist.

Sine
Cosine, opposite sign
Tangent
Loading interactive simulation...

Lesson

The theory — Compound-Angle Formulae

The compound-angle formulae give the sine, cosine and tangent of A + B and of A − B from the sines and cosines of A and B.

Where the formula comes from

  1. Turn the axes through A. The turned x-axis points along (cos A, sin A) and the turned y-axis along (−sin A, cos A). Measured in the turned frame P is at angle B, so it lies cos B along the first and sin B along the second.
  2. Read off P's coordinates. From the real x-axis P is at angle A + B, so its coordinates are cos(A + B) and sin(A + B). Each is two products: the orange legs across, the blue legs up.
  3. Replace B by −B. cos(−B) = cos B and sin(−B) = −sin B, so only the terms carrying sin B change sign.
  4. Divide the sine by the cosine. Dividing every term by cos A cos B turns the quotients into tangents and leaves a 1, which needs cos A and cos B to be non-zero.

Problems solved in full

  1. An exact value from a sum of special angles 2 steps

    Find the exact value of sin 75°.

    Open this problem in the tool

    1. 75° = 45° + 30°, and both have exact sines and cosines. Expand:

    2. Substitute, and put both terms over 4:

    Answer

    sin 75° = (√6 + √2)/4 ≈ 0.9659.

  2. An exact tangent from a difference 2 steps

    Find tan 15° exactly, in the form a + b√3.

    Open this problem in the tool

    Show solution
    1. 15° = 60° − 45°, with tan 60° = √3 and tan 45° = 1:

    2. Rationalise by multiplying top and bottom by √3 − 1:

    Answer

    tan 15° = 2 − √3 ≈ 0.2679.

  3. A sine and a cosine in two quadrants 3 steps

    sin A = 4/5 with A obtuse, and cos B = −5/13 with 180° < B < 270°. Find sin(A + B), cos(A + B) and tan(A + B), and the quadrant of A + B.

    Open this problem in the tool

    Show solution
    1. First the two missing values, each from sin² + cos² = 1 with its quadrant's sign: cosine is negative in quadrant II and sine is negative in quadrant III.

    2. Then the sum formulae:

    3. Both are positive. A + B lies between 270° and 450°, and with a positive sine and cosine it must be between 360° and 450°, which is quadrant I. Its tangent is the quotient:

    Answer

    sin(A + B) = 16/65 ≈ 0.2462, cos(A + B) = 63/65 ≈ 0.9692, tan(A + B) = 16/63 ≈ 0.254, and A + B is in quadrant I.

  4. An angle sum from two tangents 2 steps

    tan A = 1/2 and tan B = 1/3, with A and B acute. Find A + B without a calculator.

    Open this problem in the tool

    Show solution
    1. Put the two tangents into the formula:

    2. Both tangents are below 1, so A and B are each under 45° and A + B is between 0° and 90°. The only angle there with tangent 1 is 45°.

    Answer

    A + B = 45°, though A ≈ 26.5651° and B ≈ 18.4349° are not special angles.

  5. When tan(A + B) has no value 3 steps

    tan A = 2 and tan B = 1/2, with A and B acute. What happens to tan(A + B), and what is A + B?

    Open this problem in the tool

    Show solution
    1. The formula's denominator is zero:

    2. That denominator is cos(A + B)/(cos A cos B), and cos A cos B is not zero, so

    3. A + B is between 0° and 180°, and the only angle there with cosine 0 is 90°:

    Answer

    tan(A + B) is undefined, because A + B = 90°. For acute A and B, tan A tan B = 1 always means the two angles add to 90°.

  6. Back into one compound angle 2 steps

    Find the exact value of cos 80° cos 20° + sin 80° sin 20°.

    Open this problem in the tool

    Show solution
    1. cos · cos + sin · sin is the expansion of cos(A − B), here with A = 80° and B = 20°:

    2. and 80° − 20° = 60°:

    Answer

    cos 80° cos 20° + sin 80° sin 20° = cos 60° = 1/2.

  7. Proving an identity 3 steps

    Prove that sin(A + B) + sin(A − B) = 2 sin A cos B, and check it at A = 45°, B = 30°.

    Open this problem in the tool

    Show solution
    1. Expand both sines:

    2. The cos A sin B terms cancel:

    3. At 45° and 30° the left side is sin 75° + sin 15°, and the right side is 2 sin 45° cos 30°:

    Answer

    sin(A + B) + sin(A − B) = 2 sin A cos B for every A and B; at 45° and 30° both sides are √6/2 ≈ 1.2247.

  8. The double angle falls out 2 steps

    Put B = A in the sum formulae to find sin 2A and cos 2A, then evaluate both when sin A = 3/5 and A is obtuse.

    Open this problem in the tool

    Show solution
    1. With B = A the two products in the sine are equal, and the cosine becomes a difference of squares:

    2. A is obtuse, so cos A = −4/5:

    Answer

    sin 2A = −24/25 = −0.96 and cos 2A = 7/25 = 0.28. 2A ≈ 286.2602° is in quadrant IV, where sine is negative and cosine positive.

  9. An equation with a compound angle 3 steps

    Solve sin(x + 30°) = 2 cos x for 0° ≤ x < 360°.

    Open this problem in the tool

    Show solution
    1. Expand the left side:

    2. Gather the cos x terms on the right and divide by cos x. It cannot be 0: then the equation would say sin x = 0 as well, and no angle has both.

    3. Tangent repeats every 180°:

    Answer

    x = 60° or x = 240°. At 60° both sides are 1, and at 240° both are −1.

Supplementary problems, answers only

  1. Find the exact value of cos 105°.

    Show answer

    (√2 − √6)/4 ≈ −0.2588

  2. Find the exact value of tan 105°.

    Show answer

    −2 − √3 ≈ −3.7321

  3. sin A = 5/13 and cos B = 3/5, with A and B acute. Find cos(A − B).

    Show answer

    56/65 ≈ 0.8615

  4. Write sin 3x cos x − cos 3x sin x as a single trigonometric function.

    Show answer

    sin 2x

  5. tan A = 3 and tan B = 1/2, with A and B acute. Find A − B.

    Show answer

    A − B = 45°

  6. Solve cos(x − 60°) = sin x for 0° ≤ x < 360°.

    Show answer

    x = 75° or x = 255°

The formulae are a rotation, written out 🖖

Measured from the axis turned through A, the point P sits at angle B, so it is reached by walking cos B along that axis to Q and then sin B at right angles. Each walk splits into an across part and an up part. Across: cos A cos B, then sin A sin B back the other way. Up: sin A cos B, then cos A sin B. P's across is cos(A + B) and its up is sin(A + B). Nothing in it needs an acute angle, because the products carry their own signs: when a leg turns round, its product changes sign. Press sin A = 4/5, cos B = −5/13: A is obtuse, B is in quadrant III, Q lands on the turned axis behind O, and the same sums still land on P at (0.9692, 0.2462). In matrix language, (cos(A + B), sin(A + B)) is the rotation matrix of A applied to (cos B, sin B), so the two formulae and “a turn by A, then by B, is a turn by A + B” are one statement. Ptolemy, in the second century, worked with chords instead of sines; his rules for the chord of a sum and of a difference of arcs correspond to the two sine formulae, and he used them to build a table of chords at every half degree.

sin(A + B) is almost never sin A + sin B 🖖

Press sin 75° = sin(45° + 30°). sin 45° + sin 30° = 0.7071 + 0.5 = 1.2071, more than any sine can be, while sin 75° = 0.9659. The formula weights each sine by the other angle's cosine, and a cosine is at most 1 in size. The two agree only when A, B or A + B is a whole number of turns, because their difference factors exactly: sin A + sin B − sin(A + B) = 4 sin(A/2) sin(B/2) sin((A + B)/2). So the guess fails at almost every pair; at 120° and 240° it holds, because A + B = 360° and both sides are 0.

The tangent formula can fail where the tangent exists 🖖

Press A = 90°, B = 45°. tan 135° = −1, but the formula asks for tan 90°, which has no value, so the formula has none either. Nothing is wrong with the angle; the formula divided by cos A cos B on the way, and cos 90° = 0. Divide top and bottom by tan A wherever tan A exists and is not 0 and the formula becomes (1 + cot A tan B)/(cot A − tan B), a form that also has a value at 90°: cot 90° = 0, so it reads 1/(0 − 1) = −1. The other failure is real. Press tan A = 2, tan B = 1/2: the denominator 1 − tan A tan B is 0. That denominator equals cos(A + B)/(cos A cos B), so it vanishes exactly when cos(A + B) does, and here A + B = 90°, where tangent is undefined. For acute angles, tan A tan B = 1 means B = 90° − A.

Learning path

Trigonometric identities and equations

References (2)