Optimal. Leaf size=212 \[ -\frac {\left (4 a^2-b^2\right ) \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 )}{6 \sqrt {2} d \sqrt {2 a+b \sin (2 c+2 d x)}}-\frac {b \cos (2 c+2 d x) \sqrt {2 a+b \sin (2 c+2 d x)}}{6 \sqrt {2} d}+\frac {2 \sqrt {2} a \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 )}{3 d \sqrt {\frac {2 a+b \sin (2 c+2 d x)}{2 a+b}}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.22, antiderivative size = 212, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {2666, 2656, 2752, 2663, 2661, 2655, 2653} \[ -\frac {\left (4 a^2-b^2\right ) \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 )}{6 \sqrt {2} d \sqrt {2 a+b \sin (2 c+2 d x)}}-\frac {b \cos (2 c+2 d x) \sqrt {2 a+b \sin (2 c+2 d x)}}{6 \sqrt {2} d}+\frac {2 \sqrt {2} a \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 )}{3 d \sqrt {\frac {2 a+b \sin (2 c+2 d x)}{2 a+b}}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2653
Rule 2655
Rule 2656
Rule 2661
Rule 2663
Rule 2666
Rule 2752
Rubi steps
\begin {align*} \int (a+b \cos (c+d x) \sin (c+d x))^{3/2} \, dx &=\int \left (a+\frac {1}{2} b \sin (2 c+2 d x)\right )^{3/2} \, dx\\ &=-\frac {b \cos (2 c+2 d x) \sqrt {2 a+b \sin (2 c+2 d x)}}{6 \sqrt {2} d}+\frac {2}{3} \int \frac {\frac {1}{8} \left (12 a^2+b^2\right )+a b \sin (2 c+2 d x)}{\sqrt {a+\frac {1}{2} b \sin (2 c+2 d x)}} \, dx\\ &=-\frac {b \cos (2 c+2 d x) \sqrt {2 a+b \sin (2 c+2 d x)}}{6 \sqrt {2} d}+\frac {1}{3} (4 a) \int \sqrt {a+\frac {1}{2} b \sin (2 c+2 d x)} \, dx+\frac {1}{12} \left (-4 a^2+b^2\right ) \int \frac {1}{\sqrt {a+\frac {1}{2} b \sin (2 c+2 d x)}} \, dx\\ &=-\frac {b \cos (2 c+2 d x) \sqrt {2 a+b \sin (2 c+2 d x)}}{6 \sqrt {2} d}+\frac {\left (4 a \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}{3 \sqrt {\frac {a+\frac {1}{2} b \sin (2 c+2 d x)}{a+\frac {b}{2}}}}+\frac {\left (\left (-4 a^2+b^2\right ) \sqrt {\frac {a+\frac {1}{2} b \sin (2 c+2 d x)}{a+\frac {b}{2}}}\right ) \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}{12 \sqrt {a+\frac {1}{2} b \sin (2 c+2 d x)}}\\ &=-\frac {b \cos (2 c+2 d x) \sqrt {2 a+b \sin (2 c+2 d x)}}{6 \sqrt {2} d}+\frac {2 \sqrt {2} a 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)}}{3 d \sqrt {\frac {2 a+b \sin (2 c+2 d x)}{2 a+b}}}-\frac {\left (4 a^2-b^2\right ) 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}}}{6 \sqrt {2} d \sqrt {2 a+b \sin (2 c+2 d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 1.46, size = 167, normalized size = 0.79 \[ \frac {-\left (4 a^2-b^2\right ) \sqrt {\frac {2 a+b \sin (2 (c+d x))}{2 a+b}} F\left (c+d x-\frac {\pi }{4}|\frac {2 b}{2 a+b}\right )-b \cos (2 (c+d x)) (2 a+b \sin (2 (c+d x)))+8 a (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 )}{6 d \sqrt {4 a+2 b \sin (2 (c+d x))}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 2.98, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.44, size = 844, normalized size = 3.98 \[ \frac {24 a^{3} \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}}\, a^{2} b -6 \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 ) b^{2} a -\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 ) b^{3}-32 \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^{3}+8 \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 \,b^{2}+b^{3} \left (\sin ^{3}\left (2 d x +2 c \right )\right )+2 a \,b^{2} \left (\sin ^{2}\left (2 d x +2 c \right )\right )-\sin \left (2 d x +2 c \right ) b^{3}-2 a \,b^{2}}{6 b \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 {\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.00 \[ \int {\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 \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]
________________________________________________________________________________________