We read your photo as:

Integrate this by part -x∫eˣdx + 1/x∫x²eˣdx

Mathematics

ScanSolve AI Answer

Answer

2ex(1x−1)+C2e^x \left( \frac{1}{x} - 1 \right) + C

Step-by-step solution

6 steps

To evaluate the given expression, we need to solve each integral and then substitute them back. The instruction "integrate this by part" specifically applies to the integral ∫x2exdx\int x^2 e^x dx.

The expression to evaluate is:

−x∫exdx+1x∫x2exdx-x \int e^x dx + \frac{1}{x} \int x^2 e^x dx
  1. Evaluate the first integral.

    The integral of exe^x is straightforward:

    ∫exdx=ex+C1\int e^x dx = e^x + C_1
  2. Evaluate the second integral, ∫x2exdx\int x^2 e^x dx, using integration by parts.

    The integration by parts formula is ∫u dv=uv−∫v du\int u \, dv = uv - \int v \, du.
    For ∫x2exdx\int x^2 e^x dx:
    Let u=x2u = x^2, then du=2x dxdu = 2x \, dx.
    Let dv=exdxdv = e^x dx, then v=exv = e^x.
    Applying the formula:

    ∫x2exdx=x2ex−∫ex(2x)dx=x2ex−2∫xexdx\int x^2 e^x dx = x^2 e^x - \int e^x (2x) dx = x^2 e^x - 2 \int x e^x dx
  3. Evaluate the remaining integral ∫xexdx\int x e^x dx using integration by parts again.

    For ∫xexdx\int x e^x dx:
    Let u=xu = x, then du=dxdu = dx.
    Let dv=exdxdv = e^x dx, then v=exv = e^x.
    Applying the formula:

    ∫xexdx=xex−∫exdx=xex−ex+C2\int x e^x dx = x e^x - \int e^x dx = x e^x - e^x + C_2
  4. Substitute the result from Step 3 back into the expression from Step 2.

    ∫x2exdx=x2ex−2(xex−ex+C2)\int x^2 e^x dx = x^2 e^x - 2 (x e^x - e^x + C_2) =x2ex−2xex+2ex−2C2= x^2 e^x - 2x e^x + 2e^x - 2C_2 =ex(x2−2x+2)+C3(where C3=−2C2)= e^x(x^2 - 2x + 2) + C_3 \quad (\text{where } C_3 = -2C_2)
  5. Substitute the results from Step 1 and Step 4 into the original expression.

    −x∫exdx+1x∫x2exdx-x \int e^x dx + \frac{1}{x} \int x^2 e^x dx =−x(ex+C1)+1x(ex(x2−2x+2)+C3)= -x (e^x + C_1) + \frac{1}{x} (e^x(x^2 - 2x + 2) + C_3) =−xex−xC1+exx(x2−2x+2)+C3x= -x e^x - x C_1 + \frac{e^x}{x}(x^2 - 2x + 2) + \frac{C_3}{x} =−xex−xC1+ex(x2x−2xx+2x)+C3x= -x e^x - x C_1 + e^x \left( \frac{x^2}{x} - \frac{2x}{x} + \frac{2}{x} \right) + \frac{C_3}{x} =−xex−xC1+ex(x−2+2x)+C3x= -x e^x - x C_1 + e^x \left( x - 2 + \frac{2}{x} \right) + \frac{C_3}{x} =−xex−xC1+xex−2ex+2exx+C3x= -x e^x - x C_1 + x e^x - 2e^x + \frac{2e^x}{x} + \frac{C_3}{x}
  6. Simplify the expression.

    =(−xex+xex)−2ex+2exx−xC1+C3x= (-x e^x + x e^x) - 2e^x + \frac{2e^x}{x} - x C_1 + \frac{C_3}{x} =−2ex+2exx−xC1+C3x= -2e^x + \frac{2e^x}{x} - x C_1 + \frac{C_3}{x} =2ex(1x−1)+C= 2e^x \left( \frac{1}{x} - 1 \right) + C

    (where CC represents the combined arbitrary constants −xC1+C3x-x C_1 + \frac{C_3}{x})

    The simplified expression is:

    2ex(1x−1)+C2e^x \left( \frac{1}{x} - 1 \right) + C
Was this helpful?

Try one yourself

A new problem that tests the same skill.

Still stuck on this one?

Ask a follow-up, and the answer starts from this question.

Got a different question?Ask your own question
Handwritten step-by-step solution preview

Handwritten Step-by-Step Solution

Get this as a handwritten image on WhatsApp — like a tutor wrote it for you.

Try on WhatsApp