3.1.71 \(\int \cos ^4(2 x) \sin ^2(2 x) \, dx\) [71]

Optimal. Leaf size=46 \[ \frac {x}{16}+\frac {1}{32} \cos (2 x) \sin (2 x)+\frac {1}{48} \cos ^3(2 x) \sin (2 x)-\frac {1}{12} \cos ^5(2 x) \sin (2 x) \]

[Out]

1/16*x+1/32*cos(2*x)*sin(2*x)+1/48*cos(2*x)^3*sin(2*x)-1/12*cos(2*x)^5*sin(2*x)

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 46, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {2648, 2715, 8} \begin {gather*} \frac {x}{16}-\frac {1}{12} \sin (2 x) \cos ^5(2 x)+\frac {1}{48} \sin (2 x) \cos ^3(2 x)+\frac {1}{32} \sin (2 x) \cos (2 x) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Cos[2*x]^4*Sin[2*x]^2,x]

[Out]

x/16 + (Cos[2*x]*Sin[2*x])/32 + (Cos[2*x]^3*Sin[2*x])/48 - (Cos[2*x]^5*Sin[2*x])/12

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 2648

Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Simp[(-a)*(b*Cos[e
 + f*x])^(n + 1)*((a*Sin[e + f*x])^(m - 1)/(b*f*(m + n))), x] + Dist[a^2*((m - 1)/(m + n)), Int[(b*Cos[e + f*x
])^n*(a*Sin[e + f*x])^(m - 2), x], x] /; FreeQ[{a, b, e, f, n}, x] && GtQ[m, 1] && NeQ[m + n, 0] && IntegersQ[
2*m, 2*n]

Rule 2715

