Integrand size = 20, antiderivative size = 212 \[ \int (a+b \cos (c+d x) \sin (c+d x))^{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 \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 ) \operatorname {EllipticF}\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)}} \]
[Out]
Time = 0.27 (sec) , antiderivative size = 212, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.350, Rules used = {2745, 2735, 2831, 2742, 2740, 2734, 2732} \[ \int (a+b \cos (c+d x) \sin (c+d x))^{3/2} \, dx=-\frac {\left (4 a^2-b^2\right ) \sqrt {\frac {2 a+b \sin (2 c+2 d x)}{2 a+b}} \operatorname {EllipticF}\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}}} \]
[In]
[Out]
Rule 2732
Rule 2734
Rule 2735
Rule 2740
Rule 2742
Rule 2745
Rule 2831
Rubi steps \begin{align*} \text {integral}& = \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 ) \operatorname {EllipticF}\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*}
Time = 2.03 (sec) , antiderivative size = 167, normalized size of antiderivative = 0.79 \[ \int (a+b \cos (c+d x) \sin (c+d x))^{3/2} \, dx=\frac {-b \cos (2 (c+d x)) (2 a+b \sin (2 (c+d x)))+8 a (2 a+b) E\left (c-\frac {\pi }{4}+d x|\frac {2 b}{2 a+b}\right ) \sqrt {\frac {2 a+b \sin (2 (c+d x))}{2 a+b}}-\left (4 a^2-b^2\right ) \operatorname {EllipticF}\left (c-\frac {\pi }{4}+d x,\frac {2 b}{2 a+b}\right ) \sqrt {\frac {2 a+b \sin (2 (c+d x))}{2 a+b}}}{6 d \sqrt {4 a+2 b \sin (2 (c+d x))}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(843\) vs. \(2(246)=492\).
Time = 1.57 (sec) , antiderivative size = 844, normalized size of antiderivative = 3.98
method | result | size |
default | \(\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}}\, \operatorname {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 \operatorname {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 {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}}\, 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}}\, \operatorname {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}}\, \operatorname {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 \operatorname {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 {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}}\, a^{3}+8 \operatorname {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 {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}}\, a \,b^{2}+\sin \left (2 d x +2 c \right )^{3} b^{3}+2 \sin \left (2 d x +2 c \right )^{2} a \,b^{2}-\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}\) | \(844\) |
[In]
[Out]
\[ \int (a+b \cos (c+d x) \sin (c+d x))^{3/2} \, dx=\int { {\left (b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} \,d x } \]
[In]
[Out]
\[ \int (a+b \cos (c+d x) \sin (c+d x))^{3/2} \, dx=\int \left (a + b \sin {\left (c + d x \right )} \cos {\left (c + d x \right )}\right )^{\frac {3}{2}}\, dx \]
[In]
[Out]
\[ \int (a+b \cos (c+d x) \sin (c+d x))^{3/2} \, dx=\int { {\left (b \cos \left (d x + c\right ) \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int (a+b \cos (c+d x) \sin (c+d x))^{3/2} \, dx=\text {Timed out} \]
[In]
[Out]
Timed out. \[ \int (a+b \cos (c+d x) \sin (c+d x))^{3/2} \, dx=\int {\left (a+b\,\cos \left (c+d\,x\right )\,\sin \left (c+d\,x\right )\right )}^{3/2} \,d x \]
[In]
[Out]