Optimal. Leaf size=21 \[ \frac {2 \left (-10+e^x\right ) (5-x)}{x \log (25 x)} \]
________________________________________________________________________________________
Rubi [B] time = 0.81, antiderivative size = 51, normalized size of antiderivative = 2.43, number of steps used = 14, number of rules used = 8, integrand size = 45, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.178, Rules used = {6742, 2353, 2306, 2309, 2178, 2302, 30, 2288} \begin {gather*} \frac {2 e^x \left (5 x \log (25 x)-x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}-\frac {100}{x \log (25 x)}+\frac {20}{\log (25 x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2178
Rule 2288
Rule 2302
Rule 2306
Rule 2309
Rule 2353
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {20 (-5+x-5 \log (25 x))}{x^2 \log ^2(25 x)}-\frac {2 e^x \left (5-x+5 \log (25 x)-5 x \log (25 x)+x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}\right ) \, dx\\ &=-\left (2 \int \frac {e^x \left (5-x+5 \log (25 x)-5 x \log (25 x)+x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)} \, dx\right )-20 \int \frac {-5+x-5 \log (25 x)}{x^2 \log ^2(25 x)} \, dx\\ &=\frac {2 e^x \left (5 x \log (25 x)-x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}-20 \int \left (\frac {-5+x}{x^2 \log ^2(25 x)}-\frac {5}{x^2 \log (25 x)}\right ) \, dx\\ &=\frac {2 e^x \left (5 x \log (25 x)-x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}-20 \int \frac {-5+x}{x^2 \log ^2(25 x)} \, dx+100 \int \frac {1}{x^2 \log (25 x)} \, dx\\ &=\frac {2 e^x \left (5 x \log (25 x)-x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}-20 \int \left (-\frac {5}{x^2 \log ^2(25 x)}+\frac {1}{x \log ^2(25 x)}\right ) \, dx+2500 \operatorname {Subst}\left (\int \frac {e^{-x}}{x} \, dx,x,\log (25 x)\right )\\ &=2500 \text {Ei}(-\log (25 x))+\frac {2 e^x \left (5 x \log (25 x)-x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}-20 \int \frac {1}{x \log ^2(25 x)} \, dx+100 \int \frac {1}{x^2 \log ^2(25 x)} \, dx\\ &=2500 \text {Ei}(-\log (25 x))-\frac {100}{x \log (25 x)}+\frac {2 e^x \left (5 x \log (25 x)-x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}-20 \operatorname {Subst}\left (\int \frac {1}{x^2} \, dx,x,\log (25 x)\right )-100 \int \frac {1}{x^2 \log (25 x)} \, dx\\ &=2500 \text {Ei}(-\log (25 x))+\frac {20}{\log (25 x)}-\frac {100}{x \log (25 x)}+\frac {2 e^x \left (5 x \log (25 x)-x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}-2500 \operatorname {Subst}\left (\int \frac {e^{-x}}{x} \, dx,x,\log (25 x)\right )\\ &=\frac {20}{\log (25 x)}-\frac {100}{x \log (25 x)}+\frac {2 e^x \left (5 x \log (25 x)-x^2 \log (25 x)\right )}{x^2 \log ^2(25 x)}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.28, size = 19, normalized size = 0.90 \begin {gather*} -\frac {2 \left (-10+e^x\right ) (-5+x)}{x \log (25 x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.83, size = 22, normalized size = 1.05 \begin {gather*} -\frac {2 \, {\left ({\left (x - 5\right )} e^{x} - 10 \, x + 50\right )}}{x \log \left (25 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 24, normalized size = 1.14 \begin {gather*} -\frac {2 \, {\left (x e^{x} - 10 \, x - 5 \, e^{x} + 50\right )}}{x \log \left (25 \, x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 25, normalized size = 1.19
method | result | size |
norman | \(\frac {-100+20 x -2 \,{\mathrm e}^{x} x +10 \,{\mathrm e}^{x}}{x \ln \left (25 x \right )}\) | \(25\) |
risch | \(-\frac {2 \left ({\mathrm e}^{x} x -10 x -5 \,{\mathrm e}^{x}+50\right )}{x \ln \left (25 x \right )}\) | \(25\) |
default | \(\frac {-2 \,{\mathrm e}^{x} x +10 \,{\mathrm e}^{x}}{\ln \left (25 x \right ) x}+\frac {20}{\ln \left (25 x \right )}-\frac {100}{x \ln \left (25 x \right )}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} -\frac {2 \, {\left (x - 5\right )} e^{x}}{2 \, x \log \relax (5) + x \log \relax (x)} + \frac {20}{\log \left (25 \, x\right )} - 2500 \, \Gamma \left (-1, \log \left (25 \, x\right )\right ) + 100 \, \int \frac {1}{2 \, x^{2} \log \relax (5) + x^{2} \log \relax (x)}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.26, size = 18, normalized size = 0.86 \begin {gather*} -\frac {2\,\left ({\mathrm {e}}^x-10\right )\,\left (x-5\right )}{x\,\ln \left (25\,x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.31, size = 26, normalized size = 1.24 \begin {gather*} \frac {\left (10 - 2 x\right ) e^{x}}{x \log {\left (25 x \right )}} + \frac {20 x - 100}{x \log {\left (25 x \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________