Optimal. Leaf size=33 \[ 4-4 \left (e^4-\frac {5}{x}+2 x\right )-\frac {2+2 x}{-2 x-\log (2)} \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 27, normalized size of antiderivative = 0.82, number of steps used = 4, number of rules used = 3, integrand size = 64, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.047, Rules used = {1594, 27, 1620} \begin {gather*} -8 x+\frac {20}{x}+\frac {4-\log (4)}{2 (2 x+\log (2))} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 27
Rule 1594
Rule 1620
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-84 x^2-32 x^4+\left (-80 x+2 x^2-32 x^3\right ) \log (2)+\left (-20-8 x^2\right ) \log ^2(2)}{x^2 \left (4 x^2+4 x \log (2)+\log ^2(2)\right )} \, dx\\ &=\int \frac {-84 x^2-32 x^4+\left (-80 x+2 x^2-32 x^3\right ) \log (2)+\left (-20-8 x^2\right ) \log ^2(2)}{x^2 (2 x+\log (2))^2} \, dx\\ &=\int \left (-8-\frac {20}{x^2}+\frac {-4+\log (4)}{(2 x+\log (2))^2}\right ) \, dx\\ &=\frac {20}{x}-8 x+\frac {4-\log (4)}{2 (2 x+\log (2))}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 24, normalized size = 0.73 \begin {gather*} -2 \left (-\frac {10}{x}+4 x+\frac {-2+\log (2)}{4 x+\log (4)}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.83, size = 34, normalized size = 1.03 \begin {gather*} -\frac {16 \, x^{3} + {\left (8 \, x^{2} + x - 20\right )} \log \relax (2) - 42 \, x}{2 \, x^{2} + x \log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 30, normalized size = 0.91 \begin {gather*} -8 \, x - \frac {x \log \relax (2) - 42 \, x - 20 \, \log \relax (2)}{2 \, x^{2} + x \log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.08, size = 26, normalized size = 0.79
method | result | size |
default | \(-8 x -\frac {2 \left (\frac {\ln \relax (2)}{2}-1\right )}{\ln \relax (2)+2 x}+\frac {20}{x}\) | \(26\) |
risch | \(-8 x +\frac {\left (-\ln \relax (2)+42\right ) x +20 \ln \relax (2)}{x \left (\ln \relax (2)+2 x \right )}\) | \(30\) |
norman | \(\frac {\left (4 \ln \relax (2)^{2}-\ln \relax (2)+42\right ) x -16 x^{3}+20 \ln \relax (2)}{x \left (\ln \relax (2)+2 x \right )}\) | \(37\) |
gosper | \(\frac {4 x \ln \relax (2)^{2}-16 x^{3}-x \ln \relax (2)+20 \ln \relax (2)+42 x}{x \left (\ln \relax (2)+2 x \right )}\) | \(38\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 29, normalized size = 0.88 \begin {gather*} -8 \, x - \frac {x {\left (\log \relax (2) - 42\right )} - 20 \, \log \relax (2)}{2 \, x^{2} + x \log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.13, size = 28, normalized size = 0.85 \begin {gather*} \frac {20\,\ln \relax (2)-x\,\left (\ln \relax (2)-42\right )}{x\,\left (2\,x+\ln \relax (2)\right )}-8\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.37, size = 26, normalized size = 0.79 \begin {gather*} - 8 x - \frac {x \left (-42 + \log {\relax (2 )}\right ) - 20 \log {\relax (2 )}}{2 x^{2} + x \log {\relax (2 )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________