3.49 \(\int \frac {x \cos (\sqrt {3} \sqrt {2+x^2})}{\sqrt {2+x^2}} \, dx\)

Optimal. Leaf size=22 \[ \frac {\sin \left (\sqrt {3} \sqrt {x^2+2}\right )}{\sqrt {3}} \]

[Out]

1/3*sin(3^(1/2)*(x^2+2)^(1/2))*3^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.19, antiderivative size = 22, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.148, Rules used = {6715, 3432, 15, 2637} \[ \frac {\sin \left (\sqrt {3} \sqrt {x^2+2}\right )}{\sqrt {3}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

Sin[Sqrt[3]*Sqrt[2 + x^2]]/Sqrt[3]

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[(a^IntPart[m]*(a*x^n)^FracPart[m])/x^(n*FracPart[m]), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 2637

Int[sin[Pi/2 + (c_.) + (d_.)*(x_)], x_Symbol] :> Simp[Sin[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rule 3432

Int[((a_.) + Cos[(c_.) + (d_.)*((e_.) + (f_.)*(x_))^(n_)]*(b_.))^(p_.)*((g_.) + (h_.)*(x_))^(m_.), x_Symbol] :
> Dist[1/(n*f), Subst[Int[ExpandIntegrand[(a + b*Cos[c + d*x])^p, x^(1/n - 1)*(g - (e*h)/f + (h*x^(1/n))/f)^m,
 x], x], x, (e + f*x)^n], x] /; FreeQ[{a, b, c, d, e, f, g, h, m}, x] && IGtQ[p, 0] && IntegerQ[1/n]

Rule 6715

Int[(u_)*(x_)^(m_.), x_Symbol] :> Dist[1/(m + 1), Subst[Int[SubstFor[x^(m + 1), u, x], x], x, x^(m + 1)], x] /
; FreeQ[m, x] && NeQ[m, -1] && FunctionOfQ[x^(m + 1), u, x]

Rubi steps

\begin {align*} \int \frac {x \cos \left (\sqrt {3} \sqrt {2+x^2}\right )}{\sqrt {2+x^2}} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {\cos \left (\sqrt {3} \sqrt {2+x}\right )}{\sqrt {2+x}} \, dx,x,x^2\right )\\ &=\operatorname {Subst}\left (\int \frac {x \cos \left (\sqrt {3} x\right )}{\sqrt {x^2}} \, dx,x,\sqrt {2+x^2}\right )\\ &=1 \operatorname {Subst}\left (\int \cos \left (\sqrt {3} x\right ) \, dx,x,\sqrt {2+x^2}\right )\\ &=\frac {\sin \left (\sqrt {3} \sqrt {2+x^2}\right )}{\sqrt {3}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.06, size = 22, normalized size = 1.00 \[ \frac {\sin \left (\sqrt {3} \sqrt {x^2+2}\right )}{\sqrt {3}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

Sin[Sqrt[3]*Sqrt[2 + x^2]]/Sqrt[3]

________________________________________________________________________________________

fricas [B]  time = 0.94, size = 37, normalized size = 1.68 \[ \frac {2 \, \sqrt {3} \tan \left (\frac {1}{2} \, \sqrt {3} \sqrt {x^{2} + 2}\right )}{3 \, {\left (\tan \left (\frac {1}{2} \, \sqrt {3} \sqrt {x^{2} + 2}\right )^{2} + 1\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

2/3*sqrt(3)*tan(1/2*sqrt(3)*sqrt(x^2 + 2))/(tan(1/2*sqrt(3)*sqrt(x^2 + 2))^2 + 1)

________________________________________________________________________________________

giac [A]  time = 0.12, size = 17, normalized size = 0.77 \[ \frac {1}{3} \, \sqrt {3} \sin \left (\sqrt {3} \sqrt {x^{2} + 2}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*sqrt(3)*sin(sqrt(3)*sqrt(x^2 + 2))

________________________________________________________________________________________

maple [A]  time = 0.08, size = 18, normalized size = 0.82 \[ \frac {\sin \left (\sqrt {3}\, \sqrt {x^{2}+2}\right ) \sqrt {3}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*sin(3^(1/2)*(x^2+2)^(1/2))*3^(1/2)

________________________________________________________________________________________

maxima [A]  time = 0.41, size = 17, normalized size = 0.77 \[ \frac {1}{3} \, \sqrt {3} \sin \left (\sqrt {3} \sqrt {x^{2} + 2}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/3*sqrt(3)*sin(sqrt(3)*sqrt(x^2 + 2))

________________________________________________________________________________________

mupad [B]  time = 2.32, size = 15, normalized size = 0.68 \[ \frac {\sqrt {3}\,\sin \left (\sqrt {3\,x^2+6}\right )}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

(3^(1/2)*sin((3*x^2 + 6)^(1/2)))/3

________________________________________________________________________________________

sympy [A]  time = 0.68, size = 20, normalized size = 0.91 \[ \frac {\sqrt {3} \sin {\left (\sqrt {3} \sqrt {x^{2} + 2} \right )}}{3} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(3)*sin(sqrt(3)*sqrt(x**2 + 2))/3

________________________________________________________________________________________