SUNY Geneseo Department of Mathematics

Integration by Substitution

Wednesday, November 15 - Friday, November 17

Math 221 05
Fall 2017
Prof. Doug Baldwin

Return to Course Outline

Previous Lecture

Misc

Colloquium

Jamie Juul, Amherst College (faculty candidate).

Monday, November 20, 4:00 PM, Newton 201.

I don’t know the topic yet.

Extra credit for writing a paragraph about connections you make to it, as usual.

Questions?

Problem 4, Problem set 9

How to start on “limit of Riemann sum”?

Start by identifying what function you’re using, what x values appear in the sum, and what the change in x over each sub-interval is. Keep in mind that the sum corresponds to an integral of f(x) over the interval [a,b].

Limit of sum of f(x) DeltaX is the integral of f(x) from a to b

To find the x’s for a uniform sub-interval of width Δx, use the right endpoints and note that the right endpoint of interval i is a + i Δx.

Subinterval i starts at a + i DeltaX.

Integration by Substitution

Section 5.5

Problem set.

Antiderivatives

Find the antiderivatives of 2x / √(x2 - 3).

The main helpful idea from the reading is the strategy for integration by substitution:

  1. Find g(x) in the integrand such that g′(x) is also in the integrand; let u = g(x).
  2. Substitute u for g(x) and du for g′(x) in the integrand.
  3. Integrate with respect to u.
  4. Substitute the definition of g back into the integral you got.

Start by identifying a promising-looking u and du:

u = x^2-3 and du = 2x dx.

Then express the integral in terms of u and du:

Integral of 1/sqrt(u) = integral of du/sqrt(u) = integral of u^(-1/2)

Finally integrate with respect to u, and replace u with x2 - 3 in the result:

Integral = 2u^(1/2) + C = 2 sqrt(x^2-3) + C

Find the antiderivatives of sinx cosx.

Find a promising u and du:

u = sin x, du = cos x dx

Express the integral in terms of u and integrate:

Integral of u = 1/2 u^2 + C = 1/2 sin^2 x + C

Notice that this is only the most natural of several substitutions that could all be used to evaluate this antiderivative:

u = cos x and du = -sinx dx, or sinx cosx = sin(2x)/2.

Try integrating sinx cosx by using u = cosx.

Integral of sinx cosx; u = cosx, du = -sinx dx

Notice that du involves a negative that’s not present in the original integrand. But we can still integrate with respect to u, and compensate for the negative by negating the result:

Integral of sinx cosx = the negative integral of u = -1/2 cos^2(x).

Are that result and yesterday’s sin2x / 2 really both antiderivatives of sinx cosx? Check by differentiating both:

d/dx( 1/2 sin^2(x) ) = sinx cosx = d/dx( -1/2 cos^2(x) )

Notice that the key to finding both derivatives was the chain rule. That’s not an accident, integration by substitution is basically the integration rule that inverts the chain rule.

How is it possible that two different functions are both “the” antiderivative of sinx cosx?

Maybe it has to do with sinx and cosx both having similar graphs? But the graphs are displaced relative to each other, cosine isn’t just a scaled sine or such:

Sine and cosine plotted on the same graph.

But of course we aren’t dealing with sinx and cosx, we’re dealing with their squares. Maybe that helps?

Mirror-image sine-wave-like curves between y = 0 and y = 1

The two curves still aren’t the same function, they’re mirror images of each other. But they still aren’t the antiderivatives we got, either. We need to negate the cosine curve (and scale both by 1/2):

Sine-wave-like curves with one slightly above the other.

Now they are just vertically shifted copies of each other.

That’s the “+ C” in antiderivatives in action: sometimes it allows two superficially very different functions to both be antiderivatives of the same thing. And in fact, we can work out what C makes one of the functions equal the other in this case:

-1/2 cos^2(x) = -1/2 (1-sin^2(x)) = 1/2 sin^2(x) - 1/2

Find the antiderivatives of √(2x+1).

Start by identifying u and du. The only real choice is u = 2x+1 and du = 2dx:

Integral of sqrt(2x+1), u = 2x+1, du = 2 dx, so dx = du/2

But there’s no 2 in the integrand to match the “2dx.” One way to deal with this would be to realize that du = 2dx implies that dx = du/2, and so substitute 1/2 du for dx:

Integral of sqrt(2x+1) = 1/2 integral of u^(1/2) = 1/3 (2x+1)^(3/2) + C

Another way to match du to a 2dx and explain multiplying by 1/2 at the end is to multiply the integrand by 2/2 and then factor out the denominator:

Integral of sqrt(2x+1) = integral of 2/2 sqrt(2x+1) = 1/2 integral of 2 sqrt(2x+1)

Find the antiderivatives of 5 sin(5x) / cos3(5x). As usual, start by finding a promising u. In this case, u = 5x and thus du = 5 dx looks like a good choice:

Integral of 5sin(5x)/cos^3(5x) with u = 5s, du = 5dx

The integrand is simpler now, but it’s still not obvious how to integrate it. But factoring it into 2 recognizable trigonometric functions helps (in general, rewriting an integrand into a new form often helps you evaluate integrals):

Integral of 5sin(5x)/cos^3(5x) = integral of sin(u)/cos^3(u) = integral of tan(u) sec^2(u)

In this form, another substitution stands out. There’s nothing wrong with using multiple substitutions to evaluate an integral.

Integral of tan(u) sec^2(u) with v = tan(u) becomes integral of v dv = 1/2 v^2 + C

Finally, undo the substitutions to get the antiderivative in terms of the original variable x:

1/2 v^2 + C = 1/2 tan^2(u) + C = 1/2 tan^2(5x) + C

Another substitution that could start this problem would be u = cos(5x). This requires using the chain rule to find du, but lets you evaluate the integral with only one substitution.

u = cos(5x) and du = -5 sin(5x) dx mean integral of 5sin(5x)/cos^3(5x) = minus the integral of du/u^3

Definite Integrals

Integrate √(x4-x2) from 1 to 3. A good way to start is to rewrite the integrand in order to make a useful substitution evident:

Integral of sqrt(x^4-x^2) = integral of x sqrt(x^2-1) so u = x^2-1 and du = 2x dx

Now carry out the substitution, but also apply it to the bounds. For instance, when x = 1, u is x2-1 = 12-1 = 0; when x = 3, u = 32-1 = 8.

Integral from 1 to 3 of x sqrt(x^2-1) = 1/2 integral from 0 to 8 of u^(1/2)

Now you can find the antiderivative and evaluate between the u bounds, without having to reverse the substitution and express the result in terms of x. This is a nice payoff from putting the bounds in terms of u when you did the substitution.

1/2 times 2/3 u^(3/2) from 0 to 8 is about 7.54

Take-Aways

Substitution can be a good way to evaluate an integral when the integrand is a product of a function and its derivative.

The integrand doesn’t even have to be an exact product, just close enough that multiplying by a constant makes it exact.

It can be helpful to make multiple substitutions sometimes.

When using substitution to evaluate a definite integral, apply the substitution to the bounds too.

Next

Applications of integration: area between curves.

Read section 6.1.

Next Lecture