# Reduction formula question (int by parts)

1. Apr 9, 2010

### thomas49th

1. The problem statement, all variables and given/known data
Let $$I_{n} = \int^{2}_{0} x^{n}e^{x} dx$$ where n is a positive integer. Use integration by parts to show
that

$$2^{n}e^{2} - nI_{n-1}$$

By first finding

$$I_{1} = \int ^{2}_{0} xe^{x} dx$$
find I2 and I3.

2. Relevant equations

I'm sure your all aware of the formula for Int by parts. We'll take the $$e^{x}$$ function as the one to integrate and the $$x^{n}$$ as the one to differentiate.

3. The attempt at a solution

So use integration by parts to find In:

$$x^{n}e^{x} - n\int^{2}_{0}x^{n-1}$$

Well that's
$$x^{n}e^{x} - nI_{n-1}$$
is it not?

So now put the limits in

$$[x^{n}e^{x} - nI_{n-1}]^{2}_{0}$$

$$[2^{n}e^{2} - nI_{n-1}] - [ - nI_{n-1}]$$
but that's isn't right because I'm getting no $$nI_{n-1}$$ because they cancel!

Where have I gone wrong?

Thanks
Thomas

Last edited: Apr 9, 2010
2. Apr 9, 2010

### Gib Z

The step is correct but neither of them represent $I_n$. The Integration by parts formula for definite integrals is $$\int^b_a u(x) \frac{dv(x)}{dx} dx = u(b)v(b)-u(a)v(a) - \int^b_a v(x) \frac{du(x)}{dx}$$.

You have put in the limits of integration for the second term, but not the first.

3. Apr 9, 2010

### Staff: Mentor

You omitted part of the statement above. Show that 2ne2 - nIn - 1 equals what or does what?

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook