Integral of x·ln(x)

∫xln⁡(x) dx\int x \ln\left(x\right)\,dx = x2(2ln⁡∣x∣−1)4+C\frac{x^{2} \left(2 \ln\left|x\right| - 1\right)}{4} + C

Answer

Indefinite integral
x2(2ln⁡∣x∣−1)4+C\frac{x^{2} \left(2 \ln\left|x\right| - 1\right)}{4} + C

Checked numerically before it is shown

Step-by-step solution

Solve by

Integration by parts

  1. Integration by parts

    Integrate by parts with u=ln⁡(x)u = \ln{\left(x \right)} and dv=x dxdv = x\,dx:

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

    Then du=1x dxdu = \frac{1}{x}\,dx and v=x22v = \frac{x^{2}}{2}.

  3. Apply the formula

    ∫xln⁡(x) dx=x2ln⁡(x)2−∫x2 dx\int x \ln{\left(x \right)}\,dx = \frac{x^{2} \ln{\left(x \right)}}{2} - \int \frac{x}{2}\,dx
  4. Constant multiple rule

    Take the constant factor out of the integral:

    ∫x2 dx=12∫x dx\int \frac{x}{2}\,dx = \frac{1}{2} \int x\,dx
  5. Power rule

    Power rule for integrals:

    ∫x dx=x22\int x\,dx = \frac{x^{2}}{2}
  6. Constant of integration

    Add the constant of integration:

    ∫xln⁡(x) dx=x2ln⁡∣x∣2−x24+C\int x \ln{\left(x \right)}\,dx = \frac{x^{2} \ln\left|x\right|}{2} - \frac{x^{2}}{4} + C
  7. Same answer

    The same antiderivative, written as in the answer:

    x2ln⁡∣x∣2−x24=x2(2ln⁡∣x∣−1)4\frac{x^{2} \ln\left|x\right|}{2} - \frac{x^{2}}{4} = \frac{x^{2} \left(2 \ln\left|x\right| - 1\right)}{4}

Change the problem in the solver Integral calculator

Related solved examples