Optimal. Leaf size=20 \[ 9+\log \left (x \left (3-x^2\right )^2 (-1+x \log (x))\right ) \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 1.12, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps
used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {}
\begin {gather*} \int \frac {3-3 x-5 x^2+x^3+\left (-6 x+6 x^3\right ) \log (x)}{3 x-x^3+\left (-3 x^2+x^4\right ) \log (x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {(1+x) \left (3-6 x+x^2-6 x \log (x)+6 x^2 \log (x)\right )}{x \left (3-x^2\right ) (1-x \log (x))} \, dx\\ &=\int \left (\frac {6 \left (-1+x^2\right )}{x \left (-3+x^2\right )}+\frac {1+x}{x (-1+x \log (x))}\right ) \, dx\\ &=6 \int \frac {-1+x^2}{x \left (-3+x^2\right )} \, dx+\int \frac {1+x}{x (-1+x \log (x))} \, dx\\ &=3 \text {Subst}\left (\int \frac {-1+x}{(-3+x) x} \, dx,x,x^2\right )+\int \left (\frac {1}{-1+x \log (x)}+\frac {1}{x (-1+x \log (x))}\right ) \, dx\\ &=3 \text {Subst}\left (\int \left (\frac {2}{3 (-3+x)}+\frac {1}{3 x}\right ) \, dx,x,x^2\right )+\int \frac {1}{-1+x \log (x)} \, dx+\int \frac {1}{x (-1+x \log (x))} \, dx\\ &=2 \log (x)+2 \log \left (3-x^2\right )+\int \frac {1}{-1+x \log (x)} \, dx+\int \frac {1}{x (-1+x \log (x))} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.05, size = 21, normalized size = 1.05 \begin {gather*} \log (x)+2 \log \left (3-x^2\right )+\log (1-x \log (x)) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 1.09, size = 19, normalized size = 0.95
method | result | size |
default | \(\ln \left (x \right )+2 \ln \left (x^{2}-3\right )+\ln \left (x \ln \left (x \right )-1\right )\) | \(19\) |
norman | \(\ln \left (x \right )+2 \ln \left (x^{2}-3\right )+\ln \left (x \ln \left (x \right )-1\right )\) | \(19\) |
risch | \(2 \ln \left (x^{3}-3 x \right )+\ln \left (\ln \left (x \right )-\frac {1}{x}\right )\) | \(21\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.40, size = 24, normalized size = 1.20 \begin {gather*} 2 \, \log \left (x^{2} - 3\right ) + 2 \, \log \left (x\right ) + \log \left (\frac {x \log \left (x\right ) - 1}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 22, normalized size = 1.10 \begin {gather*} 2 \, \log \left (x^{3} - 3 \, x\right ) + \log \left (\frac {x \log \left (x\right ) - 1}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.08, size = 17, normalized size = 0.85 \begin {gather*} 2 \log {\left (x^{3} - 3 x \right )} + \log {\left (\log {\left (x \right )} - \frac {1}{x} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.39, size = 19, normalized size = 0.95 \begin {gather*} 2 \, \log \left (x^{2} - 3\right ) + \log \left (-x \log \left (x\right ) + 1\right ) + \log \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.65, size = 22, normalized size = 1.10 \begin {gather*} 2\,\ln \left (x^3-3\,x\right )+\ln \left (\frac {x\,\ln \left (x\right )-1}{x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________