<meta http-equiv="refresh" content="1; url=/nojavascript/">
You are reading an older version of this FlexBook® textbook: CK-12 Calculus Teacher's Edition Go to the latest version.

# 4.7: Integration Techniques

Difficulty Level: At Grade Created by: CK-12

## 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 $f(x)=e^{3x+2}$. By setting $u=3x+2$ this function can equivalently be written as $g(u)=e^u$. If there is a “differential” $dx$ multiplying the function $f(x)$, then we have that:

$\frac{du}{dx} = 3 \Rightarrow du = 3 dx$

So that:

$e ^ {3x + 2} = 3 e ^ u du$

which looks a lot simpler. If we were to integrate the function we would carry out the replacements in the following way:

$\int\limits_{x = a}^{x = b} e ^ {3x + 2} dx = \int\limits_{u = 3a + 2}^{u = 3b + 2} 3 e ^ u du$

PROCESS

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:

$\int\limits_{0}^{\frac{\pi}{4}} \text {Tan}(x) dx$

We begin by recognizing that $\mathrm {Tan}(x) = \frac{\mathrm {Sin}(x)}{\mathrm {Cos} (x)}$ and making the $u-$ substitution: $u=\mathrm {Cos}(x)$ so that $du=-\mathrm {Sin}(x)dx$ and at $x=0,u=\mathrm {Cos}(0)=1$ and at $x = \frac{\pi}{4}, u = \mathrm {Cos} \left ( \frac{\pi}{4} \right ) = \frac{\sqrt{2}}{2}$:

$\int\limits_{0}^{\frac{\pi}{4}} \text {Tan} (x) dx = \int\limits_{0}^{\frac{\pi}{4}} \frac{\text {Sin}(x)dx}{\text {Cos}(x)dx} = - \int\limits_{1}^{\frac{\sqrt{2}}{2}} \frac{1}{u} du = \text {Log} \left ( \frac{2}{\sqrt{2}} \right ) = \frac{1}{2} \text {Log} (2) \cong 0.35$

PRODUCTS

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 $\frac{\mathrm {Sin}(x)}{\mathrm {Cos}(x)} dx = \frac{du}{u}$ using an appropriate $u-$substitution.

2. Show that $\frac{x dx}{\sqrt{1 - x ^ 2}} = u ^ {-\frac{1}{2}} du$ using an appropriate $u-$substitution.

3. Show that $\frac{dx}{\sqrt{4 - x ^ 2}} = du$ using an appropriate substitution. (hint: This problem will involve the identity that $1 - \mathrm {Sin} ^ 2 (x) = \mathrm {Cos} ^ 2 (x))$

4. Solve $\int\limits_{1}^{100} \frac{e ^ x}{ e ^ {2x} - 1}dx$ using an appropriate $u-$substitution

## Integration by Parts

CONTENT

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 $f(x)$ or $g(x)$ is zero at $x=a$ and at $x=b$, then their product $f(a)g(a)=0$ and similarly $f(b)g(b)=0$ so we can see that:

$\int\limits_{a}^{b}f(x) g'(x) dx & = \int\limits_{a}^{b}[ f(x)g(x)] dx - f' (x) g(x) dx \\& = \cancel{( f(b) g(b) - f(a)g(a))} - \int\limits_{a}^{b} f'(x)g(x) dx \\& = - \int\limits_{a}^{b}f'(x)g(x)dx$

so that integrating by parts allows us to simply “transfer” the derivative from the function $g(x)$ onto the function $f(x)$ only by incurring a negative sign.

PROCESS

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:

$\int x e ^ x dx$

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 $f(x)$ whose derivative is equal to $f'(x) = x e ^ x$ . 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 $f(x)=x e^x$ they would find that:

$f'(x) = e ^ x + x e ^ x$

So the derivative is almost right, except for that pesky $e^x$. Maybe if they subtracted the integral of that. But $\int e ^ x dx = e ^ x$ so they could just try instead $f(x) = x e ^ x - e ^ x$. This function has derivative:

$f'(x) = e ^ x + x e ^ x - e ^ x = x e ^ x$

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.

PRODUCTS

1. Show that $x ^ 2 e ^ x dx = \frac{d}{dx} ( x ^ 2 e ^ x) dx - \frac{d}{dx} ( 2 x e ^ x) dx +2e ^ x dx$ and that therefore:

$\int x ^ 2 e ^ x dx = x ^ 2 e ^ x - 2x e ^ x + 2 e ^ x$

2. Show that $\mathrm{log} (x) dx = \frac{d}{dx} ( x \mathrm{log} (x)) dx - 1 dx$ and that therefore:

$\int \text {log} (x) dx = x \text {log} x - x$

3. Find the following integral:

$\int \text{Sin}(x) e ^ x dx$

## Integration by Partial Fractions

CONTENT

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:

$\frac{x}{x ^ 2 - 1}$

We recognize that the denominator is the product $(x-1)(x+1)$ and so it seems likely that this could arise from adding two fractions with $x-1$ and $x+1$. We might naively look at:

$\frac{1}{ x - 1} + \frac{1}{ x + 1}$

