Resources For Teachers For Tutors For Students & Parents AI New Books Pricing
Year 11 (2026) Maths Extension 1 (2026) Further Trigonometry

Sums And Differences of 2 Angles

20 practice questions 1 video lesson Theory + worked examples
Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Sums And Differences of 2 Angles - Video - Angle sum and difference indentities Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The sum and difference formulas expand \(\sin(A\pm B)\), \(\cos(A\pm B)\) and \(\tan(A\pm B)\). This Year 11 Mathematics Extension 1 page shows how to use these compound angle formulas to find exact values such as \(\tan15^\circ\), to simplify an expansion back to a single ratio, to find \(\sin(A-B)\) and \(\cos(A+B)\) from given ratios using the quadrant, and to show results such as \(A+B=\dfrac{3\pi}{4}\).

A compound angle is a sum or difference of two angles, such as \(A+B\) or \(A-B\). The sum and difference formulas (also called the compound angle formulas) expand \(\sin(A\pm B)\), \(\cos(A\pm B)\) and \(\tan(A\pm B)\) in terms of the ratios of \(A\) and \(B\).

A trigonometric ratio does not distribute over a sum: \(\sin(A+B)\neq\sin A+\sin B\). For example, \(\sin(30^\circ+60^\circ)=\sin90^\circ=1\), but \(\sin30^\circ+\sin60^\circ=\dfrac{1+\sqrt3}{2}\).

The formulas are used in four ways:

  1. Exact values: write an angle such as \(15^\circ\) or \(75^\circ\) as a sum or difference of \(30^\circ\), \(45^\circ\) and \(60^\circ\), then expand.
  2. Simplifying: recognise an expansion and write it back as one ratio, for example \(\cos3\theta\cos\theta+\sin3\theta\sin\theta=\cos(3\theta-\theta)=\cos2\theta\).
  3. Given ratios: from \(\sin A\) and \(\cos B\), find the other ratios with a Pythagorean triad and the quadrant, then substitute.
  4. Showing results: expand a compound angle such as \(\tan(A+B)\) to prove a relationship.

The quadrant decides the sign. For an obtuse angle, \(\sin\) is positive and \(\cos\) and \(\tan\) are negative.

Exact-value trianglesLeft: right isosceles triangle with legs 1 and 1, hypotenuse root 2 and two 45 degree angles. Right: half an equilateral triangle with sides 1, root 3 and 2 and angles 30 and 60 degrees. 45° 45° 1 1 √2 60° 30° 1 √3 2
The exact values come from these two triangles: \(\sin45^\circ=\cos45^\circ=\dfrac{1}{\sqrt2}\), \(\sin30^\circ=\dfrac12\), \(\cos30^\circ=\dfrac{\sqrt3}{2}\), \(\tan30^\circ=\dfrac{1}{\sqrt3}\), \(\tan60^\circ=\sqrt3\).
Obtuse angle A in the second quadrantCircle of radius 13 centred at the origin. The obtuse angle A ends at the point (-12, 5) in the second quadrant. The reference triangle has sides 5, 12 and 13, so sin A = 5/13 and cos A = -12/13. The quadrants are labelled S, A, T, C to show where each ratio is positive. x y (−12, 5) 13 5 12 A S A T C
If \(\sin A=\dfrac{5}{13}\) and \(A\) is obtuse, the \((5,12,13)\) triad gives the sizes and the second quadrant gives the signs: \(\cos A=-\dfrac{12}{13}\), \(\tan A=-\dfrac{5}{12}\).

The six sum and difference formulas:

\[\sin(A+B)=\sin A\cos B+\cos A\sin B\]
sin of A plus B equals sin A cos B plus cos A sin B
\[\sin(A-B)=\sin A\cos B-\cos A\sin B\]
sin of A minus B equals sin A cos B minus cos A sin B
\[\cos(A+B)=\cos A\cos B-\sin A\sin B\]
cos of A plus B equals cos A cos B minus sin A sin B
\[\cos(A-B)=\cos A\cos B+\sin A\sin B\]
cos of A minus B equals cos A cos B plus sin A sin B
\[\tan(A+B)=\dfrac{\tan A+\tan B}{1-\tan A\tan B}\qquad\tan(A-B)=\dfrac{\tan A-\tan B}{1+\tan A\tan B}\]
tan of A plus B equals tan A plus tan B over 1 minus tan A tan B; tan of A minus B equals tan A minus tan B over 1 plus tan A tan B

Taking the reciprocal of \(\tan(A+B)\) gives

