Optimal. Leaf size=21 \[ \frac {2}{3} \sin ^{\frac {3}{2}}(x)-\frac {2}{7} \sin ^{\frac {7}{2}}(x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 21, normalized size of antiderivative = 1.00, 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 = {2644, 14}
\begin {gather*} \frac {2}{3} \sin ^{\frac {3}{2}}(x)-\frac {2}{7} \sin ^{\frac {7}{2}}(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 2644
Rubi steps
\begin {align*} \int \cos ^3(x) \sqrt {\sin (x)} \, dx &=\text {Subst}\left (\int \sqrt {x} \left (1-x^2\right ) \, dx,x,\sin (x)\right )\\ &=\text {Subst}\left (\int \left (\sqrt {x}-x^{5/2}\right ) \, dx,x,\sin (x)\right )\\ &=\frac {2}{3} \sin ^{\frac {3}{2}}(x)-\frac {2}{7} \sin ^{\frac {7}{2}}(x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 18, normalized size = 0.86 \begin {gather*} \frac {1}{21} (11+3 \cos (2 x)) \sin ^{\frac {3}{2}}(x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [A]
time = 8.35, size = 17, normalized size = 0.81 \begin {gather*} \frac {\left (6 \text {Sin}\left [3 x\right ]+38 \text {Sin}\left [x\right ]\right ) \sqrt {\text {Sin}\left [x\right ]}}{84} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 14, normalized size = 0.67
method | result | size |
default | \(\frac {2 \left (\sin ^{\frac {3}{2}}\left (x \right )\right )}{3}-\frac {2 \left (\sin ^{\frac {7}{2}}\left (x \right )\right )}{7}\) | \(14\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.26, size = 13, normalized size = 0.62 \begin {gather*} -\frac {2}{7} \, \sin \left (x\right )^{\frac {7}{2}} + \frac {2}{3} \, \sin \left (x\right )^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.34, size = 14, normalized size = 0.67 \begin {gather*} \frac {2}{21} \, {\left (3 \, \cos \left (x\right )^{2} + 4\right )} \sin \left (x\right )^{\frac {3}{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 170 vs.
\(2 (19) = 38\)
time = 4.87, size = 170, normalized size = 8.10 \begin {gather*} \frac {28 \sqrt {2} \sqrt {\frac {\tan {\left (\frac {x}{2} \right )}}{\tan ^{2}{\left (\frac {x}{2} \right )} + 1}} \tan ^{5}{\left (\frac {x}{2} \right )}}{21 \tan ^{6}{\left (\frac {x}{2} \right )} + 63 \tan ^{4}{\left (\frac {x}{2} \right )} + 63 \tan ^{2}{\left (\frac {x}{2} \right )} + 21} + \frac {8 \sqrt {2} \sqrt {\frac {\tan {\left (\frac {x}{2} \right )}}{\tan ^{2}{\left (\frac {x}{2} \right )} + 1}} \tan ^{3}{\left (\frac {x}{2} \right )}}{21 \tan ^{6}{\left (\frac {x}{2} \right )} + 63 \tan ^{4}{\left (\frac {x}{2} \right )} + 63 \tan ^{2}{\left (\frac {x}{2} \right )} + 21} + \frac {28 \sqrt {2} \sqrt {\frac {\tan {\left (\frac {x}{2} \right )}}{\tan ^{2}{\left (\frac {x}{2} \right )} + 1}} \tan {\left (\frac {x}{2} \right )}}{21 \tan ^{6}{\left (\frac {x}{2} \right )} + 63 \tan ^{4}{\left (\frac {x}{2} \right )} + 63 \tan ^{2}{\left (\frac {x}{2} \right )} + 21} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 28, normalized size = 1.33 \begin {gather*} 2 \left (-\frac {1}{7} \sqrt {\sin x} \sin ^{3}x+\frac {1}{3} \sqrt {\sin x} \sin x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.21, size = 25, normalized size = 1.19 \begin {gather*} -\frac {{\cos \left (x\right )}^4\,{\sin \left (x\right )}^{3/2}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{4},2;\ 3;\ {\cos \left (x\right )}^2\right )}{4\,{\left ({\sin \left (x\right )}^2\right )}^{3/4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________