Skip to content

Trigonometric identities: proving and simplifying expressions

By MathLab · Reviewed

A trigonometric identity is an equation that is true for every value of the variable for which both sides are defined. The most important identities at A level are

tan⁡x=sin⁡xcos⁡x,sin⁡2x+cos⁡2x=1,\boxed{\tan x=\frac{\sin x}{\cos x}}, \qquad \boxed{\sin^2x+\cos^2x=1},

together with the reciprocal definitions

sec⁡x=1cos⁡x,cosec⁡x=1sin⁡x,cot⁡x=1tan⁡x=cos⁡xsin⁡x.\boxed{\sec x=\frac1{\cos x}}, \qquad \boxed{\cosec x=\frac1{\sin x}}, \qquad \boxed{\cot x=\frac1{\tan x}=\frac{\cos x}{\sin x}}.

They allow an unfamiliar expression to be rewritten using fewer trigonometric functions. This is the central technique in simplification, proof and many trigonometric equations.

You should be able to:

  • manipulate fractions and factorise algebraic expressions;
  • solve basic equations without dividing by an expression that might be zero;
  • use sine, cosine and tangent in degrees and radians;
  • recognise the graphs and zeros of the trigonometric functions.

Review exact trigonometric values and trigonometric graphs if needed.

The statement

sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1

is an identity because it holds wherever sine and cosine are defined, which is for every real xx. By contrast,

2sin⁡x=12\sin x=1

is an equation that is true only at particular values, such as x=30∘x=30^\circ.

The symbol ≡\equiv is sometimes used to emphasise an identity:

sin⁡2x+cos⁡2x≡1.\sin^2x+\cos^2x\equiv1.

In exam questions, “show that” or “prove the identity” means transform one side until it becomes the other. Checking several numerical values is useful for detecting errors, but it is not a proof.

From right angled triangle ratios,

sin⁡x=oppositehypotenuse,cos⁡x=adjacenthypotenuse.\sin x=\frac{\text{opposite}}{\text{hypotenuse}}, \qquad \cos x=\frac{\text{adjacent}}{\text{hypotenuse}}.

Therefore

sin⁡xcos⁡x=oppositehypotenuse÷adjacenthypotenuse=oppositeadjacent=tan⁡x.\frac{\sin x}{\cos x} =\frac{\text{opposite}}{\text{hypotenuse}} \div\frac{\text{adjacent}}{\text{hypotenuse}} =\frac{\text{opposite}}{\text{adjacent}} =\tan x.

Hence

tan⁡x=sin⁡xcos⁡x.\boxed{\tan x=\frac{\sin x}{\cos x}}.

It is valid where cos⁡x≠0\cos x\ne0. At x=90∘x=90^\circ, for example, both tan⁡x\tan x and sin⁡x/cos⁡x\sin x/\cos x are undefined.

Worked example 1: rewrite using sine and cosine

Section titled “Worked example 1: rewrite using sine and cosine”

Simplify

tan⁡xcos⁡xsin⁡x.\frac{\tan x\cos x}{\sin x}.

Replace tangent by sin⁡x/cos⁡x\sin x/\cos x:

tan⁡xcos⁡xsin⁡x=(sin⁡x/cos⁡x)cos⁡xsin⁡x=1.\begin{aligned} \frac{\tan x\cos x}{\sin x} &=\frac{(\sin x/\cos x)\cos x}{\sin x}\\ &=\boxed{1}. \end{aligned}

The original expression is defined only when sin⁡x≠0\sin x\ne0 and cos⁡x≠0\cos x\ne0. The simplified value 11 does not remove those restrictions.

Show that

1+tan⁡x1−tan⁡x=cos⁡x+sin⁡xcos⁡x−sin⁡x.\frac{1+\tan x}{1-\tan x} =\frac{\cos x+\sin x}{\cos x-\sin x}.

Start with the more complicated side and replace tangent:

1+tan⁡x1−tan⁡x=1+sin⁡x/cos⁡x1−sin⁡x/cos⁡x=(cos⁡x+sin⁡x)/cos⁡x(cos⁡x−sin⁡x)/cos⁡x=cos⁡x+sin⁡xcos⁡x−sin⁡x.\begin{aligned} \frac{1+\tan x}{1-\tan x} &=\frac{1+\sin x/\cos x}{1-\sin x/\cos x}\\ &=\frac{(\cos x+\sin x)/\cos x} {(\cos x-\sin x)/\cos x}\\ &=\boxed{\frac{\cos x+\sin x}{\cos x-\sin x}}. \end{aligned}

