Unit 5, lesson 62

Verifying Trigonometric Identities

How to prove that two trigonometric expressions agree wherever both are defined, by rewriting one side with factoring, common denominators and conjugates, and why testing values never proves it.

  • Theory part 123
  • Practice part 124
  • Identities and Formulas

Graph y=tan⁡x+cot⁡xy = \tan x + \cot x and y=sec⁡xcsc⁡xy = \sec x \csc x on the same screen and the two curves land exactly on top of each other. That is strong evidence that they are the same function, but a screen shows only finitely many points. Verifying an identity means proving with algebra that two expressions agree at every input where both are defined, and a handful of algebraic moves does most of the work.

Key terms

Identity versus equation

Definition An identity is an equation that is true for every value of the variable at which both sides are defined. A conditional equation is true for some of those values but not for all of them. To show that an equation is not an identity, it is enough to find one value at which both sides are defined and differ.

In plain words You solve a conditional equation by finding the values that make it true. You verify an identity by showing that every allowed value makes it true.

Example The equation sin⁡2x+cos⁡2x=1\sin^2 x + \cos^2 x = 1 is an identity, true for every real xx. The equation sin⁡x=cos⁡x\sin x = \cos x is conditional. It holds at x=π4x = \frac{\pi}{4}, where both sides equal 22\frac{\sqrt{2}}{2}, but fails at x=0x = 0, where the sides are 00 and 11.

Common domain

Definition The common domain of an equation f(x)=g(x)f(x) = g(x) is the set of real numbers at which both f(x)f(x) and g(x)g(x) are defined. A trigonometric identity claims equality only on the common domain, and every step of a verification must be valid there. An input is excluded wherever some part of either side is undefined, most often because a denominator is zero, which includes the inputs where tangent, cotangent, secant or cosecant is undefined.

In plain words First find where both sides make sense. The identity only promises equality at those inputs.

Example In tan⁡xcos⁡x=sin⁡x\tan x \cos x = \sin x the left side needs cos⁡x≠0\cos x \neq 0, while the right side is defined for every xx. So the common domain is all real xx except x=π2+kπx = \frac{\pi}{2} + k\pi for integers kk. On it,

tan⁡xcos⁡x=sin⁡xcos⁡x⋅cos⁡x=sin⁡x,\tan x \cos x = \frac{\sin x}{\cos x} \cdot \cos x = \sin x,

so the equation is an identity. At x=π2x = \frac{\pi}{2} the right side equals 11 and the left side does not exist, which does not contradict the identity.

Rewriting one side

Definition To verify an identity, start from one side, usually the more complicated one, and rewrite it through a chain of equalities until it becomes the other side. Each step must be justified by algebra or by a known identity and must be valid on the common domain. An equally valid method rewrites each side separately until both reach the same expression. Do not operate on both sides at once, as when solving an equation, because that starts from the very equality you are trying to prove, and a step like squaring can turn a false statement such as 1=−11 = -1 into a true one.

In plain words Pick one side and keep rewriting it until it looks exactly like the other side. When nothing else suggests itself, write everything in terms of sines and cosines.

Example To verify cos⁡x(sec⁡x−cos⁡x)=sin⁡2x\cos x (\sec x - \cos x) = \sin^2 x, note that the left side needs cos⁡x≠0\cos x \neq 0. Start there, distribute, and use cos⁡xsec⁡x=1\cos x \sec x = 1 and the Pythagorean identity.

cos⁡x(sec⁡x−cos⁡x)=cos⁡xsec⁡x−cos⁡2x=1−cos⁡2x=sin⁡2x.\begin{aligned} &\cos x (\sec x - \cos x) \\[0.4em] &\quad = \cos x \sec x - \cos^2 x \\[0.4em] &\quad = 1 - \cos^2 x = \sin^2 x. \end{aligned}

The chain starts at the left side and ends at the right side, which is the whole proof.

Factoring

Definition Factoring in a verification uses the same algebra as factoring polynomials, with expressions like sin⁡x\sin x and cos⁡x\cos x in the role of the variables. Common patterns are a common factor, the difference of squares

a2−b2=(a−b)(a+b),a^2 - b^2 = (a - b)(a + b),

