girgit.org

Integrals

Integration by substitution: rename and simplify

The big ideaWhen the integrand contains a function together with its derivative, call that function t; the dx and the derivative merge into dt, and a messy integral becomes a standard one.

In simple words

Some sums look scary only because of one long chunk that keeps showing up. Give the chunk a short nickname, do the easy sum with the nickname, and at the end swap the real chunk back in. The trick only works if the leftover bits are exactly what you need to change over to the nickname.

Why we need methods

Inspection only works when you can guess the answer. For most integrands you cannot, so we reduce them to standard forms. The three main methods of integration are:

  1. integration by substitution (this concept and the next);
  2. integration by partial fractions (concept 7);
  3. integration by parts (concepts 8 and 9).

The change of variable

Put x = g(t). Then \( \frac{dx}{dt} = g'(t) \), which we write as dx = g′(t) dt, and

\[ \int f(x)\,dx = \int f(g(t))\,g'(t)\,dt. \]

In practice we usually go the other way: we spot a chunk u(x) whose derivative u′(x) is also sitting in the integrand, put t = u(x), and replace u′(x) dx by dt. This is the chain rule run backwards.

Try it: in each integral, tap the chunk you would call t, and see where it leads.

Worked examples

  1. \( \int 3x^2 \cos(x^3)\,dx \). The derivative of \( x^3 \) is \( 3x^2 \), and it is there. Put \( t = x^3 \), dt = 3x² dx: \( \int \cos t\,dt = \sin t + C = \sin(x^3) + C \).
  2. \( \int \frac{(\log x)^2}{x}\,dx \). Put t = log x, dt = dx/x: \( \int t^2\,dt = \frac{t^3}{3} + C = \frac{(\log x)^3}{3} + C \).
  3. \( \int e^{\tan x}\sec^2 x\,dx \). Put t = tan x, dt = sec² x dx: \( e^{\tan x} + C \).
  4. \( \int x\sqrt{x^2 + 4}\,dx \). Put \( t = x^2 + 4 \), dt = 2x dx, so x dx = dt/2: \( \frac{1}{2}\int t^{1/2}\,dt = \frac{1}{3}(x^2 + 4)^{3/2} + C \).
  5. \( \int \sin(5x + 2)\,dx \). Put t = 5x + 2, dx = dt/5: \( -\frac{1}{5}\cos(5x + 2) + C \).

Two patterns turn up so often that they are worth knowing by heart:

\[ \int \frac{f'(x)}{f(x)}\,dx = \log|f(x)| + C, \qquad \int [f(x)]^n f'(x)\,dx = \frac{[f(x)]^{n+1}}{n+1} + C\ \ (n \ne -1). \]

And from the last example: if \( \int f(x)\,dx = F(x) + C \), then \( \int f(ax + b)\,dx = \frac{1}{a}F(ax + b) + C \).

Try it: pick an answer for \( \int \sin(5x + 2)\,dx \) and see whether its slope gives back the integrand.

Guess first: \( \int \frac{dx}{2x + 3} \)

"It's 1 over something, so the answer is \( \log|2x + 3| \)." Guess: right or wrong?

See what happens
Wrong by a factor. Differentiate \( \log|2x + 3| \): you get \( \frac{2}{2x + 3} \), twice too big. With t = 2x + 3, dx = dt/2, so the answer is \( \frac{1}{2}\log|2x + 3| + C \). Whenever the inside is not just x, check the chain-rule factor.

Four trigonometric integrals by substitution

These come out of substitution and are then used as standard results:

IntegralAnswerHow
\( \int \tan x\,dx \)\( \log|\sec x| + C \)Write \( \frac{\sin x}{\cos x} \), put t = cos x: \( -\log|\cos x| \)
\( \int \cot x\,dx \)\( \log|\sin x| + C \)Write \( \frac{\cos x}{\sin x} \), put t = sin x
\( \int \sec x\,dx \)\( \log|\sec x + \tan x| + C \)Multiply top and bottom by sec x + tan x; the top becomes the derivative of the bottom
\( \int \operatorname{cosec} x\,dx \)\( \log|\operatorname{cosec} x - \cot x| + C \)Multiply top and bottom by cosec x + cot x, then tidy the log

For JEE: the same results are often written \( \int \sec x\,dx = \log\left|\tan\left( \frac{\pi}{4} + \frac{x}{2} \right)\right| + C \) and \( \int \operatorname{cosec} x\,dx = \log\left|\tan\frac{x}{2}\right| + C \). They are the same functions in disguise.

Choosing a substitution

  • Look for a chunk whose derivative is also present, up to a constant: inside a bracket, a power, a root, an exponent, or under a log.
  • Sometimes you need two substitutions in a row, or a little algebra first (multiply top and bottom, split a fraction).
  • Always finish by writing the answer in the original variable x.

Words to know

Substitution
Changing the variable of integration, x = g(t), to reach a standard form.
dx = g′(t) dt
How the small step in x is rewritten in terms of t.
Back-substitution
Writing the final answer in x again.
f′/f pattern
When the top is the derivative of the bottom, the integral is log|bottom|.

Which substitution makes \( \int \frac{\sin(\sqrt{x})}{\sqrt{x}}\,dx \) easy?

  1. \( t = \sqrt{x} \)
  2. \( t = \sin\sqrt{x} \)
  3. t = x

What is \( \int \frac{2x + 1}{x^2 + x + 5}\,dx \)?

  1. \( \log(x^2 + x + 5) + C \)
  2. \( \frac{(x^2 + x + 5)^2}{2} + C \)
  3. \( \tan^{-1}(x^2 + x + 5) + C \)

\( \int \tan x\,dx \) equals

  1. \( \sec^2 x + C \)
  2. \( \log|\cos x| + C \)
  3. \( \log|\sec x| + C \)