Optimal. Leaf size=21 \[ \frac{2}{7} \cos ^{\frac{7}{2}}(x)-\frac{2}{3} \cos ^{\frac{3}{2}}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0224993, antiderivative size = 21, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {2565, 14} \[ \frac{2}{7} \cos ^{\frac{7}{2}}(x)-\frac{2}{3} \cos ^{\frac{3}{2}}(x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2565
Rule 14
Rubi steps
\begin{align*} \int \sqrt{\cos (x)} \sin ^3(x) \, dx &=-\operatorname{Subst}\left (\int \sqrt{x} \left (1-x^2\right ) \, dx,x,\cos (x)\right )\\ &=-\operatorname{Subst}\left (\int \left (\sqrt{x}-x^{5/2}\right ) \, dx,x,\cos (x)\right )\\ &=-\frac{2}{3} \cos ^{\frac{3}{2}}(x)+\frac{2}{7} \cos ^{\frac{7}{2}}(x)\\ \end{align*}
Mathematica [A] time = 0.0634669, size = 34, normalized size = 1.62 \[ \frac{(3 \cos (2 x)-11) \cos ^2(x)+8 \sqrt [4]{\cos ^2(x)}}{21 \sqrt{\cos (x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.033, size = 39, normalized size = 1.9 \begin{align*} -{\frac{8}{21}\sqrt{-2\, \left ( \sin \left ( x/2 \right ) \right ) ^{2}+1} \left ( 6\, \left ( \sin \left ( x/2 \right ) \right ) ^{6}-9\, \left ( \sin \left ( x/2 \right ) \right ) ^{4}+ \left ( \sin \left ({\frac{x}{2}} \right ) \right ) ^{2}+1 \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.929643, size = 18, normalized size = 0.86 \begin{align*} \frac{2}{7} \, \cos \left (x\right )^{\frac{7}{2}} - \frac{2}{3} \, \cos \left (x\right )^{\frac{3}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.06191, size = 58, normalized size = 2.76 \begin{align*} \frac{2}{21} \,{\left (3 \, \cos \left (x\right )^{3} - 7 \, \cos \left (x\right )\right )} \sqrt{\cos \left (x\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.05324, size = 18, normalized size = 0.86 \begin{align*} \frac{2}{7} \, \cos \left (x\right )^{\frac{7}{2}} - \frac{2}{3} \, \cos \left (x\right )^{\frac{3}{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]