Optimal. Leaf size=23 \[ \frac {1}{x}-x^2-\log \left (x^2+105 (\log (4)+\log (x))\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.24, antiderivative size = 24, normalized size of antiderivative = 1.04, number of steps used = 5, number of rules used = 3, integrand size = 60, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.050, Rules used = {6742, 14, 6684} \begin {gather*} -x^2-\log \left (x^2+105 \log (x)+105 \log (4)\right )+\frac {1}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 6684
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (\frac {-1-2 x^3}{x^2}+\frac {-105-2 x^2}{x \left (x^2+105 \log (4)+105 \log (x)\right )}\right ) \, dx\\ &=\int \frac {-1-2 x^3}{x^2} \, dx+\int \frac {-105-2 x^2}{x \left (x^2+105 \log (4)+105 \log (x)\right )} \, dx\\ &=-\log \left (x^2+105 \log (4)+105 \log (x)\right )+\int \left (-\frac {1}{x^2}-2 x\right ) \, dx\\ &=\frac {1}{x}-x^2-\log \left (x^2+105 \log (4)+105 \log (x)\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.16, size = 24, normalized size = 1.04 \begin {gather*} \frac {1}{x}-x^2-\log \left (x^2+105 \log (4)+105 \log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.02, size = 25, normalized size = 1.09 \begin {gather*} -\frac {x^{3} + x \log \left (x^{2} + 210 \, \log \relax (2) + 105 \, \log \relax (x)\right ) - 1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.13, size = 24, normalized size = 1.04 \begin {gather*} -x^{2} + \frac {1}{x} - \log \left (x^{2} + 210 \, \log \relax (2) + 105 \, \log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 27, normalized size = 1.17
method | result | size |
risch | \(-\frac {x^{3}-1}{x}-\ln \left (\frac {x^{2}}{105}+2 \ln \relax (2)+\ln \relax (x )\right )\) | \(27\) |
norman | \(\frac {-x^{3}+1}{x}-\ln \left (x^{2}+105 \ln \relax (x )+210 \ln \relax (2)\right )\) | \(28\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.47, size = 26, normalized size = 1.13 \begin {gather*} -\frac {x^{3} - 1}{x} - \log \left (\frac {1}{105} \, x^{2} + 2 \, \log \relax (2) + \log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.30, size = 22, normalized size = 0.96 \begin {gather*} \frac {1}{x}-\ln \left (\ln \left (4\,x\right )+\frac {x^2}{105}\right )-x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.16, size = 20, normalized size = 0.87 \begin {gather*} - x^{2} - \log {\left (\frac {x^{2}}{105} + \log {\relax (x )} + 2 \log {\relax (2 )} \right )} + \frac {1}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________