girgit.org

Integrals

Definite integrals by substitution, and splitting the interval

The big ideaWhen you substitute in a definite integral, change the limits too and never go back to x; and the first properties of definite integrals let you rename the variable, swap the limits with a minus sign, and split the interval wherever it helps, such as where a modulus changes sign.

In simple words

If you change from kilometres to metres halfway through a sum, you must change the start and finish marks into metres too. Then you can finish in metres and never switch back. And a long stretch of road can be measured in two pieces and added, which is handy when the road changes halfway.

Substitution with limits

To find \( \int_a^b f(x)\,dx \) by substitution, there are two routes:

  1. The long way. Do the indefinite integral by substitution, write the answer back in x, then put in x = b and x = a.
  2. The quick way. When you put t = g(x), also change the limits: t runs from g(a) to g(b). Integrate in t and put in the new limits. No need to go back to x.

Worked examples

  1. \( \int_0^1 \frac{2x}{(1 + x^2)^2}\,dx \). t = 1 + x², dt = 2x dx. x = 0 gives t = 1; x = 1 gives t = 2. So \( \int_1^2 \frac{dt}{t^2} = \left[ -\frac{1}{t} \right]_1^2 = -\frac{1}{2} + 1 = \frac{1}{2} \).
  2. \( \int_0^{\pi/2}\sqrt{\sin x}\,\cos x\,dx \). t = sin x runs from 0 to 1: \( \int_0^1 t^{1/2}\,dt = \frac{2}{3} \).
  3. \( \int_0^1 x e^{x^2}\,dx \). t = x², \( x\,dx = \frac{dt}{2} \), t from 0 to 1: \( \frac{1}{2}\big[ e^t \big]_0^1 = \frac{e - 1}{2} \).
  4. \( \int_0^2 \sqrt{4 - x^2}\,dx \). x = 2 sin θ, dx = 2 cos θ dθ, θ from 0 to \( \frac{\pi}{2} \). The integral is \( \int_0^{\pi/2} 4\cos^2\theta\,d\theta = 2\left[ \theta + \frac{\sin 2\theta}{2} \right]_0^{\pi/2} = \pi \). Check: that is a quarter of a circle of radius 2, area \( \frac{1}{4}\pi(2)^2 = \pi \).

Guess first: keep the old limits?

For \( \int_0^{\pi/2}\sin x\cos x\,dx \), a student puts t = sin x and writes \( \int_0^{\pi/2} t\,dt = \frac{\pi^2}{8} \approx 1.23 \). Guess: right or wrong?

See what happens
Wrong. 0 and \( \frac{\pi}{2} \) are values of x, not of t. When x goes from 0 to \( \frac{\pi}{2} \), t = sin x goes from 0 to 1. The right integral is \( \int_0^1 t\,dt = \frac{1}{2} \). The limits must always belong to the variable you are integrating with.

Try it: follow the limits from the x-world into the t-world.

The first properties

These follow straight from F(b) − F(a).

  • P₀ (dummy variable): \( \int_a^b f(x)\,dx = \int_a^b f(t)\,dt \). The letter does not matter.
  • P₁ (swap the limits): \( \int_a^b f(x)\,dx = -\int_b^a f(x)\,dx \), because F(b) − F(a) = −[F(a) − F(b)]. In particular \( \int_a^a f(x)\,dx = 0 \).
  • P₂ (split the interval): \( \int_a^b f(x)\,dx = \int_a^c f(x)\,dx + \int_c^b f(x)\,dx \), since [F(c) − F(a)] + [F(b) − F(c)] = F(b) − F(a).

For JEE: P₂ is true for any c, even one outside [a, b], as long as f is continuous over everything involved.

Using P₂ for a modulus

A modulus |g(x)| has a different formula on each side of a point where g(x) = 0. Find those points, split there, and drop the modulus with the right sign on each piece.

Try it: drag the limits across a sign change and watch the integral split into pieces.

Worked examples

  1. \( \int_0^3 |x - 1|\,dx \). x − 1 changes sign at 1. On [0, 1] it is negative, so |x − 1| = 1 − x; on [1, 3] it is x − 1. \( \int_0^1 (1 - x)\,dx + \int_1^3 (x - 1)\,dx = \frac{1}{2} + 2 = \frac{5}{2} \).
  2. \( \int_0^{\pi}|\cos x|\,dx \). cos x is positive on \( \left[ 0, \frac{\pi}{2} \right] \) and negative on \( \left[ \frac{\pi}{2}, \pi \right] \). So \( \big[ \sin x \big]_0^{\pi/2} - \big[ \sin x \big]_{\pi/2}^{\pi} = 1 - (0 - 1) = 2 \).
  3. For JEE: \( \int_0^2 [x]\,dx \), where [x] is the greatest integer ≤ x. [x] = 0 on [0, 1) and 1 on [1, 2). Split at 1: 0 + 1 = 1.

Try it: find \( \int_{-1}^{2}|x|\,dx \).

Answer
Split at 0: \( \int_{-1}^{0}(-x)\,dx + \int_0^2 x\,dx = \frac{1}{2} + 2 = \frac{5}{2} \).

Words to know

Changing the limits
Turning the x-limits into t-limits when you substitute t = g(x).
P₀
The variable inside a definite integral can be renamed.
P₁
Swapping the limits changes the sign.
P₂
An integral can be split at any point c into two integrals that add up.
Modulus
|g(x)| equals g(x) where g ≥ 0 and −g(x) where g < 0.

With t = 1 + x³, what are the new limits for \( \int_0^2 x^2\sqrt{1 + x^3}\,dx \)?

  1. 0 to 2
  2. 1 to 9
  3. 0 to 9

If \( \int_0^3 f(x)\,dx = 7 \) and \( \int_0^5 f(x)\,dx = 4 \), what is \( \int_3^5 f(x)\,dx \)?

  1. 11
  2. 3
  3. −3

What is \( \int_{-2}^{2}|x + 1|\,dx \)?

  1. 4
  2. 5
  3. \( \frac{9}{2} \)