Optimal. Leaf size=24 \[ \left (\frac {1}{3} e^{2+\frac {e^2}{16 x^2}}+e^x\right )^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.23, antiderivative size = 43, normalized size of antiderivative = 1.79, number of steps used = 6, number of rules used = 5, integrand size = 68, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.074, Rules used = {12, 14, 2194, 2209, 6706} \begin {gather*} \frac {1}{9} e^{\frac {e^2}{8 x^2}+4}+\frac {2}{3} e^{\frac {e^2}{16 x^2}+x+2}+e^{2 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 14
Rule 2194
Rule 2209
Rule 6706
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\frac {1}{144} e^2 \int \frac {-4 e^{4+\frac {e^2}{8 x^2}}+288 e^{-2+2 x} x^3+e^{\frac {e^2}{16 x^2}} \left (-12 e^{2+x}+96 e^x x^3\right )}{x^3} \, dx\\ &=\frac {1}{144} e^2 \int \left (288 e^{-2+2 x}-\frac {4 e^{4+\frac {e^2}{8 x^2}}}{x^3}+\frac {12 e^{\frac {e^2}{16 x^2}+x} \left (-e^2+8 x^3\right )}{x^3}\right ) \, dx\\ &=-\left (\frac {1}{36} e^2 \int \frac {e^{4+\frac {e^2}{8 x^2}}}{x^3} \, dx\right )+\frac {1}{12} e^2 \int \frac {e^{\frac {e^2}{16 x^2}+x} \left (-e^2+8 x^3\right )}{x^3} \, dx+\left (2 e^2\right ) \int e^{-2+2 x} \, dx\\ &=\frac {1}{9} e^{4+\frac {e^2}{8 x^2}}+e^{2 x}+\frac {2}{3} e^{2+\frac {e^2}{16 x^2}+x}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 26, normalized size = 1.08 \begin {gather*} \frac {1}{9} \left (e^{2+\frac {e^2}{16 x^2}}+3 e^x\right )^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.56, size = 58, normalized size = 2.42 \begin {gather*} \frac {256 \, x^{4} e^{\left (\frac {e^{2}}{8 \, x^{2}} + 4\right )} + 96 \, x^{2} e^{\left (x + \frac {e^{2}}{16 \, x^{2}} + \log \left (16 \, x^{2}\right ) + 2\right )} + 9 \, e^{\left (2 \, x + 2 \, \log \left (16 \, x^{2}\right )\right )}}{2304 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 38, normalized size = 1.58 \begin {gather*} e^{\left (2 \, x\right )} + \frac {2}{3} \, e^{\left (\frac {16 \, x^{3} + 32 \, x^{2} + e^{2}}{16 \, x^{2}}\right )} + \frac {1}{9} \, e^{\left (\frac {e^{2}}{8 \, x^{2}} + 4\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.45, size = 52, normalized size = 2.17
method | result | size |
default | \(\frac {2 \,{\mathrm e}^{2} {\mathrm e}^{x} {\mathrm e}^{\frac {{\mathrm e}^{2}}{16 x^{2}}}}{3}+{\mathrm e}^{2 x}+\frac {{\mathrm e}^{4} {\mathrm e}^{\frac {{\mathrm e}^{2}}{8 x^{2}}}}{9}\) | \(52\) |
risch | \(\frac {{\mathrm e}^{-\frac {{\mathrm e}^{2} {\mathrm e}^{\frac {i \pi \mathrm {csgn}\left (i x^{2}\right )^{3}}{2}} {\mathrm e}^{\frac {i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x \right )^{2}}{2}}-32 x^{2}}{8 x^{2}}}}{9}+\frac {2 \,{\mathrm e}^{-\frac {{\mathrm e}^{2} {\mathrm e}^{\frac {i \pi \mathrm {csgn}\left (i x^{2}\right )^{3}}{2}} {\mathrm e}^{\frac {i \pi \,\mathrm {csgn}\left (i x^{2}\right ) \mathrm {csgn}\left (i x \right )^{2}}{2}}-16 x^{3}-32 x^{2}}{16 x^{2}}}}{3}+{\mathrm e}^{2 x}\) | \(111\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.42, size = 39, normalized size = 1.62 \begin {gather*} \frac {1}{9} \, {\left (3 \, {\left (3 \, e^{\left (2 \, x\right )} + 2 \, e^{\left (x + \frac {e^{2}}{16 \, x^{2}} + 2\right )}\right )} e^{\left (-2\right )} + e^{\left (\frac {e^{2}}{8 \, x^{2}} + 2\right )}\right )} e^{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 7.93, size = 23, normalized size = 0.96 \begin {gather*} \frac {{\mathrm {e}}^{-4}\,{\left (3\,{\mathrm {e}}^{x+2}+{\mathrm {e}}^{\frac {{\mathrm {e}}^2}{16\,x^2}+4}\right )}^2}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 2.54, size = 39, normalized size = 1.62 \begin {gather*} e^{2 x} + \frac {2 e^{2} e^{x} e^{\frac {e^{2}}{16 x^{2}}}}{3} + \frac {e^{4} e^{\frac {e^{2}}{8 x^{2}}}}{9} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________