The following equalities in trigonometry will be used in the upcoming discussion to establish a relation between the sum and difference of angles
cos (-x) = cos x
sin (-x) = -sin x
We will now focus on the trigonometric functions which involve the sum and difference of two angles.
Table of Contents
Trigonometric functions of sum and difference of angles
Consider the following figure:

A circle is drawn with center as origin and radius 1 unit. A point P1 is chosen at an angle of x units from x-axis. The co-ordinates are mentioned in the figure. Another point P2 is chosen, at an angle of y units from the line segment OP1. P3 is a point on the circle which is at an angle of y units from x-axis, measured clockwise.
Now, in the given figure, Δ OP1P3 is congruent to Δ OP2P4, by SAS congruency criteria.
Hence, P1P3 = P2P4 (CPCT)
⇒(P1P3 )2= (P2P4)2
Since we know the coordinates of all the four points, hence using distance formula, we can write:
[cos x – cos (-y)]2 + [sin x – sin (-y)]2 = [1- cos (x+y)]2 + sin2 (x+y)
On solving the above equation, we have the following identity:
cos(x + y) = cos x cos y – sin x sin y ……… (1)
Replacing y by -y in identity (1), we get,
cos(x – y) = cos x cos y + sin x sin y …….… (2)
Also,
cos (π/2 – x) = sin x ……………… (3)
That can be obtained by replacing x by π/2 and y by x in identity (2). Also,
sin (π/2 – x) = cos x………….…… (4)
As, sin (π/2 – x) = cos [π/2 – (π/2 – x)] (using identity 3). So,
sin (π/2 – x) = cos x
Now we have the idea about the expansion of sum and difference of angles of cos. Now let us try to use it for finding the values of sum and difference of angles of sin.
sin (x + y) can be written as cos [π/2 – (x + y)] which is equal to cos [(π/2 – x) – y]
Now, using identity (2) we can write,
cos [(π/2 – x) – y] = cos (π/2 – x) cos y + sin (π/2 – x) sin y
= sin x cos y + cos x sin y
Hence,
sin (x + y) = sin x cos y + cos x sin y …………………………. (5)
Replace y by –y in the above formula, we get
sin (x – y) = sin x cos y – cos x sin y .…………………………….. (6)
Now if we substitute suitable values in identities (1), (2), (5) and (6), we have the following:
cos (π/2 + x) = -sin x
sin (π/2 + x) = cos x
cos (π± x) = – cos x
sin (π – x) = sin x
sin (π + x) = – sin x
sin (2π – x) = -sin x
cos (2π – x) = cos x
After having a brief idea about the expansion of sum and difference of angles of sin and cos, the expansion for tan and cot is given by
tan (x + y) = (tan x + tan y)/ (1-tan x tan y)
tan (x – y) = (tan x – tan y)/ (1+tan x tan y)
Similarly;
cot (x + y) = (cot x cot y – 1)/(cot y + cot x)
cot (x – y) = (cot x cot y + 1)/(cot y – cot x)
FAQs on Trigonometric Functions of Sum and Difference of Two Angles
What is the sum formula for sine?
The sum formula for sine is: sin(A+B)=sinAcosB+cosAsinBsin(A+B)=sinAcosB+cosAsinB
How can the difference formula for cosine be written?
The difference formula for the cosine is: cos(A–B)=cosAcosB+sinAsinBcos(A–B)=cosAcosB+sinAsinB
Why are these trigonometric identities important?
These identities simplify the computation of the trigonometric functions involving the multiple angles and are essential in solving various trigonometric equations.
How can the tangent of the sum of the two angles be expressed?
The tangent of the sum of the two angles can be expressed as:tan(A+B)=tanA+tanB1–tanAtanBtan(A+B)=1–tanAtanBtanA+tanB
Can these formulas be used for any angles A and B?
Yes, these formulas are valid for the any angles A and B.