Optimal. Leaf size=26 \[ 5-\frac {3}{x}-x-45 x^2-\frac {x}{x^2+\log (4)} \]
________________________________________________________________________________________
Rubi [A] time = 0.14, antiderivative size = 33, normalized size of antiderivative = 1.27, number of steps used = 6, number of rules used = 5, integrand size = 74, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.068, Rules used = {1594, 28, 1805, 1586, 14} \begin {gather*} -45 x^2-\frac {x}{x^2+\log (4)}-\frac {3}{x}-\frac {x \log (16)}{2 \log (4)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 28
Rule 1586
Rule 1594
Rule 1805
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {4 x^4-x^6-90 x^7+\left (5 x^2-2 x^4-180 x^5\right ) \log (4)+\left (3-x^2-90 x^3\right ) \log ^2(4)}{x^2 \left (x^4+2 x^2 \log (4)+\log ^2(4)\right )} \, dx\\ &=\int \frac {4 x^4-x^6-90 x^7+\left (5 x^2-2 x^4-180 x^5\right ) \log (4)+\left (3-x^2-90 x^3\right ) \log ^2(4)}{x^2 \left (x^2+\log (4)\right )^2} \, dx\\ &=-\frac {x}{x^2+\log (4)}-\frac {\int \frac {2 x^4 \log (4)+180 x^5 \log (4)-2 x^2 (3-\log (4)) \log (4)-6 \log ^2(4)+180 x^3 \log ^2(4)}{x^2 \left (x^2+\log (4)\right )} \, dx}{2 \log (4)}\\ &=-\frac {x}{x^2+\log (4)}-\frac {\int \frac {-6 \log (4)+2 x^2 \log (4)+180 x^3 \log (4)}{x^2} \, dx}{2 \log (4)}\\ &=-\frac {x}{x^2+\log (4)}-\frac {\int \left (-\frac {6 \log (4)}{x^2}+180 x \log (4)+\log (16)\right ) \, dx}{2 \log (4)}\\ &=-\frac {3}{x}-45 x^2-\frac {x}{x^2+\log (4)}-\frac {x \log (16)}{2 \log (4)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 25, normalized size = 0.96 \begin {gather*} -\frac {3}{x}-x-45 x^2-\frac {x}{x^2+\log (4)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.65, size = 41, normalized size = 1.58 \begin {gather*} -\frac {45 \, x^{5} + x^{4} + 4 \, x^{2} + 2 \, {\left (45 \, x^{3} + x^{2} + 3\right )} \log \relax (2)}{x^{3} + 2 \, x \log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 32, normalized size = 1.23 \begin {gather*} -45 \, x^{2} - x - \frac {2 \, {\left (2 \, x^{2} + 3 \, \log \relax (2)\right )}}{x^{3} + 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 = 28, normalized size = 1.08
method | result | size |
default | \(-x -45 x^{2}-\frac {3}{x}-\frac {x}{2 \left (\frac {x^{2}}{2}+\ln \relax (2)\right )}\) | \(28\) |
risch | \(-45 x^{2}-x +\frac {-4 x^{2}-6 \ln \relax (2)}{x \left (x^{2}+2 \ln \relax (2)\right )}\) | \(35\) |
norman | \(\frac {180 x \ln \relax (2)^{2}+\left (-2 \ln \relax (2)-4\right ) x^{2}-x^{4}-45 x^{5}-6 \ln \relax (2)}{x \left (x^{2}+2 \ln \relax (2)\right )}\) | \(47\) |
gosper | \(\frac {-45 x^{5}-x^{4}+180 x \ln \relax (2)^{2}-2 x^{2} \ln \relax (2)-4 x^{2}-6 \ln \relax (2)}{x \left (x^{2}+2 \ln \relax (2)\right )}\) | \(49\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 32, normalized size = 1.23 \begin {gather*} -45 \, x^{2} - x - \frac {2 \, {\left (2 \, x^{2} + 3 \, \log \relax (2)\right )}}{x^{3} + 2 \, x \log \relax (2)} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.15, size = 32, normalized size = 1.23 \begin {gather*} -x-\frac {4\,x^2+6\,\ln \relax (2)}{x^3+2\,\ln \relax (2)\,x}-45\,x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.27, size = 27, normalized size = 1.04 \begin {gather*} - 45 x^{2} - x - \frac {4 x^{2} + 6 \log {\relax (2 )}}{x^{3} + 2 x \log {\relax (2 )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________