Optimal. Leaf size=25 \[ -\frac {x^2}{4}+\frac {1}{2} x^2 \log (x)+\frac {\log ^2(x)}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {1593, 14, 2351, 2301, 2304} \[ -\frac {x^2}{4}+\frac {1}{2} x^2 \log (x)+\frac {\log ^2(x)}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 1593
Rule 2301
Rule 2304
Rule 2351
Rubi steps
\begin {align*} \int \left (\frac {1}{x}+x\right ) \log (x) \, dx &=\int \frac {\left (1+x^2\right ) \log (x)}{x} \, dx\\ &=\int \left (\frac {\log (x)}{x}+x \log (x)\right ) \, dx\\ &=\int \frac {\log (x)}{x} \, dx+\int x \log (x) \, dx\\ &=-\frac {x^2}{4}+\frac {1}{2} x^2 \log (x)+\frac {\log ^2(x)}{2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 25, normalized size = 1.00 \[ -\frac {x^2}{4}+\frac {1}{2} x^2 \log (x)+\frac {\log ^2(x)}{2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.43, size = 19, normalized size = 0.76 \[ \frac {1}{2} \, x^{2} \log \relax (x) - \frac {1}{4} \, x^{2} + \frac {1}{2} \, \log \relax (x)^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.96, size = 19, normalized size = 0.76 \[ \frac {1}{2} \, x^{2} \log \relax (x) - \frac {1}{4} \, x^{2} + \frac {1}{2} \, \log \relax (x)^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 20, normalized size = 0.80 \[ \frac {x^{2} \ln \relax (x )}{2}-\frac {x^{2}}{4}+\frac {\ln \relax (x )^{2}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.57, size = 24, normalized size = 0.96 \[ -\frac {1}{4} \, x^{2} + \frac {1}{2} \, {\left (x^{2} + 2 \, \log \relax (x)\right )} \log \relax (x) - \frac {1}{2} \, \log \relax (x)^{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.23, size = 19, normalized size = 0.76 \[ \frac {x^2\,\ln \relax (x)}{2}-\frac {x^2}{4}+\frac {{\ln \relax (x)}^2}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.10, size = 19, normalized size = 0.76 \[ \frac {x^{2} \log {\relax (x )}}{2} - \frac {x^{2}}{4} + \frac {\log {\relax (x )}^{2}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________