Introduction to Integral Calculus
This page is print-friendly. Simply press Ctrl + P (or Command + P if you use a Mac) to print the page and download it as a PDF.
Table of contents
Note: it is highly recommended to navigate by clicking links in the table of contents! It means you can use the back button in your browser to go back to any section you were reading, so you can jump back and forth between sections!
- Antiderivatives
- Sums
- Applications of integration
- The Fundamental Theorem of Calculus
- Integration by substitution
- Average value of a function
- Area between curves
- Solids of revolution
- Integration by Parts
- Trigonometric integrals
- Trigonometric substitutions
- Integration by long division and partial fractions
- Improper integrals
- Arc length
These are notes taken during RPI's MATH 1010 course, on the topic of integrals and their applications in calculus.
Antiderivatives
To introduce the topic of integral calculus, we must begin with understanding the notion of an antiderivative. An antiderivative (also called an indefinite integral, and we'll see why later) is the opposite of a derivative. The antiderivative of a particular function is the function whose derivative is . For example, is the antiderivative of , because is the derivative of .
Antiderivatives are represented by the "curly S" integral sign (again for reasons that will make sense later), with a representing the variable to take the antiderivative with respect to - in this case :
Since the derivative of a constant is zero, the antiderivative of , , or is the same. Thus we add the known as the constant of integration to remind us that multiple antiderivatives differing by a constant have the same derivative.
Rules for antiderivatives (indefinite integral formulas)
The rules of antiderivatives (indefinite integrals) are the inverse of the rules for derivatives:
Note that the last few formulas for inverse trigonometric functions can be generalized to the following:
Where is some function of , and . For more formulas of integrals, a good resource to reference is https://www.integral-table.com/.
Initial value problems
To find the value of the when doing derivatives, we can use an initial value problem. For instance, say:
Thus, . Then, plugging in the initial value, , so , so . Therefore:
Sums
We will now jump to a topic that might initially appear to be completely unrelated - sums and areas. A sum is just what it means - adding a group of numbers (or variables) together. Sums are denoted by the summation sign . For instance, one sum could be:
This means to sum from to - that is:
Rules of sums
If we are given a sum, we might be interested in what the sum evaluates to (or we might not, but pretend that we are for the time being). Evaluating sums is actually not possible in many cases. However, in cases where a sum can be evaluated, it often helps to use the below identities:
There also exist special sums that have well-known solutions - these are extremely helpful for evaluating more complicated sums, and they are given below:
Finding and estimating areas
We will now turn to a very useful application of sums - finding areas. The idea is this: if we had some shape modelled by a function , then we can approximate the area under the curve by "slicing" the area under the curve into small rectanges, each of width (which is some small number) and of height . This is called the left-hand approximation of an area under the curve, and is given by:
Given that:
The right-hand approximation of an area under the curve is given by:
The midpoint approximation to the area is given by:
Now, these are approximations for finite sums, but in the limit as we sum over increasingly many and increasingly tiny rectangles, we obtain a formula for the exact area under a curve:
For example, consider the area under the curve from -2 to 2. We would then have:
Since , where and , we would have:
This simplifies to:
Using the sum rules, we get:
Which simplifies to:
Expanding this and simplifying, we get:
Now, taking the limit as , we get:
Riemann sums and the definite integral
From our previous discussion of the limit of sums, we can now formalize the idea of computing the area under a curve. A Riemann sum is given by:
The definite integral is given by the limit of the Riemann sum, and represents the area under a curve, where is the area and is the equation of the curve:
The definite integral also has some convenient properties that will come in handy later:
Evaluating the definite integral is called integration. The definite integral can be evaluated in simple cases from just geometry, especially when the curve forms a semicircle, triangle, rectangle, or trapezoid with the x-axis. However, in most cases, integration is not an easy task - some definite integrals are almost impossible to solve!
Applications of integration
We described integration from the point of view of finding the area under a curve, but integration is far more general than an area-finding method. Indeed, integration is ubiquitous in the mathematical sciences, with myriad applications:
- Finding areas/surface areas/volumes/distances
- Kinematics - such as finding total displacement, or finding velocity/position from acceleration
- Solving differential equations
- Computing work/potential energy/total energy/
- Finding total charge/total current/total mass/center of mass/moment of inertia
- Finding force from potential energy
- Computing probability and finding average values
- Calculating electric fields and magnetic fields
- And many, many more places...
The Fundamental Theorem of Calculus
There are two parts to the Fundamental Theorem of Calculus (FTC). Part 1 of the FTC states that:
That is, if is the indefinite integral of , then the definite integral of can be found by evaluating at 2 points.
Part 2 of the FTC states that:
That is, the derivative of the indefinite integral of a function from any number to is equal to the same function evaluated at . Or more simply, integrals are the inverse of derivatives.
Integration by substitution
Consider a composite function of the form . If we make the substitution , then we can rewrite this as . Then the chain rule applies in reverse:
This is called integration by u-substitution. The trick is to find an "inner function" in a composite function whose derivative also appears in that same composite function.
As an example, we want to evaluate:
We want to find an inner function whose derivative also appears. That is, we want to rewrite the function in the form:
Here, we can choose , which means . So this means we have:
But we still need to find . Taking the derivative of , we have:
Then we can apply the substitution rule:
For a more complicated example, we may perhaps want to integrate:
Here, we let . We can employ a notational shorthand for expediting the substitution rule that does not require rewriting the function in a form . Instead, we can say that:
Then, we can substitute in for :
To evaluate definite integrals with substitution, we have:
Integration of functions using the natural log trick
A direct consequence of the substitution method for integrals is the "natural log trick":
As an example to illustrate why this formula is the case, let us take the example of evaluating the following integral:
We first rewrite tangent in terms of sine and cosine:
If we use the substitution , we have::
This means that:
Differential equations with the natural log trick
We may use the natural log trick to solve not only integrals, but also differential equations. Differential equations specify a derivative of an unknown function as a function of , , or some other variables; the goal is to find the exact form of the unknown function. Consider, for instance, the differential equation:
To solve this differential equation, we can multiply by on both sides. However, this must be done in secret because this operation is technically "illegal" in mathematical terms (derivatives are not fractions; it just happens that sometimes they can be treated as such). One must then leave the scene of the mathematical crime and erase all the evidence used to find the answer. So we shall now commit the crime in question, and multiply by on both sides, which results in:
If we integrate both sides, we then have:
This is where we can use the natural log trick. Let . Then:
Which is the general solution to our differential equation.
Average value of a function
We may also use integration to find the average value of a function, which is very useful for continuously-varying data (like velocity or position). The average value of a function is given by:
The mean value theorem for integrals states that if is continuous on , there is at least one value that satisfies:
Remember, as with the MVT for derivatives, to ignore any values not in the interval!
Area between curves
A region is vertically simple if it is bounded on the left and right by vertical lines, and bounded on the top and bottom by functions of . A region is horizontally simple if it is bounded on the top and bottom by horizontal lines, and bounded on the left and right by functions of .
The area between curves and , assuming for all , is given by:
Other specific cases: For curves and , just replace every with . If for all , the area must be split into regions that are separately evaluated to make the condition true.
Solids of revolution
Another application of integrals generalizes the area-finding process to finding the surface area and volume of a particular shape. Such shapes must have a specific requirement: they have to be rotationally-symmetric, and thus we call them solids of revolution. By nature of their rotational symmetry, they are obtained by the rotation of a region in the xy-plane about an axis.
Note: Unlike many other uses of integration, this particular application of integrals is not very widely used in physics or applied math areas, but they are a good teaching/learning tool to practice integration.
Disk method
Using the disk method of finding the volume of a solid of revolution, the solid of revolution created from the region underneath the curve has the volume:
And for a function , the volume is given by:
For example, say we wanted to find the volume of a sphere. A sphere is simply the solid of revolution created by rotating the curve about the x-axis. So, we would have:
Which becomes:
Since is a constant, the integral becomes:
Which is the volume of a sphere!
Washer method
Using the washer method of finding the volume of a solid of revolution, the solid of revolution created by the region between two curves and is given by:
And similarly for :
Shells method
Using the shells method of finding the volume of a solid of revolution, the solid of revolution created by the region underneath the curve is given by:
And similarly for :
If the region is instead between two curves and , then the volume is instead given by:
Or for :
For instance, suppose we were to find the volume of the solid of revolution created by revolving the region bound by and the x-axis about the line . A visualization of this region can be found at https://www.desmos.com/calculator/ymuwqk1xk7.
To compute the area, we'll first find the radii of the shells, and set that. In this case, the radius would be , as that is the distance from the rotational axis to the edge of the shell. The bounds of integration would be from 0 to 2, as we want to create shells that fill up the space of the region, and the region is bounded by and . Therefore, the integral is:
Integration by Parts
Integration by parts is analagous to the product rule for derivatives. It is given by:
where:
Typically, we want to be a function that has a simple derivative (such as a polynomial or ), and to be a function that has a simple integral (such as or or ). It's typically much harder to integrate than differentiate, so pick first, and second.
In addition, integration by parts can be done multiple times over and over to repeatedly expand out an integral until it can be solved.
As an example of integration by parts, consider:
Here, we want our to be (because that's easy to differentiate), and . This means that . To find , we simply do:
After substitution, we obtain:
Which evaluates to:
For a faster method of integration by parts, we can use the tabular method, which works so long as is a polynomial. For instance, consider:
We construct a table of and all its derivatives (D) on the left, and and all its integrals (I) on the right, and alternating signs in front, until the derivative is zero:
Sign | D | I |
---|---|---|
+ | ||
- | ||
+ | ||
- | ||
+ |
Now, we start from the first "D" term, and match terms crosswise down diagonally like this:
Sign | D | I |
---|---|---|
+ | 1 | |
- | 2 | 1 |
+ | 3 | 2 |
- | 4 | 3 |
+ | 5 | 4 |
... | ... | ... |
In front of each derivative term we put the sign associated with it. Therefore, our result is:
Or simplified:
A third type of integration-by-parts integrals utilize a specialized technique. Consider:
Doing a first integration by parts with and , we get:
Now repeating the integration by parts on the second integral with and , we get:
Or simplifying:
Notice how the integral appears twice in the expression. If we say that:
We can rewrite the integral as:
Solving for , we get:
which is the solution to the integral.
Trigonometric integrals
Trigonometric integrals are integrals that involve combination of trigonometric functions.
The first general category of trigonometric integrals are in the form:
There are several common approaches for such integrals:
- If is odd (), rewrite , then use u-substitution
- If is odd (), rewrite , then use u-substitution
- If both and are even, use the half-angle identities:
Meanwhile, for trigonometric integrals in the general form:
- If is even (), rewrite , then use u-substitution with
- If is odd (), rewrite , then use u-substitution with
For instance, consider:
We can break this into:
Which we can simplify into:
And again, into:
Now, we can use , thus the integral becomes:
Or expanded and with the negative sign distributed:
This becomes:
And substituting back, we have:
Trigonometric substitutions
For integrals in the form:
or generally, any integrals that have , , or , a trigonometric substitution is often helpful.
The substitutions make use of the 3 Pythagorean identities:
Performing a trigonometric substitution involves fitting an integrand into one of these forms. For instance, consider the integral:
Here, we see the square root, which suggests the use of a trigonometric substitution. We first simplify the integral with:
We now have an expression in the form . It makes sense to use the first Pythagorean identity. We say that:
Which means:
If we solve for , we get:
So:
Plugging in and into the integral, we get:
Which simplifies to:
We use the identity to get:
Whose solution is:
We now need to convert the answer in terms of back into an answer in terms of . To do so, remember that:
Therefore:
We also know that:
And by Pythagoras's theorem, we have:
So:
And:
We can now rewrite the solution in terms of :
Similarly, we can solve the following integral by trigonometric substitution:
We first factor:
We set:
Therefore:
Subtituting, we get:
Which becomes:
Trigonometric substitutions are incredibly easy to mess up, so be careful with them, and make sure to avoid these errors:
- Not cancelling out the powers correctly
- Using the incorrect trigonometric identity
- Calculating the incorrect differential
- Forgetting to carry over constants
- Simplification errors in the trigonometric integrand
- Errors in converting the solution in back to a solution in , often due to forgetting a square root or a square when using Pythagoras
Integration by long division and partial fractions
Consider an integral in the form:
If the degree of is higher than the degree of , then the integrand can be simplified by dividing by using polynomial long division. The process is analogous to arithmetic long division.
When doing long division, be very careful of signs while subtracting. It is easy to get the wrong result just by forgetting a negative sign when doing a subtraction. Also, don't forget to carry over the remainder. Whenever possible, split up the resulting fraction when you integrate, so for instance, something like:
becomes:
In cases where long division cannot be done, a partial fraction decomposition can be performed instead. The goal of partial fraction decomposition is to write the integrand as a sum of simpler fractions. That is:
The first step of a partial fraction decomposition is to factor as completely as possible. That is, the integrand should take the following form:
Where are the factors of . If a factor of is in the form , where is not a complex number or radical, it is called a linear factor. Such a factor contributes a partial fraction decomposition of the form:
Note that a factor in the form (such as or ) can technically be written in the form , and so also qualifies as a linear factor.
Meanwhile, if the factor is in the form , and cannot be simplified further without using radicals or complex numbers, it is called an irreducible quadratic factor. Such a factor contributes a partial fraction decomposition of the form:
As an example, consider the integral:
We first factor:
Now we perform a partial fraction composition of the integrand. Since we see that the factors are linear, we propose that the integrand take the form:
If we distribute by multiplying every term by , we get:
We can now substitute in convenient values to find and . For instance, if we evaluate with , then:
which simplifies to:
Therefore . Similarly, if we evaluate with , then:
which simplifies to:
Therefore . Placing the partial fraction decomposition back into the integrand, we have:
which becomes:
When doing partial fraction decompositions, make sure that if the fraction is improper, that you first do long division, and then (if the result isn't simple enough to directly integrate) decompose using partial fractions. In addition, be careful about identifying factors - sometimes factors that might look linear factorable might be irreducible quadratics, and factors that look like quadratics are linear factorable.
Finally, when convenient cancelling isn't possible, use variations of x-values (e.g. evaluate when , then , then ) for getting partial fraction decompositions when there are multiple repeated factors. This allows you to setup a system of equations that you can solve to find the coefficients of the partial fraction decomposition.
After finding the partial fraction decomposition of a rational function, it is always best to plug in a value of (such as or ) and check that the partial fraction outputs the same value as the original integrand. This means the partial fraction decomposition is correct.
Improper integrals
A improper integral is an integral defined either on an unbounded domain, or a domain that is not integratable, then:
An improper integral satisfies the identities:
If the limit exists (evaluates to a finite number), then the integral is said to converge; otherwise, the integral is said to diverge.
For instance, consider the integral:
Using the approach outlined previously, we rewrite as a limit:
The p-integral test
For an improper integral of the function , there are three possible cases.
Value of | Convergent integral | Divergent integral |
---|---|---|
None | All integrals diverge |
Arc length
We will cover one last application of integration: finding the total length (called the arc length) of a curve. For a curve , an infinitesimal segment can be found by the Pythagorean theorem:
The right-hand side can be expressed purely in terms of by factoring (here note that and similarly for ):
Square rooting both sides, we have:
Now taking the integral of this infinitesimal arc length, we find the length of the complete curve:
Finding the surface area of a surface of revolution from arc length
We may combine our technique for finding the arc length and the methods we used for finding volumes of solids of revolution to find their surface areas instead. To start, we can write out the area of an infinitesimal portion of a rotationally-symmetric surface by:
where is the infinitesimal arc length, and . The complete surface area is given by:
Therefore, the surface area of a surface of revolution is given by:
Show table of contents Back to all notes