<<

Math 308 Practice

Let Z Z Z F (x) + C = f(x)dx f(x) + C = f 0(x)dx g(x) + C = g0(x)dx

Here F (x) + C is an for f(x), and f(x) + C is an antiderivative for f 0(x).

Integration by substitution Z Z f(g(x))g0(x)dx = f(u)du = F (u) + C = F (g(x)) + C u = g(x), du = g0(x)dx. Example: Z x sin(x2 + 1)dx

The difficulty here is that we don’t know how to integrate x sin(x2 + 1), but notice that the of x2 + 1 is just 2x, and we see the x part of 2x multiplying the sin(x2 + 1). Let u = x2 + 1 then du = 2xdx or xdx = (1/2)du. Z 1 Z x sin(x2 + 1)dx = sin(u)du = − cos(u) + C = − cos(x2 + 1) + C 2 Integration by parts

This comes from the . What is the derivative of uv?

[uv]0 = u0v + uv0 Z Z Z [uv]0 = uv = u0vdx + uv0dx (here we ignore the )

Let v0dx = dv and u0dx = du and rearrange the above to solve for R udv and you get: Z Z udv = uv − vdu

In doing integration by parts we always choose u to be something we can differentiate, and dv to be something we can integrate. A useful rule for figuring out what to make u is the LIPET rule. Choose u as the first that appears on the following list: , Inverse trig, , Exponentials, Trigonometry. If we need to include limits of integration

Z b Z b b udv = uv a − vdu a a Example: Z x sin xdx

Let u = x and dv = sin xdx. Then du = dx and v = − cos x. We get Z Z x sin xdx = −x cos x + cos xdx

= −x cos x + sin x + C Integration by partial fractions

We’ll look at this by example. Consider the Z x − 1 dx x2 + x We write the integrand as the sum of two fractions that are simpler. The denominator is x(x + 1), and we attempt x − 1 A B = + x2 + x x x + 1 I need to solve for A and B. Find a common denominator x − 1 A(x + 1) Bx = + x2 + x x2 + x x2 + x and set like terms in the numerator to be equal. The term with x is x = Ax + Bx so A + B = 1. The constant term is −1 = A. The solution is A = −1 and B = 2. Putting this back in the original integral:

Z x − 1 Z −1 2  (x + 1)2  dx = + dx = − ln(|x|) + 2 ln(|x + 1|) + C = ln + C x2 + x x x + 1 |x| We do not need the absolute values on (x + 1)2 because a squared number is never negative.

Practice

Now it’s your turn. Some of these integrals are pretty easy and you should have them in memory. Some are harder and use the techniques we just went over.

Z Z 1. x2dx = 2. x−3dx = this is an indefinite integral, an antiderivative

Z Z 3 3. (1/x)dx = 4. sin(x)dx = −3 this is a definite, not an indefinite, integral Z π/2 Z 5. cos(2x)dx = 6. tan(x)dx = 0 tan(x) = sin(x)/ cos(x); substitution

Z Z 0 7. (x2 + 1/x2)dx = 8. 6e2xdx = −∞

Z Z 9. x exp(x2)dx = 10. (2x + 3) sin(x2 + 3x)dx =

Z Z 11. xexdx = 12. ln(x)dx = by parts

Z 1 Z 13. dx = 14. (ln(x)/x) dx = (x2 − 1)

Z x Z  5  15. dx = 16. 2x3 + dx (x2 + 3x + 2) x4