Optimal. Leaf size=29 \[ \left (\frac {1}{x}+x\right ) \left (1-\frac {e^3}{x}+x^2-\log (5)+\frac {\log (x)}{x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 51, normalized size of antiderivative = 1.76, number of steps
used = 5, number of rules used = 2, integrand size = 41, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.049, Rules used = {14, 2341}
\begin {gather*} x^3-\frac {1+2 e^3}{2 x^2}+\frac {1}{2 x^2}+\frac {\log (x)}{x^2}+x (2-\log (5))+\log (x)+\frac {1-\log (5)}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2341
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {1+2 e^3+x^2+3 x^5-x (1-\log (5))+2 x^3 \left (1-\frac {\log (5)}{2}\right )}{x^3}-\frac {2 \log (x)}{x^3}\right ) \, dx\\ &=-\left (2 \int \frac {\log (x)}{x^3} \, dx\right )+\int \frac {1+2 e^3+x^2+3 x^5-x (1-\log (5))+2 x^3 \left (1-\frac {\log (5)}{2}\right )}{x^3} \, dx\\ &=\frac {1}{2 x^2}+\frac {\log (x)}{x^2}+\int \left (\frac {1+2 e^3}{x^3}+\frac {1}{x}+3 x^2+2 \left (1-\frac {\log (5)}{2}\right )+\frac {-1+\log (5)}{x^2}\right ) \, dx\\ &=\frac {1}{2 x^2}-\frac {1+2 e^3}{2 x^2}+x^3+\frac {1-\log (5)}{x}+x (2-\log (5))+\log (x)+\frac {\log (x)}{x^2}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 38, normalized size = 1.31 \begin {gather*} -\frac {e^3}{x^2}+\frac {1}{x}+2 x+x^3-\frac {\log (5)}{x}-x \log (5)+\log (x)+\frac {\log (x)}{x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.36, size = 38, normalized size = 1.31
method | result | size |
default | \(-\frac {{\mathrm e}^{3}}{x^{2}}+x^{3}-x \ln \left (5\right )+2 x -\frac {\ln \left (5\right )}{x}+\frac {1}{x}+\ln \left (x \right )+\frac {\ln \left (x \right )}{x^{2}}\) | \(38\) |
norman | \(\frac {x^{5}+\left (2-\ln \left (5\right )\right ) x^{3}+\left (-\ln \left (5\right )+1\right ) x +x^{2} \ln \left (x \right )-{\mathrm e}^{3}+\ln \left (x \right )}{x^{2}}\) | \(39\) |
risch | \(\frac {\ln \left (x \right )}{x^{2}}+\frac {x^{5}-x^{3} \ln \left (5\right )+x^{2} \ln \left (x \right )+2 x^{3}-x \ln \left (5\right )-{\mathrm e}^{3}+x}{x^{2}}\) | \(44\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 37, normalized size = 1.28 \begin {gather*} x^{3} - x \log \left (5\right ) + 2 \, x - \frac {\log \left (5\right )}{x} + \frac {1}{x} - \frac {e^{3}}{x^{2}} + \frac {\log \left (x\right )}{x^{2}} + \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 35, normalized size = 1.21 \begin {gather*} \frac {x^{5} + 2 \, x^{3} - {\left (x^{3} + x\right )} \log \left (5\right ) + {\left (x^{2} + 1\right )} \log \left (x\right ) + x - e^{3}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.14, size = 32, normalized size = 1.10 \begin {gather*} x^{3} + x \left (2 - \log {\left (5 \right )}\right ) + \log {\left (x \right )} + \frac {x \left (1 - \log {\left (5 \right )}\right ) - e^{3}}{x^{2}} + \frac {\log {\left (x \right )}}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.41, size = 38, normalized size = 1.31 \begin {gather*} \frac {x^{5} - x^{3} \log \left (5\right ) + 2 \, x^{3} + x^{2} \log \left (x\right ) - x \log \left (5\right ) + x - e^{3} + \log \left (x\right )}{x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.12, size = 36, normalized size = 1.24 \begin {gather*} \ln \left (x\right )-\frac {x^2\,\left (\ln \left (5\right )-1\right )+x\,\left ({\mathrm {e}}^3-\ln \left (x\right )\right )}{x^3}-x\,\left (\ln \left (5\right )-2\right )+x^3 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________