Optimal. Leaf size=22 \[ 5+x+x \left (2+\frac {(11+x-\log (2))^2 \log (x)}{x^2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 31, normalized size of antiderivative = 1.41, number of steps used = 8, number of rules used = 4, integrand size = 44, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {14, 2357, 2295, 2304} \begin {gather*} 3 x+x \log (x)+(22-\log (4)) \log (x)+\frac {(11-\log (2))^2 \log (x)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2295
Rule 2304
Rule 2357
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {4 x^2+(-11+\log (2))^2+x (22-\log (4))}{x^2}+\frac {(11+x-\log (2)) (-11+x+\log (2)) \log (x)}{x^2}\right ) \, dx\\ &=\int \frac {4 x^2+(-11+\log (2))^2+x (22-\log (4))}{x^2} \, dx+\int \frac {(11+x-\log (2)) (-11+x+\log (2)) \log (x)}{x^2} \, dx\\ &=\int \left (4+\frac {(-11+\log (2))^2}{x^2}+\frac {22-\log (4)}{x}\right ) \, dx+\int \left (\log (x)-\frac {(-11+\log (2))^2 \log (x)}{x^2}\right ) \, dx\\ &=4 x-\frac {(11-\log (2))^2}{x}+(22-\log (4)) \log (x)-(-11+\log (2))^2 \int \frac {\log (x)}{x^2} \, dx+\int \log (x) \, dx\\ &=3 x+x \log (x)+\frac {(11-\log (2))^2 \log (x)}{x}+(22-\log (4)) \log (x)\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 44, normalized size = 2.00 \begin {gather*} 3 x+22 \log (x)+\frac {121 \log (x)}{x}+x \log (x)-2 \log (2) \log (x)-\frac {22 \log (2) \log (x)}{x}+\frac {\log ^2(2) \log (x)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 32, normalized size = 1.45 \begin {gather*} \frac {3 \, x^{2} + {\left (x^{2} - 2 \, {\left (x + 11\right )} \log \relax (2) + \log \relax (2)^{2} + 22 \, x + 121\right )} \log \relax (x)}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.14, size = 31, normalized size = 1.41 \begin {gather*} {\left (x + \frac {\log \relax (2)^{2} - 22 \, \log \relax (2) + 121}{x}\right )} \log \relax (x) - 2 \, {\left (\log \relax (2) - 11\right )} \log \relax (x) + 3 \, x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 34, normalized size = 1.55
method | result | size |
risch | \(\frac {\left (\ln \relax (2)^{2}+x^{2}-22 \ln \relax (2)+121\right ) \ln \relax (x )}{x}-2 \ln \relax (2) \ln \relax (x )+22 \ln \relax (x )+3 x\) | \(34\) |
norman | \(\frac {x^{2} \ln \relax (x )+\left (\ln \relax (2)^{2}-22 \ln \relax (2)+121\right ) \ln \relax (x )+\left (-2 \ln \relax (2)+22\right ) x \ln \relax (x )+3 x^{2}}{x}\) | \(40\) |
default | \(-\ln \relax (2)^{2} \left (-\frac {\ln \relax (x )}{x}-\frac {1}{x}\right )+x \ln \relax (x )+3 x +22 \ln \relax (2) \left (-\frac {\ln \relax (x )}{x}-\frac {1}{x}\right )-\frac {\ln \relax (2)^{2}}{x}-2 \ln \relax (2) \ln \relax (x )+\frac {121 \ln \relax (x )}{x}+\frac {22 \ln \relax (2)}{x}+22 \ln \relax (x )\) | \(78\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.37, size = 70, normalized size = 3.18 \begin {gather*} {\left (\frac {\log \relax (x)}{x} + \frac {1}{x}\right )} \log \relax (2)^{2} - 22 \, {\left (\frac {\log \relax (x)}{x} + \frac {1}{x}\right )} \log \relax (2) + x \log \relax (x) - 2 \, \log \relax (2) \log \relax (x) + 3 \, x - \frac {\log \relax (2)^{2}}{x} + \frac {22 \, \log \relax (2)}{x} + \frac {121 \, \log \relax (x)}{x} + 22 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.20, size = 27, normalized size = 1.23 \begin {gather*} x\,\left (\ln \relax (x)+3\right )-\ln \relax (x)\,\left (\ln \relax (4)-22\right )+\frac {\ln \relax (x)\,{\left (\ln \relax (2)-11\right )}^2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.19, size = 32, normalized size = 1.45 \begin {gather*} 3 x - 2 \left (-11 + \log {\relax (2 )}\right ) \log {\relax (x )} + \frac {\left (x^{2} - 22 \log {\relax (2 )} + \log {\relax (2 )}^{2} + 121\right ) \log {\relax (x )}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________