Calculus 2Integration by Parts

Integrate x^2 e^x dx by parts

Homework Question

Evaluate ∫x2ex dx\int x^2 e^x \, dx using integration by parts.

Verified Final Answer
ex(x2−2x+2)+Ce^x(x^2 - 2x + 2) + C

Key Formula & Principle

∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du

Step-by-Step Solution

  1. 1
    Use the LIATE rule: let u=x2u = x^2 and dv=ex dxdv = e^x\,dx, so du=2x dxdu = 2x\,dx and v=exv = e^x.
  2. 2
    First application: ∫x2ex dx=x2ex−∫2xex dx\int x^2 e^x\,dx = x^2 e^x - \int 2x e^x\,dx.
  3. 3
    Integrate by parts again with u=2xu = 2x, dv=ex dxdv = e^x\,dx: ∫2xex dx=2xex−2ex\int 2x e^x\,dx = 2x e^x - 2e^x.
  4. 4
    Combine: x2ex−(2xex−2ex)+C=ex(x2−2x+2)+Cx^2 e^x - (2x e^x - 2e^x) + C = e^x(x^2 - 2x + 2) + C.
Interactive Homework Customizer

Have this WebAssign / Canvas problem with different numbers?

Replace the numbers or functions below to match your exact assignment version, then generate a custom step-by-step derivation.

View all Calculus 2 →