Skip to main content

Sum and difference identities for sin, cos and tan: expansions, simplifications and exact values

Syllabus dot point

“Use the sum and difference identities for sine, cosine and tangent to expand or simplify trigonometric expressions”

HSCMaths Extension 1Trigonometric Functions (ME-T1, T2, T3)15 min read

Quick answer

The sum and difference identities are sin⁡(A±B)=sin⁡Acos⁡B±cos⁡Asin⁡B\sin(A \pm B) = \sin A \cos B \pm \cos A \sin B, cos⁡(A±B)=cos⁡Acos⁡B∓sin⁡Asin⁡B\cos(A \pm B) = \cos A \cos B \mp \sin A \sin B (sign flips), and tan⁡(A±B)=tan⁡A±tan⁡B1∓tan⁡Atan⁡B\tan(A \pm B) = \frac{\tan A \pm \tan B}{1 \mp \tan A \tan B}; setting A=BA = B gives the double-angle formulas, and combining two standard angles gives exact values for non-standard angles like 15∘15^\circ and 75∘75^\circ.

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Exam-style questions

What this dot point is asking

NESA wants you to know the sum and difference identities for sine, cosine and tangent, use them to expand or simplify expressions, and use them to compute exact values for non-standard angles like 15∘15^\circ or 75∘75^\circ. These six formulas are the foundation of the whole trig-identities strand: the double-angle formulas, the half-angle formulas, the product-to-sum identities, the t-formula and the auxiliary-angle method are all consequences of them. The single feature that catches students is the sign flip in the cosine expansion (it goes the opposite way to the input sign), so that is the thing to lock down.

The answer

What "angle sum" means on the unit circle

The whole topic is about the angle A+BA + B. On the unit circle, an angle AA reaches a point with coordinates (cos⁡A,sin⁡A)(\cos A, \sin A).

Stage 1: start with angle AOn the unit circle, the angle A is measured from the positive x-axis to a radius, reaching a point whose coordinates are cosine A and sine A.A(cos A, sin A)

Adding a further angle BB swings the radius round to the point at angle A+BA + B, whose coordinates are cos⁡(A+B)\cos(A + B) and sin⁡(A+B)\sin(A + B).

Stage 2: add angle B to reach A plus BAdding the angle B on top of A swings the radius to the point at angle A plus B, whose coordinates cosine of A plus B and sine of A plus B are what the identities expand.AB(cos(A+B), sin(A+B))

The sum and difference identities are exactly the formulas that express those coordinates of the combined angle in terms of the sines and cosines of AA and BB separately. That is why they let you reach a "new" angle (75∘75^\circ) from angles you already know (45∘45^\circ and 30∘30^\circ).

The sum and difference identities

For sine,

sin⁡(A+B)=sin⁡Acos⁡B+cos⁡Asin⁡B,sin⁡(A−B)=sin⁡Acos⁡B−cos⁡Asin⁡B.\sin(A + B) = \sin A \cos B + \cos A \sin B, \qquad \sin(A - B) = \sin A \cos B - \cos A \sin B.

For cosine, note the sign flips relative to the input,

cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B,cos⁡(A−B)=cos⁡Acos⁡B+sin⁡Asin⁡B.\cos(A + B) = \cos A \cos B - \sin A \sin B, \qquad \cos(A - B) = \cos A \cos B + \sin A \sin B.

For tangent,

tan⁡(A+B)=tan⁡A+tan⁡B1−tan⁡Atan⁡B,tan⁡(A−B)=tan⁡A−tan⁡B1+tan⁡Atan⁡B.\tan(A + B) = \frac{\tan A + \tan B}{1 - \tan A \tan B}, \qquad \tan(A - B) = \frac{\tan A - \tan B}{1 + \tan A \tan B}.

The tangent denominator must be non-zero; if 1∓tan⁡Atan⁡B=01 \mp \tan A\tan B = 0 the formula is undefined and you fall back on sin⁡/cos⁡\sin/\cos.

Key fact

sin⁡(A±B)=sin⁡Acos⁡B±cos⁡Asin⁡B,\sin(A \pm B) = \sin A \cos B \pm \cos A \sin B,

