Optimal. Leaf size=6 \[ \frac {\tan (x)}{2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 6, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {8}
\begin {gather*} \frac {\tan (x)}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rubi steps
\begin {align*} \int \csc (2 x) \tan (x) \, dx &=\text {Subst}\left (\int \frac {1}{2} \, dx,x,\tan (x)\right )\\ &=\frac {\tan (x)}{2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 6, normalized size = 1.00 \begin {gather*} \frac {\tan (x)}{2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.03, size = 5, normalized size = 0.83
method | result | size |
derivativedivides | \(\frac {\tan \left (x \right )}{2}\) | \(5\) |
default | \(\frac {\tan \left (x \right )}{2}\) | \(5\) |
norman | \(\frac {\tan \left (x \right )}{2}\) | \(5\) |
risch | \(\frac {i}{{\mathrm e}^{2 i x}+1}\) | \(13\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 27 vs.
\(2 (4) = 8\).
time = 1.89, size = 27, normalized size = 4.50 \begin {gather*} \frac {\sin \left (2 \, x\right )}{\cos \left (2 \, x\right )^{2} + \sin \left (2 \, x\right )^{2} + 2 \, \cos \left (2 \, x\right ) + 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.17, size = 4, normalized size = 0.67 \begin {gather*} \frac {1}{2} \, \tan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 7 vs.
\(2 (3) = 6\).
time = 0.40, size = 7, normalized size = 1.17 \begin {gather*} \frac {\sin {\left (x \right )}}{2 \cos {\left (x \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.82, size = 4, normalized size = 0.67 \begin {gather*} \frac {1}{2} \, \tan \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.18, size = 4, normalized size = 0.67 \begin {gather*} \frac {\mathrm {tan}\left (x\right )}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________