Optimal. Leaf size=33 \[ \frac{\csc (a+c) \log (\sin (a+b x))}{b}-\frac{\csc (a+c) \log (\sin (c-b x))}{b} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0184097, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {4611, 3475} \[ \frac{\csc (a+c) \log (\sin (a+b x))}{b}-\frac{\csc (a+c) \log (\sin (c-b x))}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4611
Rule 3475
Rubi steps
\begin{align*} \int \csc (c-b x) \csc (a+b x) \, dx &=\csc (a+c) \int \cot (c-b x) \, dx+\csc (a+c) \int \cot (a+b x) \, dx\\ &=-\frac{\csc (a+c) \log (\sin (c-b x))}{b}+\frac{\csc (a+c) \log (\sin (a+b x))}{b}\\ \end{align*}
Mathematica [A] time = 0.21866, size = 29, normalized size = 0.88 \[ -\frac{\csc (a+c) (\log (\sin (c-b x))-\log (-\sin (a+b x)))}{b} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.232, size = 81, normalized size = 2.5 \begin{align*}{\frac{\ln \left ( \tan \left ( bx+a \right ) \right ) }{b \left ( \sin \left ( a \right ) \cos \left ( c \right ) +\cos \left ( a \right ) \sin \left ( c \right ) \right ) }}-{\frac{\ln \left ( \tan \left ( bx+a \right ) \cos \left ( a \right ) \cos \left ( c \right ) -\tan \left ( bx+a \right ) \sin \left ( a \right ) \sin \left ( c \right ) -\cos \left ( a \right ) \sin \left ( c \right ) -\sin \left ( a \right ) \cos \left ( c \right ) \right ) }{b \left ( \sin \left ( a \right ) \cos \left ( c \right ) +\cos \left ( a \right ) \sin \left ( c \right ) \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.11456, size = 724, normalized size = 21.94 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.66961, size = 270, normalized size = 8.18 \begin{align*} \frac{\log \left (-\frac{1}{4} \, \cos \left (b x + a\right )^{2} + \frac{1}{4}\right ) - \log \left (-\frac{2 \, \cos \left (b x + a\right ) \cos \left (a + c\right ) \sin \left (b x + a\right ) \sin \left (a + c\right ) +{\left (2 \, \cos \left (a + c\right )^{2} - 1\right )} \cos \left (b x + a\right )^{2} - \cos \left (a + c\right )^{2}}{\cos \left (a + c\right )^{2} + 2 \, \cos \left (a + c\right ) + 1}\right )}{2 \, b \sin \left (a + c\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.24936, size = 536, normalized size = 16.24 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]