Integrand size = 12, antiderivative size = 12 \[ \int \frac {\sin (x)}{a-b \cos (x)} \, dx=\frac {\log (a-b \cos (x))}{b} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 12, 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.167, Rules used = {2747, 31} \[ \int \frac {\sin (x)}{a-b \cos (x)} \, dx=\frac {\log (a-b \cos (x))}{b} \]
[In]
[Out]
Rule 31
Rule 2747
Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {1}{a+x} \, dx,x,-b \cos (x)\right )}{b} \\ & = \frac {\log (a-b \cos (x))}{b} \\ \end{align*}
Time = 0.05 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int \frac {\sin (x)}{a-b \cos (x)} \, dx=\frac {\log (a-b \cos (x))}{b} \]
[In]
[Out]
Time = 0.24 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.08
method | result | size |
derivativedivides | \(\frac {\ln \left (a -b \cos \left (x \right )\right )}{b}\) | \(13\) |
default | \(\frac {\ln \left (a -b \cos \left (x \right )\right )}{b}\) | \(13\) |
parallelrisch | \(\frac {-\ln \left (\frac {1}{\cos \left (x \right )+1}\right )+\ln \left (\frac {a -b \cos \left (x \right )}{\cos \left (x \right )+1}\right )}{b}\) | \(30\) |
risch | \(-\frac {i x}{b}+\frac {\ln \left ({\mathrm e}^{2 i x}-\frac {2 a \,{\mathrm e}^{i x}}{b}+1\right )}{b}\) | \(32\) |
norman | \(\frac {\ln \left (a \left (\tan ^{2}\left (\frac {x}{2}\right )\right )+b \left (\tan ^{2}\left (\frac {x}{2}\right )\right )+a -b \right )}{b}-\frac {\ln \left (1+\tan ^{2}\left (\frac {x}{2}\right )\right )}{b}\) | \(42\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int \frac {\sin (x)}{a-b \cos (x)} \, dx=\frac {\log \left (-b \cos \left (x\right ) + a\right )}{b} \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.25 \[ \int \frac {\sin (x)}{a-b \cos (x)} \, dx=\begin {cases} \frac {\log {\left (- \frac {a}{b} + \cos {\left (x \right )} \right )}}{b} & \text {for}\: b \neq 0 \\- \frac {\cos {\left (x \right )}}{a} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.08 \[ \int \frac {\sin (x)}{a-b \cos (x)} \, dx=\frac {\log \left (b \cos \left (x\right ) - a\right )}{b} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.17 \[ \int \frac {\sin (x)}{a-b \cos (x)} \, dx=\frac {\log \left ({\left | b \cos \left (x\right ) - a \right |}\right )}{b} \]
[In]
[Out]
Time = 0.22 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.08 \[ \int \frac {\sin (x)}{a-b \cos (x)} \, dx=\frac {\ln \left (b\,\cos \left (x\right )-a\right )}{b} \]
[In]
[Out]