Multiplying the numerator and denominator by cos⁡x\cos x is often the cleanest way to remove fractions within fractions.

A point on the unit circle at angle xx has coordinates (cos⁡x,sin⁡x)(\cos x,\sin x). Since its distance from the origin is 11, Pythagoras gives

(cos⁡x)2+(sin⁡x)2=12.(\cos x)^2+(\sin x)^2=1^2.

Thus

sin⁡2x+cos⁡2x=1.\boxed{\sin^2x+\cos^2x=1}.

This unit circle argument proves the result for angles in every quadrant, not just acute angles in a right angled triangle.

Three equivalent arrangements are worth recognising immediately:

sin⁡2x=1−cos⁡2x,cos⁡2x=1−sin⁡2x,\sin^2x=1-\cos^2x, \qquad \cos^2x=1-\sin^2x,

and, by difference of two squares,

cos⁡2x−sin⁡2x=(cos⁡x−sin⁡x)(cos⁡x+sin⁡x).\boxed{\cos^2x-\sin^2x=(\cos x-\sin x)(\cos x+\sin x)}.

Worked example 3: simplify a quadratic expression

Section titled “Worked example 3: simplify a quadratic expression”

Simplify

3sin⁡2x+3cos⁡2x−2.3\sin^2x+3\cos^2x-2.

Factor the common coefficient before using the identity:

3sin⁡2x+3cos⁡2x−2=3(sin⁡2x+cos⁡2x)−2=3(1)−2=1.\begin{aligned} 3\sin^2x+3\cos^2x-2 &=3(\sin^2x+\cos^2x)-2\\ &=3(1)-2\\ &=\boxed{1}. \end{aligned}

Worked example 4: factorise before cancelling

Section titled “Worked example 4: factorise before cancelling”

Simplify

1−sin⁡2x1+sin⁡x.\frac{1-\sin^2x}{1+\sin x}.

There are two useful routes. Using 1−sin⁡2x=cos⁡2x1-\sin^2x=\cos^2x gives cos⁡2x/(1+sin⁡x)\cos^2x/(1+\sin x), which is not yet simpler. Instead, factorise the difference of two squares:

1−sin⁡2x1+sin⁡x=(1−sin⁡x)(1+sin⁡x)1+sin⁡x=1−sin⁡x.\begin{aligned} \frac{1-\sin^2x}{1+\sin x} &=\frac{(1-\sin x)(1+\sin x)}{1+\sin x}\\ &=\boxed{1-\sin x}. \end{aligned}

The cancellation is valid where the original denominator is nonzero, so sin⁡x≠−1\sin x\ne-1.

Simplify:

  1. 5cos⁡2x+5sin⁡2x−35\cos^2x+5\sin^2x-3;
  2. cos⁡2x1−sin⁡x\dfrac{\cos^2x}{1-\sin x};
  3. (sec⁡x−tan⁡x)(sec⁡x+tan⁡x)(\sec x-\tan x)(\sec x+\tan x).
Answers
  1. 5(cos⁡2x+sin⁡2x)−3=5−3=25(\cos^2x+\sin^2x)-3=5-3=\boxed{2}.

  2. Since cos⁡2x=1−sin⁡2x\cos^2x=1-\sin^2x,

cos⁡2x1−sin⁡x=(1−sin⁡x)(1+sin⁡x)1−sin⁡x=1+sin⁡x,\frac{\cos^2x}{1-\sin x} =\frac{(1-\sin x)(1+\sin x)}{1-\sin x} =\boxed{1+\sin x},

where sin⁡x≠1\sin x\ne1.

  1. This is a difference of two squares:
(sec⁡x−tan⁡x)(sec⁡x+tan⁡x)=sec⁡2x−tan⁡2x=1.(\sec x-\tan x)(\sec x+\tan x) =\sec^2x-\tan^2x =\boxed{1}.

Reciprocal functions and derived identities

Section titled “Reciprocal functions and derived identities”

The reciprocal functions are defined by

sec⁡x=1cos⁡x,cosec⁡x=1sin⁡x,cot⁡x=1tan⁡x=cos⁡xsin⁡x.\sec x=\frac1{\cos x}, \qquad \cosec x=\frac1{\sin x}, \qquad \cot x=\frac1{\tan x}=\frac{\cos x}{\sin x}.

“Reciprocal” does not mean “inverse function”. For example,

sec⁡x=1cos⁡x,\sec x=\frac1{\cos x},

