girgit.org

Integrals

Integration using trigonometric identities

The big ideaSquares, cubes and products of sines and cosines are not in the table, but a trigonometric identity can turn each into a sum of plain sines and cosines that are.

In simple words

Some knots cannot be untied by pulling. You have to loosen them first. A trig identity loosens the knot: it rewrites a square or a product as a few simple pieces added together. Then each piece comes apart easily.

Guess first: \( \int \sin^2 x\,dx \)

"Power rule: add one to the power and divide, so it's \( \frac{\sin^3 x}{3} \)." Guess: does that work?

See what happens
No. Differentiate \( \frac{\sin^3 x}{3} \): the chain rule gives \( \sin^2 x \cos x \). That extra cos x is missing from our integrand, so the power rule does not apply. Instead use \( \sin^2 x = \frac{1 - \cos 2x}{2} \): \( \int \sin^2 x\,dx = \frac{x}{2} - \frac{\sin 2x}{4} + C \).

Try it: see the answer as an area. Drag the edge and watch the humps fill the dips.

The toolkit

When you seeUse
\( \sin^2 x \), \( \cos^2 x \)\( \sin^2 x = \frac{1 - \cos 2x}{2} \), \( \cos^2 x = \frac{1 + \cos 2x}{2} \)
\( \sin^3 x \), \( \cos^3 x \)\( \sin^3 x = \frac{3\sin x - \sin 3x}{4} \), \( \cos^3 x = \frac{3\cos x + \cos 3x}{4} \)
sin A cos B\( 2\sin A\cos B = \sin(A + B) + \sin(A - B) \)
cos A cos B\( 2\cos A\cos B = \cos(A + B) + \cos(A - B) \)
sin A sin B\( 2\sin A\sin B = \cos(A - B) - \cos(A + B) \)
\( \tan^2 x \), \( \cot^2 x \)\( \tan^2 x = \sec^2 x - 1 \), \( \cot^2 x = \operatorname{cosec}^2 x - 1 \)

The first two rows come from cos 2x and from sin 3x = 3 sin x − 4 sin³ x, cos 3x = 4 cos³ x − 3 cos x. The product rows come from adding the formulas for sin(A ± B) or cos(A ± B).

Worked examples

  1. \( \int \cos^2 x\,dx \) \( = \int \frac{1 + \cos 2x}{2}\,dx = \frac{x}{2} + \frac{\sin 2x}{4} + C \).
  2. \( \int \cos 3x \cos x\,dx \). \( \cos 3x\cos x = \frac{1}{2}(\cos 4x + \cos 2x) \), so the integral is \( \frac{\sin 4x}{8} + \frac{\sin 2x}{4} + C \).
  3. \( \int \sin 5x \sin 2x\,dx \). \( = \frac{1}{2}\int (\cos 3x - \cos 7x)\,dx = \frac{\sin 3x}{6} - \frac{\sin 7x}{14} + C \).
  4. \( \int \cos^4 x\,dx \). Square the half-angle form: \( \cos^4 x = \frac{(1 + \cos 2x)^2}{4} = \frac{1}{4} + \frac{\cos 2x}{2} + \frac{\cos^2 2x}{4} \), and \( \cos^2 2x = \frac{1 + \cos 4x}{2} \). Collect: \( \frac{3}{8} + \frac{\cos 2x}{2} + \frac{\cos 4x}{8} \). Integrate: \( \frac{3x}{8} + \frac{\sin 2x}{4} + \frac{\sin 4x}{32} + C \).

The odd-power trick

If sin or cos appears to an odd power, peel off one copy and use \( \sin^2 + \cos^2 = 1 \) on the rest. The peeled copy becomes dt.

Worked examples

  1. \( \int \cos^3 x\,dx \). Write \( \cos^2 x \cdot \cos x = (1 - \sin^2 x)\cos x \). Put t = sin x, dt = cos x dx: \( \int (1 - t^2)\,dt = \sin x - \frac{\sin^3 x}{3} + C \).
  2. \( \int \sin^2 x \cos^3 x\,dx \). The cosine power is odd. \( \sin^2 x(1 - \sin^2 x)\cos x \), t = sin x: \( \int (t^2 - t^4)\,dt = \frac{\sin^3 x}{3} - \frac{\sin^5 x}{5} + C \).

Example 1 could also be done with the cube identity: \( \frac{3\sin x}{4} + \frac{\sin 3x}{12} + C \). The two answers look different, but expand sin 3x = 3 sin x − 4 sin³ x and they are the same function.

Same integral, different-looking answers

Try \( \int \sin x\cos x\,dx \) three ways. With t = sin x you get \( \frac{\sin^2 x}{2} \). With t = cos x you get \( -\frac{\cos^2 x}{2} \). Using \( \sin x\cos x = \frac{\sin 2x}{2} \) you get \( -\frac{\cos 2x}{4} \). All three are right: each pair differs by a constant (\( \frac{1}{2} \) or \( \frac{1}{4} \)), and the + C absorbs it. In a multiple-choice question, if your answer is not among the options, test whether it differs from one by a constant.

Try it: test all three answers and watch where their graphs sit.

Remember

  • Even powers: lower them with the double-angle formulas.
  • Odd powers: peel one off, convert the rest with \( \sin^2 + \cos^2 = 1 \), substitute.
  • Products of different angles: turn them into sums first.

Words to know

Trigonometric identity
An equation between trig expressions that is true for every angle.
Power reduction
Rewriting \( \sin^2 x \) or \( \cos^2 x \) using cos 2x, so no square remains.
Product-to-sum
Turning sin A cos B and similar products into a sum of two sines or cosines.
Equivalent answers
Answers that look different but differ only by a constant.

What is \( \int 2\sin 3x\cos x\,dx \)?

  1. \( -\frac{\cos 4x}{4} - \frac{\cos 2x}{2} + C \)
  2. \( -\frac{2}{3}\cos 3x \sin x + C \)
  3. \( \frac{\cos 4x}{4} + \frac{\cos 2x}{2} + C \)

For \( \int \sin^3 x\cos^2 x\,dx \), which substitution works after peeling?

  1. t = sin x
  2. t = cos x
  3. t = tan x

One student gets \( \frac{\sin^2 x}{2} \) for \( \int \sin x\cos x\,dx \), another gets \( -\frac{\cos 2x}{4} \). Who is right?

  1. Only the first
  2. Only the second
  3. Both