\[\cot(A+B)=\dfrac{1-\tan A\tan B}{\tan A+\tan B}\]
cot of A plus B equals 1 minus tan A tan B over tan A plus tan B
Reading the signs. \(\sin\) keeps the sign of the bracket and mixes the ratios (\(\sin\cos\), \(\cos\sin\)). \(\cos\) changes the sign and pairs like with like (\(\cos\cos\), \(\sin\sin\)). In \(\tan\), the top keeps the sign and the bottom changes it.
Where the tan formula comes from. Write \(\tan(A+B)\) as \(\dfrac{\sin(A+B)}{\cos(A+B)}\), expand the top and the bottom, then divide every term by \(\cos A\cos B\), so that each quotient such as \(\dfrac{\sin A\cos B}{\cos A\cos B}\) becomes \(\tan A\). This needs \(\cos A\cos B\neq0\).
Related angles. An angle bigger than \(90^\circ\) can be reduced first: \(\cos(180^\circ-\theta)=-\cos\theta\), \(\sin(180^\circ-\theta)=\sin\theta\), \(\tan(180^\circ-\theta)=-\tan\theta\), \(\sin(180^\circ+\theta)=-\sin\theta\). For example \(\tan165^\circ=-\tan15^\circ\). In a triangle the three angles add to \(180^\circ\), so the sum of two of them is \(180^\circ\) minus the third.
Multiple angles. \(3\theta\) can be written as \(2\theta+\theta\) and expanded with these formulas. The double angle formulas then replace \(\sin2\theta\), \(\cos2\theta\) or \(\tan2\theta\).

Finding an exact value

  1. Split the angle into two angles with known exact values: \(75^\circ=45^\circ+30^\circ\), \(15^\circ=45^\circ-30^\circ\), \(\dfrac{\pi}{12}=\dfrac{\pi}{3}-\dfrac{\pi}{4}\).
  2. Expand with the matching formula.
  3. Substitute the exact values and simplify. Clear any fractions inside a fraction, then rationalise the denominator (multiply by a conjugate such as \(\dfrac{\sqrt3-1}{\sqrt3-1}\) when the denominator is \(\sqrt3+1\)).

Simplifying an expression

  1. Match the pattern: two products joined by \(+\) or \(-\) are an expansion of \(\sin\) or \(\cos\); a fraction with \(\tan\) is a \(\tan\) expansion (or its reciprocal, \(\cot\)).
  2. Read off \(A\) and \(B\), keeping their order for a difference.
  3. Collapse it to one ratio and simplify the angle.

Given one ratio of each angle

  1. Draw a right-angled triangle (or use a triad such as \(3,4,5\) or \(5,12,13\)) for the missing ratio.
  2. Attach the sign from the quadrant of each angle.
  3. Substitute into the expansion and simplify the fraction.
Example 1 — Exact values
Find the exact value of:
(i) \(\tan15^\circ\)
(ii) \(\tan165^\circ\)
(iii) \(\dfrac{\tan70^\circ-\tan25^\circ}{1+\tan70^\circ\tan25^\circ}\)
Solution

(i) Write \(15^\circ=45^\circ-30^\circ\):

\(\tan15^\circ\)\(=\)\(\tan(45^\circ-30^\circ)\)
\(\)\(=\)\(\dfrac{\tan45^\circ-\tan30^\circ}{1+\tan45^\circ\tan30^\circ}\)
\(\)\(=\)\(\dfrac{1-\dfrac{1}{\sqrt3}}{1+1\times\dfrac{1}{\sqrt3}}\)
tan 15 degrees equals tan 45 minus tan 30 over 1 plus tan 45 tan 30 equals 1 minus 1 over root 3, over 1 plus 1 over root 3

Multiply the top and bottom by \(\sqrt3\), then rationalise:

\(\)\(=\)\(\dfrac{\sqrt3-1}{\sqrt3+1}\times\dfrac{\sqrt3-1}{\sqrt3-1}\)
\(\)\(=\)\(\dfrac{3-2\sqrt3+1}{3-1}\)
\(\)\(=\)\(\dfrac{4-2\sqrt3}{2}\)
\(\)\(=\)\(\mathbf{2-\sqrt3}\)
equals root 3 minus 1 over root 3 plus 1, which rationalises to 4 minus 2 root 3 over 2, equal to 2 minus root 3

(ii) \(165^\circ\) is obtuse, and \(\tan(180^\circ-\theta)=-\tan\theta\):

\(\tan165^\circ\)\(=\)\(\tan(180^\circ-15^\circ)\)
\(\)\(=\)\(-\tan15^\circ\)
\(\)\(=\)\(-(2-\sqrt3)\)
\(\)\(=\)\(\mathbf{\sqrt3-2}\)
tan 165 degrees equals minus tan 15 degrees equals root 3 minus 2