whereas cos⁡−1x\cos^{-1}x means the inverse cosine function. Learn more in reciprocal and inverse trigonometric functions.

Two further Pythagorean identities follow from sin⁡2x+cos⁡2x=1\sin^2x+\cos^2x=1.

Divide every term by cos⁡2x\cos^2x:

sin⁡2xcos⁡2x+cos⁡2xcos⁡2x=1cos⁡2x,\frac{\sin^2x}{\cos^2x}+\frac{\cos^2x}{\cos^2x} =\frac1{\cos^2x},

so

1+tan⁡2x=sec⁡2x.\boxed{1+\tan^2x=\sec^2x}.

Divide instead by sin⁡2x\sin^2x:

sin⁡2xsin⁡2x+cos⁡2xsin⁡2x=1sin⁡2x,\frac{\sin^2x}{\sin^2x}+\frac{\cos^2x}{\sin^2x} =\frac1{\sin^2x},

so

1+cot⁡2x=cosec⁡2x.\boxed{1+\cot^2x=\cosec^2x}.

Useful rearrangements include

sec⁡2x−tan⁡2x=1,cosec⁡2x−cot⁡2x=1.\sec^2x-\tan^2x=1, \qquad \cosec^2x-\cot^2x=1.

Worked example 5: choose the matching identity

Section titled “Worked example 5: choose the matching identity”

Simplify

sec⁡2x−1tan⁡x.\frac{\sec^2x-1}{\tan x}.

Because sec⁡2x−1=tan⁡2x\sec^2x-1=\tan^2x,

sec⁡2x−1tan⁡x=tan⁡2xtan⁡x=tan⁡x,\frac{\sec^2x-1}{\tan x} =\frac{\tan^2x}{\tan x} =\boxed{\tan x},

for values where the original expression is defined.

Identity proofs are algebra, but the variables happen to be trigonometric functions. A reliable strategy is:

  1. Start with one side, usually the more complicated side.
  2. Rewrite reciprocal functions and tangent in terms of sine and cosine if no shorter route is visible.
  3. Find a common denominator, factorise, or use a Pythagorean identity.
  4. Work in a continuous chain until the target side appears.
  5. Do not assume the result by manipulating both sides simultaneously.

Worked example 6: prove by using a common denominator

Section titled “Worked example 6: prove by using a common denominator”

Prove that

11−sin⁡x+11+sin⁡x=2sec⁡2x.\frac1{1-\sin x}+\frac1{1+\sin x}=2\sec^2x.

Begin with the left hand side:

11−sin⁡x+11+sin⁡x=1+sin⁡x+1−sin⁡x(1−sin⁡x)(1+sin⁡x)=21−sin⁡2x=2cos⁡2x=2sec⁡2x.\begin{aligned} \frac1{1-\sin x}+\frac1{1+\sin x} &=\frac{1+\sin x+1-\sin x}{(1-\sin x)(1+\sin x)}\\ &=\frac2{1-\sin^2x}\\ &=\frac2{\cos^2x}\\ &=2\sec^2x. \end{aligned}

This proves the identity wherever the original expressions are defined.

Worked example 7: convert everything to sine and cosine

Section titled “Worked example 7: convert everything to sine and cosine”

Prove that

sec⁡x−cos⁡xtan⁡x=sin⁡x.\frac{\sec x-\cos x}{\tan x}=\sin x. sec⁡x−cos⁡xtan⁡x=1/cos⁡x−cos⁡xsin⁡x/cos⁡x=(1−cos⁡2x)/cos⁡xsin⁡x/cos⁡x=sin⁡2xcos⁡x×cos⁡xsin⁡x=sin⁡x.\begin{aligned} \frac{\sec x-\cos x}{\tan x} &=\frac{1/\cos x-\cos x}{\sin x/\cos x}\\ &=\frac{(1-\cos^2x)/\cos x}{\sin x/\cos x}\\ &=\frac{\sin^2x}{\cos x}\times\frac{\cos x}{\sin x}\\ &=\sin x. \end{aligned}

The decisive step is replacing 1−cos⁡2x1-\cos^2x by sin⁡2x\sin^2x.

Show that

1sec⁡x+tan⁡x=sec⁡x−tan⁡x.\frac1{\sec x+\tan x}=\sec x-\tan x.

Multiply by the conjugate sec⁡x−tan⁡x\sec x-\tan x:

