Skip to content

Trigonometric identities: proving and simplifying expressions

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

tanx=sinxcosx,sin2x+cos2x=1,\boxed{\tan x=\frac{\sin x}{\cos x}}, \qquad \boxed{\sin^2x+\cos^2x=1},

together with the reciprocal definitions

secx=1cosx,cosecx=1sinx,cotx=1tanx=cosxsinx.\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

sin2x+cos2x=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,

2sinx=12\sin x=1

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

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

sin2x+cos2x1.\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,

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

Therefore

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

Hence

tanx=sinxcosx.\boxed{\tan x=\frac{\sin x}{\cos x}}.

It is valid where cosx0\cos x\ne0. At x=90x=90^\circ, for example, both tanx\tan x and sinx/cosx\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

tanxcosxsinx.\frac{\tan x\cos x}{\sin x}.

Replace tangent by sinx/cosx\sin x/\cos x:

tanxcosxsinx=(sinx/cosx)cosxsinx=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 sinx0\sin x\ne0 and cosx0\cos x\ne0. The simplified value 11 does not remove those restrictions.

Show that

1+tanx1tanx=cosx+sinxcosxsinx.\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+tanx1tanx=1+sinx/cosx1sinx/cosx=(cosx+sinx)/cosx(cosxsinx)/cosx=cosx+sinxcosxsinx.\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 cosx\cos x is often the cleanest way to remove fractions within fractions.

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

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

Thus

sin2x+cos2x=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:

sin2x=1cos2x,cos2x=1sin2x,\sin^2x=1-\cos^2x, \qquad \cos^2x=1-\sin^2x,

and, by difference of two squares,

cos2xsin2x=(cosxsinx)(cosx+sinx).\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

3sin2x+3cos2x2.3\sin^2x+3\cos^2x-2.

Factor the common coefficient before using the identity:

3sin2x+3cos2x2=3(sin2x+cos2x)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

1sin2x1+sinx.\frac{1-\sin^2x}{1+\sin x}.

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

1sin2x1+sinx=(1sinx)(1+sinx)1+sinx=1sinx.\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 sinx1\sin x\ne-1.

Simplify:

  1. 5cos2x+5sin2x35\cos^2x+5\sin^2x-3;
  2. cos2x1sinx\dfrac{\cos^2x}{1-\sin x};
  3. (secxtanx)(secx+tanx)(\sec x-\tan x)(\sec x+\tan x).
Answers
  1. 5(cos2x+sin2x)3=53=25(\cos^2x+\sin^2x)-3=5-3=\boxed{2}.

  2. Since cos2x=1sin2x\cos^2x=1-\sin^2x,

cos2x1sinx=(1sinx)(1+sinx)1sinx=1+sinx,\frac{\cos^2x}{1-\sin x} =\frac{(1-\sin x)(1+\sin x)}{1-\sin x} =\boxed{1+\sin x},

where sinx1\sin x\ne1.

  1. This is a difference of two squares:
(secxtanx)(secx+tanx)=sec2xtan2x=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

secx=1cosx,cosecx=1sinx,cotx=1tanx=cosxsinx.\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,

secx=1cosx,\sec x=\frac1{\cos x},

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

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

Divide every term by cos2x\cos^2x:

sin2xcos2x+cos2xcos2x=1cos2x,\frac{\sin^2x}{\cos^2x}+\frac{\cos^2x}{\cos^2x} =\frac1{\cos^2x},

so

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

Divide instead by sin2x\sin^2x:

sin2xsin2x+cos2xsin2x=1sin2x,\frac{\sin^2x}{\sin^2x}+\frac{\cos^2x}{\sin^2x} =\frac1{\sin^2x},

so

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

Useful rearrangements include

sec2xtan2x=1,cosec2xcot2x=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

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

Because sec2x1=tan2x\sec^2x-1=\tan^2x,

sec2x1tanx=tan2xtanx=tanx,\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

11sinx+11+sinx=2sec2x.\frac1{1-\sin x}+\frac1{1+\sin x}=2\sec^2x.

Begin with the left hand side:

11sinx+11+sinx=1+sinx+1sinx(1sinx)(1+sinx)=21sin2x=2cos2x=2sec2x.\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

