Calculus/Definite integral
Suppose we are given a function and would like to determine the area underneath its graph over an interval. We could guess, but how could we figure out the exact area? Below, using a few clever ideas, we actually define such an area and show that by using what is called the definite integral we can indeed determine the exact area underneath a curve.
Contents |
[edit] Definition of the Definite Integral
The rough idea of defining the area under the graph of f is to approximate this area with a finite number of rectangles. Since we can easily work out the area of the rectangles, we get an estimate of the area under the graph. If we use a larger number of rectangles we expect a better approximation. Somehow, it seems that we could use our old friend, the limit, and "approach" an infinite number of rectangles to get the exact area. Let's look at such an idea more closely.
Suppose we have a function f that is positive on the interval [a,b] and we want to find the area S under f between a and b. Let's pick an integer n and divide the interval into n subintervals of equal width (see Figure 1). As the interval [a,b] has width b − a, each subinterval has width
We denote the endpoints of the subintervals by
. This gives us
Now for each
pick a sample point
in the interval
and consider the rectangle of height
and width Δx (see Figure 2). The area of this rectangle is
. By adding up the area of all the rectangles for
we get that the area S is approximated by
A more convenient way to write this is with summation notation:
For each number n we get a different approximation. As n gets larger the width of the rectangles gets smaller which yields a better approximation (see Figure 3). In the limit of An as n tends to infinity we get the area S.
Definition of the Definite Integral
Suppose f is a continuous function on [a,b] and
. Then the definite integral of f between a and b is
are any sample points in the interval [xi − 1,xi] and
for
.It is a fact that if f is continuous on [a,b] then this limit always exists and does not depend on the choice of the points
. For instance they may be evenly spaced, or distributed ambiguously throughout the interval. The proof of this is technical and is beyond the scope of this section.
Notation
(read "the integral from a to b of the f of x dx"), the function f is called the integrand and the interval [a,b] is the interval of integration. Also a is called the lower limit and b the upper limit of integration.One important feature of this definition is that we also allow functions which take negative values. If f(x) < 0 for all x then
so
. So the definite integral of f will be strictly negative. More generally if f takes on both positive an negative values then
will be the area under the positive part of the graph of f minus the area above the graph of the negative part of the graph (see Figure 4). For this reason we say that
is the signed area under the graph.
[edit] Independence of Variable
It is important to notice that the variable x did not play an important role in the definition of the integral. In fact we can replace it with any other letter, so the following are all equal:
Each of these is the signed area under the graph of f between a and b. Such a variable is often referred to as a dummy variable or a bound variable.
[edit] Left and Right Handed Riemann Sums
The following methods are sometimes referred to as L-RAM and R-RAM, RAM standing for "Rectangular Approximation Method."
We could have decided to choose all our sample points
to be on the right hand side of the interval [xi − 1,xi] (see Figure 5). Then
for all i and the approximation that we called An for the area becomes
This is called the right-handed Riemann sum, and the integral is the limit
Alternatively we could have taken each sample point on the left hand side of the interval. In this case
(see Figure 6) and the approximation becomes
Then the integral of f is
The key point is that, as long as f is continuous, these two definitions give the same answer for the integral.
[edit] Examples
Example 1
In this example we will calculate the area under the curve given by the graph of f(x) = x for x between 0 and 1. First we fix an integer n and divide the interval [0,1] into n subintervals of equal width. So each subinterval has width
To calculate the integral we will use the right-handed Riemann sum. (We could have used the left-handed sum instead, and this would give the same answer in the end). For the right-handed sum the sample points are
Notice that
. Putting this into the formula for the approximation,
Now we use the formula
to get
To calculate the integral of f between 0 and 1 we take the limit as n tends to infinity,
Example 2
Next we show how to find the integral of the function f(x) = x2 between x = a and x = b. This time the interval [a,b] has width b − a so
Once again we will use the right-handed Riemann sum. So the sample points we choose are
Thus
We have to calculate each piece on the right hand side of this equation. For the first two,
For the third sum we have to use a formula
to get
Putting this together
Taking the limit as n tend to infinity gives
[edit] Exercises
[edit] Basic Properties of the Integral
From the definition of the integral we can deduce some basic properties. For all the following rules, suppose that f and g are continuous on [a,b].
[edit] The Constant Rule
Constant Rule

When f is positive, the height of the function cf at a point x is c times the height of the function f. So the area under cf between a and b is c times the area under f. We can also give a proof using the definition of the integral, using the constant rule for limits,
Example
We saw in the previous section that
.
Using the constant rule we can use this to calculate that
Example
We saw in the previous section that
We can use this and the constant rule to calculate that
There is a special case of this rule used for integrating constants:
Integrating Constants

When c > 0 and a < b this integral is the area of a rectangle of height c and width b-a which equals c(b-a).
Example
[edit] The addition and subtraction rule
Addition and Subtraction Rules of Integration


As with the constant rule, the addition rule follows from the addition rule for limits:
-

= 
= 
= 
The subtraction rule can be proved in a similar way.
Example
From above
and
so
Example
[edit] Exercise
[edit] The Comparison Rule
Comparison Rule
- Suppose
for all x in [a,b]. Then
- Suppose
for all x in [a,b]. Then
- Suppose
for all x in [a,b]. Then
If
then each of the rectangles in the Riemann sum to calculate the integral of f will be above the y axis, so the area will be non-negative. If
then
and by the first property we get the second property. Finally if
then the area under the graph of f will be greater than the area of rectangle with height m and less than the area of the rectangle with height M (see Figure 7). So
[edit] Linearity with respect to endpoints
Additivity with respect to endpoints Suppose a < c < b. Then
Again suppose that f is positive. Then this property should be interpreted as saying that the area under the graph of f between a and b is the area between a and c plus the area between c and b (see Figure 8).
Extension of Additivity with respect to limits of integration
When a = b we have that
so
Also in defining the integral we assumed that a < b. But the definition makes sense even when b < a, in which case
has changed sign. This gives
With these definitions,
[edit] Exercise
.
[edit] Even and odd functions
Recall that a function f is called odd if it satisfies f( − x) = − f(x) and is called even if f( − x) = f(x).
Suppose f is a continuous odd function then for any a,
If f is a continuous even function then for any a,
Suppose f is an odd function and consider first just the integral from − a to 0. We make the substitution u = − x so du = − dx. Notice that if x = − a then u = a and if x = 0 then u = 0. Hence
Now as f is odd, f( − u) = − f(u) so the integral becomes
Now we can replace the dummy variable u with any other variable. So we can replace it with the letter x to give 
Now we split the integral into two pieces
The proof of the formula for even functions is similar.
where the last step has used the evenness of f. Since u is just a dummy variable, we can replace it with x. Then
.
































.



