and quadratic trinomials such as u2−3u+2=(u−1)(u−2)u^2 - 3u + 2 = (u - 1)(u - 2). A factor such as sin⁡2x+cos⁡2x\sin^2 x + \cos^2 x or 1+tan⁡2x1 + \tan^2 x then simplifies by a Pythagorean identity.

In plain words Treat sin⁡x\sin x and cos⁡x\cos x like the letters aa and bb and factor as usual. Often one of the factors turns into 11 or into a single function.

Example To verify sin⁡4x−cos⁡4x=1−2cos⁡2x\sin^4 x - \cos^4 x = 1 - 2\cos^2 x for every real xx, read the left side as a difference of squares.

sin⁡4x−cos⁡4x=(sin⁡2x−cos⁡2x)(sin⁡2x+cos⁡2x)=sin⁡2x−cos⁡2x.\begin{gathered} \sin^4 x - \cos^4 x \\[0.4em] = (\sin^2 x - \cos^2 x)(\sin^2 x + \cos^2 x) \\[0.4em] = \sin^2 x - \cos^2 x. \end{gathered}

Replacing sin⁡2x\sin^2 x by 1−cos⁡2x1 - \cos^2 x gives 1−2cos⁡2x1 - 2\cos^2 x, the right side.

Common denominators

Definition A sum or difference of fractions is combined over a common denominator with

ab+cd=ad+bcbd,b≠0,  d≠0.\begin{gathered} \frac{a}{b} + \frac{c}{d} = \frac{ad + bc}{bd}, \\[0.8em] b \neq 0, \; d \neq 0. \end{gathered}

In a verification the denominators are trigonometric expressions, and the combined fraction is valid wherever none of them is zero.

In plain words Add trigonometric fractions exactly the way you add ordinary fractions. The new numerator often simplifies with a Pythagorean identity.

Example The identity from the opening, tan⁡x+cot⁡x=sec⁡xcsc⁡x\tan x + \cot x = \sec x \csc x, has common domain x≠kπ2x \neq \frac{k\pi}{2} for integers kk, since both sin⁡x\sin x and cos⁡x\cos x must be nonzero. On it,

tan⁡x+cot⁡x=sin⁡xcos⁡x+cos⁡xsin⁡x=sin⁡2x+cos⁡2xsin⁡xcos⁡x=1sin⁡xcos⁡x=sec⁡xcsc⁡x.\begin{aligned} \tan x + \cot x &= \frac{\sin x}{\cos x} + \frac{\cos x}{\sin x} \\[0.8em] &= \frac{\sin^2 x + \cos^2 x}{\sin x \cos x} \\[0.8em] &= \frac{1}{\sin x \cos x} \\[0.8em] &= \sec x \csc x. \end{aligned}

Conjugates

Definition The conjugate of a+ba + b is a−ba - b, and the conjugate of a−ba - b is a+ba + b. Multiplying a fraction by a+ba+b\frac{a + b}{a + b}, which equals 11 wherever a+b≠0a + b \neq 0, turns a denominator a−ba - b into a2−b2a^2 - b^2. With the Pythagorean identities, three such products collapse to a single term,

(1−sin⁡x)(1+sin⁡x)=cos⁡2x,(1−cos⁡x)(1+cos⁡x)=sin⁡2x,(sec⁡x−tan⁡x)(sec⁡x+tan⁡x)=1.\begin{gathered} (1 - \sin x)(1 + \sin x) = \cos^2 x, \\[0.4em] (1 - \cos x)(1 + \cos x) = \sin^2 x, \\[0.4em] (\sec x - \tan x)(\sec x + \tan x) = 1. \end{gathered}

The last one needs cos⁡x≠0\cos x \neq 0.

In plain words A denominator like 1−sin⁡x1 - \sin x cannot be simplified as it stands. Multiply the top and the bottom by 1+sin⁡x1 + \sin x, and the bottom becomes cos⁡2x\cos^2 x, which often cancels with something in the numerator.

Example Verify

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

The right side needs cos⁡x≠0\cos x \neq 0, and that also forces sin⁡x≠±1\sin x \neq \pm 1. So the common domain is x≠π2+kπx \neq \frac{\pi}{2} + k\pi, and on it 1+sin⁡x≠01 + \sin x \neq 0, which allows the multiplication.

