Integrand size = 7, antiderivative size = 14 \[ \int \frac {1}{(\cot (x)+\csc (x))^3} \, dx=\frac {2}{1+\cos (x)}+\log (1+\cos (x)) \]
[Out]
Time = 0.06 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.429, Rules used = {4477, 2746, 45} \[ \int \frac {1}{(\cot (x)+\csc (x))^3} \, dx=\frac {2}{\cos (x)+1}+\log (\cos (x)+1) \]
[In]
[Out]
Rule 45
Rule 2746
Rule 4477
Rubi steps \begin{align*} \text {integral}& = \int \frac {\sin ^3(x)}{(1+\cos (x))^3} \, dx \\ & = -\text {Subst}\left (\int \frac {1-x}{(1+x)^2} \, dx,x,\cos (x)\right ) \\ & = -\text {Subst}\left (\int \left (\frac {1}{-1-x}+\frac {2}{(1+x)^2}\right ) \, dx,x,\cos (x)\right ) \\ & = \frac {2}{1+\cos (x)}+\log (1+\cos (x)) \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.29 \[ \int \frac {1}{(\cot (x)+\csc (x))^3} \, dx=2 \log \left (\cos \left (\frac {x}{2}\right )\right )+\sec ^2\left (\frac {x}{2}\right ) \]
[In]
[Out]
Time = 0.81 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.07
method | result | size |
default | \(\frac {2}{\cos \left (x \right )+1}+\ln \left (\cos \left (x \right )+1\right )\) | \(15\) |
risch | \(-i x +\frac {4 \,{\mathrm e}^{i x}}{\left ({\mathrm e}^{i x}+1\right )^{2}}+2 \ln \left ({\mathrm e}^{i x}+1\right )\) | \(32\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 21, normalized size of antiderivative = 1.50 \[ \int \frac {1}{(\cot (x)+\csc (x))^3} \, dx=\frac {{\left (\cos \left (x\right ) + 1\right )} \log \left (\frac {1}{2} \, \cos \left (x\right ) + \frac {1}{2}\right ) + 2}{\cos \left (x\right ) + 1} \]
[In]
[Out]
\[ \int \frac {1}{(\cot (x)+\csc (x))^3} \, dx=\int \frac {1}{\left (\cot {\left (x \right )} + \csc {\left (x \right )}\right )^{3}}\, dx \]
[In]
[Out]
none
Time = 0.33 (sec) , antiderivative size = 28, normalized size of antiderivative = 2.00 \[ \int \frac {1}{(\cot (x)+\csc (x))^3} \, dx=\frac {\sin \left (x\right )^{2}}{{\left (\cos \left (x\right ) + 1\right )}^{2}} - \log \left (\frac {\sin \left (x\right )^{2}}{{\left (\cos \left (x\right ) + 1\right )}^{2}} + 1\right ) \]
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.00 \[ \int \frac {1}{(\cot (x)+\csc (x))^3} \, dx=\frac {2}{\cos \left (x\right ) + 1} + \log \left (\cos \left (x\right ) + 1\right ) \]
[In]
[Out]
Time = 29.13 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.29 \[ \int \frac {1}{(\cot (x)+\csc (x))^3} \, dx={\mathrm {tan}\left (\frac {x}{2}\right )}^2-\ln \left ({\mathrm {tan}\left (\frac {x}{2}\right )}^2+1\right ) \]
[In]
[Out]