Solveeit Logo

Question

Mathematics Question on integral

Integrate the function: x2exx^2e^x

Answer

Let I = ∫x2ex dx

Taking x2x^2 as first function and ex as second function and integrating by parts, we obtain

I= x2∫ex dx - ∫{(ddxx2)(\frac {d}{dx}x^2)∫exdx} dx

I = x2ex - ∫2x.exdx

I = x2ex-2∫x.ex dx

Again integrating by parts,we obtain

I =x2ex - 2[x.∫exdx - ∫{(ddxx)(\frac {d}{dx}x).∫exdx} dx]

I = x2ex - 2[xex-∫exdx]

I = x2ex - 2[xex - ex]

I = x2ex - 2xex + 2ex + C

I = ex(x2 - 2x + 2) + C