Definite Integrals
Definite integrals are best introduced by first presenting the problem they are intended to solve: Finding the area under a curve. Consider the diagram below.
Here, we're visualizing the graph of some function Along the graph are some points and The area under the curve is shaded pink, and is denoted:
The entire expression above is called a definite integral. The function is called the integrand, the points and are called the limits or bounds of the integral, and the a differential, indicates that the variable of integration is Given the bounds and we say that the integral is over the interval The interval is called the interval of integration.
To compute the area, we use the following algorithm:
- Divide the area into rectangles.
- Add the areas of the rectangles.
- Take the limit as the rectangles get infinitely thin.
For example, suppose we had the following curve:
To find the area beneath the curve over the interval we start by dividing it into rectangles:
Notice that some of the rectangles go beyond the curve. If we summate the area for each of these rectangles as is, the area under the curve would be over the actual area. This is where taking the limit comes in. If we make the rectangles thinner, we reduce any over and under estimation:
At some point, the rectangles are so infinitesimally thin that any excess area is neglibile. With this idea in mind, let's consider an example. Say we had the function:
We'll start at and let be arbitrary. Visualizing the area beneath the curve as consisting of rectangles:
Suppose there are rectangles. We know that the area of rectangle is given by the formula:
If there are rectangles, then the base length is given by:
Because the base has a length we can determine the height by passing into the function:
The sum of the areas is thus:
Notice the pattern of the terms. The coefficients go and so on, up to The formula reduces to:
Just to ensure the pattern is clear, we'll write as
Question: How big is this quantity:
Since we're working with rectangles, a good starting point is to try and build a pyramid with a base of
In the diagram above, we have two views of the pyramid, a top view and a profile view. In the profile view, the slope of the dashed red line is It follows that the next layer is This means the total number of blocks at the base is the rightmost term in our long expression:
If we examine the term a little closer, we see that the term before is
Corresponding to the total number of blocks for the next layer, The volume of a pyramid with a base of side lengths and a height of is given by the formula:
This tells us the following fact:
This new fact (in red) corresponds to the inner pyrmaid, and in turn corresponds to a lower bound. We can also capture the outer upper bound (the volume of the pyramid denoted by the green dashed line in the diagram) with the formula:
Thus, we have:
At this point, we're ready to take the limit. The original expression:
We want to rewrite this expression as:
Going back to our inequality, we divide by
Reducing, we get:
As goes to infinity, we see that:
Hence:
It follows that the total area under is:
The graph of
Summation Notation
With our first example done, we introduce another new bit of notation. Writing:
is tedious. Accordingly, mathematicians use summation notation to express the idea of summing the terms in a sequence of numbers:
Thus, the inequality:
can be more concisely written as:
What we showed, then, was that:
Similarly, we can write the expression:
as:
This yields the expression:
Let's consider another example: This function is fairly straightforward in terms of a graph:
From the graph above, we see that the area beneath the curve is a triangle, with sides of length The area is thus:
Notice that we didn't have to do any of the complex calculations we saw previously. There is, however, an even simpler example:
The area is simply:
With these simpler examples, we now have enough to see a pattern:
Perhaps the pattern isn't so obvious. Let's rewrite the functions with powers:
Examining this pattern, we might reasonably guess that:
In a later section, we'll see that this guess is correct.
Summation and Integration
To put things in perspective, let's take a step back and look at the relationship between summation and integration from a high-level view. First, integration, in the crudest terms, is just "fancy addition." We're trying to find a sum, but instead of having all of the terms in front of us, we're given a formula for where those terms live. We call it "fancy addition" because we're doing a bit more work to get the sum. In fact, to reinforce this idea even further, the integral symbol:
is actually called a medial s (or long s), and it was how Medieval writers in continental Europe wrote the letter 's'. The 's', as we might have guessed by now, stands for "summa," the Latin word for "sum." Who chose this symbol? None other than the notation wizard himself — Gottfried Leibniz.
Once we view integration this way, we realize that summation and integration are simply two sides of the same coin:
Summation reveals the discrete side, and integration the continous.