Optimal. Leaf size=34 \[ \frac {5 x}{16}+\frac {1}{6} \sin (x) \cos ^5(x)+\frac {5}{24} \sin (x) \cos ^3(x)+\frac {5}{16} \sin (x) \cos (x) \]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {2635, 8} \[ \frac {5 x}{16}+\frac {1}{6} \sin (x) \cos ^5(x)+\frac {5}{24} \sin (x) \cos ^3(x)+\frac {5}{16} \sin (x) \cos (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 2635
Rubi steps
\begin {align*} \int \cos ^6(x) \, dx &=\frac {1}{6} \cos ^5(x) \sin (x)+\frac {5}{6} \int \cos ^4(x) \, dx\\ &=\frac {5}{24} \cos ^3(x) \sin (x)+\frac {1}{6} \cos ^5(x) \sin (x)+\frac {5}{8} \int \cos ^2(x) \, dx\\ &=\frac {5}{16} \cos (x) \sin (x)+\frac {5}{24} \cos ^3(x) \sin (x)+\frac {1}{6} \cos ^5(x) \sin (x)+\frac {5 \int 1 \, dx}{16}\\ &=\frac {5 x}{16}+\frac {5}{16} \cos (x) \sin (x)+\frac {5}{24} \cos ^3(x) \sin (x)+\frac {1}{6} \cos ^5(x) \sin (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 30, normalized size = 0.88 \[ \frac {5 x}{16}+\frac {15}{64} \sin (2 x)+\frac {3}{64} \sin (4 x)+\frac {1}{192} \sin (6 x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \cos ^6(x) \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.67, size = 25, normalized size = 0.74 \[ \frac {1}{48} \, {\left (8 \, \cos \relax (x)^{5} + 10 \, \cos \relax (x)^{3} + 15 \, \cos \relax (x)\right )} \sin \relax (x) + \frac {5}{16} \, x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.58, size = 22, normalized size = 0.65 \[ \frac {5}{16} \, x + \frac {1}{192} \, \sin \left (6 \, x\right ) + \frac {3}{64} \, \sin \left (4 \, x\right ) + \frac {15}{64} \, \sin \left (2 \, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.32, size = 23, normalized size = 0.68
method | result | size |
risch | \(\frac {5 x}{16}+\frac {\sin \left (6 x \right )}{192}+\frac {3 \sin \left (4 x \right )}{64}+\frac {15 \sin \left (2 x \right )}{64}\) | \(23\) |
default | \(\frac {\left (\cos ^{5}\relax (x )+\frac {5 \left (\cos ^{3}\relax (x )\right )}{4}+\frac {15 \cos \relax (x )}{8}\right ) \sin \relax (x )}{6}+\frac {5 x}{16}\) | \(24\) |
norman | \(\frac {\frac {5 x}{16}-\frac {5 \left (\tan ^{3}\left (\frac {x}{2}\right )\right )}{24}+\frac {15 \left (\tan ^{5}\left (\frac {x}{2}\right )\right )}{4}-\frac {15 \left (\tan ^{7}\left (\frac {x}{2}\right )\right )}{4}+\frac {5 \left (\tan ^{9}\left (\frac {x}{2}\right )\right )}{24}-\frac {11 \left (\tan ^{11}\left (\frac {x}{2}\right )\right )}{8}+\frac {15 x \left (\tan ^{2}\left (\frac {x}{2}\right )\right )}{8}+\frac {75 x \left (\tan ^{4}\left (\frac {x}{2}\right )\right )}{16}+\frac {25 x \left (\tan ^{6}\left (\frac {x}{2}\right )\right )}{4}+\frac {75 x \left (\tan ^{8}\left (\frac {x}{2}\right )\right )}{16}+\frac {15 x \left (\tan ^{10}\left (\frac {x}{2}\right )\right )}{8}+\frac {5 x \left (\tan ^{12}\left (\frac {x}{2}\right )\right )}{16}+\frac {11 \tan \left (\frac {x}{2}\right )}{8}}{\left (1+\tan ^{2}\left (\frac {x}{2}\right )\right )^{6}}\) | \(116\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.44, size = 24, normalized size = 0.71 \[ -\frac {1}{48} \, \sin \left (2 \, x\right )^{3} + \frac {5}{16} \, x + \frac {3}{64} \, \sin \left (4 \, x\right ) + \frac {1}{4} \, \sin \left (2 \, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 22, normalized size = 0.65 \[ \frac {5\,x}{16}+\frac {15\,\sin \left (2\,x\right )}{64}+\frac {3\,\sin \left (4\,x\right )}{64}+\frac {\sin \left (6\,x\right )}{192} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.07, size = 36, normalized size = 1.06 \[ \frac {5 x}{16} + \frac {\sin {\relax (x )} \cos ^{5}{\relax (x )}}{6} + \frac {5 \sin {\relax (x )} \cos ^{3}{\relax (x )}}{24} + \frac {5 \sin {\relax (x )} \cos {\relax (x )}}{16} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________