# Integration By Substitution

We have seen how to find antiderivatives using our knowledge of basic derivatives, using these derivative rules "backwards." In other words, if the integrand of an integral matches the result of one of our derivative rules, we know that the antiderivative is the function used in that rule.

Suppose that we have a more complicated integrand that comes from the application of the chain rule. For example, suppose f (u) = eu (which we call the outer function) and g(x) = x² (which we call the inner function). Then the composition of these two is f (g(x)) = ex² and the derivative of this, using the chain rule, is f '(g(x))g'(x) =2x ex² . If we have an integral with this for the integrand, then we know that the integrand came from our original functions via differentiation and the chain rule, allowing us to simplify the integrand and making it easier to find the resulting antiderivative.

In this specific example, suppose our integral is The integrand is not the result of one of our basic derivative rules, but it looks like it might have come from the chain rule. If we let u = g(x) = x², then du/dx = g'(x) = 2x. If we treat the du and dx as formal objects, we can use algebra to change this into du = 2xdx. We can then simplify our integral by substituting du for 2xdx, u for x², and converting the limits from x limits into u limits and we get which is simple to evaluate using the rule for differentiating eu. More generically, we can write This is the antidifferentiation rule that corresponds to the chain rule. The trick, of course, is to figure out f and g given a messy integrand. This applet helps you see the equivalence of these two integrals; the work of algebraic manipulation for the substitution method can be found in any good calculus textbook. This device cannot display Java animations. The above is a substitute static image
 See About the calculus applets for operating instructions.

## 1. Substitution

The applet provides two functions, f (u) = eu and g(x) = x² . The left hand graph shows the integrand of the example used above:

f '(g(x))g'(x) =2x ex² which is computed from f and g. The right hand graph shows the graph of f '(u) = eu. On the left hand graph are marked the limits of integration a and b, while the converted limits, g(a) and g(b) are marked on the right hand graph. Move the a or b sliders to change the limits, and notice how the converted limits on the right hand side move.

Now notice the value of the area under each curve. The two areas are the same, indicating that we can simplify the more complicated integrand 2x ex² to the simpler eu, making our job of finding the antiderivative much easier.

## 2. Another substitution example

Select the second example. Here, f (u) = eu and g(x) = sin(x), so the integral we are trying to evaluate is Using substitution this simplifies to The graphs show the equivalence of these two integrals, since the left hand graph plots the first integrand, the right hand graph plots the second, and the areas are shown to be the same (once the limits are converted). Move the b slider to change the upper limit and notice that the areas remain equal, even when it doesn't look like the shaded parts sum up properly. For example, set b = 4; can you see from the shaded areas how the two areas are equal?

## Explore

You can enter your own functions for f and g, and zoom/pan the graphs. When you create your own example, use the chain rule to figure out what the composite integrand will be, then use substitution to simplify the integrand (and adjust the limits).