Optimal. Leaf size=14 \[ \frac {e^x \cos (x)}{1-\sin (x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {2326}
\begin {gather*} \frac {e^x \cos (x)}{1-\sin (x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2326
Rubi steps
\begin {align*} \int \frac {e^x (1+\cos (x))}{1-\sin (x)} \, dx &=\frac {e^x \cos (x)}{1-\sin (x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.06, size = 23, normalized size = 1.64 \begin {gather*} -\frac {e^x \left (1+\tan \left (\frac {x}{2}\right )\right )}{-1+\tan \left (\frac {x}{2}\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.10, size = 21, normalized size = 1.50
method | result | size |
risch | \(-i {\mathrm e}^{x}+\frac {2 \,{\mathrm e}^{x}}{{\mathrm e}^{i x}-i}\) | \(21\) |
norman | \(\frac {-{\mathrm e}^{x} \tan \left (\frac {x}{2}\right )-{\mathrm e}^{x} \left (\tan ^{2}\left (\frac {x}{2}\right )\right )-{\mathrm e}^{x} \left (\tan ^{3}\left (\frac {x}{2}\right )\right )-{\mathrm e}^{x}}{\left (1+\tan ^{2}\left (\frac {x}{2}\right )\right ) \left (\tan \left (\frac {x}{2}\right )-1\right )}\) | \(53\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 3.77, size = 22, normalized size = 1.57 \begin {gather*} \frac {2 \, \cos \left (x\right ) e^{x}}{\cos \left (x\right )^{2} + \sin \left (x\right )^{2} - 2 \, \sin \left (x\right ) + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.09, size = 24, normalized size = 1.71 \begin {gather*} \frac {{\left (\cos \left (x\right ) + 1\right )} e^{x} + e^{x} \sin \left (x\right )}{\cos \left (x\right ) - \sin \left (x\right ) + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \frac {e^{x}}{\sin {\left (x \right )} - 1}\, dx - \int \frac {e^{x} \cos {\left (x \right )}}{\sin {\left (x \right )} - 1}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.82, size = 20, normalized size = 1.43 \begin {gather*} -\frac {e^{x} \tan \left (\frac {1}{2} \, x\right ) + e^{x}}{\tan \left (\frac {1}{2} \, x\right ) - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.37, size = 24, normalized size = 1.71 \begin {gather*} -\frac {{\mathrm {e}}^x\,\left (-1+{\mathrm {e}}^{x\,1{}\mathrm {i}}\,1{}\mathrm {i}\right )}{{\mathrm {e}}^{x\,1{}\mathrm {i}}-\mathrm {i}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________