Prove that cos(A+B) = cosA·cosB - sinA·sinB using vector method

medium CBSE JEE-MAIN NCERT Class 12 3 min read

Question

Using the dot product of two unit vectors, prove that:

cos(A+B)=cosAcosBsinAsinB\cos(A + B) = \cos A \cos B - \sin A \sin B

(NCERT Class 12, Miscellaneous Exercise)


Solution — Step by Step

Take two unit vectors in the xy-plane:

u=cosAi^+sinAj^\vec{u} = \cos A\,\hat{i} + \sin A\,\hat{j} — makes angle AA with the x-axis.

v=cosBi^sinBj^\vec{v} = \cos B\,\hat{i} - \sin B\,\hat{j} — makes angle B-B with the x-axis.

The angle between u\vec{u} and v\vec{v} is A(B)=A+BA - (-B) = A + B.

uv=uvcos(A+B)\vec{u} \cdot \vec{v} = |\vec{u}||\vec{v}|\cos(A + B)

Since both are unit vectors, u=v=1|\vec{u}| = |\vec{v}| = 1:

uv=cos(A+B)\vec{u} \cdot \vec{v} = \cos(A + B)
uv=(cosA)(cosB)+(sinA)(sinB)\vec{u} \cdot \vec{v} = (\cos A)(\cos B) + (\sin A)(-\sin B) =cosAcosBsinAsinB= \cos A \cos B - \sin A \sin B

From Steps 2 and 3:

cos(A+B)=cosAcosBsinAsinB\boxed{\cos(A + B) = \cos A \cos B - \sin A \sin B}

Hence proved.


Why This Works

The dot product has two equivalent definitions: the geometric one (uvcosθ|\vec{u}||\vec{v}|\cos\theta) and the algebraic one (component-wise multiplication and addition). By equating these two forms for cleverly chosen unit vectors, we extract a trigonometric identity.

The trick is in choosing v\vec{v} at angle B-B (not +B+B). This makes the angle between the two vectors equal to A+BA + B. If we had chosen v\vec{v} at angle +B+B, we’d prove the cos(AB)\cos(A - B) formula instead.


Alternative Method — Using rotation matrices

A rotation by angle A+BA + B is equivalent to first rotating by BB then by AA. The composition of two rotation matrices gives:

R(A+B)=R(A)R(B)R(A+B) = R(A) \cdot R(B)

Expanding the (1,1)(1,1) entry of both sides yields cos(A+B)=cosAcosBsinAsinB\cos(A+B) = \cos A \cos B - \sin A \sin B. This approach is more advanced but shows why the identity is fundamentally about rotations.

This vector proof is a favourite in CBSE boards — it appeared in 2019, 2021, and 2023. The proof is short (4 steps), but examiners look for you to clearly state why the angle between u\vec{u} and v\vec{v} is A+BA + B. Write one sentence explaining the angle choice — it’s worth a mark.


Common Mistake

Students sometimes take both vectors at positive angles: u\vec{u} at angle AA and v\vec{v} at angle BB. Then the angle between them is ABA - B, and you end up proving cos(AB)\cos(A - B) instead of cos(A+B)\cos(A + B). The fix: make one vector at angle B-B so the total separation is A+BA + B. Alternatively, prove cos(AB)\cos(A - B) first and then replace BB with B-B to get cos(A+B)\cos(A + B).

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next