Optimal. Leaf size=14 \[ \sqrt{\sin ^2(x)+1} (-\csc (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0765542, antiderivative size = 14, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.067, Rules used = {264} \[ \sqrt{\sin ^2(x)+1} (-\csc (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 264
Rubi steps
\begin{align*} \int \frac{\cot (x) \csc (x)}{\sqrt{1+\sin ^2(x)}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{x^2 \sqrt{1+x^2}} \, dx,x,\sin (x)\right )\\ &=-\csc (x) \sqrt{1+\sin ^2(x)}\\ \end{align*}
Mathematica [A] time = 0.01771, size = 14, normalized size = 1. \[ \sqrt{\sin ^2(x)+1} (-\csc (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.463, size = 15, normalized size = 1.1 \begin{align*} -{\frac{1}{\sin \left ( x \right ) }\sqrt{1+ \left ( \sin \left ( x \right ) \right ) ^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.44459, size = 19, normalized size = 1.36 \begin{align*} -\frac{\sqrt{\sin \left (x\right )^{2} + 1}}{\sin \left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.12135, size = 54, normalized size = 3.86 \begin{align*} -\frac{\sqrt{-\cos \left (x\right )^{2} + 2} - \sin \left (x\right )}{\sin \left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\cot{\left (x \right )} \csc{\left (x \right )}}{\sqrt{\sin ^{2}{\left (x \right )} + 1}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09895, size = 28, normalized size = 2. \begin{align*} \frac{2}{{\left (\sqrt{\sin \left (x\right )^{2} + 1} - \sin \left (x\right )\right )}^{2} - 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]