Integral of x·eˣ

∫xex dx\int x e^{x}\,dx = (x−1)ex+C\left(x - 1\right) e^{x} + C

Answer

Indefinite integral
(x−1)ex+C\left(x - 1\right) e^{x} + C

Checked numerically before it is shown

Step-by-step solution

  1. Integration by parts

    Integrate by parts with u=xu = x and dv=ex dxdv = e^{x}\,dx:

    ∫u dv=uv−∫v du\int u\,dv = uv - \int v\,du
  2. Find du and v

    Then du=1 dxdu = 1\,dx and v=exv = e^{x}.

  3. Apply the formula

    ∫xex dx=xex−∫ex dx\int x e^{x}\,dx = x e^{x} - \int e^{x}\,dx
  4. Exponential rule

    Integral of the exponential function:

    ∫ex dx=ex\int e^{x}\,dx = e^{x}
  5. Constant of integration

    Add the constant of integration:

    ∫xex dx=xex−ex+C\int x e^{x}\,dx = x e^{x} - e^{x} + C
  6. Same answer

    The same antiderivative, written as in the answer:

    xex−ex=(x−1)exx e^{x} - e^{x} = \left(x - 1\right) e^{x}

Change the problem in the solver Integral calculator

Related solved examples