cos⁡x1−sin⁡x=cos⁡x(1+sin⁡x)(1−sin⁡x)(1+sin⁡x)=cos⁡x(1+sin⁡x)cos⁡2x=1+sin⁡xcos⁡x.\begin{aligned} \frac{\cos x}{1 - \sin x} &= \frac{\cos x (1 + \sin x)}{(1 - \sin x)(1 + \sin x)} \\[0.8em] &= \frac{\cos x (1 + \sin x)}{\cos^2 x} \\[0.8em] &= \frac{1 + \sin x}{\cos x}. \end{aligned}

Numerical evidence is not proof

Definition Checking that an equation holds at some inputs, or that two graphs appear to coincide, is evidence but not a proof that it is an identity, since an identity is a claim about infinitely many inputs. A single input in the common domain at which the two sides differ is a proof that the equation is not an identity.

In plain words Testing numbers is a good way to catch mistakes and to hunt for a counterexample. Only an algebraic argument proves an identity.

Example The equation 1−cos⁡2x=sin⁡x\sqrt{1 - \cos^2 x} = \sin x holds at x=0x = 0, π6\frac{\pi}{6}, π4\frac{\pi}{4}, π3\frac{\pi}{3} and π2\frac{\pi}{2}, and in fact at every xx in [0,π][0, \pi]. Still it is not an identity. At x=−π2x = -\frac{\pi}{2} the left side is 1−0=1\sqrt{1 - 0} = 1 and the right side is −1-1. The correct statement, true for every real xx, is

1−cos⁡2x=∣sin⁡x∣,\sqrt{1 - \cos^2 x} = \lvert \sin x \rvert,

because the square root of a square is an absolute value.

Check yourself

  1. Verify the following identity and state its common domain.
1+tan⁡2xcsc⁡2x=tan⁡2x\frac{1 + \tan^2 x}{\csc^2 x} = \tan^2 x
Show the answer

The left side needs cos⁡x≠0\cos x \neq 0 for the tangent and sin⁡x≠0\sin x \neq 0 for the cosecant, so the common domain is x≠kπ2x \neq \frac{k\pi}{2} for integers kk. On it,

1+tan⁡2xcsc⁡2x=sec⁡2xcsc⁡2x=1cos⁡2x⋅sin⁡2x=tan⁡2x.\begin{aligned} \frac{1 + \tan^2 x}{\csc^2 x} &= \frac{\sec^2 x}{\csc^2 x} \\[0.8em] &= \frac{1}{\cos^2 x} \cdot \sin^2 x \\[0.8em] &= \tan^2 x. \end{aligned}
  1. Verify the identity
cos⁡x1+sin⁡x+1+sin⁡xcos⁡x=2sec⁡x.\frac{\cos x}{1 + \sin x} + \frac{1 + \sin x}{\cos x} = 2\sec x.
Show the answer

Both sides need cos⁡x≠0\cos x \neq 0, and then 1+sin⁡x≠01 + \sin x \neq 0 as well. Over the common denominator the left side is

cos⁡2x+1+2sin⁡x+sin⁡2x(1+sin⁡x)cos⁡x=2(1+sin⁡x)(1+sin⁡x)cos⁡x=2cos⁡x=2sec⁡x.\begin{aligned} &\frac{\cos^2 x + 1 + 2\sin x + \sin^2 x}{(1 + \sin x)\cos x} \\[0.8em] &\quad = \frac{2(1 + \sin x)}{(1 + \sin x)\cos x} \\[0.8em] &\quad = \frac{2}{\cos x} = 2\sec x. \end{aligned}
  1. The equation (sin⁡x+cos⁡x)2=1(\sin x + \cos x)^2 = 1 is true at x=0x = 0, π2\frac{\pi}{2}, π\pi and 3π2\frac{3\pi}{2}. Is it an identity?
Show the answer

No. At x=π4x = \frac{\pi}{4} the left side is (2)2=2\left(\sqrt{2}\right)^2 = 2. Expanding shows why the checks passed, since

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

which equals 11 only where sin⁡xcos⁡x=0\sin x \cos x = 0.

How this lesson connects

Where this leads in Calculus