Optimal. Leaf size=16 \[ 1+e^{1-e^x}+x^2+\log (3) \]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 13, normalized size of antiderivative = 0.81, number of steps used = 4, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {6688, 2282, 2194} \begin {gather*} x^2+e^{1-e^x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2194
Rule 2282
Rule 6688
Rubi steps
\begin {gather*} \begin {aligned} \text {integral} &=\int \left (-e^{1-e^x+x}+2 x\right ) \, dx\\ &=x^2-\int e^{1-e^x+x} \, dx\\ &=x^2-\operatorname {Subst}\left (\int e^{1-x} \, dx,x,e^x\right )\\ &=e^{1-e^x}+x^2\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 13, normalized size = 0.81 \begin {gather*} e^{1-e^x}+x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.53, size = 16, normalized size = 1.00 \begin {gather*} {\left (x^{2} e^{\left (e^{x}\right )} + e\right )} e^{\left (-e^{x}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 11, normalized size = 0.69 \begin {gather*} x^{2} + e^{\left (-e^{x} + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.03, size = 12, normalized size = 0.75
method | result | size |
risch | \(x^{2}+{\mathrm e}^{1-{\mathrm e}^{x}}\) | \(12\) |
default | \(x^{2}+{\mathrm e} \,{\mathrm e}^{-{\mathrm e}^{x}}\) | \(13\) |
norman | \(\left ({\mathrm e}^{{\mathrm e}^{x}} x^{2}+{\mathrm e}\right ) {\mathrm e}^{-{\mathrm e}^{x}}\) | \(17\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.37, size = 11, normalized size = 0.69 \begin {gather*} x^{2} + e^{\left (-e^{x} + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.07, size = 12, normalized size = 0.75 \begin {gather*} \mathrm {e}\,{\mathrm {e}}^{-{\mathrm {e}}^x}+x^2 \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.12, size = 10, normalized size = 0.62 \begin {gather*} x^{2} + e e^{- e^{x}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________