$\frac{1}{x - 1} + \frac{1}{x + 1} = \frac{2x}{x ^ 2 - 1}$

and so clearly multiplying this result by $\frac{1}{2}$ will give the desired decomposition:

$\frac{\frac{1}{2}}{x - 1} + \frac{\frac{1}{2}}{x + 1} = \frac{x}{x ^ 2 - 1}$

PROCESS

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:

$\frac{x + 1}{ x ^ 2 - 2x + 1}$

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:

$\frac{x + 1}{x ^ 2 - 2x + 1} = \frac{1}{x - 1} + \frac{2}{ ( x - 1) ^ 2}$

then the team will earn $1$ 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.

PRODUCTS

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.

## Trigonometric Integrals

CONTENT/PROCESS/PRODUCTS

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:

$V(t) = V_{peak} \text {Sin}( 2 \pi f t)$

where $V_{peak}$ is called the peak voltage and $f$ is the frequency. You may know that sockets in the United States give $120 \text {Volts}$ 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 $T = \frac{1}{f}$ we have:

$V_{ave} = \frac{1}{T} \int\limits_{0}^{T} V(t) dt = \frac{V_{peak}}{T} \int\limits_{0}^{\frac{1}{f}}\text {Sin} ( 2 \pi f t) dt = \frac{V_{peak}}{T} \frac{1}{2 \pi f} [ - \text {Cos} ( 2 \pi f t)] _{0} ^ \frac{1}{f} = 0$

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:

$V_{rms} = \frac{1}{T} \sqrt{\int\limits_{0}^{T} [V(t)] ^ 2 dt} = \frac{V_{peak}}{T} \sqrt{ \int\limits_{0}^{T} \text {Sin} ^ 2 ( 2 \pi f t ) dt}$

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:

$V_ {rms} = \frac{V_{peak}}{T} = \sqrt{\int\limits_{0}^{T} \text {Sin} ^ 2 ( 2 \pi f t ) dt} = \frac{V_{peak}}{T} \sqrt{ \left [ \frac{t}{2} - \frac{\text {Sin}[4 f \pi t]}{8 f \pi} \right ] _{0} ^ {T}} = \frac{V_{peak}}{\sqrt{2}}$

## Trigonometric Substitutions

CONTENT

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 $2 \mathrm {dimensions}$. So it should suffice to say that students should look to perform a trig substitution when the variable $x$ 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:

$a ^ 2 - x ^ 2$

then one might notice that if we set $x=a \mathrm {Cos}(u)$ this will become:

$a ^ 2 - x ^ 2 = a ^ 2 - a ^ 2 \text {Cos} ^ 2 (u) = a ^ 2 \text {Sin} ^ 2 (u)$

or equivalently if we set $x=a \mathrm {Sin}(u)$ this will become:

$a^2-x^2=a^2-\text {Sin}^2 (u)=a^2 \text {Cos}^2 (u)$

Similarly, if a part of the integral involves a term like:

$a^2+x^2$

then one might notice that if we set $x=a \text {Tan}(u)$ this will become:

$a^2+x^2=a^2+a^2 \text {Tan} ^2 (u)=a^2 \text {Sec}^2 (u)$

PROCESS/PRODUCTS

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

CONTENT

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.

PROCESS

To teach this it is nice to give a geometric presentation. We would like to know if the area beneath the curve $f(x) = \frac{1}{x}$ is finite:

The integral performed in the text shows us that the area does not converge. However, if we look at the area beneath $f(x) = \frac{1}{x ^ 2}$ instead:

we find that it does converge to a finite number. Points of infinite discontinuity can be treated in a similar way.

PRODUCTS

A variety of different and interesting integrals can be performed to demonstrate improper limits. Most notably students may be asked to recall probability densities $p(x)$. Since the total probability of any $x$ occurring must be identically $1$, we should have:

$\int\limits_{- \infty}^{\infty} f(x) dx = 1$

Students could be asked to solve an equation like this where $f(x)$ is some unnormalized probability density like, say, $f(x) = C e ^ {-|x|}$:

By solving the equation students would be finding the constant $C$ so that $f(x)$ is a valid probability density:

$1 = C \int\limits_{- \infty}^{\infty} e ^ {-|x|} dx = 2C \int\limits_{0}^{\infty} e ^ {-x} dx = 2C[ 1 - 0] = 2C$

So clearly $C = \frac{1}{2}$ will work and we should have$f(x) = \frac{1}{2} e ^ {-|x|}$.

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

CONTENT

Notice that the right hand side of the equation for a Linear ODE:

$Y ^ {(n)} = \Sigma a _ i (x) Y ^ {(i)} + r(x)$

is actually a function of two variables, $y$ and $x$. 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 $\frac{dy}{dx} = F (x ,y)$ 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 $\frac{dy}{dx} = F (x ,y)$ that cannot be solved exactly. We therefore aim instead to create better and better approximations of the solutions using the slope fields.

PROCESS

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 $\frac{dy}{dx} = xy$, 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.

PRODUCTS

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.

## Date Created:

Feb 23, 2012

Apr 29, 2014
You can only attach files to None which belong to you
If you would like to associate files with this None, please make a copy first.