Optimal. Leaf size=25 \[ \frac {9 e^{4/x} \left (4-\log \left (\frac {\log (4)}{x}\right )\right )}{8 x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.17, antiderivative size = 36, normalized size of antiderivative = 1.44, 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 = {12, 14, 2243,
2240, 2634, 6874, 2241} \begin {gather*} \frac {9 e^{4/x}}{2 x}-\frac {9 e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{8 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2240
Rule 2241
Rule 2243
Rule 2634
Rule 6874
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{8} \int \frac {e^{4/x} (-144-27 x)+e^{4/x} (36+9 x) \log \left (\frac {\log (4)}{x}\right )}{x^3} \, dx\\ &=\frac {1}{8} \int \left (-\frac {144 e^{4/x}}{x^3}-\frac {27 e^{4/x}}{x^2}+\frac {36 e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{x^3}+\frac {9 e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{x^2}\right ) \, dx\\ &=\frac {9}{8} \int \frac {e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{x^2} \, dx-\frac {27}{8} \int \frac {e^{4/x}}{x^2} \, dx+\frac {9}{2} \int \frac {e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{x^3} \, dx-18 \int \frac {e^{4/x}}{x^3} \, dx\\ &=\frac {27 e^{4/x}}{32}+\frac {9 e^{4/x}}{2 x}-\frac {9 e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{8 x}-\frac {9}{8} \int \frac {e^{4/x}}{4 x} \, dx+\frac {9}{2} \int \frac {e^{4/x}}{x^2} \, dx-\frac {9}{2} \int \frac {e^{4/x} (4-x)}{16 x^2} \, dx\\ &=-\frac {9 e^{4/x}}{32}+\frac {9 e^{4/x}}{2 x}-\frac {9 e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{8 x}-\frac {9}{32} \int \frac {e^{4/x} (4-x)}{x^2} \, dx-\frac {9}{32} \int \frac {e^{4/x}}{x} \, dx\\ &=-\frac {9 e^{4/x}}{32}+\frac {9 e^{4/x}}{2 x}+\frac {9 \text {Ei}\left (\frac {4}{x}\right )}{32}-\frac {9 e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{8 x}-\frac {9}{32} \int \left (\frac {4 e^{4/x}}{x^2}-\frac {e^{4/x}}{x}\right ) \, dx\\ &=-\frac {9 e^{4/x}}{32}+\frac {9 e^{4/x}}{2 x}+\frac {9 \text {Ei}\left (\frac {4}{x}\right )}{32}-\frac {9 e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{8 x}+\frac {9}{32} \int \frac {e^{4/x}}{x} \, dx-\frac {9}{8} \int \frac {e^{4/x}}{x^2} \, dx\\ &=\frac {9 e^{4/x}}{2 x}-\frac {9 e^{4/x} \log \left (\frac {\log (4)}{x}\right )}{8 x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 23, normalized size = 0.92 \begin {gather*} -\frac {9 e^{4/x} \left (-4+\log \left (\frac {\log (4)}{x}\right )\right )}{8 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 42, normalized size = 1.68
method | result | size |
norman | \(\frac {\frac {9 x \,{\mathrm e}^{\frac {4}{x}}}{2}-\frac {9 x \,{\mathrm e}^{\frac {4}{x}} \ln \left (\frac {2 \ln \left (2\right )}{x}\right )}{8}}{x^{2}}\) | \(32\) |
risch | \(\frac {9 \,{\mathrm e}^{\frac {4}{x}} \ln \left (x \right )}{8 x}-\frac {9 \left (-8+2 \ln \left (2\right )+2 \ln \left (\ln \left (2\right )\right )\right ) {\mathrm e}^{\frac {4}{x}}}{16 x}\) | \(37\) |
default | \(\frac {\left (36-9 \ln \left (\frac {2 \ln \left (2\right )}{x}\right )-9 \ln \left (x \right )\right ) x \,{\mathrm e}^{\frac {4}{x}}+9 x \,{\mathrm e}^{\frac {4}{x}} \ln \left (x \right )}{8 x^{2}}\) | \(42\) |
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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.50, size = 29, normalized size = 1.16 \begin {gather*} -\frac {9 \, {\left (e^{\frac {4}{x}} \log \left (\frac {2 \, \log \left (2\right )}{x}\right ) - 4 \, e^{\frac {4}{x}}\right )}}{8 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.09, size = 19, normalized size = 0.76 \begin {gather*} \frac {\left (36 - 9 \log {\left (\frac {2 \log {\left (2 \right )}}{x} \right )}\right ) e^{\frac {4}{x}}}{8 x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 43 vs.
\(2 (21) = 42\).
time = 0.39, size = 43, normalized size = 1.72 \begin {gather*} -\frac {9 \, {\left (e^{\frac {4}{x}} \log \left (2\right ) - e^{\frac {4}{x}} \log \left (x\right ) + e^{\frac {4}{x}} \log \left (\log \left (2\right )\right ) - 4 \, e^{\frac {4}{x}}\right )}}{8 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.85, size = 21, normalized size = 0.84 \begin {gather*} -\frac {9\,{\mathrm {e}}^{4/x}\,\left (\ln \left (\frac {2\,\ln \left (2\right )}{x}\right )-4\right )}{8\,x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________