Optimal. Leaf size=21 \[ -\cos (x)+\frac {2 \cos ^3(x)}{3}-\frac {\cos ^5(x)}{5} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 1, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {2713}
\begin {gather*} -\frac {1}{5} \cos ^5(x)+\frac {2 \cos ^3(x)}{3}-\cos (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2713
Rubi steps
\begin {align*} \int \sin ^5(x) \, dx &=-\text {Subst}\left (\int \left (1-2 x^2+x^4\right ) \, dx,x,\cos (x)\right )\\ &=-\cos (x)+\frac {2 \cos ^3(x)}{3}-\frac {\cos ^5(x)}{5}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.00, size = 23, normalized size = 1.10 \begin {gather*} -\frac {5 \cos (x)}{8}+\frac {5}{48} \cos (3 x)-\frac {1}{80} \cos (5 x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.10, size = 17, normalized size = 0.81
method | result | size |
default | \(-\frac {\left (\frac {8}{3}+\sin ^{4}\left (x \right )+\frac {4 \left (\sin ^{2}\left (x \right )\right )}{3}\right ) \cos \left (x \right )}{5}\) | \(17\) |
risch | \(-\frac {5 \cos \left (x \right )}{8}-\frac {\cos \left (5 x \right )}{80}+\frac {5 \cos \left (3 x \right )}{48}\) | \(18\) |
norman | \(\frac {\frac {16 \left (\tan ^{8}\left (\frac {x}{2}\right )\right )}{3}+\frac {16 \left (\tan ^{10}\left (\frac {x}{2}\right )\right )}{15}+\frac {32 \left (\tan ^{6}\left (\frac {x}{2}\right )\right )}{3}}{\left (1+\tan ^{2}\left (\frac {x}{2}\right )\right )^{5}}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 4.23, size = 17, normalized size = 0.81 \begin {gather*} -\frac {1}{5} \, \cos \left (x\right )^{5} + \frac {2}{3} \, \cos \left (x\right )^{3} - \cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.39, size = 17, normalized size = 0.81 \begin {gather*} -\frac {1}{5} \, \cos \left (x\right )^{5} + \frac {2}{3} \, \cos \left (x\right )^{3} - \cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.01, size = 17, normalized size = 0.81 \begin {gather*} - \frac {\cos ^{5}{\left (x \right )}}{5} + \frac {2 \cos ^{3}{\left (x \right )}}{3} - \cos {\left (x \right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.47, size = 17, normalized size = 0.81 \begin {gather*} -\frac {1}{5} \, \cos \left (x\right )^{5} + \frac {2}{3} \, \cos \left (x\right )^{3} - \cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 17, normalized size = 0.81 \begin {gather*} -\frac {{\cos \left (x\right )}^5}{5}+\frac {2\,{\cos \left (x\right )}^3}{3}-\cos \left (x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________