(iii) This is the expansion of \(\tan(A-B)\) with \(A=70^\circ\), \(B=25^\circ\):

\(\dfrac{\tan70^\circ-\tan25^\circ}{1+\tan70^\circ\tan25^\circ}\)\(=\)\(\tan(70^\circ-25^\circ)\)
\(\)\(=\)\(\tan45^\circ\)
\(\)\(=\)\(\mathbf{1}\)
the expression equals tan of 70 minus 25 degrees, which is tan 45 degrees, equal to 1
Example 2 — Recognising an expansion
Simplify:
(i) \(\sin5x\cos2x-\cos5x\sin2x\)
(ii) \(\cos(x+y)\cos y+\sin(x+y)\sin y\)
(iii) \(\dfrac{1-\tan50^\circ\tan10^\circ}{\tan50^\circ+\tan10^\circ}\), giving an exact value
Solution

(i) \(\sin A\cos B-\cos A\sin B=\sin(A-B)\) with \(A=5x\), \(B=2x\):

\(\sin5x\cos2x-\cos5x\sin2x\)\(=\)\(\sin(5x-2x)\)
\(\)\(=\)\(\sin3x\)
equals sin of 5x minus 2x, which is sin 3x

(ii) \(\cos A\cos B+\sin A\sin B=\cos(A-B)\) with \(A=x+y\), \(B=y\):

\(\cos(x+y)\cos y+\sin(x+y)\sin y\)\(=\)\(\cos\big((x+y)-y\big)\)
\(\)\(=\)\(\cos x\)
equals cos of x plus y minus y, which is cos x

(iii) The reciprocal of \(\tan(A+B)\) is \(\cot(A+B)=\dfrac{1-\tan A\tan B}{\tan A+\tan B}\):

\(\dfrac{1-\tan50^\circ\tan10^\circ}{\tan50^\circ+\tan10^\circ}\)\(=\)\(\cot(50^\circ+10^\circ)\)
\(\)\(=\)\(\cot60^\circ\)
\(\)\(=\)\(\mathbf{\dfrac{1}{\sqrt3}}\)
equals cot of 60 degrees, which is 1 over root 3
Example 3 — Given ratios and quadrants
If \(\sin A=\dfrac{5}{13}\), where \(A\) is obtuse, and \(\cos B=\dfrac35\), where \(B\) is acute, find the exact value of:
(i) \(\sin(A-B)\)
(ii) \(\cos(A+B)\)
(iii) \(\tan(A+B)\)
Solution

Find the missing ratios first. \(A\) is obtuse, so \(\cos A\lt 0\). The \((5,12,13)\) triad gives \(\cos A=-\dfrac{12}{13}\) and \(\tan A=-\dfrac{5}{12}\).

\(B\) is acute. The \((3,4,5)\) triad gives \(\sin B=\dfrac45\) and \(\tan B=\dfrac43\).

(i)

\(\sin(A-B)\)\(=\)\(\sin A\cos B-\cos A\sin B\)
\(\)\(=\)\(\dfrac{5}{13}\times\dfrac35-\left(-\dfrac{12}{13}\right)\times\dfrac45\)
\(\)\(=\)\(\dfrac{15+48}{65}\)
\(\)\(=\)\(\mathbf{\dfrac{63}{65}}\)
sin of A minus B equals 15 plus 48 over 65 equals 63 over 65

(ii)

\(\cos(A+B)\)\(=\)\(\cos A\cos B-\sin A\sin B\)
\(\)\(=\)\(-\dfrac{12}{13}\times\dfrac35-\dfrac{5}{13}\times\dfrac45\)
\(\)\(=\)\(\dfrac{-36-20}{65}\)
\(\)\(=\)\(\mathbf{-\dfrac{56}{65}}\)
cos of A plus B equals minus 36 minus 20 over 65 equals minus 56 over 65

(iii) Work out the top and the bottom of the \(\tan\) formula separately:

