Optimal. Leaf size=16 \[ -3-e^{4 e^{-x}}+3 x \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 15, normalized size of antiderivative = 0.94, number of steps used = 4, number of rules used = 3, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.130, Rules used = {2282, 14, 2209} \begin {gather*} 3 x-e^{4 e^{-x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2209
Rule 2282
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\operatorname {Subst}\left (\int \frac {3+\frac {4 e^{4/x}}{x}}{x} \, dx,x,e^x\right )\\ &=\operatorname {Subst}\left (\int \left (\frac {4 e^{4/x}}{x^2}+\frac {3}{x}\right ) \, dx,x,e^x\right )\\ &=3 x+4 \operatorname {Subst}\left (\int \frac {e^{4/x}}{x^2} \, dx,x,e^x\right )\\ &=-e^{4 e^{-x}}+3 x\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 15, normalized size = 0.94 \begin {gather*} -e^{4 e^{-x}}+3 x \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.07, size = 13, normalized size = 0.81 \begin {gather*} 3 \, x - e^{\left (4 \, e^{\left (-x\right )}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.30, size = 13, normalized size = 0.81 \begin {gather*} 3 \, x - e^{\left (4 \, e^{\left (-x\right )}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.11, size = 14, normalized size = 0.88
method | result | size |
risch | \(3 x -{\mathrm e}^{4 \,{\mathrm e}^{-x}}\) | \(14\) |
derivativedivides | \(-3 \ln \left ({\mathrm e}^{-x}\right )-{\mathrm e}^{4 \,{\mathrm e}^{-x}}\) | \(18\) |
default | \(-3 \ln \left ({\mathrm e}^{-x}\right )-{\mathrm e}^{4 \,{\mathrm e}^{-x}}\) | \(18\) |
norman | \(\left (3 \,{\mathrm e}^{x} x -{\mathrm e}^{x} {\mathrm e}^{4 \,{\mathrm e}^{-x}}\right ) {\mathrm e}^{-x}\) | \(23\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.35, size = 13, normalized size = 0.81 \begin {gather*} 3 \, x - e^{\left (4 \, e^{\left (-x\right )}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.34, size = 13, normalized size = 0.81 \begin {gather*} 3\,x-{\mathrm {e}}^{4\,{\mathrm {e}}^{-x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.11, size = 8, normalized size = 0.50 \begin {gather*} 3 x - e^{4 e^{- x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________