Optimal. Leaf size=76 \[ \frac{\sqrt{2} \sqrt{\frac{2 a+b \sin (2 c+2 d x)}{2 a+b}} \text{EllipticF}\left (c+d x-\frac{\pi }{4},\frac{2 b}{2 a+b}\right )}{d \sqrt{2 a+b \sin (2 c+2 d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0665995, antiderivative size = 76, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.15, Rules used = {2666, 2663, 2661} \[ \frac{\sqrt{2} \sqrt{\frac{2 a+b \sin (2 c+2 d x)}{2 a+b}} F\left (c+d x-\frac{\pi }{4}|\frac{2 b}{2 a+b}\right )}{d \sqrt{2 a+b \sin (2 c+2 d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2666
Rule 2663
Rule 2661
Rubi steps
\begin{align*} \int \frac{1}{\sqrt{a+b \cos (c+d x) \sin (c+d x)}} \, dx &=\int \frac{1}{\sqrt{a+\frac{1}{2} b \sin (2 c+2 d x)}} \, dx\\ &=\frac{\sqrt{\frac{a+\frac{1}{2} b \sin (2 c+2 d x)}{a+\frac{b}{2}}} \int \frac{1}{\sqrt{\frac{a}{a+\frac{b}{2}}+\frac{b \sin (2 c+2 d x)}{2 \left (a+\frac{b}{2}\right )}}} \, dx}{\sqrt{a+\frac{1}{2} b \sin (2 c+2 d x)}}\\ &=\frac{\sqrt{2} F\left (c-\frac{\pi }{4}+d x|\frac{2 b}{2 a+b}\right ) \sqrt{\frac{2 a+b \sin (2 c+2 d x)}{2 a+b}}}{d \sqrt{2 a+b \sin (2 c+2 d x)}}\\ \end{align*}
Mathematica [A] time = 0.140003, size = 70, normalized size = 0.92 \[ \frac{\sqrt{\frac{2 a+b \sin (2 (c+d x))}{2 a+b}} \text{EllipticF}\left (c+d x-\frac{\pi }{4},\frac{2 b}{2 a+b}\right )}{d \sqrt{a+\frac{1}{2} b \sin (2 (c+d x))}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 2.135, size = 165, normalized size = 2.2 \begin{align*} 2\,{\frac{2\,a-b}{b\cos \left ( 2\,dx+2\,c \right ) \sqrt{4\,a+2\,b\sin \left ( 2\,dx+2\,c \right ) }d}\sqrt{{\frac{2\,a+b\sin \left ( 2\,dx+2\,c \right ) }{2\,a-b}}}\sqrt{-{\frac{ \left ( \sin \left ( 2\,dx+2\,c \right ) -1 \right ) b}{2\,a+b}}}\sqrt{-{\frac{ \left ( 1+\sin \left ( 2\,dx+2\,c \right ) \right ) b}{2\,a-b}}}{\it EllipticF} \left ( \sqrt{{\frac{2\,a+b\sin \left ( 2\,dx+2\,c \right ) }{2\,a-b}}},\sqrt{{\frac{2\,a-b}{2\,a+b}}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{1}{\sqrt{b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{a + b \sin{\left (c + d x \right )} \cos{\left (c + d x \right )}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]