Optimal. Leaf size=159 \[ -\frac {4096 a^5 \cos ^7(c+d x)}{45045 d (a \sin (c+d x)+a)^{7/2}}-\frac {1024 a^4 \cos ^7(c+d x)}{6435 d (a \sin (c+d x)+a)^{5/2}}-\frac {128 a^3 \cos ^7(c+d x)}{715 d (a \sin (c+d x)+a)^{3/2}}-\frac {32 a^2 \cos ^7(c+d x)}{195 d \sqrt {a \sin (c+d x)+a}}-\frac {2 a \cos ^7(c+d x) \sqrt {a \sin (c+d x)+a}}{15 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.30, antiderivative size = 159, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {2674, 2673} \[ -\frac {32 a^2 \cos ^7(c+d x)}{195 d \sqrt {a \sin (c+d x)+a}}-\frac {128 a^3 \cos ^7(c+d x)}{715 d (a \sin (c+d x)+a)^{3/2}}-\frac {1024 a^4 \cos ^7(c+d x)}{6435 d (a \sin (c+d x)+a)^{5/2}}-\frac {4096 a^5 \cos ^7(c+d x)}{45045 d (a \sin (c+d x)+a)^{7/2}}-\frac {2 a \cos ^7(c+d x) \sqrt {a \sin (c+d x)+a}}{15 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2673
Rule 2674
Rubi steps
\begin {align*} \int \cos ^6(c+d x) (a+a \sin (c+d x))^{3/2} \, dx &=-\frac {2 a \cos ^7(c+d x) \sqrt {a+a \sin (c+d x)}}{15 d}+\frac {1}{15} (16 a) \int \cos ^6(c+d x) \sqrt {a+a \sin (c+d x)} \, dx\\ &=-\frac {32 a^2 \cos ^7(c+d x)}{195 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a \cos ^7(c+d x) \sqrt {a+a \sin (c+d x)}}{15 d}+\frac {1}{65} \left (64 a^2\right ) \int \frac {\cos ^6(c+d x)}{\sqrt {a+a \sin (c+d x)}} \, dx\\ &=-\frac {128 a^3 \cos ^7(c+d x)}{715 d (a+a \sin (c+d x))^{3/2}}-\frac {32 a^2 \cos ^7(c+d x)}{195 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a \cos ^7(c+d x) \sqrt {a+a \sin (c+d x)}}{15 d}+\frac {1}{715} \left (512 a^3\right ) \int \frac {\cos ^6(c+d x)}{(a+a \sin (c+d x))^{3/2}} \, dx\\ &=-\frac {1024 a^4 \cos ^7(c+d x)}{6435 d (a+a \sin (c+d x))^{5/2}}-\frac {128 a^3 \cos ^7(c+d x)}{715 d (a+a \sin (c+d x))^{3/2}}-\frac {32 a^2 \cos ^7(c+d x)}{195 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a \cos ^7(c+d x) \sqrt {a+a \sin (c+d x)}}{15 d}+\frac {\left (2048 a^4\right ) \int \frac {\cos ^6(c+d x)}{(a+a \sin (c+d x))^{5/2}} \, dx}{6435}\\ &=-\frac {4096 a^5 \cos ^7(c+d x)}{45045 d (a+a \sin (c+d x))^{7/2}}-\frac {1024 a^4 \cos ^7(c+d x)}{6435 d (a+a \sin (c+d x))^{5/2}}-\frac {128 a^3 \cos ^7(c+d x)}{715 d (a+a \sin (c+d x))^{3/2}}-\frac {32 a^2 \cos ^7(c+d x)}{195 d \sqrt {a+a \sin (c+d x)}}-\frac {2 a \cos ^7(c+d x) \sqrt {a+a \sin (c+d x)}}{15 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.66, size = 79, normalized size = 0.50 \[ -\frac {2 \left (3003 \sin ^4(c+d x)+15708 \sin ^3(c+d x)+33138 \sin ^2(c+d x)+34748 \sin (c+d x)+16363\right ) \cos ^7(c+d x) (a (\sin (c+d x)+1))^{3/2}}{45045 d (\sin (c+d x)+1)^5} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.57, size = 210, normalized size = 1.32 \[ -\frac {2 \, {\left (3003 \, a \cos \left (d x + c\right )^{8} + 6699 \, a \cos \left (d x + c\right )^{7} - 336 \, a \cos \left (d x + c\right )^{6} + 448 \, a \cos \left (d x + c\right )^{5} - 640 \, a \cos \left (d x + c\right )^{4} + 1024 \, a \cos \left (d x + c\right )^{3} - 2048 \, a \cos \left (d x + c\right )^{2} + 8192 \, a \cos \left (d x + c\right ) + {\left (3003 \, a \cos \left (d x + c\right )^{7} - 3696 \, a \cos \left (d x + c\right )^{6} - 4032 \, a \cos \left (d x + c\right )^{5} - 4480 \, a \cos \left (d x + c\right )^{4} - 5120 \, a \cos \left (d x + c\right )^{3} - 6144 \, a \cos \left (d x + c\right )^{2} - 8192 \, a \cos \left (d x + c\right ) - 16384 \, a\right )} \sin \left (d x + c\right ) + 16384 \, a\right )} \sqrt {a \sin \left (d x + c\right ) + a}}{45045 \, {\left (d \cos \left (d x + c\right ) + d \sin \left (d x + c\right ) + d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.34, size = 474, normalized size = 2.98 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.21, size = 87, normalized size = 0.55 \[ -\frac {2 \left (1+\sin \left (d x +c \right )\right ) a^{2} \left (\sin \left (d x +c \right )-1\right )^{4} \left (3003 \left (\sin ^{4}\left (d x +c \right )\right )+15708 \left (\sin ^{3}\left (d x +c \right )\right )+33138 \left (\sin ^{2}\left (d x +c \right )\right )+34748 \sin \left (d x +c \right )+16363\right )}{45045 \cos \left (d x +c \right ) \sqrt {a +a \sin \left (d x +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 (a \sin \left (d x + c\right ) + a\right )}^{\frac {3}{2}} \cos \left (d x + c\right )^{6}\,{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 {\cos \left (c+d\,x\right )}^6\,{\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]
________________________________________________________________________________________