Optimal. Leaf size=24 \[ x+x \log \left (-2-(5-x)^2-\frac {2}{x^2}+x+\log (x)\right ) \]
________________________________________________________________________________________
Rubi [F] time = 1.39, 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]
________________________________________________________________________________________
fricas [A] time = 0.69, size = 32, normalized size = 1.33 \begin {gather*} x \log \left (-\frac {x^{4} - 11 \, x^{3} - x^{2} \log \relax (x) + 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.28, size = 33, normalized size = 1.38 \begin {gather*} x \log \left (-x^{4} + 11 \, x^{3} + x^{2} \log \relax (x) - 27 \, x^{2} - 2\right ) - 2 \, x \log \relax (x) + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 0.15, size = 339, normalized size = 14.12
method | result | size |
risch | \(\ln \left (2+x^{4}-11 x^{3}+\left (-\ln \relax (x )+27\right ) x^{2}\right ) x -2 x \ln \relax (x )-\frac {i \pi x \,\mathrm {csgn}\left (i \left (-2-x^{4}+11 x^{3}-\left (-\ln \relax (x )+27\right ) x^{2}\right )\right ) \mathrm {csgn}\left (\frac {i \left (-2-x^{4}+11 x^{3}-\left (-\ln \relax (x )+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 \relax (x )+27\right ) x^{2}\right )\right ) \mathrm {csgn}\left (\frac {i \left (-2-x^{4}+11 x^{3}-\left (-\ln \relax (x )+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 \relax (x )+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 \relax (x )+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 \relax (x )+27\right ) x^{2}\right )}{x^{2}}\right )^{2} \mathrm {csgn}\left (\frac {i}{x^{2}}\right )}{2}+\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}+i \pi x +x\) | \(339\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.39, size = 33, normalized size = 1.38 \begin {gather*} x \log \left (-x^{4} + 11 \, x^{3} + x^{2} \log \relax (x) - 27 \, x^{2} - 2\right ) - 2 \, x \log \relax (x) + 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 \relax (x)-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]
________________________________________________________________________________________
sympy [A] time = 0.53, size = 29, normalized size = 1.21 \begin {gather*} x \log {\left (\frac {- x^{4} + 11 x^{3} + x^{2} \log {\relax (x )} - 27 x^{2} - 2}{x^{2}} \right )} + x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________