Optimal. Leaf size=143 \[ \frac {2 \sqrt {2} b \cos (2 c+2 d x)}{d \left (4 a^2-b^2\right ) \sqrt {2 a+b \sin (2 c+2 d x)}}+\frac {2 \sqrt {2} \sqrt {2 a+b \sin (2 c+2 d x)} E\left (c+d x-\frac {\pi }{4}|\frac {2 b}{2 a+b}\right )}{d \left (4 a^2-b^2\right ) \sqrt {\frac {2 a+b \sin (2 c+2 d x)}{2 a+b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 143, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2666, 2664, 21, 2655, 2653} \[ \frac {2 \sqrt {2} b \cos (2 c+2 d x)}{d \left (4 a^2-b^2\right ) \sqrt {2 a+b \sin (2 c+2 d x)}}+\frac {2 \sqrt {2} \sqrt {2 a+b \sin (2 c+2 d x)} E\left (c+d x-\frac {\pi }{4}|\frac {2 b}{2 a+b}\right )}{d \left (4 a^2-b^2\right ) \sqrt {\frac {2 a+b \sin (2 c+2 d x)}{2 a+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 2653
Rule 2655
Rule 2664
Rule 2666
Rubi steps
\begin {align*} \int \frac {1}{(a+b \cos (c+d x) \sin (c+d x))^{3/2}} \, dx &=\int \frac {1}{\left (a+\frac {1}{2} b \sin (2 c+2 d x)\right )^{3/2}} \, dx\\ &=\frac {2 \sqrt {2} b \cos (2 c+2 d x)}{\left (4 a^2-b^2\right ) d \sqrt {2 a+b \sin (2 c+2 d x)}}-\frac {8 \int \frac {-\frac {a}{2}-\frac {1}{4} b \sin (2 c+2 d x)}{\sqrt {a+\frac {1}{2} b \sin (2 c+2 d x)}} \, dx}{4 a^2-b^2}\\ &=\frac {2 \sqrt {2} b \cos (2 c+2 d x)}{\left (4 a^2-b^2\right ) d \sqrt {2 a+b \sin (2 c+2 d x)}}+\frac {4 \int \sqrt {a+\frac {1}{2} b \sin (2 c+2 d x)} \, dx}{4 a^2-b^2}\\ &=\frac {2 \sqrt {2} b \cos (2 c+2 d x)}{\left (4 a^2-b^2\right ) d \sqrt {2 a+b \sin (2 c+2 d x)}}+\frac {\left (4 \sqrt {a+\frac {1}{2} b \sin (2 c+2 d x)}\right ) \int \sqrt {\frac {a}{a+\frac {b}{2}}+\frac {b \sin (2 c+2 d x)}{2 \left (a+\frac {b}{2}\right )}} \, dx}{\left (4 a^2-b^2\right ) \sqrt {\frac {a+\frac {1}{2} b \sin (2 c+2 d x)}{a+\frac {b}{2}}}}\\ &=\frac {2 \sqrt {2} b \cos (2 c+2 d x)}{\left (4 a^2-b^2\right ) d \sqrt {2 a+b \sin (2 c+2 d x)}}+\frac {2 \sqrt {2} E\left (c-\frac {\pi }{4}+d x|\frac {2 b}{2 a+b}\right ) \sqrt {2 a+b \sin (2 c+2 d x)}}{\left (4 a^2-b^2\right ) d \sqrt {\frac {2 a+b \sin (2 c+2 d x)}{2 a+b}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.42, size = 101, normalized size = 0.71 \[ \frac {2 \left ((2 a+b) \sqrt {\frac {2 a+b \sin (2 (c+d x))}{2 a+b}} E\left (c+d x-\frac {\pi }{4}|\frac {2 b}{2 a+b}\right )+b \cos (2 (c+d x))\right )}{d \left (4 a^2-b^2\right ) \sqrt {a+\frac {1}{2} b \sin (2 (c+d x))}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.55, size = 0, normalized size = 0.00 \[ {\rm integral}\left (-\frac {\sqrt {b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a}}{b^{2} \cos \left (d x + c\right )^{4} - b^{2} \cos \left (d x + c\right )^{2} - 2 \, a b \cos \left (d x + c\right ) \sin \left (d x + c\right ) - a^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.50, size = 570, normalized size = 3.99 \[ \frac {16 a^{2} \sqrt {\frac {2 a +b \sin \left (2 d x +2 c \right )}{2 a -b}}\, \sqrt {-\frac {\left (\sin \left (2 d x +2 c \right )-1\right ) b}{2 a +b}}\, \sqrt {-\frac {\left (1+\sin \left (2 d x +2 c \right )\right ) b}{2 a -b}}\, \EllipticF \left (\sqrt {\frac {2 a +b \sin \left (2 d x +2 c \right )}{2 a -b}}, \sqrt {\frac {2 a -b}{2 a +b}}\right )-4 \sqrt {\frac {2 a +b \sin \left (2 d x +2 c \right )}{2 a -b}}\, \EllipticF \left (\sqrt {\frac {2 a +b \sin \left (2 d x +2 c \right )}{2 a -b}}, \sqrt {\frac {2 a -b}{2 a +b}}\right ) \sqrt {-\frac {\left (\sin \left (2 d x +2 c \right )-1\right ) b}{2 a +b}}\, \sqrt {-\frac {\left (1+\sin \left (2 d x +2 c \right )\right ) b}{2 a -b}}\, b^{2}-16 \sqrt {\frac {2 a +b \sin \left (2 d x +2 c \right )}{2 a -b}}\, \EllipticE \left (\sqrt {\frac {2 a +b \sin \left (2 d x +2 c \right )}{2 a -b}}, \sqrt {\frac {2 a -b}{2 a +b}}\right ) \sqrt {-\frac {\left (\sin \left (2 d x +2 c \right )-1\right ) b}{2 a +b}}\, \sqrt {-\frac {\left (1+\sin \left (2 d x +2 c \right )\right ) b}{2 a -b}}\, a^{2}+4 \sqrt {\frac {2 a +b \sin \left (2 d x +2 c \right )}{2 a -b}}\, \EllipticE \left (\sqrt {\frac {2 a +b \sin \left (2 d x +2 c \right )}{2 a -b}}, \sqrt {\frac {2 a -b}{2 a +b}}\right ) \sqrt {-\frac {\left (\sin \left (2 d x +2 c \right )-1\right ) b}{2 a +b}}\, \sqrt {-\frac {\left (1+\sin \left (2 d x +2 c \right )\right ) b}{2 a -b}}\, b^{2}-4 b^{2} \left (\sin ^{2}\left (2 d x +2 c \right )\right )+4 b^{2}}{b \left (4 a^{2}-b^{2}\right ) \cos \left (2 d x +2 c \right ) \sqrt {4 a +2 b \sin \left (2 d x +2 c \right )}\, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{{\left (a+b\,\cos \left (c+d\,x\right )\,\sin \left (c+d\,x\right )\right )}^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (a + b \sin {\left (c + d x \right )} \cos {\left (c + d x \right )}\right )^{\frac {3}{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________