3.1.55 \(\int \sqrt {1+3 \cos ^2(x)} \sin (2 x) \, dx\) [55]

Optimal. Leaf size=16 \[ -\frac {2}{9} \left (4-3 \sin ^2(x)\right )^{3/2} \]

[Out]

-2/9*(4-3*sin(x)^2)^(3/2)

________________________________________________________________________________________

Rubi [A]
time = 0.04, antiderivative size = 16, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {12, 267} \begin {gather*} -\frac {2}{9} \left (4-3 \sin ^2(x)\right )^{3/2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[1 + 3*Cos[x]^2]*Sin[2*x],x]

[Out]

(-2*(4 - 3*Sin[x]^2)^(3/2))/9

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 \sqrt {1+3 \cos ^2(x)} \sin (2 x) \, dx &=\text {Subst}\left (\int 2 x \sqrt {4-3 x^2} \, dx,x,\sin (x)\right )\\ &=2 \text {Subst}\left (\int x \sqrt {4-3 x^2} \, dx,x,\sin (x)\right )\\ &=-\frac {2}{9} \left (4-3 \sin ^2(x)\right )^{3/2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 16, normalized size = 1.00 \begin {gather*} -\frac {2}{9} \left (4-3 \sin ^2(x)\right )^{3/2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[1 + 3*Cos[x]^2]*Sin[2*x],x]

[Out]

(-2*(4 - 3*Sin[x]^2)^(3/2))/9

________________________________________________________________________________________

Maple [A]
time = 0.04, size = 13, normalized size = 0.81

method result size
derivativedivides \(-\frac {2 \left (1+3 \left (\cos ^{2}\left (x \right )\right )\right )^{\frac {3}{2}}}{9}\) \(13\)
default \(-\frac {2 \left (1+3 \left (\cos ^{2}\left (x \right )\right )\right )^{\frac {3}{2}}}{9}\) \(13\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(2*x)*(1+3*cos(x)^2)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-2/9*(1+3*cos(x)^2)^(3/2)

________________________________________________________________________________________

Maxima [A]
time = 0.83, size = 12, normalized size = 0.75 \begin {gather*} -\frac {2}{9} \, {\left (3 \, \cos \left (x\right )^{2} + 1\right )}^{\frac {3}{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(2*x)*(1+3*cos(x)^2)^(1/2),x, algorithm="maxima")

[Out]

-2/9*(3*cos(x)^2 + 1)^(3/2)

________________________________________________________________________________________

Fricas [A]
time = 1.19, size = 12, normalized size = 0.75 \begin {gather*} -\frac {2}{9} \, {\left (3 \, \cos \left (x\right )^{2} + 1\right )}^{\frac {3}{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(2*x)*(1+3*cos(x)^2)^(1/2),x, algorithm="fricas")

[Out]

-2/9*(3*cos(x)^2 + 1)^(3/2)

________________________________________________________________________________________

Sympy [A]
time = 0.98, size = 15, normalized size = 0.94 \begin {gather*} - \frac {2 \left (3 \cos ^{2}{\left (x \right )} + 1\right )^{\frac {3}{2}}}{9} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(2*x)*(1+3*cos(x)**2)**(1/2),x)

[Out]

-2*(3*cos(x)**2 + 1)**(3/2)/9

________________________________________________________________________________________

Giac [A]
time = 0.44, size = 12, normalized size = 0.75 \begin {gather*} -\frac {2}{9} \, {\left (3 \, \cos \left (x\right )^{2} + 1\right )}^{\frac {3}{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(2*x)*(1+3*cos(x)^2)^(1/2),x, algorithm="giac")

[Out]

-2/9*(3*cos(x)^2 + 1)^(3/2)

________________________________________________________________________________________

Mupad [B]
time = 0.19, size = 12, normalized size = 0.75 \begin {gather*} -\frac {2\,{\left (3\,{\cos \left (x\right )}^2+1\right )}^{3/2}}{9} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(2*x)*(3*cos(x)^2 + 1)^(1/2),x)

[Out]

-(2*(3*cos(x)^2 + 1)^(3/2))/9

________________________________________________________________________________________