Here, we are going to assume some familiarity with integration and remind the rusty among you of how to do a bit more . . .
The most basic functions can be integrated just by remembering the derivative formulae and inverting. For instance,
since dxndx=nxn−1,
if we want to integrate xm,
we can let m=n−1
and see that 1ndxndx=xn−1
and replace n-1 with m to see that
∫xm=1m+1xm+1.
We can then check by differentiating: we get xm,
so all's well that ends well!
ex,sinx,andcosx
can all be handled using this principle too.
For more complicated functions, there are five major techniques, which we'll look at in increasing order of complexity.
1) Integration by substitution
2) Integration by parts
3) Trig substitution
4) Partial fractions
5) Gaussian integrals
6) Completing the square in Gaussian integrals
1) Integration by substitution
Given a composition of functions, it is often convenient to define a new variable for the inner function. For instance, let's compute
∫ba[1+x]2dx
by defining u=1+x,
du=dx.
We then have
∫1+b1+au2du=u33|1+b1+a
Notice a few things:
a) we have replaced the limits of integration: if x runs from a to b, u=1+x runs from 1+a to 1+b.
b) we have replaced dx with dx=du: in general, we need to differentiate u and solve algrebraically for dx in terms of du, and then replace dx with its value in terms of du.
Let's do a harder example:
∫ba[1+2x]1/2dx.
Let u=1+2x,du=2dx
so that
dx=du2.
We then find
∫1+2b1+2au1/22du=u3/22|1+2b1+2a.
To do these without making a mistake, it's good to go step by step. First, write out clearly what u equals and then du = . . . dx, and solve carefully for dx. Then make these replacements in the integral. After that, make sure to change the bounds of integration to have the right range for the new variable!
2) Integration by parts
Often an integrand is of the form of a product of two functions, one of which is has a simple integral. How do we handle these cases? Write the integral as
∫udv
where dv is the function that has a simple integral. We then have the formula
∫baudv=uv|ba−∫bavdu.
Try differentiating this formula to prove it is the correct integral of u dv:
ddx[uv|ba−∫bavdu]=udvdx+vdudx−vdudx.
Let's try an example. Conveniently, this example will turn out to give us a useful formula for the integral of natural log.
∫lnxdx=∫1⋅lnxdx.
We don't know how to integrate lnx,
so we better not have it be our dv. But we do know how to integrate 1dx:
that's just x! So we set
u=lnx,dv=1dx.
We then have
∫lnxdx=xlnx−∫xxdx=xlnx−x.
This is great because we now have a general technique for integrating any power of x against natural log. Let's try x:
∫xlnxdx=∫lnxdx=x22lnx−∫x22xdx=x22lnx−x24.
Try deriving the formula for ∫xnlnxdx
yourself!
Another integral commonly evaluated using integration by parts is ∫xnexdx,
where n is a positive whole number. Here things get a little trickier. We want to eventually lower the integrand to involve only ex
and no powers of x, so we need to do something that lowers the power of x each time we do it. This suggests letting u=xn,
because du=nxn−1.
We then have
∫xnex=xnex−∫nxn−1exdx.
We can then integrate the integral by parts again to reduce the power of x by one more, and keep doing so until we get the integrand to be ex,
which we know how to integrate.
No comments:
Post a Comment