Integral of x ln x

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

Integration by parts with u = ln x and dv = x dx, which leaves ∫x/2 dx.

Step by step

  1. Integration by parts

    ∫u dv = uv − ∫v du with u = ln⁡(x)\ln\left(x\right) (chosen by LIATE) and dv = x dxx\,dx, so du = 1x dx\frac{1}{x}\,dx and v = 12x2\frac{1}{2}x^{2}.

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

    Move the constant outside the integral.

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

    ∫xⁿ dx = xⁿ⁺¹/(n+1).

    ∫x dx=12x2\int x\,dx = \frac{1}{2}x^{2}
0.511.522.53123
  • f(x) = x ln x
  • F(x) + C

Every choice of C gives a valid antiderivative, since shifting up or down doesn’t change the slope.

Open in the integral calculator

Questions students ask

What is the integral of x ln x?

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

How do you integrate x ln x?

Integration by parts with u = ln x and dv = x dx, which leaves ∫x/2 dx.

How can I check the answer?

Differentiate it: the derivative of 12x2ln⁡(x)−14x2\frac{1}{2}x^{2} \ln\left(x\right) - \frac{1}{4}x^{2} is xln⁡(x)x \ln\left(x\right). CalcViz checks every antiderivative this way before showing it.