Optimal. Leaf size=24 \[ \tan ^{-1}\left (\frac{x}{\sqrt{\left (x^{2 n}+1\right )^{\frac{1}{n}}-x^2}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0678271, antiderivative size = 24, normalized size of antiderivative = 1., 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]
[Out]
Rule 2128
Rule 203
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.0813074, 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]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.079, size = 0, normalized size = 0. \begin{align*} \int{\frac{1}{1+{x}^{2\,n}}{\frac{1}{\sqrt{-{x}^{2}+\sqrt [n]{1+{x}^{2\,n}}}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\sqrt{- x^{2} + \left (x^{2 n} + 1\right )^{\frac{1}{n}}} \left (x^{2 n} + 1\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \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} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]