Optimal. Leaf size=26 \[ -2+e^5-x+\left (-5+\frac {x^2}{4}+\log (x-\log (x))\right )^2 \]
________________________________________________________________________________________
Rubi [F] time = 1.58, 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 {-40+40 x+6 x^2+18 x^3-x^5+\left (-4 x-20 x^2+x^4\right ) \log (x)+\left (8-8 x-4 x^3+4 x^2 \log (x)\right ) \log (x-\log (x))}{-4 x^2+4 x \log (x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \frac {-40+40 x+6 x^2+18 x^3-x^5+\left (-4 x-20 x^2+x^4\right ) \log (x)+\left (8-8 x-4 x^3+4 x^2 \log (x)\right ) \log (x-\log (x))}{x (-4 x+4 \log (x))} \, dx\\ &=\int \frac {40-40 x-6 x^2-18 x^3+x^5-\left (-4 x-20 x^2+x^4\right ) \log (x)-\left (8-8 x-4 x^3+4 x^2 \log (x)\right ) \log (x-\log (x))}{4 x (x-\log (x))} \, dx\\ &=\frac {1}{4} \int \frac {40-40 x-6 x^2-18 x^3+x^5-\left (-4 x-20 x^2+x^4\right ) \log (x)-\left (8-8 x-4 x^3+4 x^2 \log (x)\right ) \log (x-\log (x))}{x (x-\log (x))} \, dx\\ &=\frac {1}{4} \int \left (\frac {40-40 x-6 x^2-18 x^3+x^5+4 x \log (x)+20 x^2 \log (x)-x^4 \log (x)}{x (x-\log (x))}+\frac {4 \left (-2+2 x+x^3-x^2 \log (x)\right ) \log (x-\log (x))}{x (x-\log (x))}\right ) \, dx\\ &=\frac {1}{4} \int \frac {40-40 x-6 x^2-18 x^3+x^5+4 x \log (x)+20 x^2 \log (x)-x^4 \log (x)}{x (x-\log (x))} \, dx+\int \frac {\left (-2+2 x+x^3-x^2 \log (x)\right ) \log (x-\log (x))}{x (x-\log (x))} \, dx\\ &=\frac {1}{4} \int \left (-4-20 x+x^3+\frac {2 \left (20-20 x-x^2+x^3\right )}{x (x-\log (x))}\right ) \, dx+\int \left (\frac {2 \log (x-\log (x))}{x-\log (x)}-\frac {2 \log (x-\log (x))}{x (x-\log (x))}+\frac {x^2 \log (x-\log (x))}{x-\log (x)}-\frac {x \log (x) \log (x-\log (x))}{x-\log (x)}\right ) \, dx\\ &=-x-\frac {5 x^2}{2}+\frac {x^4}{16}+\frac {1}{2} \int \frac {20-20 x-x^2+x^3}{x (x-\log (x))} \, dx+2 \int \frac {\log (x-\log (x))}{x-\log (x)} \, dx-2 \int \frac {\log (x-\log (x))}{x (x-\log (x))} \, dx+\int \frac {x^2 \log (x-\log (x))}{x-\log (x)} \, dx-\int \frac {x \log (x) \log (x-\log (x))}{x-\log (x)} \, dx\\ &=-x-\frac {5 x^2}{2}+\frac {x^4}{16}+\frac {1}{2} \int \left (-\frac {20}{x-\log (x)}+\frac {20}{x (x-\log (x))}-\frac {x}{x-\log (x)}+\frac {x^2}{x-\log (x)}\right ) \, dx+2 \int \frac {\log (x-\log (x))}{x-\log (x)} \, dx-2 \int \frac {\log (x-\log (x))}{x (x-\log (x))} \, dx+\int \frac {x^2 \log (x-\log (x))}{x-\log (x)} \, dx-\int \frac {x \log (x) \log (x-\log (x))}{x-\log (x)} \, dx\\ &=-x-\frac {5 x^2}{2}+\frac {x^4}{16}-\frac {1}{2} \int \frac {x}{x-\log (x)} \, dx+\frac {1}{2} \int \frac {x^2}{x-\log (x)} \, dx+2 \int \frac {\log (x-\log (x))}{x-\log (x)} \, dx-2 \int \frac {\log (x-\log (x))}{x (x-\log (x))} \, dx-10 \int \frac {1}{x-\log (x)} \, dx+10 \int \frac {1}{x (x-\log (x))} \, dx+\int \frac {x^2 \log (x-\log (x))}{x-\log (x)} \, dx-\int \frac {x \log (x) \log (x-\log (x))}{x-\log (x)} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.24, size = 52, normalized size = 2.00 \begin {gather*} \frac {1}{4} \left (-4 x-10 x^2+\frac {x^4}{4}-40 \log (x-\log (x))+2 x^2 \log (x-\log (x))+4 \log ^2(x-\log (x))\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.84, size = 37, normalized size = 1.42 \begin {gather*} \frac {1}{16} \, x^{4} - \frac {5}{2} \, x^{2} + \frac {1}{2} \, {\left (x^{2} - 20\right )} \log \left (x - \log \relax (x)\right ) + \log \left (x - \log \relax (x)\right )^{2} - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 44, normalized size = 1.69 \begin {gather*} \frac {1}{16} \, x^{4} + \frac {1}{2} \, x^{2} \log \left (x - \log \relax (x)\right ) - \frac {5}{2} \, x^{2} + \log \left (x - \log \relax (x)\right )^{2} - x - 10 \, \log \left (x - \log \relax (x)\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.04, size = 45, normalized size = 1.73
method | result | size |
risch | \(\ln \left (x -\ln \relax (x )\right )^{2}+\frac {\ln \left (x -\ln \relax (x )\right ) x^{2}}{2}+\frac {x^{4}}{16}-\frac {5 x^{2}}{2}-x -10 \ln \left (\ln \relax (x )-x \right )\) | \(45\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.40, size = 37, normalized size = 1.42 \begin {gather*} \frac {1}{16} \, x^{4} - \frac {5}{2} \, x^{2} + \frac {1}{2} \, {\left (x^{2} - 20\right )} \log \left (x - \log \relax (x)\right ) + \log \left (x - \log \relax (x)\right )^{2} - x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.51, size = 44, normalized size = 1.69 \begin {gather*} \frac {x^2\,\ln \left (x-\ln \relax (x)\right )}{2}-10\,\ln \left (\ln \relax (x)-x\right )-x-\frac {5\,x^2}{2}+\frac {x^4}{16}+{\ln \left (x-\ln \relax (x)\right )}^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.53, size = 41, normalized size = 1.58 \begin {gather*} \frac {x^{4}}{16} + \frac {x^{2} \log {\left (x - \log {\relax (x )} \right )}}{2} - \frac {5 x^{2}}{2} - x - 10 \log {\left (- x + \log {\relax (x )} \right )} + \log {\left (x - \log {\relax (x )} \right )}^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________