Optimal. Leaf size=131 \[ \frac {2 \left (a^2+b^2\right ) \sqrt {\frac {a \cos (c+d x)+b \sin (c+d x)}{\sqrt {a^2+b^2}}} F\left (\left .\frac {1}{2} \left (c+d x-\tan ^{-1}(a,b)\right )\right |2\right )}{3 d \sqrt {a \cos (c+d x)+b \sin (c+d x)}}-\frac {2 (b \cos (c+d x)-a \sin (c+d x)) \sqrt {a \cos (c+d x)+b \sin (c+d x)}}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 131, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {3073, 3078, 2641} \[ \frac {2 \left (a^2+b^2\right ) \sqrt {\frac {a \cos (c+d x)+b \sin (c+d x)}{\sqrt {a^2+b^2}}} F\left (\left .\frac {1}{2} \left (c+d x-\tan ^{-1}(a,b)\right )\right |2\right )}{3 d \sqrt {a \cos (c+d x)+b \sin (c+d x)}}-\frac {2 (b \cos (c+d x)-a \sin (c+d x)) \sqrt {a \cos (c+d x)+b \sin (c+d x)}}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2641
Rule 3073
Rule 3078
Rubi steps
\begin {align*} \int (a \cos (c+d x)+b \sin (c+d x))^{3/2} \, dx &=-\frac {2 (b \cos (c+d x)-a \sin (c+d x)) \sqrt {a \cos (c+d x)+b \sin (c+d x)}}{3 d}+\frac {1}{3} \left (a^2+b^2\right ) \int \frac {1}{\sqrt {a \cos (c+d x)+b \sin (c+d x)}} \, dx\\ &=-\frac {2 (b \cos (c+d x)-a \sin (c+d x)) \sqrt {a \cos (c+d x)+b \sin (c+d x)}}{3 d}+\frac {\left (\left (a^2+b^2\right ) \sqrt {\frac {a \cos (c+d x)+b \sin (c+d x)}{\sqrt {a^2+b^2}}}\right ) \int \frac {1}{\sqrt {\cos \left (c+d x-\tan ^{-1}(a,b)\right )}} \, dx}{3 \sqrt {a \cos (c+d x)+b \sin (c+d x)}}\\ &=-\frac {2 (b \cos (c+d x)-a \sin (c+d x)) \sqrt {a \cos (c+d x)+b \sin (c+d x)}}{3 d}+\frac {2 \left (a^2+b^2\right ) F\left (\left .\frac {1}{2} \left (c+d x-\tan ^{-1}(a,b)\right )\right |2\right ) \sqrt {\frac {a \cos (c+d x)+b \sin (c+d x)}{\sqrt {a^2+b^2}}}}{3 d \sqrt {a \cos (c+d x)+b \sin (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 1.29, size = 143, normalized size = 1.09 \[ \frac {2 \left (\frac {\left (a^2+b^2\right ) \tan \left (\tan ^{-1}\left (\frac {a}{b}\right )+c+d x\right ) \sqrt {\cos ^2\left (\tan ^{-1}\left (\frac {a}{b}\right )+c+d x\right )} \, _2F_1\left (\frac {1}{4},\frac {1}{2};\frac {5}{4};\sin ^2\left (c+d x+\tan ^{-1}\left (\frac {a}{b}\right )\right )\right )}{\sqrt {b \sqrt {\frac {a^2}{b^2}+1} \sin \left (\tan ^{-1}\left (\frac {a}{b}\right )+c+d x\right )}}+\sqrt {a \cos (c+d x)+b \sin (c+d x)} (a \sin (c+d x)-b \cos (c+d x))\right )}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.81, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (a \cos \left (d x + c\right ) + b \sin \left (d x + c\right )\right )}^{\frac {3}{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 {\left (a \cos \left (d x + c\right ) + b \sin \left (d x + c\right )\right )}^{\frac {3}{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.37, size = 163, normalized size = 1.24 \[ \frac {\left (a^{2}+b^{2}\right ) \left (\sqrt {1+\sin \left (d x +c -\arctan \left (-a , b\right )\right )}\, \sqrt {-2 \sin \left (d x +c -\arctan \left (-a , b\right )\right )+2}\, \sqrt {-\sin \left (d x +c -\arctan \left (-a , b\right )\right )}\, \EllipticF \left (\sqrt {1+\sin \left (d x +c -\arctan \left (-a , b\right )\right )}, \frac {\sqrt {2}}{2}\right )+2 \left (\sin ^{3}\left (d x +c -\arctan \left (-a , b\right )\right )\right )-2 \sin \left (d x +c -\arctan \left (-a , b\right )\right )\right )}{3 \cos \left (d x +c -\arctan \left (-a , b\right )\right ) \sqrt {\sin \left (d x +c -\arctan \left (-a , b\right )\right ) \sqrt {a^{2}+b^{2}}}\, 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 (a \cos \left (d x + c\right ) + b \sin \left (d x + c\right )\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 {\left (a\,\cos \left (c+d\,x\right )+b\,\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 \cos {\left (c + d x \right )} + b \sin {\left (c + d x \right )}\right )^{\frac {3}{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________