Optimal. Leaf size=8 \[ -\frac {1}{2} \csc ^2(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {2686, 30}
\begin {gather*} -\frac {1}{2} \csc ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 2686
Rubi steps
\begin {align*} \int \cot (x) \csc ^2(x) \, dx &=-\text {Subst}(\int x \, dx,x,\csc (x))\\ &=-\frac {1}{2} \csc ^2(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 8, normalized size = 1.00 \begin {gather*} -\frac {1}{2} \csc ^2(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 7, normalized size = 0.88
method | result | size |
derivativedivides | \(-\frac {1}{2 \sin \left (x \right )^{2}}\) | \(7\) |
default | \(-\frac {1}{2 \sin \left (x \right )^{2}}\) | \(7\) |
risch | \(\frac {2 \,{\mathrm e}^{2 i x}}{\left ({\mathrm e}^{2 i x}-1\right )^{2}}\) | \(17\) |
norman | \(\frac {-\frac {1}{8}-\frac {\left (\tan ^{4}\left (\frac {x}{2}\right )\right )}{8}}{\tan \left (\frac {x}{2}\right )^{2}}\) | \(18\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 4.89, size = 6, normalized size = 0.75 \begin {gather*} -\frac {1}{2 \, \sin \left (x\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.70, size = 10, normalized size = 1.25 \begin {gather*} \frac {1}{2 \, {\left (\cos \left (x\right )^{2} - 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.03, size = 8, normalized size = 1.00 \begin {gather*} - \frac {1}{2 \sin ^{2}{\left (x \right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.69, size = 6, normalized size = 0.75 \begin {gather*} -\frac {1}{2 \, \sin \left (x\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.42, size = 6, normalized size = 0.75 \begin {gather*} -\frac {{\mathrm {cot}\left (x\right )}^2}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________