Optimal. Leaf size=22 \[ \left (x-\frac {x}{2-\frac {x^2 \log (x)}{\log (3)}}\right )^2 \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.59, 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 {2 x^3 \log ^2(3)-4 x \log ^3(3)+\left (-2 x^5 \log (3)+14 x^3 \log ^2(3)\right ) \log (x)-12 x^5 \log (3) \log ^2(x)+2 x^7 \log ^3(x)}{-8 \log ^3(3)+12 x^2 \log ^2(3) \log (x)-6 x^4 \log (3) \log ^2(x)+x^6 \log ^3(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {2 \left (x \log ^2(3) \left (-x^2+\log (9)\right )+x^3 \left (x^2-7 \log (3)\right ) \log (3) \log (x)+6 x^5 \log (3) \log ^2(x)-x^7 \log ^3(x)\right )}{\left (\log (9)-x^2 \log (x)\right )^3} \, dx\\ &=2 \int \frac {x \log ^2(3) \left (-x^2+\log (9)\right )+x^3 \left (x^2-7 \log (3)\right ) \log (3) \log (x)+6 x^5 \log (3) \log ^2(x)-x^7 \log ^3(x)}{\left (\log (9)-x^2 \log (x)\right )^3} \, dx\\ &=2 \int \left (x+\frac {x \left (x^2 \log ^2(3)-\log (9) \left (6 \log ^2(3)-6 \log (3) \log (9)+\log ^2(9)\right )\right )}{\left (\log (9)-x^2 \log (x)\right )^3}-\frac {x \left (x^2 \log (3)-7 \log ^2(3)+12 \log (3) \log (9)-3 \log ^2(9)\right )}{\left (\log (9)-x^2 \log (x)\right )^2}\right ) \, dx\\ &=x^2+2 \int \frac {x \left (x^2 \log ^2(3)-\log (9) \left (6 \log ^2(3)-6 \log (3) \log (9)+\log ^2(9)\right )\right )}{\left (\log (9)-x^2 \log (x)\right )^3} \, dx-2 \int \frac {x \left (x^2 \log (3)-7 \log ^2(3)+12 \log (3) \log (9)-3 \log ^2(9)\right )}{\left (\log (9)-x^2 \log (x)\right )^2} \, dx\\ &=x^2+2 \int \left (\frac {x^3 \log ^2(3)}{\left (\log (9)-x^2 \log (x)\right )^3}-\frac {x \log (9) \left (6 \log ^2(3)-6 \log (3) \log (9)+\log ^2(9)\right )}{\left (\log (9)-x^2 \log (x)\right )^3}\right ) \, dx-2 \int \left (\frac {x^3 \log (3)}{\left (\log (9)-x^2 \log (x)\right )^2}-\frac {x \left (7 \log ^2(3)-12 \log (3) \log (9)+3 \log ^2(9)\right )}{\left (\log (9)-x^2 \log (x)\right )^2}\right ) \, dx\\ &=x^2-(2 \log (3)) \int \frac {x^3}{\left (\log (9)-x^2 \log (x)\right )^2} \, dx+\left (2 \log ^2(3)\right ) \int \frac {x^3}{\left (\log (9)-x^2 \log (x)\right )^3} \, dx-\left (2 \log (9) \left (6 \log ^2(3)-6 \log (3) \log (9)+\log ^2(9)\right )\right ) \int \frac {x}{\left (\log (9)-x^2 \log (x)\right )^3} \, dx+\left (2 \left (7 \log ^2(3)-12 \log (3) \log (9)+3 \log ^2(9)\right )\right ) \int \frac {x}{\left (\log (9)-x^2 \log (x)\right )^2} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [F]
time = 0.62, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {2 x^3 \log ^2(3)-4 x \log ^3(3)+\left (-2 x^5 \log (3)+14 x^3 \log ^2(3)\right ) \log (x)-12 x^5 \log (3) \log ^2(x)+2 x^7 \log ^3(x)}{-8 \log ^3(3)+12 x^2 \log ^2(3) \log (x)-6 x^4 \log (3) \log ^2(x)+x^6 \log ^3(x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(48\) vs.
\(2(22)=44\).
time = 2.93, size = 49, normalized size = 2.23
method | result | size |
risch | \(x^{2}-\frac {\left (-2 x^{2} \ln \left (x \right )+3 \ln \left (3\right )\right ) \ln \left (3\right ) x^{2}}{\left (-x^{2} \ln \left (x \right )+2 \ln \left (3\right )\right )^{2}}\) | \(38\) |
default | \(\frac {2 \ln \left (3\right )}{\ln \left (x \right )}+x^{2}-\frac {\left (-5 x^{2} \ln \left (x \right )+8 \ln \left (3\right )\right ) \ln \left (3\right )^{2}}{\ln \left (x \right ) \left (-x^{2} \ln \left (x \right )+2 \ln \left (3\right )\right )^{2}}\) | \(49\) |
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. 53 vs.
\(2 (20) = 40\).
time = 0.51, size = 53, normalized size = 2.41 \begin {gather*} \frac {x^{6} \log \left (x\right )^{2} - 2 \, x^{4} \log \left (3\right ) \log \left (x\right ) + x^{2} \log \left (3\right )^{2}}{x^{4} \log \left (x\right )^{2} - 4 \, x^{2} \log \left (3\right ) \log \left (x\right ) + 4 \, \log \left (3\right )^{2}} \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. 53 vs.
\(2 (20) = 40\).
time = 0.46, size = 53, normalized size = 2.41 \begin {gather*} \frac {x^{6} \log \left (x\right )^{2} - 2 \, x^{4} \log \left (3\right ) \log \left (x\right ) + x^{2} \log \left (3\right )^{2}}{x^{4} \log \left (x\right )^{2} - 4 \, x^{2} \log \left (3\right ) \log \left (x\right ) + 4 \, \log \left (3\right )^{2}} \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. 51 vs.
\(2 (15) = 30\).
time = 0.07, size = 51, normalized size = 2.32 \begin {gather*} x^{2} + \frac {2 x^{4} \log {\left (3 \right )} \log {\left (x \right )} - 3 x^{2} \log {\left (3 \right )}^{2}}{x^{4} \log {\left (x \right )}^{2} - 4 x^{2} \log {\left (3 \right )} \log {\left (x \right )} + 4 \log {\left (3 \right )}^{2}} \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. 50 vs.
\(2 (20) = 40\).
time = 0.43, size = 50, normalized size = 2.27 \begin {gather*} x^{2} + \frac {2 \, x^{4} \log \left (3\right ) \log \left (x\right ) - 3 \, x^{2} \log \left (3\right )^{2}}{x^{4} \log \left (x\right )^{2} - 4 \, x^{2} \log \left (3\right ) \log \left (x\right ) + 4 \, \log \left (3\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.79, size = 229, normalized size = 10.41 \begin {gather*} \frac {\frac {52\,x^2\,{\ln \left (3\right )}^3+11\,x^4\,{\ln \left (3\right )}^2-8\,{\ln \left (3\right )}^3\,\ln \left (9\right )+x^6\,\ln \left (3\right )+64\,{\ln \left (3\right )}^4-4\,x^2\,{\ln \left (3\right )}^2\,\ln \left (9\right )}{{\left (x^2+4\,\ln \left (3\right )\right )}^3}-\frac {2\,x^4\,{\ln \left (3\right )}^2\,\ln \left (x\right )}{{\left (x^2+4\,\ln \left (3\right )\right )}^3}}{\ln \left (x\right )-\frac {2\,\ln \left (3\right )}{x^2}}+x^2-\frac {\frac {{\ln \left (3\right )}^2\,x^2-{\ln \left (3\right )}^2\,\ln \left (9\right )+8\,{\ln \left (3\right )}^3}{x^2\,\left (x^2+4\,\ln \left (3\right )\right )}-\frac {\ln \left (x\right )\,\left (\ln \left (3\right )\,x^2+5\,{\ln \left (3\right )}^2\right )}{x^2+4\,\ln \left (3\right )}}{\frac {4\,{\ln \left (3\right )}^2}{x^4}+{\ln \left (x\right )}^2-\frac {4\,\ln \left (3\right )\,\ln \left (x\right )}{x^2}}+\frac {2\,x^4\,{\ln \left (3\right )}^2}{x^6+12\,\ln \left (3\right )\,x^4+48\,{\ln \left (3\right )}^2\,x^2+64\,{\ln \left (3\right )}^3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________