Optimal. Leaf size=73 \[ \frac {2 (a \sin (c+d x)+a)^{7/2}}{7 a^5 d}-\frac {8 (a \sin (c+d x)+a)^{5/2}}{5 a^4 d}+\frac {8 (a \sin (c+d x)+a)^{3/2}}{3 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)^{7/2}}{7 a^5 d}-\frac {8 (a \sin (c+d x)+a)^{5/2}}{5 a^4 d}+\frac {8 (a \sin (c+d x)+a)^{3/2}}{3 a^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rule 2667
Rubi steps
\begin {align*} \int \frac {\cos ^5(c+d x)}{(a+a \sin (c+d x))^{3/2}} \, dx &=\frac {\operatorname {Subst}\left (\int (a-x)^2 \sqrt {a+x} \, dx,x,a \sin (c+d x)\right )}{a^5 d}\\ &=\frac {\operatorname {Subst}\left (\int \left (4 a^2 \sqrt {a+x}-4 a (a+x)^{3/2}+(a+x)^{5/2}\right ) \, dx,x,a \sin (c+d x)\right )}{a^5 d}\\ &=\frac {8 (a+a \sin (c+d x))^{3/2}}{3 a^3 d}-\frac {8 (a+a \sin (c+d x))^{5/2}}{5 a^4 d}+\frac {2 (a+a \sin (c+d x))^{7/2}}{7 a^5 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.10, size = 44, normalized size = 0.60 \[ \frac {2 \left (15 \sin ^2(c+d x)-54 \sin (c+d x)+71\right ) (a (\sin (c+d x)+1))^{3/2}}{105 a^3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.73, size = 52, normalized size = 0.71 \[ \frac {2 \, {\left (39 \, \cos \left (d x + c\right )^{2} - {\left (15 \, \cos \left (d x + c\right )^{2} - 32\right )} \sin \left (d x + c\right ) + 32\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{105 \, a^{2} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 2.21, size = 250, normalized size = 3.42 \[ \frac {2 \, {\left ({\left ({\left ({\left ({\left ({\left ({\left (\frac {71 \, a^{2} \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 {105 \, a^{2}}{\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 ) + \frac {91 \, a^{2}}{\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 ) + \frac {245 \, a^{2}}{\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 ) + \frac {245 \, a^{2}}{\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 ) + \frac {91 \, a^{2}}{\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 ) + \frac {105 \, a^{2}}{\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 ) + \frac {71 \, a^{2}}{\mathrm {sgn}\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) + 1\right )}\right )}}{105 \, {\left (a \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a\right )}^{\frac {7}{2}} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.16, size = 41, normalized size = 0.56 \[ -\frac {2 \left (a +a \sin \left (d x +c \right )\right )^{\frac {3}{2}} \left (15 \left (\cos ^{2}\left (d x +c \right )\right )+54 \sin \left (d x +c \right )-86\right )}{105 a^{3} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.41, size = 55, normalized size = 0.75 \[ \frac {2 \, {\left (15 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {7}{2}} - 84 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {5}{2}} a + 140 \, {\left (a \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} a^{2}\right )}}{105 \, a^{5} 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}{{\left (a+a\,\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(-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]
________________________________________________________________________________________