3.1.58 \(\int x \log (x) \, dx\) [58]

Optimal. Leaf size=17 \[ -\frac {x^2}{4}+\frac {1}{2} x^2 \log (x) \]

[Out]

-1/4*x^2+1/2*x^2*ln(x)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2341} \begin {gather*} \frac {1}{2} x^2 \log (x)-\frac {x^2}{4} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x*Log[x],x]

[Out]

-1/4*x^2 + (x^2*Log[x])/2

Rule 2341

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*Log[c*x^
n])/(d*(m + 1))), x] - Simp[b*n*((d*x)^(m + 1)/(d*(m + 1)^2)), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rubi steps

\begin {align*} \int x \log (x) \, dx &=-\frac {x^2}{4}+\frac {1}{2} x^2 \log (x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 17, normalized size = 1.00 \begin {gather*} -\frac {x^2}{4}+\frac {1}{2} x^2 \log (x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x*Log[x],x]

[Out]

-1/4*x^2 + (x^2*Log[x])/2

________________________________________________________________________________________

Maple [A]
time = 0.00, size = 14, normalized size = 0.82

method result size
default \(-\frac {x^{2}}{4}+\frac {x^{2} \ln \left (x \right )}{2}\) \(14\)
norman \(-\frac {x^{2}}{4}+\frac {x^{2} \ln \left (x \right )}{2}\) \(14\)
risch \(-\frac {x^{2}}{4}+\frac {x^{2} \ln \left (x \right )}{2}\) \(14\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*ln(x),x,method=_RETURNVERBOSE)

[Out]

-1/4*x^2+1/2*x^2*ln(x)

________________________________________________________________________________________

Maxima [A]
time = 2.44, size = 13, normalized size = 0.76 \begin {gather*} \frac {1}{2} \, x^{2} \log \left (x\right ) - \frac {1}{4} \, x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(x),x, algorithm="maxima")

[Out]

1/2*x^2*log(x) - 1/4*x^2

________________________________________________________________________________________

Fricas [A]
time = 1.11, size = 13, normalized size = 0.76 \begin {gather*} \frac {1}{2} \, x^{2} \log \left (x\right ) - \frac {1}{4} \, x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(x),x, algorithm="fricas")

[Out]

1/2*x^2*log(x) - 1/4*x^2

________________________________________________________________________________________

Sympy [A]
time = 0.02, size = 12, normalized size = 0.71 \begin {gather*} \frac {x^{2} \log {\left (x \right )}}{2} - \frac {x^{2}}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*ln(x),x)

[Out]

x**2*log(x)/2 - x**2/4

________________________________________________________________________________________

Giac [A]
time = 0.47, size = 13, normalized size = 0.76 \begin {gather*} \frac {1}{2} \, x^{2} \log \left (x\right ) - \frac {1}{4} \, x^{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x*log(x),x, algorithm="giac")

[Out]

1/2*x^2*log(x) - 1/4*x^2

________________________________________________________________________________________

Mupad [B]
time = 0.03, size = 9, normalized size = 0.53 \begin {gather*} \frac {x^2\,\left (\ln \left (x\right )-\frac {1}{2}\right )}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x*log(x),x)

[Out]

(x^2*(log(x) - 1/2))/2

________________________________________________________________________________________