Int[((b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Simp[(-b)*Cos[c + d*x]*((b*Sin[c + d*x])^(n - 1)/(d*n))
, x] + Dist[b^2*((n - 1)/n), Int[(b*Sin[c + d*x])^(n - 2), x], x] /; FreeQ[{b, c, d}, x] && GtQ[n, 1] && Integ
erQ[2*n]

Rubi steps

\begin {align*} \int \cos ^4(2 x) \sin ^2(2 x) \, dx &=-\frac {1}{12} \cos ^5(2 x) \sin (2 x)+\frac {1}{6} \int \cos ^4(2 x) \, dx\\ &=\frac {1}{48} \cos ^3(2 x) \sin (2 x)-\frac {1}{12} \cos ^5(2 x) \sin (2 x)+\frac {1}{8} \int \cos ^2(2 x) \, dx\\ &=\frac {1}{32} \cos (2 x) \sin (2 x)+\frac {1}{48} \cos ^3(2 x) \sin (2 x)-\frac {1}{12} \cos ^5(2 x) \sin (2 x)+\frac {\int 1 \, dx}{16}\\ &=\frac {x}{16}+\frac {1}{32} \cos (2 x) \sin (2 x)+\frac {1}{48} \cos ^3(2 x) \sin (2 x)-\frac {1}{12} \cos ^5(2 x) \sin (2 x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 30, normalized size = 0.65 \begin {gather*} \frac {x}{16}+\frac {1}{128} \sin (4 x)-\frac {1}{128} \sin (8 x)-\frac {1}{384} \sin (12 x) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Cos[2*x]^4*Sin[2*x]^2,x]

[Out]

x/16 + Sin[4*x]/128 - Sin[8*x]/128 - Sin[12*x]/384

________________________________________________________________________________________

Mathics [A]
time = 2.09, size = 34, normalized size = 0.74 \begin {gather*} \frac {x}{16}-\frac {\text {Cos}\left [2 x\right ]^5 \text {Sin}\left [2 x\right ]}{12}+\frac {\text {Sin}\left [4 x\right ]}{64}+\frac {\text {Cos}\left [2 x\right ]^3 \text {Sin}\left [2 x\right ]}{48} \end {gather*}

Antiderivative was successfully verified.

[In]

mathics('Integrate[Sin[2*x]^2*Cos[2*x]^4,x]')

[Out]

x / 16 - Cos[2 x] ^ 5 Sin[2 x] / 12 + Sin[4 x] / 64 + Cos[2 x] ^ 3 Sin[2 x] / 48

________________________________________________________________________________________

Maple [A]
time = 0.03, size = 36, normalized size = 0.78

method result size
risch \(\frac {x}{16}-\frac {\sin \left (12 x \right )}{384}-\frac {\sin \left (8 x \right )}{128}+\frac {\sin \left (4 x \right )}{128}\) \(23\)
derivativedivides \(-\frac {\left (\cos ^{5}\left (2 x \right )\right ) \sin \left (2 x \right )}{12}+\frac {\left (\cos ^{3}\left (2 x \right )+\frac {3 \cos \left (2 x \right )}{2}\right ) \sin \left (2 x \right )}{48}+\frac {x}{16}\) \(36\)
default \(-\frac {\left (\cos ^{5}\left (2 x \right )\right ) \sin \left (2 x \right )}{12}+\frac {\left (\cos ^{3}\left (2 x \right )+\frac {3 \cos \left (2 x \right )}{2}\right ) \sin \left (2 x \right )}{48}+\frac {x}{16}\) \(36\)
norman \(\frac {\frac {x}{16}+\frac {47 \left (\tan ^{3}\left (x \right )\right )}{48}-\frac {13 \left (\tan ^{5}\left (x \right )\right )}{8}+\frac {13 \left (\tan ^{7}\left (x \right )\right )}{8}-\frac {47 \left (\tan ^{9}\left (x \right )\right )}{48}+\frac {\left (\tan ^{11}\left (x \right )\right )}{16}+\frac {3 x \left (\tan ^{2}\left (x \right )\right )}{8}+\frac {15 x \left (\tan ^{4}\left (x \right )\right )}{16}+\frac {5 x \left (\tan ^{6}\left (x \right )\right )}{4}+\frac {15 x \left (\tan ^{8}\left (x \right )\right )}{16}+\frac {3 x \left (\tan ^{10}\left (x \right )\right )}{8}+\frac {x \left (\tan ^{12}\left (x \right )\right )}{16}-\frac {\tan \left (x \right )}{16}}{\left (1+\tan ^{2}\left (x \right )\right )^{6}}\) \(90\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(2*x)^4*sin(2*x)^2,x,method=_RETURNVERBOSE)

[Out]

-1/12*cos(2*x)^5*sin(2*x)+1/48*(cos(2*x)^3+3/2*cos(2*x))*sin(2*x)+1/16*x

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 18, normalized size = 0.39 \begin {gather*} \frac {1}{96} \, \sin \left (4 \, x\right )^{3} + \frac {1}{16} \, x - \frac {1}{128} \, \sin \left (8 \, x\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(2*x)^4*sin(2*x)^2,x, algorithm="maxima")

[Out]

1/96*sin(4*x)^3 + 1/16*x - 1/128*sin(8*x)

________________________________________________________________________________________

Fricas [A]
time = 0.34, size = 33, normalized size = 0.72 \begin {gather*} -\frac {1}{96} \, {\left (8 \, \cos \left (2 \, x\right )^{5} - 2 \, \cos \left (2 \, x\right )^{3} - 3 \, \cos \left (2 \, x\right )\right )} \sin \left (2 \, x\right ) + \frac {1}{16} \, x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(2*x)^4*sin(2*x)^2,x, algorithm="fricas")

[Out]

-1/96*(8*cos(2*x)^5 - 2*cos(2*x)^3 - 3*cos(2*x))*sin(2*x) + 1/16*x

________________________________________________________________________________________

Sympy [A]
time = 0.03, size = 41, normalized size = 0.89 \begin {gather*} \frac {x}{16} - \frac {\sin {\left (2 x \right )} \cos ^{5}{\left (2 x \right )}}{12} + \frac {\sin {\left (2 x \right )} \cos ^{3}{\left (2 x \right )}}{48} + \frac {\sin {\left (2 x \right )} \cos {\left (2 x \right )}}{32} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(2*x)**4*sin(2*x)**2,x)

[Out]

x/16 - sin(2*x)*cos(2*x)**5/12 + sin(2*x)*cos(2*x)**3/48 + sin(2*x)*cos(2*x)/32

________________________________________________________________________________________

Giac [A]
time = 0.00, size = 28, normalized size = 0.61 \begin {gather*} \frac {x}{16}+\frac {\sin \left (4 x\right )}{128}-\frac {\sin \left (8 x\right )}{128}-\frac {\sin \left (12 x\right )}{384} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(2*x)^4*sin(2*x)^2,x)

[Out]

1/16*x - 1/384*sin(12*x) - 1/128*sin(8*x) + 1/128*sin(4*x)

________________________________________________________________________________________

Mupad [B]
time = 0.07, size = 37, normalized size = 0.80 \begin {gather*} \frac {x}{16}-\frac {\cos \left (2\,x\right )\,\sin \left (2\,x\right )}{32}+\frac {{\sin \left (2\,x\right )}^3\,\left (\frac {{\cos \left (2\,x\right )}^3}{6}+\frac {\cos \left (2\,x\right )}{8}\right )}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(2*x)^4*sin(2*x)^2,x)

[Out]

x/16 - (cos(2*x)*sin(2*x))/32 + (sin(2*x)^3*(cos(2*x)/8 + cos(2*x)^3/6))/2

________________________________________________________________________________________