Integrand size = 9, antiderivative size = 46 \[ \int \cos ^4(x) \sin ^4(x) \, dx=\frac {3 x}{128}+\frac {3}{128} \cos (x) \sin (x)+\frac {1}{64} \cos ^3(x) \sin (x)-\frac {1}{16} \cos ^5(x) \sin (x)-\frac {1}{8} \cos ^5(x) \sin ^3(x) \]
[Out]
Time = 0.05 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {2648, 2715, 8} \[ \int \cos ^4(x) \sin ^4(x) \, dx=\frac {3 x}{128}-\frac {1}{8} \sin ^3(x) \cos ^5(x)-\frac {1}{16} \sin (x) \cos ^5(x)+\frac {1}{64} \sin (x) \cos ^3(x)+\frac {3}{128} \sin (x) \cos (x) \]
[In]
[Out]
Rule 8
Rule 2648
Rule 2715
Rubi steps \begin{align*} \text {integral}& = -\frac {1}{8} \cos ^5(x) \sin ^3(x)+\frac {3}{8} \int \cos ^4(x) \sin ^2(x) \, dx \\ & = -\frac {1}{16} \cos ^5(x) \sin (x)-\frac {1}{8} \cos ^5(x) \sin ^3(x)+\frac {1}{16} \int \cos ^4(x) \, dx \\ & = \frac {1}{64} \cos ^3(x) \sin (x)-\frac {1}{16} \cos ^5(x) \sin (x)-\frac {1}{8} \cos ^5(x) \sin ^3(x)+\frac {3}{64} \int \cos ^2(x) \, dx \\ & = \frac {3}{128} \cos (x) \sin (x)+\frac {1}{64} \cos ^3(x) \sin (x)-\frac {1}{16} \cos ^5(x) \sin (x)-\frac {1}{8} \cos ^5(x) \sin ^3(x)+\frac {3 \int 1 \, dx}{128} \\ & = \frac {3 x}{128}+\frac {3}{128} \cos (x) \sin (x)+\frac {1}{64} \cos ^3(x) \sin (x)-\frac {1}{16} \cos ^5(x) \sin (x)-\frac {1}{8} \cos ^5(x) \sin ^3(x) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.48 \[ \int \cos ^4(x) \sin ^4(x) \, dx=\frac {3 x}{128}-\frac {1}{128} \sin (4 x)+\frac {\sin (8 x)}{1024} \]
[In]
[Out]
Time = 0.42 (sec) , antiderivative size = 17, normalized size of antiderivative = 0.37
method | result | size |
risch | \(\frac {3 x}{128}+\frac {\sin \left (8 x \right )}{1024}-\frac {\sin \left (4 x \right )}{128}\) | \(17\) |
parallelrisch | \(\frac {3 x}{128}+\frac {\sin \left (8 x \right )}{1024}-\frac {\sin \left (4 x \right )}{128}\) | \(17\) |
default | \(-\frac {\left (\cos ^{5}\left (x \right )\right ) \left (\sin ^{3}\left (x \right )\right )}{8}-\frac {\left (\cos ^{5}\left (x \right )\right ) \sin \left (x \right )}{16}+\frac {\left (\cos ^{3}\left (x \right )+\frac {3 \cos \left (x \right )}{2}\right ) \sin \left (x \right )}{64}+\frac {3 x}{128}\) | \(36\) |
norman | \(\frac {\frac {3 x}{128}-\frac {23 \left (\tan ^{3}\left (\frac {x}{2}\right )\right )}{64}+\frac {333 \left (\tan ^{5}\left (\frac {x}{2}\right )\right )}{64}-\frac {671 \left (\tan ^{7}\left (\frac {x}{2}\right )\right )}{64}+\frac {671 \left (\tan ^{9}\left (\frac {x}{2}\right )\right )}{64}-\frac {333 \left (\tan ^{11}\left (\frac {x}{2}\right )\right )}{64}+\frac {23 \left (\tan ^{13}\left (\frac {x}{2}\right )\right )}{64}+\frac {3 \left (\tan ^{15}\left (\frac {x}{2}\right )\right )}{64}+\frac {3 x \left (\tan ^{2}\left (\frac {x}{2}\right )\right )}{16}+\frac {21 x \left (\tan ^{4}\left (\frac {x}{2}\right )\right )}{32}+\frac {21 x \left (\tan ^{6}\left (\frac {x}{2}\right )\right )}{16}+\frac {105 x \left (\tan ^{8}\left (\frac {x}{2}\right )\right )}{64}+\frac {21 x \left (\tan ^{10}\left (\frac {x}{2}\right )\right )}{16}+\frac {21 x \left (\tan ^{12}\left (\frac {x}{2}\right )\right )}{32}+\frac {3 x \left (\tan ^{14}\left (\frac {x}{2}\right )\right )}{16}+\frac {3 x \left (\tan ^{16}\left (\frac {x}{2}\right )\right )}{128}-\frac {3 \tan \left (\frac {x}{2}\right )}{64}}{\left (1+\tan ^{2}\left (\frac {x}{2}\right )\right )^{8}}\) | \(150\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 31, normalized size of antiderivative = 0.67 \[ \int \cos ^4(x) \sin ^4(x) \, dx=\frac {1}{128} \, {\left (16 \, \cos \left (x\right )^{7} - 24 \, \cos \left (x\right )^{5} + 2 \, \cos \left (x\right )^{3} + 3 \, \cos \left (x\right )\right )} \sin \left (x\right ) + \frac {3}{128} \, x \]
[In]
[Out]
Time = 0.02 (sec) , antiderivative size = 31, normalized size of antiderivative = 0.67 \[ \int \cos ^4(x) \sin ^4(x) \, dx=\frac {3 x}{128} - \frac {\sin ^{3}{\left (2 x \right )} \cos {\left (2 x \right )}}{128} - \frac {3 \sin {\left (2 x \right )} \cos {\left (2 x \right )}}{256} \]
[In]
[Out]
none
Time = 0.18 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.35 \[ \int \cos ^4(x) \sin ^4(x) \, dx=\frac {3}{128} \, x + \frac {1}{1024} \, \sin \left (8 \, x\right ) - \frac {1}{128} \, \sin \left (4 \, x\right ) \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 16, normalized size of antiderivative = 0.35 \[ \int \cos ^4(x) \sin ^4(x) \, dx=\frac {3}{128} \, x + \frac {1}{1024} \, \sin \left (8 \, x\right ) - \frac {1}{128} \, \sin \left (4 \, x\right ) \]
[In]
[Out]
Time = 0.04 (sec) , antiderivative size = 32, normalized size of antiderivative = 0.70 \[ \int \cos ^4(x) \sin ^4(x) \, dx=\left (\frac {{\cos \left (x\right )}^3}{8}+\frac {\cos \left (x\right )}{16}\right )\,{\sin \left (x\right )}^5+\frac {3\,x}{128}-\frac {\sin \left (2\,x\right )}{64}+\frac {\sin \left (4\,x\right )}{512} \]
[In]
[Out]