Optimal. Leaf size=22 \[ -4+x^2+\log \left (\frac {25 x^4}{\left (-\frac {4}{5 x}+x\right )^2}\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 18, normalized size of antiderivative = 0.82, number of steps used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {1593, 1251, 893} \begin {gather*} x^2-2 \log \left (4-5 x^2\right )+6 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 893
Rule 1251
Rule 1593
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-24+2 x^2+10 x^4}{x \left (-4+5 x^2\right )} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {-24+2 x+10 x^2}{x (-4+5 x)} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (2+\frac {6}{x}-\frac {20}{-4+5 x}\right ) \, dx,x,x^2\right )\\ &=x^2+6 \log (x)-2 \log \left (4-5 x^2\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 24, normalized size = 1.09 \begin {gather*} 2 \left (\frac {x^2}{2}+3 \log (x)-\log \left (4-5 x^2\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.52, size = 18, normalized size = 0.82 \begin {gather*} x^{2} - 2 \, \log \left (5 \, x^{2} - 4\right ) + 6 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.22, size = 21, normalized size = 0.95 \begin {gather*} x^{2} + 3 \, \log \left (x^{2}\right ) - 2 \, \log \left ({\left | 5 \, x^{2} - 4 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 19, normalized size = 0.86
method | result | size |
default | \(x^{2}-2 \ln \left (5 x^{2}-4\right )+6 \ln \relax (x )\) | \(19\) |
norman | \(x^{2}-2 \ln \left (5 x^{2}-4\right )+6 \ln \relax (x )\) | \(19\) |
risch | \(x^{2}-2 \ln \left (5 x^{2}-4\right )+6 \ln \relax (x )\) | \(19\) |
meijerg | \(-2 \ln \left (1-\frac {5 x^{2}}{4}\right )+6 \ln \relax (x )+3 \ln \relax (5)-6 \ln \relax (2)+3 i \pi +x^{2}\) | \(31\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.36, size = 18, normalized size = 0.82 \begin {gather*} x^{2} - 2 \, \log \left (5 \, x^{2} - 4\right ) + 6 \, \log \relax (x) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.10, size = 16, normalized size = 0.73 \begin {gather*} 6\,\ln \relax (x)-2\,\ln \left (x^2-\frac {4}{5}\right )+x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.09, size = 17, normalized size = 0.77 \begin {gather*} x^{2} + 6 \log {\relax (x )} - 2 \log {\left (5 x^{2} - 4 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________