girgit.org

Integrals

The definite integral and the fundamental theorem of calculus

The big ideaThe definite integral \( \int_a^b f(x)\,dx \) is one number, the area under y = f(x) from a to b; the Fundamental Theorem of Calculus says you get it from any antiderivative F as F(b) − F(a).

In simple words

Paint the floor under a curve, from one mark to another, and ask how much floor you painted. That is one number, not a family. The surprise is that you do not have to measure the floor at all. Find any function whose slope is your curve, look at its value at the far mark and at the near mark, and take one from the other.

The definite integral

A definite integral is written \( \int_a^b f(x)\,dx \). The number a is the lower limit and b is the upper limit. Unlike an indefinite integral, it has a single value. It can be introduced in two ways: as the limit of a sum of thin strips, or, when f has an antiderivative F on [a, b], as F(b) − F(a). The fundamental theorems below connect the two.

For f(x) ≥ 0, \( \int_a^b f(x)\,dx \) measures the area that lies between the curve y = f(x) and the x-axis, from the vertical line x = a to the vertical line x = b (these vertical lines are called ordinates). For JEE: where the curve dips below the x-axis, that part counts as negative, so a definite integral is a signed area.

The area function

Keep a fixed and let the right edge slide to a variable point x in [a, b]. The shaded area now depends on x. Call it the area function:

\[ A(x) = \int_a^x f(t)\,dt. \]

The letter t inside is a dummy variable: any letter would do. We use a different one from x so the upper limit and the variable of integration do not get confused.

First fundamental theorem

If f is continuous on [a, b], then A′(x) = f(x) for every x in [a, b].

Why it is believable: move the edge from x to x + h. The area grows by a thin strip of width h and height about f(x), so \( A(x + h) - A(x) \approx f(x)\,h \). Divide by h and let h shrink: the rate at which the area grows is the height of the curve at the edge. So the area function is an antiderivative of f. (The textbook states both theorems without proof.)

Try it: drag the edge and compare the slope of the area graph with the height of the curve.

For JEE: combined with the chain rule, \( \frac{d}{dx}\int_a^{g(x)} f(t)\,dt = f(g(x))\,g'(x) \). For example \( \frac{d}{dx}\int_0^{x^2}\cos t\,dt = 2x\cos(x^2) \).

Second fundamental theorem

If f is continuous on [a, b] and F is any antiderivative of f, then

\[ \int_a^b f(x)\,dx = \big[ F(x) \big]_a^b = F(b) - F(a). \]

Steps:

  1. Find the indefinite integral, F(x). Leave out the constant: \( [F(b) + C] - [F(a) + C] = F(b) - F(a) \), so C always cancels.
  2. Work out F(b) − F(a): value at the upper limit minus value at the lower limit.

Worked examples

  1. \( \int_1^2 (3x^2 + 2x)\,dx = \big[ x^3 + x^2 \big]_1^2 = (8 + 4) - (1 + 1) = 10 \).
  2. \( \int_0^{\pi/2}\cos x\,dx = \big[ \sin x \big]_0^{\pi/2} = 1 - 0 = 1 \).
  3. \( \int_0^1 \frac{dx}{1 + x^2} = \big[ \tan^{-1} x \big]_0^1 = \frac{\pi}{4} \).
  4. \( \int_1^e \frac{dx}{x} = \big[ \log x \big]_1^e = 1 - 0 = 1 \).
  5. \( \int_0^1 x e^x\,dx = \big[ e^x(x - 1) \big]_0^1 = 0 - (-1) = 1 \) (antiderivative by parts).

Guess first: \( \int_{-1}^{1}\frac{dx}{x^2} \)

An antiderivative is \( F(x) = -\frac{1}{x} \), so F(1) − F(−1) = −1 − 1 = −2. Guess: is the answer −2?

See what happens
No. The integrand \( \frac{1}{x^2} \) is positive everywhere, so a negative "area" is nonsense. The theorem needs f to be defined and continuous on the whole of [a, b], and \( \frac{1}{x^2} \) blows up at x = 0, inside the interval. The area under it is actually infinite. Before using F(b) − F(a), always check the integrand has no break between the limits.

The definite integral as a limit of a sum

Not in the current textbook, but JEE asks it: cut [a, b] into n strips of width \( h = \frac{b - a}{n} \). Then

\[ \int_a^b f(x)\,dx = \lim_{n \to \infty} h\,[ f(a) + f(a + h) + \dots + f(a + (n - 1)h) ]. \]

JEE mostly uses it backwards, to find a limit: \( \lim_{n \to \infty} \frac{1}{n}\sum_{r=1}^{n} f\left( \frac{r}{n} \right) = \int_0^1 f(x)\,dx \). Replace \( \frac{r}{n} \) by x and \( \frac{1}{n} \) by dx. For example, \( \lim_{n \to \infty} \sum_{r=1}^{n} \frac{n}{n^2 + r^2} = \lim \frac{1}{n}\sum \frac{1}{1 + (r/n)^2} = \int_0^1 \frac{dx}{1 + x^2} = \frac{\pi}{4} \).

Try it: add up the strips yourself and watch the sum close in on the area as n grows.

Words to know

Definite integral
\( \int_a^b f(x)\,dx \): a single number, the signed area under f from a to b.
Limits of integration
a (lower) and b (upper): where the area starts and stops.
Area function
\( A(x) = \int_a^x f(t)\,dt \), the area up to a moving edge x.
First fundamental theorem
A′(x) = f(x): the area function is an antiderivative of f.
Second fundamental theorem
\( \int_a^b f(x)\,dx = F(b) - F(a) \) for any antiderivative F.
Dummy variable
The letter inside a definite integral; changing it changes nothing.

What is \( \int_0^{\pi}\sin x\,dx \)?

  1. 0
  2. 2
  3. −2

If \( A(x) = \int_1^x \sqrt{1 + t^3}\,dt \), what is A′(2)?

  1. 3
  2. 0
  3. \( \frac{2}{5}(1 + t^3)^{5/2} \)

Why can we drop + C when evaluating a definite integral?

  1. Definite integrals have no antiderivatives
  2. It cancels when we subtract
  3. Because C is always 0