cos⁡(A±B)=cos⁡Acos⁡B∓sin⁡Asin⁡B(sign flips),\cos(A \pm B) = \cos A \cos B \mp \sin A \sin B \quad (\text{sign flips}),

tan⁡(A±B)=tan⁡A±tan⁡B1∓tan⁡Atan⁡B.\tan(A \pm B) = \frac{\tan A \pm \tan B}{1 \mp \tan A \tan B}.

Sine "keeps" the sign and is symmetric in the two products; cosine "flips" the sign; tangent flips the sign in its denominator. Setting A=BA = B turns each into a double-angle formula.

Double-angle formulas: just set A=B=θA = B = \theta

The double-angle formulas are not separate facts to memorise; they are the sum formulas with B=AB = A:

sin⁡2θ=2sin⁡θcos⁡θ,\sin 2\theta = 2\sin\theta\cos\theta,

cos⁡2θ=cos⁡2θ−sin⁡2θ=1−2sin⁡2θ=2cos⁡2θ−1,\cos 2\theta = \cos^2\theta - \sin^2\theta = 1 - 2\sin^2\theta = 2\cos^2\theta - 1,

tan⁡2θ=2tan⁡θ1−tan⁡2θ.\tan 2\theta = \frac{2\tan\theta}{1 - \tan^2\theta}.

The three forms of cos⁡2θ\cos 2\theta come from substituting cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1; pick whichever form suits the next step (the 1−2sin⁡2θ1 - 2\sin^2\theta form is handy when you know sin⁡θ\sin\theta). Setting both angles equal to θ\theta is exactly the unit-circle picture of doubling an angle.

Double angle: theta and 2 thetaSetting A and B both equal to theta turns the angle sum into the double angle 2 theta, which is how the double-angle identities arise.θθangle 2θ

Half-angle formulas

Rearranging the cos⁡2θ\cos 2\theta forms gives the power-reduction identities, and hence the half-angle formulas:

sin⁡2θ=1−cos⁡2θ2,cos⁡2θ=1+cos⁡2θ2,\sin^2\theta = \frac{1 - \cos 2\theta}{2}, \qquad \cos^2\theta = \frac{1 + \cos 2\theta}{2},

sin⁡ϕ2=±1−cos⁡ϕ2,cos⁡ϕ2=±1+cos⁡ϕ2,\sin\frac{\phi}{2} = \pm\sqrt{\frac{1 - \cos\phi}{2}}, \qquad \cos\frac{\phi}{2} = \pm\sqrt{\frac{1 + \cos\phi}{2}},

with the sign chosen from the quadrant of ϕ2\frac{\phi}{2}. These give exact values such as cos⁡15∘\cos 15^\circ and feed directly into the t-formula.

Exact values for non-standard angles

The standard angles 0,30,45,60,90∘0, 30, 45, 60, 90^\circ have well-known exact values:

sin⁡30∘=12, cos⁡30∘=32, tan⁡30∘=13,sin⁡45∘=cos⁡45∘=22, tan⁡45∘=1,\sin 30^\circ = \tfrac{1}{2}, \ \cos 30^\circ = \tfrac{\sqrt{3}}{2}, \ \tan 30^\circ = \tfrac{1}{\sqrt{3}}, \qquad \sin 45^\circ = \cos 45^\circ = \tfrac{\sqrt{2}}{2}, \ \tan 45^\circ = 1,

sin⁡60∘=32, cos⁡60∘=12, tan⁡60∘=3.\sin 60^\circ = \tfrac{\sqrt{3}}{2}, \ \cos 60^\circ = \tfrac{1}{2}, \ \tan 60^\circ = \sqrt{3}.

Writing a non-standard angle as a sum or difference of two standard angles, 15∘=45∘−30∘15^\circ = 45^\circ - 30^\circ, 75∘=45∘+30∘75^\circ = 45^\circ + 30^\circ, 105∘=60∘+45∘105^\circ = 60^\circ + 45^\circ, then applying the matching identity, produces its exact value.

