3.55 \(\int \sqrt {1+3 \cos ^2(x)} \sin (2 x) \, dx\)

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.03, 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, 261} \[ -\frac {2}{9} \left (4-3 \sin ^2(x)\right )^{3/2} \]

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 261

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 &=\operatorname {Subst}\left (\int 2 x \sqrt {4-3 x^2} \, dx,x,\sin (x)\right )\\ &=2 \operatorname {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 \[ -\frac {2}{9} \left (4-3 \sin ^2(x)\right )^{3/2} \]

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

________________________________________________________________________________________

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

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)

________________________________________________________________________________________

giac [A]  time = 0.01, size = 12, normalized size = 0.75 \[ -\frac {2}{9} \, {\left (3 \, \cos \relax (x)^{2} + 1\right )}^{\frac {3}{2}} \]

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)

________________________________________________________________________________________

maple [A]  time = 0.07, size = 13, normalized size = 0.81 \[ -\frac {2 \left (3 \left (\cos ^{2}\relax (x )\right )+1\right )^{\frac {3}{2}}}{9} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.48, size = 12, normalized size = 0.75 \[ -\frac {2}{9} \, {\left (3 \, \cos \relax (x)^{2} + 1\right )}^{\frac {3}{2}} \]

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)

________________________________________________________________________________________

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

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

________________________________________________________________________________________

sympy [A]  time = 2.06, size = 15, normalized size = 0.94 \[ - \frac {2 \left (3 \cos ^{2}{\relax (x )} + 1\right )^{\frac {3}{2}}}{9} \]

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

________________________________________________________________________________________