Definite Integrals

We've seen that we can approximate the area under a curve by using a sum of rectangle areas. But suppose I'm trying to find the exact area under a curve --- say $y = f(x)$ from $x = a$ to $x = b$ . Since increasing the number of rectangles increases the accuracy of the approximation, maybe I'd get the exact area if I could use an "infinite number of rectangles". I will give a rough description of how we might do this.

To do this, I start by breaking the interval $[a,b]$ up into n subintervals of lengths $\Delta x_1$ , $\Delta
   x_2$ , ..., $\Delta x_n$ . In the k-th subinterval, I pick some point $x_k$ , and use $f(x_k)$ as the height of the k-th rectangle.

$$\hbox{\epsfysize=1.75in \epsffile{definite-integrals-1.eps}}$$

The sum of the areas of the rectangles approximates the area under the curve:

$$\hbox{Area} \approx \sum_{k=1}^n f(x_k) \Delta x_k.$$

The more rectangles I take, the better the approximation. So it's reasonable to suppose that the exact area would be given by the limit of such sums, as n goes to infinity:

$$\hbox{Area} = \lim_{n \to \infty} \sum_{k=1}^n f(x_k) \Delta x_k.$$

The expression on the right --- a limit of a sum, or a Riemann sum --- is called the definite integral of $f(x)$ from a to b and is denoted as follows:

$$\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{k=1}^n f(x_k) \Delta x_k.$$

If the limit of the sum on the right side is defined, the function f is integrable on the interval $a \le x \le b$ .

Remark. In the definition above, I'm passing over a number of technical points for the sake of getting the intuitive idea across. For example, what does it mean to let the number of rectangles become infinite? Does it matter how the rectangles' widths or the evaluation points are chosen?

A careful treatment of the Riemann integral has to take these considerations into account.

It is possible to compute areas using the formula above, though it's not easy. Here's an example of a direct computation using the defintion.


Example. Use the limit of a sum to compute the area under $y = 2 x + 3$ from $x = 0$ to $x = 2$ --- that is, the definite integral

$$\int_0^2 (2 x + 3)\,dx.$$

I will need the following summation formulas:

$$\sum_{k = 1}^n k = \dfrac{n(n + 1)}{2} \quad\hbox{and}\quad \sum_{k = 1}^n c = n c.$$

Divide up the interval $[0,
   2]$ into n equal subintervals. Each has length $\Delta x =
   \dfrac{2}{n}$ . I'll evaluate the function at the right-hand endpoints. These are

$$1 \cdot \dfrac{2}{n},\ 2 \cdot \dfrac{2}{n},\ 3 \cdot \dfrac{2}{n}, \ldots, (n - 1) \cdot \dfrac{2}{n},\ n \cdot \dfrac{2}{n}.$$

The k-th point is $\dfrac{2
   k}{n}$ , so the height of the k-th rectangle is

$$f\left(\dfrac{2 k}{n}\right) = \dfrac{4 k}{n} + 3.$$

The sum of the rectangles' areas is

$$\sum_{k = 1}^n \left(\dfrac{4 k}{n} + 3\right) \cdot \dfrac{2}{n} = \dfrac{2}{n} \sum_{k = 1}^n \left(\dfrac{4}{n} \cdot k + 3\right) = \dfrac{2}{n} \left(\dfrac{4}{n} \cdot \sum_{k = 1}^n k + \sum_{k = 1}^n 3\right).$$

Applying the sum formulas above, I get

$$\dfrac{2}{n} \left(\dfrac{4}{n} \cdot \dfrac{n(n + 1)}{2} + 3 n\right) = \dfrac{2}{n} \left(2(n + 1) + 3 n\right) = \dfrac{2}{n} (5 n + 2) = \dfrac{10 n + 4}{n}.$$

The (exact) area is

$$\lim_{n \to \infty} \dfrac{10 n + 4}{n} = 10.\quad\halmos$$


While this approach works, it's pretty complicated! I'll discuss better ways to compute definite integrals shortly.

Not all functions are integrable. The following result which I'll state without proof covers most of the cases we'll need:

Theorem. A bounded function with finitely many discontinuities is integrable.

For example, consider the function

$$f(x) = \cases{ 1 & if $x \le 0$ \cr x^2 & if $x > 0$ \cr}.$$

There is a single discontinuity at $x = 0$ . Hence, f is integrable on any interval.

$$\hbox{\epsfysize=1.5in \epsffile{definite-integrals-2.eps}}$$

In particular, a continuous function is integrable.

On the other hand, $f(x) =
   \dfrac{1}{x^2}$ is not bounded near $x = 0$ , so it is not integrable on any interval containing 0.

$$\hbox{\epsfysize=1.5in \epsffile{definite-integrals-3.eps}}$$

In some cases, you can use the fact that the definite integral represents the area under a curve to evaluate the integral geometrically.


Example. Compute $\displaystyle \int_0^4 (4 -
   x)\,dx$ .

$$\hbox{\epsfysize=1.5in \epsffile{definite-integrals-4.eps}}$$

