3.3.31 \(\int \frac {1}{\sqrt {1+x^2} \sqrt {2+2 x^2}} \, dx\) [231]

Optimal. Leaf size=8 \[ \frac {\tan ^{-1}(x)}{\sqrt {2}} \]

[Out]

1/2*arctan(x)*2^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {22, 209} \begin {gather*} \frac {\text {ArcTan}(x)}{\sqrt {2}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

ArcTan[x]/Sqrt[2]

Rule 22

Int[(u_.)*((a_) + (b_.)*(v_))^(m_)*((c_) + (d_.)*(v_))^(n_), x_Symbol] :> Dist[(b/d)^m, Int[u*(c + d*v)^(m + n
), x], x] /; FreeQ[{a, b, c, d, m, n}, x] && EqQ[b*c - a*d, 0] && GtQ[b/d, 0] &&  !(IntegerQ[m] || IntegerQ[n]
)

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {1+x^2} \sqrt {2+2 x^2}} \, dx &=\sqrt {2} \int \frac {1}{2+2 x^2} \, dx\\ &=\frac {\tan ^{-1}(x)}{\sqrt {2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 8, normalized size = 1.00 \begin {gather*} \frac {\tan ^{-1}(x)}{\sqrt {2}} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

ArcTan[x]/Sqrt[2]

________________________________________________________________________________________

Maple [A]
time = 0.06, size = 8, normalized size = 1.00

method result size
meijerg \(\frac {\arctan \left (x \right ) \sqrt {2}}{2}\) \(8\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/2*arctan(x)*2^(1/2)

________________________________________________________________________________________

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(1/(x^2+1)^(1/2)/(2*x^2+2)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/(sqrt(2*x^2 + 2)*sqrt(x^2 + 1)), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 34 vs. \(2 (7) = 14\).
time = 1.20, size = 34, normalized size = 4.25 \begin {gather*} -\frac {1}{4} \, \sqrt {2} \arctan \left (\frac {\sqrt {2} \sqrt {2 \, x^{2} + 2} \sqrt {x^{2} + 1} x}{x^{4} - 1}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-1/4*sqrt(2)*arctan(sqrt(2)*sqrt(2*x^2 + 2)*sqrt(x^2 + 1)*x/(x^4 - 1))

________________________________________________________________________________________

Sympy [A]
time = 0.95, size = 8, normalized size = 1.00 \begin {gather*} \frac {\sqrt {2} \operatorname {atan}{\left (x \right )}}{2} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(2)*atan(x)/2

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(1/(sqrt(2*x^2 + 2)*sqrt(x^2 + 1)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.12 \begin {gather*} \int \frac {1}{\sqrt {x^2+1}\,\sqrt {2\,x^2+2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________