How exam questions ask about sum and difference identities

  • "Find the exact value of cos⁡75∘\cos 75^\circ / sin⁡15∘\sin 15^\circ / tan⁡105∘\tan 105^\circ": split into two standard angles, apply the right identity, simplify and rationalise.
  • "Given sin⁡α\sin\alpha and cos⁡β\cos\beta (with quadrants), find sin⁡(α+β)\sin(\alpha+\beta)": get the missing ratios by Pythagoras with correct signs, then substitute into the sum identity.
  • "Expand and simplify sin⁡(θ+π4)+sin⁡(θ−π4)\sin(\theta + \frac{\pi}{4}) + \sin(\theta - \frac{\pi}{4})": expand both, cancel the opposite terms.
  • "Prove the identity ...": expand each compound angle and collect; many proofs hinge on the cosine sign flip or on terms cancelling.
  • "Find sin⁡3θ\sin 3\theta / cos⁡3θ\cos 3\theta": write 3θ=2θ+θ3\theta = 2\theta + \theta and combine the sum identity with the double-angle formulas.
  • "Hence solve / find the maximum ...": the identity is a stepping stone to an equation or to the auxiliary-angle form.
Exam technique

Quote the identity you are using before substituting, and pay special attention to the cosine sign flip: cos⁡(A+B)\cos(A+B) has a minus, cos⁡(A−B)\cos(A-B) has a plus. For an exact-value question, choose the decomposition into the two standard angles that gives the cleanest surds (for 105∘105^\circ, 60∘+45∘60^\circ + 45^\circ is tidy), and always rationalise the final answer. When a quadrant is specified, fix the sign of the missing ratio (from Pythagoras) before substituting. For a "prove" question, expand fully and look for terms that cancel. Keep everything exact and simplified; an unrationalised surd or an unsimplified fraction can cost the final mark.

Worked example

Decompose a non-standard angle and apply the difference identity

Find sin⁡15∘\sin 15^\circ. Since 15∘15^\circ is not a standard angle, write it as a difference of standard angles: 15∘=45∘−30∘15^\circ = 45^\circ - 30^\circ. Apply sin⁡(A−B)=sin⁡Acos⁡B−cos⁡Asin⁡B\sin(A - B) = \sin A\cos B - \cos A\sin B:

sin⁡15∘=sin⁡45∘cos⁡30∘−cos⁡45∘sin⁡30∘=22⋅32−22⋅12=6−24.\sin 15^\circ = \sin 45^\circ \cos 30^\circ - \cos 45^\circ \sin 30^\circ = \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{3}}{2} - \frac{\sqrt{2}}{2} \cdot \frac{1}{2} = \frac{\sqrt{6} - \sqrt{2}}{4}.

Apply the tangent sum formula and rationalise

Find tan⁡75∘\tan 75^\circ. Write 75∘=45∘+30∘75^\circ = 45^\circ + 30^\circ and apply tan⁡(A+B)=tan⁡A+tan⁡B1−tan⁡Atan⁡B\tan(A+B) = \frac{\tan A + \tan B}{1 - \tan A \tan B}:

tan⁡75∘=1+131−13.\tan 75^\circ = \frac{1 + \frac{1}{\sqrt{3}}}{1 - \frac{1}{\sqrt{3}}}.

Multiply the numerator and denominator by 3\sqrt{3} to clear fractions, giving 3+13−1\frac{\sqrt{3}+1}{\sqrt{3}-1}. Rationalise by multiplying by 3+13+1\frac{\sqrt{3}+1}{\sqrt{3}+1}:

(3+1)2(3)2−12=3+23+12=4+232=2+3.\frac{(\sqrt{3}+1)^2}{(\sqrt{3})^2 - 1^2} = \frac{3 + 2\sqrt{3} + 1}{2} = \frac{4 + 2\sqrt{3}}{2} = 2 + \sqrt{3}.

Expand both terms and cancel to simplify