The integral represents the area of a triangle with height 4 and base 4, so

$$\int_0^4 (4 - x)\,dx = \dfrac{1}{2} \cdot 4 \cdot 4 = 8.\quad\halmos$$


Example. Compute $\displaystyle \int_0^6 (4 -
   x)\,dx$ .

$$\hbox{\epsfysize=1.5in \epsffile{definite-integrals-5.eps}}$$

The area consists of the piece in the last problem, together with a piece of area 2. But the second piece is below the x-axis, so it is taken as negative in the definite integral:

$$\int_0^6 (4 - x)\,dx = 8 - 2 = 6.\quad\halmos$$


Example. Compute $\displaystyle \int_{-1}^1
   \sqrt{1 - x^2}\,dx$ .

$$\hbox{\epsfysize=1.25in \epsffile{definite-integrals-6.eps}}$$

This is half the area of a circle of radius 1:

$$\int_{-1}^1 \sqrt{1 - x^2}\,dx = \dfrac{\pi}{2} = 1.57079 \ldots.\quad\halmos$$


Here are some properties of definite integrals. I'll present them without proofs.

1. If k is a number, then

$$\int_a^b k\,dx = k(b - a).$$

This is another way of saying that the area of a rectangle is the base times the height.

$$\hbox{\epsfysize=1.25in \epsffile{definite-integrals-7.eps}}$$


Example. Compute $\displaystyle \int_5^{13}
   7\,dx$ .

$$\int_5^{13} 7\,dx = 7\cdot (13 - 5) = 56.\quad\halmos$$


2.

$$\int_a^b \left(f(x) + g(x)\right)\,dx = \int_a^b f(x)\,dx + \int_a^b g(x)\,dx.$$

This says that the integral of a sum is the sum of the integrals.

3. If $f(x) \ge g(x)$ for $a \le x \le b$ , then

$$\int_a^b f(x)\,dx \ge \int_a^b g(x)\,dx.$$

This says that bigger functions have bigger integrals.


Example. Use the inequality $1 \ge \dfrac{x^2}{x^2 + 1}$ to estimate $\displaystyle \int_2^7
   \dfrac{x^2}{x^2 + 1}\,dx$ .

$$\int_2^7 1\,dx \ge \int_2^7 \dfrac{x^2}{x^2 + 1}\,dx, \quad\hbox{or}\quad 5 \ge \int_2^7 \dfrac{x^2}{x^2 + 1}\,dx.\quad\halmos$$


4.

$$\int_a^b f(x)\,dx = -\int_b^a f(x)\,dx.$$

That is, switching the limits of integration multiplies the integral by -1.

As a special case,

$$\int_a^a f(x)\,dx = 0.$$

5.

$$\int_a^b f(x)\,dx + \int_b^c f(x)\,dx = \int_a^c f(x)\,dx.$$

That is, integrating from a to b and then from b to c is the same as integrating all the way from a to c:

$$\hbox{\epsfysize=1.5in \epsffile{definite-integrals-8.eps}}$$


Example. Simplify $\displaystyle \int_3^4 f(x)\,dx
   - \int_2^{-1} f(x)\,dx - \int_3^2 f(x)\,dx$ .

$$\int_3^4 f(x)\,dx - \int_2^{-1} f(x)\,dx - \int_3^2 f(x)\,dx = \int_3^4 f(x)\,dx + \int_{-1}^2 f(x)\,dx + \int_2^3 f(x)\,dx = \int_{-1}^4 f(x)\,dx.\quad\halmos$$


6. ( The Mean Value Theorem for Integrals) There is a number c, $a \le
   c \le b$ , such that

$$\int_a^b f(x)\,dx = f(c)\cdot (b - a).$$

$f(c)$ represents the height of a rectangle on the integral $[a, b]$ which has the same area as the area under the curve.

$$\hbox{\epsfysize=1.5in \epsffile{definite-integrals-9.eps}}$$


Example. Use the Mean Value Theorem for Integrals to estimate $\displaystyle \int_0^2 \dfrac{dx}{x^2 + 1}$ .

Applying the Mean Value Theorem for Integrals, I find that there is a number c between 0 and 2 such that

$$\int_0^2 \dfrac{dx}{x^2 + 1} = \dfrac{1}{c^2 + 1}\cdot (2 - 0) = \dfrac{2}{c^2 + 1}.$$

Now

$$0 \le c \le 2 \quad\hbox{gives}\quad 0 \le c^2 \le 4.$$

Therefore,

$$\eqalign{ 1 \le &\ c^2 + 1 \le 5 \cr \noalign{\vskip2pt} \dfrac{1}{1} \ge &\ \dfrac{1}{c^2 + 1} \ge \dfrac{1}{5} \cr \noalign{\vskip2pt} 2 \ge &\ \dfrac{2}{c^2 + 1} \ge \dfrac{2}{5} \cr}$$

So

$$2 \ge \int_0^2 \dfrac{dx}{x^2 + 1} \ge \dfrac{2}{5}.$$


Contact information

Bruce Ikenaga's Home Page

Copyright 2018 by Bruce Ikenaga