secxcosxtanx=sinx.\frac{\sec x-\cos x}{\tan x}=\sin x. secxcosxtanx=1/cosxcosxsinx/cosx=(1cos2x)/cosxsinx/cosx=sin2xcosx×cosxsinx=sinx.\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 1cos2x1-\cos^2x by sin2x\sin^2x.

Show that

1secx+tanx=secxtanx.\frac1{\sec x+\tan x}=\sec x-\tan x.

Multiply by the conjugate secxtanx\sec x-\tan x:

1secx+tanx=secxtanx(secx+tanx)(secxtanx)=secxtanxsec2xtan2x=secxtanx.\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. tanxsecx=sinx\dfrac{\tan x}{\sec x}=\sin x
  2. 1cos2xsinx=sinx\dfrac{1-\cos^2x}{\sin x}=\sin x
  3. cosecxsinxcosx=cotx\dfrac{\cosec x-\sin x}{\cos x}=\cot x
Answers
tanxsecx=sinx/cosx1/cosx=sinx.\frac{\tan x}{\sec x} =\frac{\sin x/\cos x}{1/\cos x} =\boxed{\sin x}.
1cos2xsinx=sin2xsinx=sinx.\frac{1-\cos^2x}{\sin x} =\frac{\sin^2x}{\sin x} =\boxed{\sin x}.
cosecxsinxcosx=1/sinxsinxcosx=1sin2xsinxcosx=cos2xsinxcosx=cosxsinx=cotx.\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 sin2x\sin^2x and cosx\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

2sin2x=3cosx2\sin^2x=3\cos x

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

Use sin2x=1cos2x\sin^2x=1-\cos^2x:

2(1cos2x)=3cosx.2(1-\cos^2x)=3\cos x.

Rearrange and factorise:

2cos2x+3cosx2=0(2cosx1)(cosx+2)=0.\begin{aligned} 2\cos^2x+3\cos x-2&=0\\ (2\cos x-1)(\cos x+2)&=0. \end{aligned}

Therefore

cosx=12orcosx=2.\cos x=\frac12 \qquad\text{or}\qquad \cos x=-2.

The second possibility is impossible because 1cosx1-1\le\cos x\le1. In the given interval, cosx=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

sinx=sinxcosx\sin x=\sin x\cos x

for 0x<3600^\circ\le x<360^\circ.

Bring all terms to one side and factorise:

sinx(1cosx)=0.\sin x(1-\cos x)=0.

Hence

sinx=0orcosx=1.\sin x=0 \qquad\text{or}\qquad \cos x=1.

These give

x=0,180orx=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 sinx\sin x would discard every solution for which sinx=0\sin x=0. Factorising protects those solutions.

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

In general,

sin(A+B)sinA+sinB.\sin(A+B)\ne\sin A+\sin B.

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

(sinx+cosx)2=sin2x+2sinxcosx+cos2x=1+2sinxcosx,(\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 sin2x=1/4\sin^2x=1/4, it follows that

sinx=±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

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

where sinx0\sin x\ne0, but no cancellation is possible in

sinx+cosxsinx.\frac{\sin x+\cos x}{\sin x}.

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

  1. State whether sinx=cosx\sin x=\cos x is an identity or an equation.
  2. Simplify 1+tan2xsecx\dfrac{1+\tan^2x}{\sec x}.
  3. Prove cosx1sinx=secx+tanx\dfrac{\cos x}{1-\sin x}=\sec x+\tan x.
  4. Solve 3cos2x+sin2x=23\cos^2x+\sin^2x=2 for 0x<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+tan2x=sec2x1+\tan^2x=\sec^2x,

1+tan2xsecx=sec2xsecx=secx.\frac{1+\tan^2x}{\sec x} =\frac{\sec^2x}{\sec x} =\boxed{\sec x}.
  1. Multiply numerator and denominator by 1+sinx1+\sin x:
cosx1sinx=cosx(1+sinx)1sin2x=cosx(1+sinx)cos2x=1cosx+sinxcosx=secx+tanx.\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 sin2x\sin^2x by 1cos2x1-\cos^2x:
3cos2x+1cos2x=2,3\cos^2x+1-\cos^2x=2,

so

2cos2x=1cosx=±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}.
tanx=sinxcosx,sin2x+cos2x=1,\boxed{\tan x=\frac{\sin x}{\cos x}}, \qquad \boxed{\sin^2x+\cos^2x=1}, 1+tan2x=sec2x,1+cot2x=cosec2x.\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.