Optimal. Leaf size=14 \[ -\frac{1}{2} \cot ^2(x)-\log (\sin (x)) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0075916, antiderivative size = 14, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 4, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.5, Rules used = {3473, 3475} \[ -\frac{1}{2} \cot ^2(x)-\log (\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3473
Rule 3475
Rubi steps
\begin{align*} \int \cot ^3(x) \, dx &=-\frac{1}{2} \cot ^2(x)-\int \cot (x) \, dx\\ &=-\frac{1}{2} \cot ^2(x)-\log (\sin (x))\\ \end{align*}
Mathematica [A] time = 0.0029982, size = 14, normalized size = 1. \[ -\frac{1}{2} \csc ^2(x)-\log (\sin (x)) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 22, normalized size = 1.6 \begin{align*}{\frac{\ln \left ( \left ( \tan \left ( x \right ) \right ) ^{2}+1 \right ) }{2}}-{\frac{1}{2\, \left ( \tan \left ( x \right ) \right ) ^{2}}}-\ln \left ( \tan \left ( x \right ) \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.929571, size = 19, normalized size = 1.36 \begin{align*} -\frac{1}{2 \, \sin \left (x\right )^{2}} - \frac{1}{2} \, \log \left (\sin \left (x\right )^{2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.66543, size = 95, normalized size = 6.79 \begin{align*} -\frac{\log \left (\frac{\tan \left (x\right )^{2}}{\tan \left (x\right )^{2} + 1}\right ) \tan \left (x\right )^{2} + \tan \left (x\right )^{2} + 1}{2 \, \tan \left (x\right )^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.090889, size = 14, normalized size = 1. \begin{align*} - \log{\left (\sin{\left (x \right )} \right )} - \frac{1}{2 \sin ^{2}{\left (x \right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.12662, size = 39, normalized size = 2.79 \begin{align*} \frac{\tan \left (x\right )^{2} - 1}{2 \, \tan \left (x\right )^{2}} + \frac{1}{2} \, \log \left (\tan \left (x\right )^{2} + 1\right ) - \frac{1}{2} \, \log \left (\tan \left (x\right )^{2}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]