<<

The Chain Rule and Integration by Substitution Recall: The chain rule for allows us to differentiate a composition of functions:

[ f (g(x))]' = f '(g(x))g'(x)

€ The Chain Rule and Integration by Substitution Suppose we have an of the form

∫ f (g(x))g'(x)dx where F'= f .

composition of derivative of F is an antiderivative of f functions Inside

€ Then, by reversing the chain rule for derivatives, € we have ∫ f (g(x))g'(x)dx = F(g(x)) + C.

integrand is the result of differentiating a composition of functions € Example

2x + 5 Integrate ∫ dx x 2 + 5x − 7

€ Integration by Substitution

Algorithm: 1. Let where is the part causing u = g(x) g(x) problems and cancels the remaining g'(x) x terms in the integrand. € € 2. Substitute and into the € u = g(x) du = g'(x)dx integral to obtain an equivalent (easier!) integral all in terms of u. € ∫ f (g(x))€g '(x)dx = ∫ f (u)du

€ Integration by Substitution

Algorithm: 3. Integrate with respect to u, if possible.

∫ f (u)du = F(u) + C

4. Write final answer in terms of x again.

€ F(u) + C = F(g(x)) + C

€ € Integration by Substitution

Example: Integrate each using substitution.

2 cos x (a) xe 4 x dx (b) dx ∫ ∫ x

4 e ln x (c) dx € ∫ € 1 x

€ The and The product rule for derivatives leads to a technique of integration that breaks a complicated integral into simpler parts.

Integration by Parts Formula:

∫ udv = uv − ∫ vdu

given integral that hopefully this is a simpler we cannot solve Integral to evaluate

€ The Product Rule and Integration by Parts Deriving the Formula

Start by writing out the Product Rule: d du dv [u(x)⋅ v(x)] = ⋅ v(x) + u(x)⋅ dx dx dx

dv Solve for u(x)⋅ : dx € dv d du u(x)⋅ = [u(x)⋅ v(x)]− ⋅ v(x) dx dx dx €

€ The Product Rule and Integration by Parts Deriving the Formula

Integrate both sides with respect to x: dv d du ∫ u(x) dx = ∫ [u(x)⋅ v(x)] dx − ∫ v(x) dx dx dx dx

€ The Product Rule and Integration by Parts Deriving the Formula

Simplify:

dv d du u (x) dx = [u(x) ⋅ v(x)] dx − v(x) dx ∫ dx ∫ dx ∫ dx

⇒ ∫ u(x)dv = u(x)⋅ v(x) − ∫ v(x)du €

€ Integration by Parts ∫ udv = uv − ∫ vdu

Template:

Choose: € u = part which gets simpler dv = easy to integrate part after differentiation

Compute: € € du = v =

€ € Integration by Parts

Example: Integrate each using integration by parts.

x (a) ∫ x cos4xdx (b) ∫ x 2e 2 dx

2 € (c) ∫ ln x dx € 1

€ Strategy for Integration

Method Applies when… Basic antiderivative …the integrand is recognized as the reversal of a differentiation formula, such as

Guess-and-check …the integrand differs from a basic antiderivative in that “x” is replaced by “ax+b”, for example

Substitution …both a function and its derivative (up to a constant) appear in the integrand, such as

Integration by parts …the integrand is the product of a power of x and one of sin x, cos x, and ex, such as

…the integrand contains a single function whose derivative we know, such as Strategy for Integration

What if the integrand does not have a formula for its antiderivative?

Example:

impossible to integrate

1 2 e−x dx ∫ 0

Approximating Functions with Polynomials Recall: 2 The quadratic approximation to f (x) = e−x 2 around the base point x=0 is T2(x) =1− x .

base point 1 € €

0.5 2 f (x) = e−x

-2.4 -2 -1.6 -1.2 -0.8 -0.4 0 0.4 0.8 1.2 1.6 2 2.4

2 € T2(x) =1− x

€ Integration Using Taylor Polynomials

We approximate the function with an appropriate Taylor polynomial and then integrate this Taylor polynomial instead!

Example:

impossible to integrate easy to integrate 1 1 2 ∫ e−x dx ≈ ∫ (1− x 2) dx 0 0 for x-values near 0

Integration Using Taylor Polynomials

We can obtain a better Example: 1 approximation by using a 2 e−x dx higher degree Taylor ∫ 0 polynomial to represent 1 1 1 the integrand. ≈ ∫ (1− x2 + x4 − x6 ) dx 0 2 6 1.25 ⎡ 1 1 1 3 1 5 1 7 ≈ ⎢x − x + x − x 0.75 ⎣ 3 10 42 0

0.5 ≈ 0.74286

0.25

-2.4 -2 -1.6 -1.2 -0.8 -0.4 0 0.4 0.8 1.2 1.6 2 2.4