Optimal. Leaf size=24 \[ x+x \log \left (-2-(5-x)^2-\frac {2}{x^2}+x+\log (x)\right ) \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.93, 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-26 x^2+22 x^3-3 x^4+x^2 \log (x)+\left (-2-27 x^2+11 x^3-x^4+x^2 \log (x)\right ) \log \left (\frac {-2-27 x^2+11 x^3-x^4+x^2 \log (x)}{x^2}\right )}{-2-27 x^2+11 x^3-x^4+x^2 \log (x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}+\frac {26 x^2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}-\frac {22 x^3}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}+\frac {3 x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}-\frac {x^2 \log (x)}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}+\log \left (-27-\frac {2}{x^2}+11 x-x^2+\log (x)\right )\right ) \, dx\\ &=-\left (2 \int \frac {1}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx\right )+3 \int \frac {x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-22 \int \frac {x^3}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+26 \int \frac {x^2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-\int \frac {x^2 \log (x)}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+\int \log \left (-27-\frac {2}{x^2}+11 x-x^2+\log (x)\right ) \, dx\\ &=-\left (2 \int \frac {1}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx\right )+3 \int \frac {x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-22 \int \frac {x^3}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+26 \int \frac {x^2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-\int \left (-1+\frac {2+27 x^2-11 x^3+x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}\right ) \, dx+\int \log \left (-27-\frac {2}{x^2}+11 x-x^2+\log (x)\right ) \, dx\\ &=x-2 \int \frac {1}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+3 \int \frac {x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-22 \int \frac {x^3}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+26 \int \frac {x^2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-\int \frac {2+27 x^2-11 x^3+x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+\int \log \left (-27-\frac {2}{x^2}+11 x-x^2+\log (x)\right ) \, dx\\ &=x-2 \int \frac {1}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+3 \int \frac {x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-22 \int \frac {x^3}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+26 \int \frac {x^2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-\int \left (\frac {2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}+\frac {27 x^2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}-\frac {11 x^3}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}+\frac {x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)}\right ) \, dx+\int \log \left (-27-\frac {2}{x^2}+11 x-x^2+\log (x)\right ) \, dx\\ &=x-2 \left (2 \int \frac {1}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx\right )+3 \int \frac {x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+11 \int \frac {x^3}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-22 \int \frac {x^3}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+26 \int \frac {x^2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-27 \int \frac {x^2}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx-\int \frac {x^4}{2+27 x^2-11 x^3+x^4-x^2 \log (x)} \, dx+\int \log \left (-27-\frac {2}{x^2}+11 x-x^2+\log (x)\right ) \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 22, normalized size = 0.92 \begin {gather*} x+x \log \left (-27-\frac {2}{x^2}+11 x-x^2+\log (x)\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
3.
time = 2.68, size = 339, normalized size = 14.12
method | result | size |
risch | \(x \ln \left (2+x^{4}-11 x^{3}+\left (-\ln \left (x \right )+27\right ) x^{2}\right )-2 x \ln \left (x \right )+\frac {i \pi x \mathrm {csgn}\left (i x \right )^{2} \mathrm {csgn}\left (i x^{2}\right )}{2}-i \pi x \,\mathrm {csgn}\left (i x \right ) \mathrm {csgn}\left (i x^{2}\right )^{2}+\frac {i \pi x \mathrm {csgn}\left (i x^{2}\right )^{3}}{2}-\frac {i \pi x \,\mathrm {csgn}\left (i \left (-2-x^{4}+11 x^{3}-\left (-\ln \left (x \right )+27\right ) x^{2}\right )\right ) \mathrm {csgn}\left (\frac {i \left (-2-x^{4}+11 x^{3}-\left (-\ln \left (x \right )+27\right ) x^{2}\right )}{x^{2}}\right )^{2}}{2}-\frac {i \pi x \,\mathrm {csgn}\left (i \left (-2-x^{4}+11 x^{3}-\left (-\ln \left (x \right )+27\right ) x^{2}\right )\right ) \mathrm {csgn}\left (\frac {i \left (-2-x^{4}+11 x^{3}-\left (-\ln \left (x \right )+27\right ) x^{2}\right )}{x^{2}}\right ) \mathrm {csgn}\left (\frac {i}{x^{2}}\right )}{2}-\frac {i \pi x \mathrm {csgn}\left (\frac {i \left (-2-x^{4}+11 x^{3}-\left (-\ln \left (x \right )+27\right ) x^{2}\right )}{x^{2}}\right )^{3}}{2}-i \pi x \mathrm {csgn}\left (\frac {i \left (-2-x^{4}+11 x^{3}-\left (-\ln \left (x \right )+27\right ) x^{2}\right )}{x^{2}}\right )^{2}+\frac {i \pi x \mathrm {csgn}\left (\frac {i \left (-2-x^{4}+11 x^{3}-\left (-\ln \left (x \right )+27\right ) x^{2}\right )}{x^{2}}\right )^{2} \mathrm {csgn}\left (\frac {i}{x^{2}}\right )}{2}+i x \pi +x\) | \(339\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 33, normalized size = 1.38 \begin {gather*} x \log \left (-x^{4} + 11 \, x^{3} + x^{2} \log \left (x\right ) - 27 \, x^{2} - 2\right ) - 2 \, x \log \left (x\right ) + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.37, size = 32, normalized size = 1.33 \begin {gather*} x \log \left (-\frac {x^{4} - 11 \, x^{3} - x^{2} \log \left (x\right ) + 27 \, x^{2} + 2}{x^{2}}\right ) + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.21, size = 29, normalized size = 1.21 \begin {gather*} x \log {\left (\frac {- x^{4} + 11 x^{3} + x^{2} \log {\left (x \right )} - 27 x^{2} - 2}{x^{2}} \right )} + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.44, size = 33, normalized size = 1.38 \begin {gather*} x \log \left (-x^{4} + 11 \, x^{3} + x^{2} \log \left (x\right ) - 27 \, x^{2} - 2\right ) - 2 \, x \log \left (x\right ) + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.42, size = 32, normalized size = 1.33 \begin {gather*} x\,\left (\ln \left (-\frac {27\,x^2-x^2\,\ln \left (x\right )-11\,x^3+x^4+2}{x^2}\right )+1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________