Optimal. Leaf size=34 \[ -\frac {1}{2} \tanh ^{-1}\left (\sin \left (1-e^x\right )\right )-\frac {1}{2} \tan \left (1-e^x\right ) \sec \left (1-e^x\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {2282, 3768, 3770} \[ -\frac {1}{2} \tanh ^{-1}\left (\sin \left (1-e^x\right )\right )-\frac {1}{2} \tan \left (1-e^x\right ) \sec \left (1-e^x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2282
Rule 3768
Rule 3770
Rubi steps
\begin {align*} \int e^x \sec ^3\left (1-e^x\right ) \, dx &=\operatorname {Subst}\left (\int \sec ^3(1-x) \, dx,x,e^x\right )\\ &=-\frac {1}{2} \sec \left (1-e^x\right ) \tan \left (1-e^x\right )+\frac {1}{2} \operatorname {Subst}\left (\int \sec (1-x) \, dx,x,e^x\right )\\ &=-\frac {1}{2} \tanh ^{-1}\left (\sin \left (1-e^x\right )\right )-\frac {1}{2} \sec \left (1-e^x\right ) \tan \left (1-e^x\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 34, normalized size = 1.00 \[ -\frac {1}{2} \tanh ^{-1}\left (\sin \left (1-e^x\right )\right )-\frac {1}{2} \tan \left (1-e^x\right ) \sec \left (1-e^x\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.43, size = 52, normalized size = 1.53 \[ \frac {\cos \left (e^{x} - 1\right )^{2} \log \left (\sin \left (e^{x} - 1\right ) + 1\right ) - \cos \left (e^{x} - 1\right )^{2} \log \left (-\sin \left (e^{x} - 1\right ) + 1\right ) + 2 \, \sin \left (e^{x} - 1\right )}{4 \, \cos \left (e^{x} - 1\right )^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.20, size = 41, normalized size = 1.21 \[ -\frac {\sin \left (e^{x} - 1\right )}{2 \, {\left (\sin \left (e^{x} - 1\right )^{2} - 1\right )}} + \frac {1}{4} \, \log \left (\sin \left (e^{x} - 1\right ) + 1\right ) - \frac {1}{4} \, \log \left (-\sin \left (e^{x} - 1\right ) + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.37, size = 28, normalized size = 0.82 \[ \frac {\sec \left ({\mathrm e}^{x}-1\right ) \tan \left ({\mathrm e}^{x}-1\right )}{2}+\frac {\ln \left (\sec \left ({\mathrm e}^{x}-1\right )+\tan \left ({\mathrm e}^{x}-1\right )\right )}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.09, size = 39, normalized size = 1.15 \[ -\frac {\sin \left (e^{x} - 1\right )}{2 \, {\left (\sin \left (e^{x} - 1\right )^{2} - 1\right )}} + \frac {1}{4} \, \log \left (\sin \left (e^{x} - 1\right ) + 1\right ) - \frac {1}{4} \, \log \left (\sin \left (e^{x} - 1\right ) - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.53, size = 78, normalized size = 2.29 \[ -\mathrm {atan}\left ({\mathrm {e}}^{-\mathrm {i}}\,{\mathrm {e}}^{{\mathrm {e}}^x\,1{}\mathrm {i}}\right )\,1{}\mathrm {i}-\frac {{\mathrm {e}}^{-\mathrm {i}}\,{\mathrm {e}}^{{\mathrm {e}}^x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{{\mathrm {e}}^{-2{}\mathrm {i}}\,{\mathrm {e}}^{{\mathrm {e}}^x\,2{}\mathrm {i}}+1}+\frac {{\mathrm {e}}^{-\mathrm {i}}\,{\mathrm {e}}^{{\mathrm {e}}^x\,1{}\mathrm {i}}\,2{}\mathrm {i}}{2\,{\mathrm {e}}^{-2{}\mathrm {i}}\,{\mathrm {e}}^{{\mathrm {e}}^x\,2{}\mathrm {i}}+{\mathrm {e}}^{-4{}\mathrm {i}}\,{\mathrm {e}}^{{\mathrm {e}}^x\,4{}\mathrm {i}}+1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int e^{x} \sec ^{3}{\left (e^{x} - 1 \right )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________