Skip to content
Tutorials Center
My learning

Topics

Lesson 22 of 37 · Trigonometric Functions Review

Trigonometric Identities

Review the Pythagorean, sum, difference and double-angle identities, learn how to prove them, and test each one numerically in Python.

An identity is an equation that is true for every value of the variable where both sides are defined. Trig identities let you rewrite an expression in a simpler or more useful form, which is how you solve equations and, later in calculus, integrate trig functions.

This lesson lists the identities worth knowing, shows how to prove new ones, and uses a numeric checker so you never trust a formula you have misremembered.

The core identities

Reciprocal and quotient

Text
tan θ = sin θ / cos θ        cot θ = cos θ / sin θ
sec θ = 1 / cos θ            csc θ = 1 / sin θ

Pythagorean

Text
sin²θ + cos²θ = 1
1 + tan²θ = sec²θ
1 + cot²θ = csc²θ

The second comes from dividing the first by cos²θ; the third by dividing by sin²θ.

Even and odd

Text
sin(−θ) = −sin θ     cos(−θ) = cos θ     tan(−θ) = −tan θ

Cofunction

Text
sin(π/2 − θ) = cos θ      cos(π/2 − θ) = sin θ

Sum, difference and double-angle formulas

Text
sin(a ± b) = sin a cos b ± cos a sin b
cos(a ± b) = cos a cos b ∓ sin a sin b
tan(a ± b) = (tan a ± tan b) / (1 ∓ tan a tan b)

Notice the sign flip in cosine. Setting b = a gives the double-angle formulas:

Text
sin 2θ = 2 sin θ cos θ
cos 2θ = cos²θ − sin²θ = 2cos²θ − 1 = 1 − 2sin²θ
tan 2θ = 2 tan θ / (1 − tan²θ)

Rearranging the cosine versions yields the half-angle (power-reducing) forms:

Text
sin²θ = (1 − cos 2θ) / 2
cos²θ = (1 + cos 2θ) / 2

Using a formula: exact value of cos 75°

Write 75° = 45° + 30°:

Text
cos 75° = cos45°cos30° − sin45°sin30°
        = (√2/2)(√3/2) − (√2/2)(1/2)
        = (√6 − √2)/4  ≈ 0.2588
Python Numeric identity checker

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Proving an identity

To prove LHS = RHS, work on one side (usually the more complicated) until it becomes the other. Never "cross over" by adding or multiplying both sides; that assumes the thing you want to prove.

Useful moves:

  1. Rewrite everything in sin and cos.
  2. Use a Pythagorean identity to swap sin² and cos².
  3. Combine fractions over a common denominator.
  4. Multiply top and bottom by a conjugate.

Example

Prove (1 − cos²θ) / sin θ = sin θ.

Text
(1 − cos²θ) / sin θ = sin²θ / sin θ = sin θ

Harder example

Prove tan θ + cot θ = sec θ csc θ.

Text
tan θ + cot θ = sin/cos + cos/sin
              = (sin² + cos²) / (sin·cos)
              = 1 / (sin·cos)
              = sec θ · csc θ

A numeric test cannot replace a proof, but it quickly tells you whether an identity is worth trying to prove.

Python Symbolic proof with SymPy

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Which expression equals cos 2θ?

    cos 2θ = cos²θ - sin²θ = 1 - 2sin²θ. The first option is sin 2θ.
  2. 2. What is sin 15° as sin(45° - 30°)?

    sin45°cos30° - cos45°sin30° = (√6 - √2)/4.
  3. 3. Dividing sin²θ + cos²θ = 1 by cos²θ gives which identity?

    sin²/cos² = tan², cos²/cos² = 1 and 1/cos² = sec².
  4. 4. What is the correct way to prove a trig identity?

    A single example does not prove an identity, and operating on both sides assumes the result.

Summary

  • Memorize the Pythagorean, sum/difference and double-angle identities; the rest follow from them.
  • cos(a ± b) flips the sign in the middle.
  • Half-angle (power-reducing) forms come from cos 2θ.
  • Prove an identity by working on one side; rewrite in sine and cosine when stuck.
  • Numeric checks catch wrong formulas; SymPy can verify and expand them.

Next: Solving Trigonometric Equations