Processing math: 100%

EXAMPLE 5Integrating by Parts

Find x2exdx.

Solution We use the integration by parts formula with u=x2anddv=exdx

Then du=2xdxandv=exdx=ex

475

and x2exdx=x2ex2xexdx

The integral on the right is simpler than the original integral. To find it, we use integration by parts a second time. (Refer to Example 1.)

xexdx=xexex

Then x2exdx=x2ex2(xexex)+C=ex(x22x+2)+C