Simplify sin⁡ ⁣(θ+π4)+sin⁡ ⁣(θ−π4)\sin\!\left(\theta + \frac{\pi}{4}\right) + \sin\!\left(\theta - \frac{\pi}{4}\right). Expand each term using the sum and difference identities:

sin⁡θcos⁡π4+cos⁡θsin⁡π4+sin⁡θcos⁡π4−cos⁡θsin⁡π4.\sin\theta\cos\tfrac{\pi}{4} + \cos\theta\sin\tfrac{\pi}{4} + \sin\theta\cos\tfrac{\pi}{4} - \cos\theta\sin\tfrac{\pi}{4}.

The cos⁡θsin⁡π4\cos\theta\sin\frac{\pi}{4} terms cancel exactly. What remains is 2sin⁡θcos⁡π4=2sin⁡θ⋅22=2sin⁡θ2\sin\theta\cos\frac{\pi}{4} = 2\sin\theta \cdot \frac{\sqrt{2}}{2} = \sqrt{2}\sin\theta.

Prove an identity by expanding both cosines

Prove cos⁡(θ+60∘)+cos⁡(θ−60∘)=cos⁡θ\cos(\theta + 60^\circ) + \cos(\theta - 60^\circ) = \cos\theta. Expand the left side using cos⁡(A±B)=cos⁡Acos⁡B∓sin⁡Asin⁡B\cos(A \pm B) = \cos A\cos B \mp \sin A\sin B:

cos⁡θcos⁡60∘−sin⁡θsin⁡60∘+cos⁡θcos⁡60∘+sin⁡θsin⁡60∘.\cos\theta\cos 60^\circ - \sin\theta\sin 60^\circ + \cos\theta\cos 60^\circ + \sin\theta\sin 60^\circ.

The sin⁡θ\sin\theta terms cancel. The remaining terms give 2cos⁡θcos⁡60∘=2cos⁡θ⋅12=cos⁡θ2\cos\theta\cos 60^\circ = 2\cos\theta \cdot \frac{1}{2} = \cos\theta, as required.

Build a triple-angle result by combining sum and double-angle formulas

Given sin⁡θ=35\sin\theta = \frac{3}{5} in the first quadrant, find sin⁡3θ\sin 3\theta. Write 3θ=2θ+θ3\theta = 2\theta + \theta and apply the sine sum identity:

sin⁡3θ=sin⁡2θcos⁡θ+cos⁡2θsin⁡θ.\sin 3\theta = \sin 2\theta \cos\theta + \cos 2\theta \sin\theta.

From sin⁡θ=35\sin\theta = \frac{3}{5}, the Pythagorean identity gives cos⁡θ=45\cos\theta = \frac{4}{5} (positive in Q1). Compute the double-angle values:

sin⁡2θ=2⋅35⋅45=2425,cos⁡2θ=1−2sin⁡2θ=1−1825=725.\sin 2\theta = 2 \cdot \frac{3}{5} \cdot \frac{4}{5} = \frac{24}{25}, \qquad \cos 2\theta = 1 - 2\sin^2\theta = 1 - \frac{18}{25} = \frac{7}{25}.

sin⁡3θ=2425⋅45+725⋅35=96125+21125=117125.\sin 3\theta = \frac{24}{25} \cdot \frac{4}{5} + \frac{7}{25} \cdot \frac{3}{5} = \frac{96}{125} + \frac{21}{125} = \frac{117}{125}.

Edge cases worth knowing

  • The tangent formula can be undefined. tan⁡(45∘+45∘)\tan(45^\circ + 45^\circ) would need 1−tan⁡45∘tan⁡45∘=1−1=01 - \tan 45^\circ\tan 45^\circ = 1 - 1 = 0 in the denominator. The formula fails (as it must, since tan⁡90∘\tan 90^\circ is undefined); reason via sin⁡90∘/cos⁡90∘\sin 90^\circ/\cos 90^\circ instead.
  • Choose the efficient decomposition. sin⁡105∘=sin⁡(60∘+45∘)\sin 105^\circ = \sin(60^\circ + 45^\circ) is cleaner than sin⁡(75∘+30∘)\sin(75^\circ + 30^\circ), because both 60∘60^\circ and 45∘45^\circ are standard while 75∘75^\circ is not.
  • The half-angle sign depends on the quadrant. cos⁡ϕ2=±1+cos⁡ϕ2\cos\frac{\phi}{2} = \pm\sqrt{\frac{1+\cos\phi}{2}} takes the sign of cosine in the quadrant of ϕ2\frac{\phi}{2}, not of ϕ\phi; decide it before writing the surd.