1sec⁡x+tan⁡x=sec⁡x−tan⁡x(sec⁡x+tan⁡x)(sec⁡x−tan⁡x)=sec⁡x−tan⁡xsec⁡2x−tan⁡2x=sec⁡x−tan⁡x.\begin{aligned} \frac1{\sec x+\tan x} &=\frac{\sec x-\tan x} {(\sec x+\tan x)(\sec x-\tan x)}\\ &=\frac{\sec x-\tan x}{\sec^2x-\tan^2x}\\ &=\boxed{\sec x-\tan x}. \end{aligned}

This is the trigonometric analogue of rationalising a denominator containing surds.

Prove each identity.

  1. tan⁡xsec⁡x=sin⁡x\dfrac{\tan x}{\sec x}=\sin x
  2. 1−cos⁡2xsin⁡x=sin⁡x\dfrac{1-\cos^2x}{\sin x}=\sin x
  3. cosec⁡x−sin⁡xcos⁡x=cot⁡x\dfrac{\cosec x-\sin x}{\cos x}=\cot x
Answers
tan⁡xsec⁡x=sin⁡x/cos⁡x1/cos⁡x=sin⁡x.\frac{\tan x}{\sec x} =\frac{\sin x/\cos x}{1/\cos x} =\boxed{\sin x}.
1−cos⁡2xsin⁡x=sin⁡2xsin⁡x=sin⁡x.\frac{1-\cos^2x}{\sin x} =\frac{\sin^2x}{\sin x} =\boxed{\sin x}.
cosec⁡x−sin⁡xcos⁡x=1/sin⁡x−sin⁡xcos⁡x=1−sin⁡2xsin⁡xcos⁡x=cos⁡2xsin⁡xcos⁡x=cos⁡xsin⁡x=cot⁡x.\begin{aligned} \frac{\cosec x-\sin x}{\cos x} &=\frac{1/\sin x-\sin x}{\cos x}\\ &=\frac{1-\sin^2x}{\sin x\cos x}\\ &=\frac{\cos^2x}{\sin x\cos x}\\ &=\frac{\cos x}{\sin x}\\ &=\boxed{\cot x}. \end{aligned}

An equation involving both sin⁡2x\sin^2x and cos⁡x\cos x can often be rewritten using only cosine. This turns it into a quadratic equation.

Worked example 9: reduce to one trigonometric function

Section titled “Worked example 9: reduce to one trigonometric function”

Solve

2sin⁡2x=3cos⁡x2\sin^2x=3\cos x

for 0≤x<2π0\le x<2\pi.

Use sin⁡2x=1−cos⁡2x\sin^2x=1-\cos^2x:

2(1−cos⁡2x)=3cos⁡x.2(1-\cos^2x)=3\cos x.

Rearrange and factorise:

2cos⁡2x+3cos⁡x−2=0(2cos⁡x−1)(cos⁡x+2)=0.\begin{aligned} 2\cos^2x+3\cos x-2&=0\\ (2\cos x-1)(\cos x+2)&=0. \end{aligned}

Therefore

cos⁡x=12orcos⁡x=−2.\cos x=\frac12 \qquad\text{or}\qquad \cos x=-2.

The second possibility is impossible because −1≤cos⁡x≤1-1\le\cos x\le1. In the given interval, cos⁡x=1/2\cos x=1/2 at

x=π3, 5π3.\boxed{x=\frac\pi3,\ \frac{5\pi}3}.

Worked example 10: do not lose solutions by dividing

Section titled “Worked example 10: do not lose solutions by dividing”

Solve

sin⁡x=sin⁡xcos⁡x\sin x=\sin x\cos x

for 0∘≤x<360∘0^\circ\le x<360^\circ.

Bring all terms to one side and factorise:

sin⁡x(1−cos⁡x)=0.\sin x(1-\cos x)=0.

Hence

sin⁡x=0orcos⁡x=1.\sin x=0 \qquad\text{or}\qquad \cos x=1.

These give

x=0∘,180∘orx=0∘.x=0^\circ,180^\circ \qquad\text{or}\qquad x=0^\circ.

After removing the duplicate,

x=0∘,180∘.\boxed{x=0^\circ,180^\circ}.

Dividing the original equation by sin⁡x\sin x would discard every solution for which sin⁡x=0\sin x=0. Factorising protects those solutions.

Continue with trigonometric equations for general solutions and more complicated intervals.

In general,

sin⁡(A+B)≠sin⁡A+sin⁡B.\sin(A+B)\ne\sin A+\sin B.

For example, sin⁡(30∘+60∘)=1\sin(30^\circ+60^\circ)=1, but sin⁡30∘+sin⁡60∘=(1+3)/2\sin30^\circ+\sin60^\circ=(1+\sqrt3)/2. Sums of angles require the compound angle formulae.

