Integrand size = 7, antiderivative size = 7 \[ \int (1+\cos (x)) \csc (x) \, dx=\log (1-\cos (x)) \]
[Out]
Time = 0.02 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {2746, 31} \[ \int (1+\cos (x)) \csc (x) \, dx=\log (1-\cos (x)) \]
[In]
[Out]
Rule 31
Rule 2746
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {1}{1-x} \, dx,x,\cos (x)\right ) \\ & = \log (1-\cos (x)) \\ \end{align*}
Leaf count is larger than twice the leaf count of optimal. \(23\) vs. \(2(7)=14\).
Time = 0.00 (sec) , antiderivative size = 23, normalized size of antiderivative = 3.29 \[ \int (1+\cos (x)) \csc (x) \, dx=-\log \left (\cos \left (\frac {x}{2}\right )\right )+\log (\cos (x))+\log \left (\sin \left (\frac {x}{2}\right )\right )+\log (\tan (x)) \]
[In]
[Out]
Time = 0.44 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.86
method | result | size |
default | \(\ln \left (\sin \left (x \right )\right )+\ln \left (\csc \left (x \right )-\cot \left (x \right )\right )\) | \(13\) |
parts | \(-\ln \left (\csc \left (x \right )\right )-\ln \left (\cot \left (x \right )+\csc \left (x \right )\right )\) | \(15\) |
risch | \(-i x +2 \ln \left ({\mathrm e}^{i x}-1\right )\) | \(16\) |
norman | \(2 \ln \left (\tan \left (\frac {x}{2}\right )\right )-\ln \left (1+\tan \left (\frac {x}{2}\right )^{2}\right )\) | \(20\) |
parallelrisch | \(2 \ln \left (\csc \left (x \right )-\cot \left (x \right )\right )-\ln \left (\frac {2}{\cos \left (x \right )+1}\right )\) | \(23\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.00 \[ \int (1+\cos (x)) \csc (x) \, dx=\log \left (-\frac {1}{2} \, \cos \left (x\right ) + \frac {1}{2}\right ) \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 12 vs. \(2 (5) = 10\).
Time = 0.74 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.71 \[ \int (1+\cos (x)) \csc (x) \, dx=- \log {\left (\cot {\left (x \right )} + \csc {\left (x \right )} \right )} + \log {\left (\sin {\left (x \right )} \right )} \]
[In]
[Out]
none
Time = 0.20 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.71 \[ \int (1+\cos (x)) \csc (x) \, dx=\log \left (\cos \left (x\right ) - 1\right ) \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.00 \[ \int (1+\cos (x)) \csc (x) \, dx=\log \left (-\cos \left (x\right ) + 1\right ) \]
[In]
[Out]
Time = 25.73 (sec) , antiderivative size = 5, normalized size of antiderivative = 0.71 \[ \int (1+\cos (x)) \csc (x) \, dx=\ln \left (\cos \left (x\right )-1\right ) \]
[In]
[Out]