3.329 \(\int \frac {1}{(1+x^{2 n}) \sqrt {-x^2+(1+x^{2 n})^{\frac {1}{n}}}} \, dx\)

Optimal. Leaf size=24 \[ \tan ^{-1}\left (\frac {x}{\sqrt {\left (x^{2 n}+1\right )^{\frac {1}{n}}-x^2}}\right ) \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 24, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.065, Rules used = {2128, 203} \[ \tan ^{-1}\left (\frac {x}{\sqrt {\left (x^{2 n}+1\right )^{\frac {1}{n}}-x^2}}\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

Rule 203

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

Rule 2128

Int[1/(((a_) + (b_.)*(x_)^(n_.))*Sqrt[(c_.)*(x_)^2 + (d_.)*((a_) + (b_.)*(x_)^(n_.))^(p_.)]), x_Symbol] :> Dis
t[1/a, Subst[Int[1/(1 - c*x^2), x], x, x/Sqrt[c*x^2 + d*(a + b*x^n)^(2/n)]], x] /; FreeQ[{a, b, c, d, n}, x] &
& EqQ[p, 2/n]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.09, size = 26, normalized size = 1.08 \[ \cot ^{-1}\left (\frac {\sqrt {\left (x^{2 n}+1\right )^{\frac {1}{n}}-x^2}}{x}\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification is Not applicable to the result.

[In]

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

[Out]

Could not integrate

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [F]  time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {1}{\left (1+x^{2 n}\right ) \sqrt {-x^{2}+\left (1+x^{2 n}\right )^{\frac {1}{n}}}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.04 \[ \int \frac {1}{\left (x^{2\,n}+1\right )\,\sqrt {{\left (x^{2\,n}+1\right )}^{1/n}-x^2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Integral(1/(sqrt(-x**2 + (x**(2*n) + 1)**(1/n))*(x**(2*n) + 1)), x)

________________________________________________________________________________________