Reduction formula question (int by parts)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
thomas49th
Messages
645
Reaction score
0

Homework Statement


Let [tex]I_{n} = \int^{2}_{0} x^{n}e^{x} dx[/tex] where n is a positive integer. Use integration by parts to show
that

[tex] 2^{n}e^{2} - nI_{n-1}[/tex]

By first finding

[tex]I_{1} = \int ^{2}_{0} xe^{x} dx[/tex]
find I2 and I3.

Homework Equations



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

The Attempt at a Solution

So use integration by parts to find In:

[tex]x^{n}e^{x} - n\int^{2}_{0}x^{n-1}[/tex]

Well that's
[tex]x^{n}e^{x} - nI_{n-1}[/tex]
is it not?

So now put the limits in

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

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

Where have I gone wrong?

Thanks
Thomas
 
Last edited:
Physics news on Phys.org
thomas49th said:
So use integration by parts to find In:

[tex]x^{n}e^{x} - n\int^{2}_{0}x^{n-1}[/tex]

Well that's
[tex]x^{n}e^{x} - nI_{n-1}[/tex]
is it not?

The step is correct but neither of them represent [itex]I_n[/itex]. The Integration by parts formula for definite integrals is [tex]\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}[/tex].

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

Homework Statement


Let [tex]I_{n} = \int^{2}_{0} x^{n}e^{x} dx[/tex] where n is a positive integer. Use integration by parts to show
that

[tex] 2^{n}e^{2} - nI_{n-1}[/tex]
You omitted part of the statement above. Show that 2ne2 - nIn - 1 equals what or does what?
thomas49th said:
By first finding

[tex]I_{1} = \int ^{2}_{0} xe^{x} dx[/tex]
find I2 and I3.


Homework Equations



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

The Attempt at a Solution




So use integration by parts to find In:

[tex]x^{n}e^{x} - n\int^{2}_{0}x^{n-1}[/tex]

Well that's
[tex]x^{n}e^{x} - nI_{n-1}[/tex]
is it not?

So now put the limits in

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

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

Where have I gone wrong?

Thanks
Thomas