3.682 \(\int \frac {1}{\sqrt {1+\frac {1}{x^2}} x (1+x^2)} \, dx\)

Optimal. Leaf size=9 \[ \frac {1}{\sqrt {\frac {1}{x^2}+1}} \]

[Out]

1/(1+1/x^2)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 9, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {25, 261} \[ \frac {1}{\sqrt {\frac {1}{x^2}+1}} \]

Antiderivative was successfully verified.

[In]

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

[Out]

1/Sqrt[1 + x^(-2)]

Rule 25

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

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

________________________________________________________________________________________

Mathematica [B]  time = 0.00, size = 20, normalized size = 2.22 \[ \frac {\sqrt {\frac {1}{x^2}+1} x^2}{x^2+1} \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

fricas [B]  time = 0.44, size = 28, normalized size = 3.11 \[ \frac {x^{2} \sqrt {\frac {x^{2} + 1}{x^{2}}} + x^{2} + 1}{x^{2} + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

giac [B]  time = 0.33, size = 20, normalized size = 2.22 \[ \frac {1}{x^{2} - \sqrt {x^{4} + x^{2}} + 1} - 1 \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.00, size = 12, normalized size = 1.33 \[ \frac {1}{\sqrt {\frac {x^{2}+1}{x^{2}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/((x^2+1)/x^2)^(1/2)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (x^{2} + 1\right )} x \sqrt {\frac {1}{x^{2}} + 1}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [B]  time = 3.10, size = 18, normalized size = 2.00 \[ \frac {x^2\,\sqrt {\frac {1}{x^2}+1}}{x^2+1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [A]  time = 3.17, size = 10, normalized size = 1.11 \[ \frac {1}{\sqrt {1 + \frac {1}{x^{2}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/sqrt(1 + x**(-2))

________________________________________________________________________________________