3.1.64 \(\int (a^2-4 \cos ^2(x))^{3/4} \sin (2 x) \, dx\) [64]

Optimal. Leaf size=18 \[ \frac {1}{7} \left (a^2-4 \cos ^2(x)\right )^{7/4} \]

[Out]

1/7*(a^2-4*cos(x)^2)^(7/4)

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 19, normalized size of antiderivative = 1.06, number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {12, 267} \begin {gather*} \frac {1}{7} \left (a^2+4 \sin ^2(x)-4\right )^{7/4} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(-4 + a^2 + 4*Sin[x]^2)^(7/4)/7

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 267

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

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 19, normalized size = 1.06 \begin {gather*} \frac {1}{7} \left (-4+a^2+4 \sin ^2(x)\right )^{7/4} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

(-4 + a^2 + 4*Sin[x]^2)^(7/4)/7

________________________________________________________________________________________

Maple [A]
time = 0.04, size = 15, normalized size = 0.83

method result size
derivativedivides \(\frac {\left (a^{2}-4 \left (\cos ^{2}\left (x \right )\right )\right )^{\frac {7}{4}}}{7}\) \(15\)
default \(\frac {\left (a^{2}-4 \left (\cos ^{2}\left (x \right )\right )\right )^{\frac {7}{4}}}{7}\) \(15\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a^2-4*cos(x)^2)^(3/4)*sin(2*x),x,method=_RETURNVERBOSE)

[Out]

1/7*(a^2-4*cos(x)^2)^(7/4)

________________________________________________________________________________________

Maxima [A]
time = 1.52, size = 14, normalized size = 0.78 \begin {gather*} \frac {1}{7} \, {\left (a^{2} - 4 \, \cos \left (x\right )^{2}\right )}^{\frac {7}{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/7*(a^2 - 4*cos(x)^2)^(7/4)

________________________________________________________________________________________

Fricas [A]
time = 0.88, size = 14, normalized size = 0.78 \begin {gather*} \frac {1}{7} \, {\left (a^{2} - 4 \, \cos \left (x\right )^{2}\right )}^{\frac {7}{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/7*(a^2 - 4*cos(x)^2)^(7/4)

________________________________________________________________________________________

Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a**2-4*cos(x)**2)**(3/4)*sin(2*x),x)

[Out]

Exception raised: SystemError >> excessive stack use: stack is 5005 deep

________________________________________________________________________________________

Giac [A]
time = 1.53, size = 14, normalized size = 0.78 \begin {gather*} \frac {1}{7} \, {\left (a^{2} - 4 \, \cos \left (x\right )^{2}\right )}^{\frac {7}{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/7*(a^2 - 4*cos(x)^2)^(7/4)

________________________________________________________________________________________

Mupad [B]
time = 0.31, size = 14, normalized size = 0.78 \begin {gather*} \frac {{\left (a^2-4\,{\cos \left (x\right )}^2\right )}^{7/4}}{7} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(2*x)*(a^2 - 4*cos(x)^2)^(3/4),x)

[Out]

(a^2 - 4*cos(x)^2)^(7/4)/7

________________________________________________________________________________________