Optimal. Leaf size=32 \[ \frac {-5+\left (x-x^2\right )^2-\frac {5}{4} e^2 \log ^2(5-x+\log (x))}{x} \]
________________________________________________________________________________________
Rubi [F] time = 2.04, 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 {100-20 x+20 x^2-84 x^3+76 x^4-12 x^5+\left (20+4 x^2-16 x^3+12 x^4\right ) \log (x)+e^2 (-10+10 x) \log (5-x+\log (x))+\left (e^2 (25-5 x)+5 e^2 \log (x)\right ) \log ^2(5-x+\log (x))}{20 x^2-4 x^3+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 \frac {100-20 x+20 x^2-84 x^3+76 x^4-12 x^5+\left (20+4 x^2-16 x^3+12 x^4\right ) \log (x)+e^2 (-10+10 x) \log (5-x+\log (x))+\left (e^2 (25-5 x)+5 e^2 \log (x)\right ) \log ^2(5-x+\log (x))}{4 x^2 (5-x+\log (x))} \, dx\\ &=\frac {1}{4} \int \frac {100-20 x+20 x^2-84 x^3+76 x^4-12 x^5+\left (20+4 x^2-16 x^3+12 x^4\right ) \log (x)+e^2 (-10+10 x) \log (5-x+\log (x))+\left (e^2 (25-5 x)+5 e^2 \log (x)\right ) \log ^2(5-x+\log (x))}{x^2 (5-x+\log (x))} \, dx\\ &=\frac {1}{4} \int \left (-\frac {20}{-5+x-\log (x)}-\frac {100}{x^2 (-5+x-\log (x))}+\frac {20}{x (-5+x-\log (x))}+\frac {84 x}{-5+x-\log (x)}-\frac {76 x^2}{-5+x-\log (x)}+\frac {12 x^3}{-5+x-\log (x)}-\frac {4 \left (5+x^2-4 x^3+3 x^4\right ) \log (x)}{x^2 (-5+x-\log (x))}-\frac {10 e^2 (-1+x) \log (5-x+\log (x))}{x^2 (-5+x-\log (x))}+\frac {5 e^2 \log ^2(5-x+\log (x))}{x^2}\right ) \, dx\\ &=3 \int \frac {x^3}{-5+x-\log (x)} \, dx-5 \int \frac {1}{-5+x-\log (x)} \, dx+5 \int \frac {1}{x (-5+x-\log (x))} \, dx-19 \int \frac {x^2}{-5+x-\log (x)} \, dx+21 \int \frac {x}{-5+x-\log (x)} \, dx-25 \int \frac {1}{x^2 (-5+x-\log (x))} \, dx+\frac {1}{4} \left (5 e^2\right ) \int \frac {\log ^2(5-x+\log (x))}{x^2} \, dx-\frac {1}{2} \left (5 e^2\right ) \int \frac {(-1+x) \log (5-x+\log (x))}{x^2 (-5+x-\log (x))} \, dx-\int \frac {\left (5+x^2-4 x^3+3 x^4\right ) \log (x)}{x^2 (-5+x-\log (x))} \, dx\\ &=3 \int \frac {x^3}{-5+x-\log (x)} \, dx-5 \int \frac {1}{-5+x-\log (x)} \, dx+5 \int \frac {1}{x (-5+x-\log (x))} \, dx-19 \int \frac {x^2}{-5+x-\log (x)} \, dx+21 \int \frac {x}{-5+x-\log (x)} \, dx-25 \int \frac {1}{x^2 (-5+x-\log (x))} \, dx+\frac {1}{4} \left (5 e^2\right ) \int \frac {\log ^2(5-x+\log (x))}{x^2} \, dx-\frac {1}{2} \left (5 e^2\right ) \int \left (-\frac {\log (5-x+\log (x))}{x^2 (-5+x-\log (x))}+\frac {\log (5-x+\log (x))}{x (-5+x-\log (x))}\right ) \, dx-\int \left (\frac {-5-x^2+4 x^3-3 x^4}{x^2}+\frac {-25+5 x-5 x^2+21 x^3-19 x^4+3 x^5}{x^2 (-5+x-\log (x))}\right ) \, dx\\ &=3 \int \frac {x^3}{-5+x-\log (x)} \, dx-5 \int \frac {1}{-5+x-\log (x)} \, dx+5 \int \frac {1}{x (-5+x-\log (x))} \, dx-19 \int \frac {x^2}{-5+x-\log (x)} \, dx+21 \int \frac {x}{-5+x-\log (x)} \, dx-25 \int \frac {1}{x^2 (-5+x-\log (x))} \, dx+\frac {1}{4} \left (5 e^2\right ) \int \frac {\log ^2(5-x+\log (x))}{x^2} \, dx+\frac {1}{2} \left (5 e^2\right ) \int \frac {\log (5-x+\log (x))}{x^2 (-5+x-\log (x))} \, dx-\frac {1}{2} \left (5 e^2\right ) \int \frac {\log (5-x+\log (x))}{x (-5+x-\log (x))} \, dx-\int \frac {-5-x^2+4 x^3-3 x^4}{x^2} \, dx-\int \frac {-25+5 x-5 x^2+21 x^3-19 x^4+3 x^5}{x^2 (-5+x-\log (x))} \, dx\\ &=3 \int \frac {x^3}{-5+x-\log (x)} \, dx-5 \int \frac {1}{-5+x-\log (x)} \, dx+5 \int \frac {1}{x (-5+x-\log (x))} \, dx-19 \int \frac {x^2}{-5+x-\log (x)} \, dx+21 \int \frac {x}{-5+x-\log (x)} \, dx-25 \int \frac {1}{x^2 (-5+x-\log (x))} \, dx+\frac {1}{4} \left (5 e^2\right ) \int \frac {\log ^2(5-x+\log (x))}{x^2} \, dx+\frac {1}{2} \left (5 e^2\right ) \int \frac {\log (5-x+\log (x))}{x^2 (-5+x-\log (x))} \, dx-\frac {1}{2} \left (5 e^2\right ) \int \frac {\log (5-x+\log (x))}{x (-5+x-\log (x))} \, dx-\int \left (-1-\frac {5}{x^2}+4 x-3 x^2\right ) \, dx-\int \left (-\frac {5}{-5+x-\log (x)}-\frac {25}{x^2 (-5+x-\log (x))}+\frac {5}{x (-5+x-\log (x))}+\frac {21 x}{-5+x-\log (x)}-\frac {19 x^2}{-5+x-\log (x)}+\frac {3 x^3}{-5+x-\log (x)}\right ) \, dx\\ &=-\frac {5}{x}+x-2 x^2+x^3+\frac {1}{4} \left (5 e^2\right ) \int \frac {\log ^2(5-x+\log (x))}{x^2} \, dx+\frac {1}{2} \left (5 e^2\right ) \int \frac {\log (5-x+\log (x))}{x^2 (-5+x-\log (x))} \, dx-\frac {1}{2} \left (5 e^2\right ) \int \frac {\log (5-x+\log (x))}{x (-5+x-\log (x))} \, dx\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [F] time = 0.58, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {100-20 x+20 x^2-84 x^3+76 x^4-12 x^5+\left (20+4 x^2-16 x^3+12 x^4\right ) \log (x)+e^2 (-10+10 x) \log (5-x+\log (x))+\left (e^2 (25-5 x)+5 e^2 \log (x)\right ) \log ^2(5-x+\log (x))}{20 x^2-4 x^3+4 x^2 \log (x)} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.96, size = 36, normalized size = 1.12 \begin {gather*} \frac {4 \, x^{4} - 8 \, x^{3} - 5 \, e^{2} \log \left (-x + \log \relax (x) + 5\right )^{2} + 4 \, x^{2} - 20}{4 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.34, size = 36, normalized size = 1.12 \begin {gather*} \frac {4 \, x^{4} - 8 \, x^{3} - 5 \, e^{2} \log \left (-x + \log \relax (x) + 5\right )^{2} + 4 \, x^{2} - 20}{4 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 36, normalized size = 1.12
method | result | size |
risch | \(-\frac {5 \,{\mathrm e}^{2} \ln \left (\ln \relax (x )-x +5\right )^{2}}{4 x}+\frac {x^{4}-2 x^{3}+x^{2}-5}{x}\) | \(36\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.70, size = 36, normalized size = 1.12 \begin {gather*} \frac {4 \, x^{4} - 8 \, x^{3} - 5 \, e^{2} \log \left (-x + \log \relax (x) + 5\right )^{2} + 4 \, x^{2} - 20}{4 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.12, size = 32, normalized size = 1.00 \begin {gather*} x-\frac {5}{x}-2\,x^2+x^3-\frac {5\,{\mathrm {e}}^2\,{\ln \left (\ln \relax (x)-x+5\right )}^2}{4\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.46, size = 31, normalized size = 0.97 \begin {gather*} x^{3} - 2 x^{2} + x - \frac {5 e^{2} \log {\left (- x + \log {\relax (x )} + 5 \right )}^{2}}{4 x} - \frac {5}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________