From basic arithmetic we know that most operations have an inverse operation: subtraction is the inverse operation of addition, and vice versa. Multiplication is the inverse operation of division, and vice versa. In this topic, we will learn about the inverse operation of differentiation, as well as its application when it comes to measuring areas and accumulation over time.
Antiderivatives
At this point you're probably familiar with both the concept and the computational side of a derivative. As a quick recap, we can say that the derivative of a function evaluated at a specific point gives us the instantaneous rate of change of the function at that particular point. Then, the algebraic expression of this derivative as a function gives us information about the changing behavior of over its entire domain. Using Newton's notation, this derivative can be defined as:
Let us denote this derivative by , so that
We call function the antiderivative of .
The antiderivative of a function can be found by taking the indefinite integral of said function. This is written as follows:
The symbol stands for integral and represents the integration operation. The symbol tells us that we are integrating with respect to , and it is read as differential of x.
As its name suggests, the antiderivative is the result of applying the inverse of the operation that produces derivatives. In other words, integration is the inverse operation of differentiation:
Let's say,
If we try to think of a function whose derivative is , we will probably think first of , since
However, we know that
and, also
and in general,
for any constant value , since the derivative of a sum is the sum of the derivatives and the derivative of a constant is zero.
Then, we have
The existence of this arbitrary constant tells us that there are infinitely many antiderivatives of , which are also referred to as slope field, or family of curves.
In order to account for this constant, we can rewrite our integral expression as:
This type of integral (yes, there are more) is also known as an indefinite integral. This term is often interchangeable with antiderivative.
For simple functions, integration can be as easy as thinking of a function whose derivative is the function being integrated. For example, for polynomials, we have:
However, as these integrands (the function being integrated) become more elaborate different techniques of integration were developed, such as trigonometric substitution or integration by parts. In another topic you will learn more about the computation of integrals. For now, let's move on to the next section!
Definite integral
Let's say you have the constant function
and, let's say we wanted to know the area under the graph of from
Since this is a rectangle, we know we can determine its area by multiplying the length of its base times its height, like so
Now, let's say
We still want to know the area under the graph of . This time, it is the area of the triangle makes with the axis, for the interval
Since it makes a right triangle, this is also pretty straightforward:
However, if now we have some arbitrary function with a graph like this:
Then, the problem of computing the area between and the -axis becomes much more difficult as we apparently cannot use our elementary formulas anymore. Or can we?
Let's focus on a smaller interval of our function, for
We can try to approximate the area under the curve with our rectangle formula, using the highest point of in this interval:
In this case, we can see that for our first approximation,
Where is the actual area under the curve for
Now, let's try with the lowest point of in this interval:
Here we can see that for our second approximation,
Then, we know that
Now, if we further divide our interval of work for into smaller rectangular chunks, and sum the approximate areas from each rectangle, we will get a better overall approximation:
If we define a constant chunk width for chunks, we have
Then,For the plot above we have 8 chunks with equal width , which means:
Thus,Then,
Another approximation would be to use the lowest point of for each chunk, or even the mid-point between the lowest and highest point:
However, if we want to improve our approximation there is only one real modification to be made: increase the number of chunks.
For , we have
With
And for , we have
With
You probably know where we're going with this. We can determine the exact area under the curve by computing the limit of our sum when the number of chunks . Effectively, making it an infinite sum:
This infinite sum is called Riemann Sum, named after the famous mathematician.
The integral symbol can also represent the infinite sum between two points and , when we write those lower and upper bounds like this:
In addition, we can observe how the number of chunks increases as we decrease the width of each chunk. In other words, as
We can think of a differential as an infinitesimally small chunk. This way, we can think of as an infinitesimally small version of . Then, we can rewrite our previous expression as:
This expression has another name that is commonly used: definite integral. The definite integral of a function is equal to the signed area between the curve given by and the -axis, over a given interval; .
Notice the "signed" adjective there; it refers to the fact that areas can be either positive or negative. Areas can be negative when the function's curve is below the -axis, since the value of the integrand would be negative for the interval of integration. For example, let's take and an interval
In this case,
There are many ways to compute a definite integral. Computers almost always use numeric methods like our rectangle method above to approximate the result; they sum a large number of chunks. However, this will always be an approximation. In order to get the exact number, we need to determine the limit of this sum.
For example, by solving the corresponding definite integral for our example, the exact area between and can be found to be:
Which means our approximation for was off only by about 0.5% (and if we were to use , the approximation would only be about 0.004% off!)
A few useful conventions arise when working with definite integrals:
These can be remembered as: The area under a curve from and to the same point is equal to zero. The area over a given interval can be expressed as the sum of the areas over adjacent subintervals. Swapping integration bounds yields the same area with opposite sign.
Fundamental theorem of calculus
In its first part, the Fundamental Theorem of Calculus brings together both differentiation and integration as part of the fundamental operations in Calculus. From this, a second part that brings together both antiderivatives and definite integrals is derived.
This gives us a very straightforward way to compute definite integrals. Instead of finding the limit of the Riemann Sum, we just need to find the antiderivative of using an indefinite integral, evaluate this antiderivative at both and , and subtract the value corresponding to the lower bound from the one corresponding to the upper bound.
For example, let's say
And we wanted to find the area for
We can see the highlighted area can be computed as the area of a rectangle plus the area of the triangle sitting on top of it:
However, this area can also be computed with the following definite integral:
We find the antiderivative of ,
We evaluate it at both and :
Finally,We have obtained the same value for the area as before!
As a corollary of the Fundamental Theorem of Calculus, we can say that for a function , the function describes the accumulated behavior of up to an arbitrarily chosen value , since it is equal to the area under the curve that has been growing since an initial , plus the corresponding initial value at that point, .
This concept is very useful in physics for determining the state of elements that accumulate energy over time, such as the voltage in a capacitor at a specific point in time for a given function of its current. Because of this practicality, integrals are used in control systems to keep track of the deviation from a set point over time, in order to automatically reduce it and eventually eliminate it.
Linearity of integration
Just like differentiation, integration is a linear operation. This implies the following:
With being constant.
Since we can define definite integrals in terms of indefinite integrals using the Fundamental Theorem of Calculus, it follows that definite integrals are also linear operators.
Conclusion
In this topic, we've learned that:
- Integration is the inverse operation to differentiation, and antiderivatives and derivatives are the results of those respective operations.
- Antiderivatives are also known as indefinite integrals since they are not bounded to any given interval. Because of this, an antiderivative is a function and not a number.
- Definite integrals are integrals bounded in a given interval. The result of computing a definite integral is a number that represents the algebraic sum of the area below a given curve and the -axis.
- Definite integrals can be approximated using numerical methods. Computers often solve integrals using numerical methods.
- Definite integrals can be determined using the second part of the Fundamental Theorem of Calculus, by evaluating the antiderivative of the function at each bound, and subtracting the value corresponding to the lower bound from the value corresponding to the upper bound.
- Definite integrals are also useful to represent the accumulated behavior of a time-dependent function over time.
- Integration is a linear operation, in both indefinite and definite forms.