Common traps
Sign mistake on cos⁡(A+B)\cos(A + B)
cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B\cos(A + B) = \cos A \cos B - \sin A \sin B has a minus, while sin⁡(A+B)=sin⁡Acos⁡B+cos⁡Asin⁡B\sin(A + B) = \sin A \cos B + \cos A \sin B has a plus. The minus is the one to watch.
Wrong quadrant for cos⁡β\cos \beta or sin⁡β\sin \beta
When the question specifies a quadrant, get the sign of the other trig ratio right before substituting.
Forgetting to rationalise
A final answer of 13−1\frac{1}{\sqrt{3} - 1} should be rationalised to 3+12\frac{\sqrt{3} + 1}{2}. Markers expect simplified surds.
Tangent sum with zero denominator
tan⁡(45∘+45∘)\tan(45^\circ + 45^\circ) has 1−1⋅1=01 - 1 \cdot 1 = 0 in the denominator; the identity is undefined and you must reason via sin⁡/cos⁡\sin/\cos directly.
An inefficient decomposition
sin⁡105∘=sin⁡(60+45)∘\sin 105^\circ = \sin(60 + 45)^\circ, not sin⁡(75+30)∘\sin(75 + 30)^\circ in the cleanest form. Choose decompositions into two standard angles.

Exam-style questions

Questions in the style of NESA exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

HSC-style3 marks
Use a sum or difference identity to find the exact value of cos⁡75∘\cos 75^\circ.
Show worked answer →

Write 75∘=45∘+30∘75^\circ = 45^\circ + 30^\circ and use cos⁡(A+B)=cos⁡Acos⁡B−sin⁡Asin⁡B\cos(A + B) = \cos A \cos B - \sin A \sin B.

cos⁡75∘=cos⁡45∘cos⁡30∘−sin⁡45∘sin⁡30∘\cos 75^\circ = \cos 45^\circ \cos 30^\circ - \sin 45^\circ \sin 30^\circ.

=22⋅32−22⋅12= \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{3}}{2} - \frac{\sqrt{2}}{2} \cdot \frac{1}{2}

=64−24=6−24= \frac{\sqrt{6}}{4} - \frac{\sqrt{2}}{4} = \frac{\sqrt{6} - \sqrt{2}}{4}.

Markers reward identifying a useful decomposition into standard angles, the correct sum identity, and a final exact answer.

HSC-style3 marks
If sin⁡α=35\sin \alpha = \frac{3}{5} with α\alpha in the first quadrant and cos⁡β=−1213\cos \beta = -\frac{12}{13} with β\beta in the second quadrant, find sin⁡(α+β)\sin(\alpha + \beta).
Show worked answer →

In Q1: cos⁡α=1−9/25=45\cos \alpha = \sqrt{1 - 9/25} = \frac{4}{5}.

In Q2: sin⁡β=1−144/169=513\sin \beta = \sqrt{1 - 144/169} = \frac{5}{13} (positive in Q2).

Apply sin⁡(α+β)=sin⁡αcos⁡β+cos⁡αsin⁡β\sin(\alpha + \beta) = \sin \alpha \cos \beta + \cos \alpha \sin \beta.

=35⋅(−1213)+45⋅513= \frac{3}{5} \cdot \left( -\frac{12}{13} \right) + \frac{4}{5} \cdot \frac{5}{13}

=−3665+2065=−1665= -\frac{36}{65} + \frac{20}{65} = -\frac{16}{65}.

Markers reward correct quadrant signs for cos⁡α\cos \alpha and sin⁡β\sin \beta, the sum identity, and clean arithmetic.

Practise this

Sources & how we know this

ExamExplained