Optimal. Leaf size=18 \[ -x-\log \left (3-x^2+3 \log (x)\right ) \]
________________________________________________________________________________________
Rubi [A] time = 0.16, antiderivative size = 18, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {6742, 6684} \begin {gather*} -\log \left (-x^2+3 \log (x)+3\right )-x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6684
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-1+\frac {3-2 x^2}{x \left (-3+x^2-3 \log (x)\right )}\right ) \, dx\\ &=-x+\int \frac {3-2 x^2}{x \left (-3+x^2-3 \log (x)\right )} \, dx\\ &=-x-\log \left (3-x^2+3 \log (x)\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 18, normalized size = 1.00 \begin {gather*} -x-\log \left (3-x^2+3 \log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.70, size = 18, normalized size = 1.00 \begin {gather*} -x - \log \left (-x^{2} + 3 \, \log \relax (x) + 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 18, normalized size = 1.00 \begin {gather*} -x - \log \left (-x^{2} + 3 \, \log \relax (x) + 3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 17, normalized size = 0.94
method | result | size |
norman | \(-x -\ln \left (x^{2}-3 \ln \relax (x )-3\right )\) | \(17\) |
risch | \(-x -\ln \left (-\frac {x^{2}}{3}+\ln \relax (x )+1\right )\) | \(17\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 16, normalized size = 0.89 \begin {gather*} -x - \log \left (-\frac {1}{3} \, x^{2} + \log \relax (x) + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.47, size = 16, normalized size = 0.89 \begin {gather*} -x-\ln \left (x^2-3\,\ln \relax (x)-3\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.13, size = 14, normalized size = 0.78 \begin {gather*} - x - \log {\left (- \frac {x^{2}}{3} + \log {\relax (x )} + 1 \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________