Optimal. Leaf size=29 \[ e+\frac {1+\left (\frac {5}{e^3}+x\right )^2+\frac {\log ^2(x)}{x}}{2 \log (2)} \]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 36, normalized size of antiderivative = 1.24, number of steps used = 6, number of rules used = 4, integrand size = 44, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {12, 14, 2304, 2305} \begin {gather*} \frac {\log ^2(x)}{2 x \log (2)}+\frac {\left (e^3 x+5\right )^2}{2 e^6 \log (2)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2304
Rule 2305
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {\int \frac {10 x^2+2 e^3 x^3+2 e^3 \log (x)-e^3 \log ^2(x)}{x^2} \, dx}{2 e^3 \log (2)}\\ &=\frac {\int \left (2 \left (5+e^3 x\right )+\frac {2 e^3 \log (x)}{x^2}-\frac {e^3 \log ^2(x)}{x^2}\right ) \, dx}{2 e^3 \log (2)}\\ &=\frac {\left (5+e^3 x\right )^2}{2 e^6 \log (2)}-\frac {\int \frac {\log ^2(x)}{x^2} \, dx}{2 \log (2)}+\frac {\int \frac {\log (x)}{x^2} \, dx}{\log (2)}\\ &=-\frac {1}{x \log (2)}+\frac {\left (5+e^3 x\right )^2}{2 e^6 \log (2)}-\frac {\log (x)}{x \log (2)}+\frac {\log ^2(x)}{2 x \log (2)}-\frac {\int \frac {\log (x)}{x^2} \, dx}{\log (2)}\\ &=\frac {\left (5+e^3 x\right )^2}{2 e^6 \log (2)}+\frac {\log ^2(x)}{2 x \log (2)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 30, normalized size = 1.03 \begin {gather*} \frac {10 x+e^3 x^2+\frac {e^3 \log ^2(x)}{x}}{e^3 \log (4)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 30, normalized size = 1.03 \begin {gather*} \frac {{\left (x^{3} e^{3} + e^{3} \log \relax (x)^{2} + 10 \, x^{2}\right )} e^{\left (-3\right )}}{2 \, x \log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.35, size = 30, normalized size = 1.03 \begin {gather*} \frac {{\left (x^{3} e^{3} + e^{3} \log \relax (x)^{2} + 10 \, x^{2}\right )} e^{\left (-3\right )}}{2 \, x \log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 33, normalized size = 1.14
method | result | size |
risch | \(\frac {\ln \relax (x )^{2}}{2 \ln \relax (2) x}+\frac {x^{2}}{2 \ln \relax (2)}+\frac {5 \,{\mathrm e}^{-3} x}{\ln \relax (2)}\) | \(33\) |
norman | \(\frac {\frac {x^{3}}{2 \ln \relax (2)}+\frac {\ln \relax (x )^{2}}{2 \ln \relax (2)}+\frac {5 \,{\mathrm e}^{-3} x^{2}}{\ln \relax (2)}}{x}\) | \(38\) |
default | \(\frac {{\mathrm e}^{-3} \left (x^{2} {\mathrm e}^{3}-{\mathrm e}^{3} \left (-\frac {\ln \relax (x )^{2}}{x}-\frac {2 \ln \relax (x )}{x}-\frac {2}{x}\right )+2 \,{\mathrm e}^{3} \left (-\frac {\ln \relax (x )}{x}-\frac {1}{x}\right )+10 x \right )}{2 \ln \relax (2)}\) | \(64\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 48, normalized size = 1.66 \begin {gather*} \frac {{\left (x^{2} e^{3} - 2 \, {\left (\frac {\log \relax (x)}{x} + \frac {1}{x}\right )} e^{3} + 10 \, x + \frac {{\left (\log \relax (x)^{2} + 2 \, \log \relax (x) + 2\right )} e^{3}}{x}\right )} e^{\left (-3\right )}}{2 \, \log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.67, size = 29, normalized size = 1.00 \begin {gather*} \frac {{\ln \relax (x)}^2}{2\,x\,\ln \relax (2)}+\frac {x\,{\mathrm {e}}^{-3}\,\left (x\,{\mathrm {e}}^3+10\right )}{2\,\ln \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.14, size = 29, normalized size = 1.00 \begin {gather*} \frac {x^{2}}{2 \log {\relax (2 )}} + \frac {5 x}{e^{3} \log {\relax (2 )}} + \frac {\log {\relax (x )}^{2}}{2 x \log {\relax (2 )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________