(sin⁡x+cos⁡x)2=sin⁡2x+2sin⁡xcos⁡x+cos⁡2x=1+2sin⁡xcos⁡x,(\sin x+\cos x)^2 =\sin^2x+2\sin x\cos x+\cos^2x =1+2\sin x\cos x,

not 11. The middle term matters.

From sin⁡2x=1/4\sin^2x=1/4, it follows that

sin⁡x=±12,\sin x=\pm\frac12,

not only 1/21/2. The interval then determines which angles are required.

You may cancel common factors in a product, but not terms joined by addition. Thus

sin⁡x(1+cos⁡x)sin⁡x=1+cos⁡x\frac{\sin x(1+\cos x)}{\sin x}=1+\cos x

where sin⁡x≠0\sin x\ne0, but no cancellation is possible in

sin⁡x+cos⁡xsin⁡x.\frac{\sin x+\cos x}{\sin x}.

tan⁡x\tan x, sec⁡x\sec x and any expression divided by cos⁡x\cos x are undefined when cos⁡x=0\cos x=0. Likewise, cosec⁡x\cosec x, cot⁡x\cot x and expressions divided by sin⁡x\sin x are undefined when sin⁡x=0\sin x=0. Algebraic simplification does not add excluded values back into the original expression.

  1. State whether sin⁡x=cos⁡x\sin x=\cos x is an identity or an equation.
  2. Simplify 1+tan⁡2xsec⁡x\dfrac{1+\tan^2x}{\sec x}.
  3. Prove cos⁡x1−sin⁡x=sec⁡x+tan⁡x\dfrac{\cos x}{1-\sin x}=\sec x+\tan x.
  4. Solve 3cos⁡2x+sin⁡2x=23\cos^2x+\sin^2x=2 for 0≤x<2π0\le x<2\pi.
Answers
  1. It is an equation. It holds only for particular angles, not for every xx.

  2. Since 1+tan⁡2x=sec⁡2x1+\tan^2x=\sec^2x,

1+tan⁡2xsec⁡x=sec⁡2xsec⁡x=sec⁡x.\frac{1+\tan^2x}{\sec x} =\frac{\sec^2x}{\sec x} =\boxed{\sec x}.
  1. Multiply numerator and denominator by 1+sin⁡x1+\sin x:
cos⁡x1−sin⁡x=cos⁡x(1+sin⁡x)1−sin⁡2x=cos⁡x(1+sin⁡x)cos⁡2x=1cos⁡x+sin⁡xcos⁡x=sec⁡x+tan⁡x.\begin{aligned} \frac{\cos x}{1-\sin x} &=\frac{\cos x(1+\sin x)}{1-\sin^2x}\\ &=\frac{\cos x(1+\sin x)}{\cos^2x}\\ &=\frac1{\cos x}+\frac{\sin x}{\cos x}\\ &=\boxed{\sec x+\tan x}. \end{aligned}
  1. Replace sin⁡2x\sin^2x by 1−cos⁡2x1-\cos^2x:
3cos⁡2x+1−cos⁡2x=2,3\cos^2x+1-\cos^2x=2,

so

2cos⁡2x=1⟹cos⁡x=±12.2\cos^2x=1 \quad\Longrightarrow\quad \cos x=\pm\frac1{\sqrt2}.

Therefore

x=π4, 3π4, 5π4, 7π4.\boxed{x=\frac\pi4,\ \frac{3\pi}4,\ \frac{5\pi}4,\ \frac{7\pi}4}.
tan⁡x=sin⁡xcos⁡x,sin⁡2x+cos⁡2x=1,\boxed{\tan x=\frac{\sin x}{\cos x}}, \qquad \boxed{\sin^2x+\cos^2x=1}, 1+tan⁡2x=sec⁡2x,1+cot⁡2x=cosec⁡2x.\boxed{1+\tan^2x=\sec^2x}, \qquad \boxed{1+\cot^2x=\cosec^2x}.
  • An identity is true for every value in its domain; an equation is true only for its solutions.
  • In a proof, transform one side into the other using valid algebraic steps.
  • Rewriting everything in sine and cosine is a dependable fallback, but a derived identity may give a shorter route.
  • Factorise before dividing, or valid solutions may be lost.
  • Keep the domain restrictions of the original expression.

Next, use these identities in the compound angle and double angle formulae, harmonic form and trigonometric proof and modelling.