Integration by Substitution
This lesson describes two important tricks for coming up with antiderivatives and integrating. The first could be explained simply as a means of reducing complex looking integrals to simpler more friendly ones. Or, even on a more basic level, substitutions can be used to make complicated looking functions in general look simpler. Consider the function . By setting this function can equivalently be written as . If there is a “differential” multiplying the function , then we have that:
which looks a lot simpler. If we were to integrate the function we would carry out the replacements in the following way:
It is nice to present a difficult problem in detail and then have students work alone or in small groups to solve a similar problem. For example, the following problem could be presented on the board with clear explanations for each step:
Solve the Integral:
We begin by recognizing that and making the substitution: so that and at and at :
Substitutions should be tested by having students perform integrals that are simplified with a substitution. The following are good questions to get them warmed up:
1. Show that using an appropriate substitution.
2. Show that using an appropriate substitution.
3. Show that using an appropriate substitution. (hint: This problem will involve the identity that
4. Solve using an appropriate substitution
Integration by Parts
Integration by parts should be tried whenever an integral is a product of two functions that each individually have known antiderivatives. In physics this trick is often applied to functions which vanish at the limit points. For example, if we assume that at least one of or is zero at and at , then their product and similarly so we can see that:
so that integrating by parts allows us to simply “transfer” the derivative from the function onto the function only by incurring a negative sign.
To teach this it is nice to do a problem in detail and then have students work individually on a similar problem trying to recall your steps as they go. To teach integration by parts put a problem on the board, like:
and present this as a sort of riddle. It may even be fun to have students divide into small groups and think about this problem. Remember, the goal is to come up with some function whose derivative is equal to . Focusing heavily on the additive constant will only frustrate students and take the fun out of the game.
For the problem above, students should be encouraged to literally just guess, try their guess, and then try to fix it. If they were to try they would find that:
So the derivative is almost right, except for that pesky . Maybe if they subtracted the integral of that. But so they could just try instead . This function has derivative:
After this the formal equations can be introduced and they are much more likely to be understood than if they are discussed without a concrete example.
1. Show that and that therefore:
2. Show that and that therefore:
3. Find the following integral:
Integration by Partial Fractions
This lesson describes a general means by which complicated fractions of polynomials, or rational functions, can be written out as a sum of simpler fractions. Often one can use a guess and check technique to find the correct partial fraction decomposition. As a very simple example, consider the fraction:
We recognize that the denominator is the product and so it seems likely that this could arise from adding two fractions with and . We might naively look at:
However, adding these we obtain:
and so clearly multiplying this result by will give the desired decomposition:
The guess and check technique is only of limited value for more complicated fractions and is only possible with some experience. Therefore, it will be important for students to practice with a number of examples. However, it should be clear that the integration part of these problems is really not important to the concept itself of partial fraction decomposition. So it is recommended that students are given the opportunity to gain experience with partial fractions without having to integrate them afterwards.
This can be done with a game. Have students take out only paper and pencil and divide the class into two teams. On the board you can write some rational function like:
and then call on the student who believes s/he has decomposed this correctly for his/her team. The student will have to present the work on the board, and if it is correct:
then the team will earn point. However, that person now cannot come to the board for his/her team and another member will have to come the next time the team believes they have a correct answer. They can work as a group on a problem, but the entire team must come to the board at least once before repeating members.
Again, it is not important that students complete the integration in these problems to learn and master the technique of partial fractions. Of course, this will eventually be important and should ideally be practiced. However if time is limited then the decomposition itself can be honed.
The material presented here is more or less a recipe for various possible combinations of sines, cosines, tangents and secants. Without some motivation, most students will find this lesson to be fairly dull. So it is recommended that a solid example of some kind be used to bring this to life. For example, one might discuss the voltage being in an electrical wall socket. This voltage is actually described by the function:
where is called the peak voltage and is the frequency. You may know that sockets in the United States give but this is actually the so-called “root-mean squared” or rms value.
To understand this it is important to have a look at the plot for voltage above:
The voltage fluctuates in time between the same magnitudes and therefore averages to zero over any given cycle. Given that the period of a cycle is we have:
So the average voltage produced by any wall-socket is actually zero!
What we really want instead is a measure of how big the voltage is on average, and one way to do that is to make it positive everywhere and then take the average. This could be done with absolute values, but the simpler way is by squaring the function, taking its average, and then taking the square root of the result:
This function will not have an average of zero since it is everywhere positive:
and in fact we need to use integration of a power of sine here to obtain:
Trig substitutions arise as useful tools when integrals defined in Cartesian Coordinates are actually more effectively evaluated in a different coordinate system. However, this cannot be discussed in detail without going into . So it should suffice to say that students should look to perform a trig substitution when the variable is involved in a term that looks like one of the trig identities.
For example, if there is a part of the integral that involves a term like:
then one might notice that if we set this will become:
or equivalently if we set this will become:
Similarly, if a part of the integral involves a term like:
then one might notice that if we set this will become:
It may be best to review quickly where the trig identities that are used in these substitutions come from. If students are encouraged to maintain a picture of a triangle in their minds, then it will not be difficult to recall each identity:
Then the teaching may be done by carrying out a few detailed calculations and requiring students to perform similar work just after. They should try to focus on your logic in each step instead of taking notes or memorizing formulas. That way when they attack the problems on their own the struggle to recall your logic will make the knowledge longer lasting.
Improper integrals can be described as simply a two-step process: We perform the integrals for values that we can do, and then look at the limit as we approach the values we’re not sure about. When a limits itself is infinite, we replace that limit by an arbitrary letter and then after we are done we let that letter go to infinity. When the integral passes over a point of infinite discontinuity then we simply replace that point by an arbitrary letter and then look at its limit after solving the integral again.
To teach this it is nice to give a geometric presentation. We would like to know if the area beneath the curve is finite:
The integral performed in the text shows us that the area does not converge. However, if we look at the area beneath instead:
we find that it does converge to a finite number. Points of infinite discontinuity can be treated in a similar way.
A variety of different and interesting integrals can be performed to demonstrate improper limits. Most notably students may be asked to recall probability densities . Since the total probability of any occurring must be identically , we should have:
Students could be asked to solve an equation like this where is some unnormalized probability density like, say, :
By solving the equation students would be finding the constant so that is a valid probability density:
So clearly will work and we should have.
As a general rule, giving students examples that have concrete applications will make this material more interesting. Students who may not be as motivated as others will appreciate a little less abstraction wherever possible.
Ordinary Differential Equations
Notice that the right hand side of the equation for a Linear ODE:
is actually a function of two variables, and . Therefore, the general analysis of any ODE actually belongs in a multivariable calculus class.
The technique of sketching slope fields to visualize the isoclines of for simple differential equation is a very powerful one. Students will be interested to know that a great many problems in math and science reduce to some equation of the form that cannot be solved exactly. We therefore aim instead to create better and better approximations of the solutions using the slope fields.
In teaching this topic students are likely to feel a little confused about the complicated looking equations and all the indices in the approximation techniques. To put them at ease, it is nice to have at least one very clearly presented and simple example. The first example should help build intuition by describing a particular equation, like , in excruciating detail with a careful plot of the slope fields and isoclines:
A discussion on the numerical methods for solving the differential equations follows naturally from a good example. Before actually applying some analytic trick it is a good idea to see where certain points take you along the numerical approximations. This can be very effectively done by tracking your progress along a plot of the isoclines like above. One numerical solution will generally not follow a single isocline, but as long as the step-size is small and the starting point is not near any major singularities, it should very closely follow the contour of an isocline.
Students can be tested on this material by being given simple differential equations to solve that closely mimic problems already solved in the text or in class. They should be encouraged to work in groups and to look for problems that look similar. In following the work and changing it as needed they will become experts at simple ODEs in no time at all.