Optimal. Leaf size=18 \[ x+\log \left (4-\frac {1}{\left (x+\frac {120 \log (x)}{x}\right )^2}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [B] Leaf count is larger than twice the leaf count of optimal. \(37\) vs. \(2(18)=36\).
time = 0.27, antiderivative size = 37, normalized size of antiderivative = 2.06, number of steps
used = 5, number of rules used = 2, integrand size = 94, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.021, Rules used = {6874, 6816}
\begin {gather*} \log \left (-2 x^2+x-240 \log (x)\right )-2 \log \left (x^2+120 \log (x)\right )+\log \left (2 x^2+x+240 \log (x)\right )+x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6816
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (1-\frac {4 \left (60+x^2\right )}{x \left (x^2+120 \log (x)\right )}+\frac {240-x+4 x^2}{x \left (-x+2 x^2+240 \log (x)\right )}+\frac {240+x+4 x^2}{x \left (x+2 x^2+240 \log (x)\right )}\right ) \, dx\\ &=x-4 \int \frac {60+x^2}{x \left (x^2+120 \log (x)\right )} \, dx+\int \frac {240-x+4 x^2}{x \left (-x+2 x^2+240 \log (x)\right )} \, dx+\int \frac {240+x+4 x^2}{x \left (x+2 x^2+240 \log (x)\right )} \, dx\\ &=x+\log \left (x-2 x^2-240 \log (x)\right )-2 \log \left (x^2+120 \log (x)\right )+\log \left (x+2 x^2+240 \log (x)\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(39\) vs. \(2(18)=36\).
time = 0.05, size = 39, normalized size = 2.17 \begin {gather*} x-2 \log \left (x^2+120 \log (x)\right )+\log \left (-x+2 x^2+240 \log (x)\right )+\log \left (x+2 x^2+240 \log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.54, size = 35, normalized size = 1.94
method | result | size |
default | \(x -2 \ln \left (x^{2}+120 \ln \left (x \right )\right )+\ln \left (x^{4}+\left (240 \ln \left (x \right )-\frac {1}{4}\right ) x^{2}+14400 \ln \left (x \right )^{2}\right )\) | \(35\) |
risch | \(x -2 \ln \left (\frac {x^{2}}{120}+\ln \left (x \right )\right )+\ln \left (\frac {x^{4}}{14400}+\frac {x^{2} \ln \left (x \right )}{60}-\frac {x^{2}}{57600}+\ln \left (x \right )^{2}\right )\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 37 vs.
\(2 (18) = 36\).
time = 0.29, size = 37, normalized size = 2.06 \begin {gather*} x + \log \left (\frac {1}{120} \, x^{2} + \frac {1}{240} \, x + \log \left (x\right )\right ) + \log \left (\frac {1}{120} \, x^{2} - \frac {1}{240} \, x + \log \left (x\right )\right ) - 2 \, \log \left (\frac {1}{120} \, x^{2} + \log \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 38 vs.
\(2 (18) = 36\).
time = 0.39, size = 38, normalized size = 2.11 \begin {gather*} x + \log \left (4 \, x^{4} + 960 \, x^{2} \log \left (x\right ) - x^{2} + 57600 \, \log \left (x\right )^{2}\right ) - 2 \, \log \left (x^{2} + 120 \, \log \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 37 vs.
\(2 (15) = 30\).
time = 0.17, size = 37, normalized size = 2.06 \begin {gather*} x - 2 \log {\left (\frac {x^{2}}{120} + \log {\left (x \right )} \right )} + \log {\left (\frac {x^{4}}{14400} + \frac {x^{2} \log {\left (x \right )}}{60} - \frac {x^{2}}{57600} + \log {\left (x \right )}^{2} \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 38 vs.
\(2 (18) = 36\).
time = 0.42, size = 38, normalized size = 2.11 \begin {gather*} x + \log \left (4 \, x^{4} + 960 \, x^{2} \log \left (x\right ) - x^{2} + 57600 \, \log \left (x\right )^{2}\right ) - 2 \, \log \left (x^{2} + 120 \, \log \left (x\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.06 \begin {gather*} \int \frac {240\,x+6912000\,{\ln \left (x\right )}^3+172800\,x^2\,{\ln \left (x\right )}^2+2\,x^3-x^4+4\,x^6-\ln \left (x\right )\,\left (-1440\,x^4+120\,x^2+240\,x\right )}{6912000\,{\ln \left (x\right )}^3-\ln \left (x\right )\,\left (120\,x^2-1440\,x^4\right )+172800\,x^2\,{\ln \left (x\right )}^2-x^4+4\,x^6} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________