Optimal. Leaf size=73 \[ \frac {2 (a \sin (c+d x)+a)^{9/2}}{9 a^5 d}-\frac {8 (a \sin (c+d x)+a)^{7/2}}{7 a^4 d}+\frac {8 (a \sin (c+d x)+a)^{5/2}}{5 a^3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.07, antiderivative size = 73, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2667, 43} \[ \frac {2 (a \sin (c+d x)+a)^{9/2}}{9 a^5 d}-\frac {8 (a \sin (c+d x)+a)^{7/2}}{7 a^4 d}+\frac {8 (a \sin (c+d x)+a)^{5/2}}{5 a^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2667
Rubi steps
\begin {align*} \int \frac {\cos ^5(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx &=\frac {\operatorname {Subst}\left (\int (a-x)^2 (a+x)^{3/2} \, dx,x,a \sin (c+d x)\right )}{a^5 d}\\ &=\frac {\operatorname {Subst}\left (\int \left (4 a^2 (a+x)^{3/2}-4 a (a+x)^{5/2}+(a+x)^{7/2}\right ) \, dx,x,a \sin (c+d x)\right )}{a^5 d}\\ &=\frac {8 (a+a \sin (c+d x))^{5/2}}{5 a^3 d}-\frac {8 (a+a \sin (c+d x))^{7/2}}{7 a^4 d}+\frac {2 (a+a \sin (c+d x))^{9/2}}{9 a^5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.14, size = 51, normalized size = 0.70 \[ \frac {2 (\sin (c+d x)+1)^3 \left (35 \sin ^2(c+d x)-110 \sin (c+d x)+107\right )}{315 d \sqrt {a (\sin (c+d x)+1)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.81, size = 62, normalized size = 0.85 \[ \frac {2 \, {\left (35 \, \cos \left (d x + c\right )^{4} + 8 \, \cos \left (d x + c\right )^{2} + 8 \, {\left (5 \, \cos \left (d x + c\right )^{2} + 8\right )} \sin \left (d x + c\right ) + 64\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{315 \, a d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.59, size = 310, normalized size = 4.25 \[ \frac {2 \, {\left (\frac {107 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + {\left (\frac {315 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + {\left (\frac {324 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + {\left (\frac {420 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + {\left (\frac {882 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + {\left (\frac {882 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + {\left (\frac {420 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + {\left (\frac {324 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + {\left (\frac {107 \, a^{4} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )} + \frac {315 \, a^{4}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )}\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )}}{315 \, {\left (a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a\right )}^{\frac {9}{2}} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.15, size = 41, normalized size = 0.56 \[ -\frac {2 \left (a +a \sin \left (d x +c \right )\right )^{\frac {5}{2}} \left (35 \left (\cos ^{2}\left (d x +c \right )\right )+110 \sin \left (d x +c \right )-142\right )}{315 a^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.72, size = 160, normalized size = 2.19 \[ \frac {2 \, {\left (315 \, \sqrt {a \sin \left (d x + c\right ) + a} - \frac {42 \, {\left (3 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {5}{2}} - 10 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {a \sin \left (d x + c\right ) + a} a^{2}\right )}}{a^{2}} + \frac {35 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {9}{2}} - 180 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {7}{2}} a + 378 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {5}{2}} a^{2} - 420 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} a^{3} + 315 \, \sqrt {a \sin \left (d x + c\right ) + a} a^{4}}{a^{4}}\right )}}{315 \, a d} \]
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 {{\cos \left (c+d\,x\right )}^5}{\sqrt {a+a\,\sin \left (c+d\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [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]
________________________________________________________________________________________