\(\tan A+\tan B\)\(=\)\(-\dfrac{5}{12}+\dfrac43=\dfrac{11}{12}\)
\(1-\tan A\tan B\)\(=\)\(1-\left(-\dfrac{5}{12}\right)\times\dfrac43=\dfrac{14}{9}\)
tan A plus tan B equals 11 over 12; 1 minus tan A tan B equals 14 over 9
\(\tan(A+B)\)\(=\)\(\dfrac{\tan A+\tan B}{1-\tan A\tan B}\)
\(\)\(=\)\(\dfrac{11}{12}\div\dfrac{14}{9}\)
\(\)\(=\)\(\dfrac{11}{12}\times\dfrac{9}{14}\)
\(\)\(=\)\(\mathbf{\dfrac{33}{56}}\)
tan of A plus B equals 11 over 12 divided by 14 over 9 equals 33 over 56
Example 4 — Showing a sum of angles
\(A\) and \(B\) are acute angles with \(\tan A=2\) and \(\tan B=3\).
(i) Find the exact value of \(\tan(A+B)\).
(ii) Hence show that \(A+B=\dfrac{3\pi}{4}\).
Solution

(i)

\(\tan(A+B)\)\(=\)\(\dfrac{\tan A+\tan B}{1-\tan A\tan B}\)
\(\)\(=\)\(\dfrac{2+3}{1-2\times3}\)
\(\)\(=\)\(\dfrac{5}{-5}\)
\(\)\(=\)\(\mathbf{-1}\)
tan of A plus B equals 2 plus 3 over 1 minus 6 equals minus 1

(ii) \(A\) and \(B\) are acute, so \(0\lt A+B\lt \pi\).

\(\tan(A+B)\lt 0\), so \(A+B\) is in the second quadrant: \(\dfrac{\pi}{2}\lt A+B\lt \pi\).

In this interval \(\tan(A+B)=-1\) only when \(A+B=\pi-\dfrac{\pi}{4}=\dfrac{3\pi}{4}\).

\(\therefore A+B=\dfrac{3\pi}{4}\)

Check: \(\tan^{-1}2+\tan^{-1}3\approx1.107+1.249=2.356\approx\dfrac{3\pi}{4}\).

Common pitfalls

A ratio does not split over a sum. \(\cos(A+B)\) is not \(\cos A+\cos B\). Always use the expansion.
The cos formula changes the sign. \(\cos(A+B)\) has a minus sign in its expansion and \(\cos(A-B)\) has a plus sign. In \(\tan(A+B)\) the denominator is \(1-\tan A\tan B\).
Take the sign from the quadrant. If \(A\) is obtuse, \(\cos A\) and \(\tan A\) are negative. A triad gives only the sizes of the ratios; the quadrant gives their signs.
Keep the order in a difference. \(\sin A\cos B-\cos A\sin B=\sin(A-B)\), but \(\cos A\sin B-\sin A\cos B=\sin(B-A)=-\sin(A-B)\). In a \(\sin\) expansion, the angle whose sine is written first is \(A\).
Check the interval before naming an angle. \(\tan\theta=1\) has many solutions. State the possible range of \(A+B\) first (for acute \(A\) and \(B\), \(0\lt A+B\lt \pi\)), then choose the one value in it.

Frequently asked questions

What are the sum and difference formulas in trigonometry?

They expand a compound angle: \(\sin(A\pm B)=\sin A\cos B\pm\cos A\sin B\), \(\cos(A\pm B)=\cos A\cos B\mp\sin A\sin B\) and \(\tan(A\pm B)=\dfrac{\tan A\pm\tan B}{1\mp\tan A\tan B}\).

How do you find the exact value of tan 15 degrees?

Write \(15^\circ=45^\circ-30^\circ\) and use \(\tan(A-B)=\dfrac{\tan A-\tan B}{1+\tan A\tan B}\): \(\dfrac{1-\dfrac{1}{\sqrt3}}{1+\dfrac{1}{\sqrt3}}=\dfrac{\sqrt3-1}{\sqrt3+1}=2-\sqrt3\) after rationalising.

Is sin(A+B) equal to sin A + sin B?

No. For example \(\sin(30^\circ+60^\circ)=1\), but \(\sin30^\circ+\sin60^\circ\approx1.37\). Use \(\sin(A+B)=\sin A\cos B+\cos A\sin B\).

How do you remember the signs in the cos compound angle formula?

The cos formula changes the sign: \(\cos(A+B)\) has a minus and \(\cos(A-B)\) has a plus. It also pairs like ratios: \(\cos\cos\) and \(\sin\sin\).

How do you find cos(A+B) given sin A and cos B?

Find \(\cos A\) and \(\sin B\) from a right-angled triangle or a Pythagorean triad, give each the sign of its quadrant, then substitute into \(\cos A\cos B-\sin A\sin B\).

How do you derive the tan(A+B) formula?

Write \(\tan(A+B)=\dfrac{\sin(A+B)}{\cos(A+B)}\), expand the top and bottom, then divide every term by \(\cos A\cos B\).