100% free no uploads no sign-up

integral of x·e^x

The integral of x·e^x is e^x(x − 1) + C, where C is any constant.

problem
∫ x·e^x dx
answer
∫ x·e^x dx = e^x(x − 1) + C

✓ checked: differentiating the answer gives back the original function (tested at several points).

step-by-step working

  1. Integration by parts: ∫u dv = u·v − ∫v du, with u = x and dv = e^x dx. Then du = dx and v = e^x.

    ∫ x·e^x dx = x·e^x − ∫ e^x dx
  2. Standard integral: ∫eᵘ du = eᵘ.

    ∫ e^x dx = e^x
  3. Put the pieces together.

    ∫ x·e^x dx = x·e^x − e^x
  4. Add the constant of integration C (any constant differentiates to 0).

plain-text version of this solution
Problem: ∫ x·e^x dx
Step 1: Integration by parts: ∫u dv = u·v − ∫v du, with u = x and dv = e^x dx. Then du = dx and v = e^x. ∫ x·e^x dx = x·e^x − ∫ e^x dx
Step 2: Standard integral: ∫eᵘ du = eᵘ. ∫ e^x dx = e^x
Step 3: Put the pieces together. ∫ x·e^x dx = x·e^x − e^x
Step 4: Add the constant of integration C (any constant differentiates to 0).
Answer: ∫ x·e^x dx = e^x(x − 1) + C
✓ checked: differentiating the answer gives back the original function (tested at several points).

Related problems

Try it yourself

Change the problem below and press Enter. Steps, answer and check update instantly, all in your browser.

mode: integral

Enter solves · Shift+Enter for a new line · put systems on separate lines or separate them with commas

Frequently asked questions

What is the integral of x·e^x?

∫ x·e^x dx = e^x(x − 1) + C. Method: integration by parts and standard integral.

How do you check the integral of x·e^x?

Differentiate the answer. The derivative of e^x(x − 1) is x·e^x, and the + C disappears because the derivative of a constant is 0.

What is the integral of x²·e^x?

∫ x²·e^x dx = e^x(x² − 2x + 2) + C.

More integrals