Optimal. Leaf size=20 \[ \frac {e^{-4 x} (5+x)^2 \log \left (\frac {5}{x}\right )}{x} \]
________________________________________________________________________________________
Rubi [B] time = 0.60, antiderivative size = 43, normalized size of antiderivative = 2.15, number of steps used = 15, number of rules used = 7, integrand size = 41, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.171, Rules used = {6742, 2199, 2194, 2177, 2178, 2176, 2554} \begin {gather*} 10 e^{-4 x} \log \left (\frac {5}{x}\right )+e^{-4 x} x \log \left (\frac {5}{x}\right )+\frac {25 e^{-4 x} \log \left (\frac {5}{x}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2176
Rule 2177
Rule 2178
Rule 2194
Rule 2199
Rule 2554
Rule 6742
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-\frac {e^{-4 x} (5+x)^2}{x^2}-\frac {e^{-4 x} (5+x) \left (5+19 x+4 x^2\right ) \log \left (\frac {5}{x}\right )}{x^2}\right ) \, dx\\ &=-\int \frac {e^{-4 x} (5+x)^2}{x^2} \, dx-\int \frac {e^{-4 x} (5+x) \left (5+19 x+4 x^2\right ) \log \left (\frac {5}{x}\right )}{x^2} \, dx\\ &=10 e^{-4 x} \log \left (\frac {5}{x}\right )+\frac {25 e^{-4 x} \log \left (\frac {5}{x}\right )}{x}+e^{-4 x} x \log \left (\frac {5}{x}\right )-\int \left (e^{-4 x}+\frac {25 e^{-4 x}}{x^2}+\frac {10 e^{-4 x}}{x}\right ) \, dx+\int \frac {e^{-4 x} (5+x)^2}{x^2} \, dx\\ &=10 e^{-4 x} \log \left (\frac {5}{x}\right )+\frac {25 e^{-4 x} \log \left (\frac {5}{x}\right )}{x}+e^{-4 x} x \log \left (\frac {5}{x}\right )-10 \int \frac {e^{-4 x}}{x} \, dx-25 \int \frac {e^{-4 x}}{x^2} \, dx-\int e^{-4 x} \, dx+\int \left (e^{-4 x}+\frac {25 e^{-4 x}}{x^2}+\frac {10 e^{-4 x}}{x}\right ) \, dx\\ &=\frac {e^{-4 x}}{4}+\frac {25 e^{-4 x}}{x}-10 \text {Ei}(-4 x)+10 e^{-4 x} \log \left (\frac {5}{x}\right )+\frac {25 e^{-4 x} \log \left (\frac {5}{x}\right )}{x}+e^{-4 x} x \log \left (\frac {5}{x}\right )+10 \int \frac {e^{-4 x}}{x} \, dx+25 \int \frac {e^{-4 x}}{x^2} \, dx+100 \int \frac {e^{-4 x}}{x} \, dx+\int e^{-4 x} \, dx\\ &=100 \text {Ei}(-4 x)+10 e^{-4 x} \log \left (\frac {5}{x}\right )+\frac {25 e^{-4 x} \log \left (\frac {5}{x}\right )}{x}+e^{-4 x} x \log \left (\frac {5}{x}\right )-100 \int \frac {e^{-4 x}}{x} \, dx\\ &=10 e^{-4 x} \log \left (\frac {5}{x}\right )+\frac {25 e^{-4 x} \log \left (\frac {5}{x}\right )}{x}+e^{-4 x} x \log \left (\frac {5}{x}\right )\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 20, normalized size = 1.00 \begin {gather*} \frac {e^{-4 x} (5+x)^2 \log \left (\frac {5}{x}\right )}{x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.74, size = 22, normalized size = 1.10 \begin {gather*} \frac {{\left (x^{2} + 10 \, x + 25\right )} e^{\left (-4 \, x\right )} \log \left (\frac {5}{x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.15, size = 44, normalized size = 2.20 \begin {gather*} \frac {x^{2} e^{\left (-4 \, x\right )} \log \left (\frac {5}{x}\right ) + 10 \, x e^{\left (-4 \, x\right )} \log \left (\frac {5}{x}\right ) + 25 \, e^{\left (-4 \, x\right )} \log \left (\frac {5}{x}\right )}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.12, size = 47, normalized size = 2.35
method | result | size |
risch | \(-\frac {\left (x^{2}+10 x +25\right ) {\mathrm e}^{-4 x} \ln \relax (x )}{x}+\frac {\left (2 x^{2} \ln \relax (5)+20 x \ln \relax (5)+50 \ln \relax (5)\right ) {\mathrm e}^{-4 x}}{2 x}\) | \(47\) |
default | \(\frac {\left (25 \ln \relax (5)+25 \ln \left (\frac {1}{x}\right )+25 \ln \relax (x )\right ) {\mathrm e}^{-4 x}+\left (\ln \relax (5)+\ln \left (\frac {1}{x}\right )+\ln \relax (x )\right ) x^{2} {\mathrm e}^{-4 x}+\left (10 \ln \relax (5)+10 \ln \left (\frac {1}{x}\right )+10 \ln \relax (x )\right ) x \,{\mathrm e}^{-4 x}-25 \ln \relax (x ) {\mathrm e}^{-4 x}-10 x \,{\mathrm e}^{-4 x} \ln \relax (x )-x^{2} {\mathrm e}^{-4 x} \ln \relax (x )}{x}\) | \(92\) |
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 {{\left (4 \, x^{2} + x + 100\right )} e^{\left (-4 \, x\right )} \log \relax (x)}{4 \, x} + \frac {39}{4} \, e^{\left (-4 \, x\right )} \log \left (\frac {5}{x}\right ) + \frac {39}{4} \, {\rm Ei}\left (-4 \, x\right ) + \frac {1}{4} \, e^{\left (-4 \, x\right )} + 100 \, \Gamma \left (-1, 4 \, x\right ) - \frac {1}{4} \, \int \frac {{\left (16 \, x^{3} \log \relax (5) - 4 \, x^{2} + x {\left (400 \, \log \relax (5) + 39\right )} + 100 \, \log \relax (5) - 100\right )} e^{\left (-4 \, x\right )}}{x^{2}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.30, size = 19, normalized size = 0.95 \begin {gather*} \frac {{\mathrm {e}}^{-4\,x}\,\ln \left (\frac {5}{x}\right )\,{\left (x+5\right )}^2}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.32, size = 29, normalized size = 1.45 \begin {gather*} \frac {\left (x^{2} \log {\left (\frac {5}{x} \right )} + 10 x \log {\left (\frac {5}{x} \right )} + 25 \log {\left (\frac {5}{x} \right )}\right ) e^{- 4 x}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________