3.5.54 \(\int \cos ^3(x) \cos ^{\frac {2}{3}}(2 x) \sin (x) \, dx\) [454]

Optimal. Leaf size=25 \[ -\frac {3}{40} \cos ^{\frac {5}{3}}(2 x)-\frac {3}{64} \cos ^{\frac {8}{3}}(2 x) \]

[Out]

-3/40*cos(2*x)^(5/3)-3/64*cos(2*x)^(8/3)

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 25, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {4442, 272, 45} \begin {gather*} -\frac {3}{64} \cos ^{\frac {8}{3}}(2 x)-\frac {3}{40} \cos ^{\frac {5}{3}}(2 x) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Cos[x]^3*Cos[2*x]^(2/3)*Sin[x],x]

[Out]

(-3*Cos[2*x]^(5/3))/40 - (3*Cos[2*x]^(8/3))/64

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 4442

Int[(u_)*(F_)[(c_.)*((a_.) + (b_.)*(x_))], x_Symbol] :> With[{d = FreeFactors[Cos[c*(a + b*x)], x]}, Dist[-d/(
b*c), Subst[Int[SubstFor[1, Cos[c*(a + b*x)]/d, u, x], x], x, Cos[c*(a + b*x)]/d], x] /; FunctionOfQ[Cos[c*(a
+ b*x)]/d, u, x]] /; FreeQ[{a, b, c}, x] && (EqQ[F, Sin] || EqQ[F, sin])

Rubi steps

\begin {align*} \int \cos ^3(x) \cos ^{\frac {2}{3}}(2 x) \sin (x) \, dx &=-\text {Subst}\left (\int x^3 \left (-1+2 x^2\right )^{2/3} \, dx,x,\cos (x)\right )\\ &=-\left (\frac {1}{2} \text {Subst}\left (\int x (-1+2 x)^{2/3} \, dx,x,\cos ^2(x)\right )\right )\\ &=-\left (\frac {1}{2} \text {Subst}\left (\int \left (\frac {1}{2} (-1+2 x)^{2/3}+\frac {1}{2} (-1+2 x)^{5/3}\right ) \, dx,x,\cos ^2(x)\right )\right )\\ &=-\frac {3}{40} \left (-1+2 \cos ^2(x)\right )^{5/3}-\frac {3}{64} \left (-1+2 \cos ^2(x)\right )^{8/3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in optimal.
time = 8.25, size = 140, normalized size = 5.60 \begin {gather*} -\frac {3}{40} \cos ^{\frac {5}{3}}(2 x)-\frac {3 e^{-6 i x} \sqrt [3]{1+e^{4 i x}} \left (\left (1+e^{4 i x}\right )^{2/3} \left (1+e^{8 i x}\right )+2 e^{4 i x} \, _2F_1\left (-\frac {1}{3},\frac {1}{3};\frac {2}{3};-e^{4 i x}\right )+e^{8 i x} \, _2F_1\left (\frac {1}{3},\frac {2}{3};\frac {5}{3};-e^{4 i x}\right )\right )}{256\ 2^{2/3} \sqrt [3]{e^{-2 i x}+e^{2 i x}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Cos[x]^3*Cos[2*x]^(2/3)*Sin[x],x]

[Out]

(-3*Cos[2*x]^(5/3))/40 - (3*(1 + E^((4*I)*x))^(1/3)*((1 + E^((4*I)*x))^(2/3)*(1 + E^((8*I)*x)) + 2*E^((4*I)*x)
*Hypergeometric2F1[-1/3, 1/3, 2/3, -E^((4*I)*x)] + E^((8*I)*x)*Hypergeometric2F1[1/3, 2/3, 5/3, -E^((4*I)*x)])
)/(256*2^(2/3)*E^((6*I)*x)*(E^((-2*I)*x) + E^((2*I)*x))^(1/3))

________________________________________________________________________________________

Maple [F]
time = 0.13, size = 0, normalized size = 0.00 \[\int \left (\cos ^{4}\left (x \right )\right ) \left (\cos ^{\frac {2}{3}}\left (2 x \right )\right ) \tan \left (x \right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(x)^4*cos(2*x)^(2/3)*tan(x),x)

[Out]

int(cos(x)^4*cos(2*x)^(2/3)*tan(x),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)^4*cos(2*x)^(2/3)*tan(x),x, algorithm="maxima")

[Out]

integrate(cos(2*x)^(2/3)*cos(x)^4*tan(x), x)

________________________________________________________________________________________

Fricas [A]
time = 0.77, size = 26, normalized size = 1.04 \begin {gather*} -\frac {3}{320} \, {\left (20 \, \cos \left (x\right )^{4} - 4 \, \cos \left (x\right )^{2} - 3\right )} {\left (2 \, \cos \left (x\right )^{2} - 1\right )}^{\frac {2}{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)^4*cos(2*x)^(2/3)*tan(x),x, algorithm="fricas")

[Out]

-3/320*(20*cos(x)^4 - 4*cos(x)^2 - 3)*(2*cos(x)^2 - 1)^(2/3)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)**4*cos(2*x)**(2/3)*tan(x),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [A]
time = 0.97, size = 25, normalized size = 1.00 \begin {gather*} -\frac {3}{64} \, {\left (2 \, \cos \left (x\right )^{2} - 1\right )}^{\frac {8}{3}} - \frac {3}{40} \, {\left (2 \, \cos \left (x\right )^{2} - 1\right )}^{\frac {5}{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(x)^4*cos(2*x)^(2/3)*tan(x),x, algorithm="giac")

[Out]

-3/64*(2*cos(x)^2 - 1)^(8/3) - 3/40*(2*cos(x)^2 - 1)^(5/3)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int {\cos \left (2\,x\right )}^{2/3}\,{\cos \left (x\right )}^4\,\mathrm {tan}\left (x\right ) \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(2*x)^(2/3)*cos(x)^4*tan(x),x)

[Out]

int(cos(2*x)^(2/3)*cos(x)^4*tan(x), x)

________________________________________________________________________________________