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

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

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {449} \begin {gather*} \frac {\sqrt {x^4+1}}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

Sqrt[1 + x^4]/x

Rule 449

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[(c*(e*x)^(m
+ 1)*(a + b*x^n)^(p + 1))/(a*e*(m + 1)), x] /; FreeQ[{a, b, c, d, e, m, n, p}, x] && NeQ[b*c - a*d, 0] && EqQ[
a*d*(m + 1) - b*c*(m + n*(p + 1) + 1), 0] && NeQ[m, -1]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 13, normalized size = 1.00 \begin {gather*} \frac {\sqrt {x^4+1}}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

Sqrt[1 + x^4]/x

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.54, size = 13, normalized size = 1.00 \begin {gather*} \frac {\sqrt {1+x^4}}{x} \end {gather*}

Antiderivative was successfully verified.

[In]

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

[Out]

Sqrt[1 + x^4]/x

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 11, normalized size = 0.85 \begin {gather*} \frac {\sqrt {x^{4} + 1}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(x^4 + 1)/x

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maple [A]  time = 0.12, size = 12, normalized size = 0.92

method result size
gosper \(\frac {\sqrt {x^{4}+1}}{x}\) \(12\)
default \(\frac {\sqrt {x^{4}+1}}{x}\) \(12\)
trager \(\frac {\sqrt {x^{4}+1}}{x}\) \(12\)
risch \(\frac {\sqrt {x^{4}+1}}{x}\) \(12\)
elliptic \(\frac {\sqrt {x^{4}+1}}{x}\) \(12\)
meijerg \(\frac {\hypergeom \left (\left [\frac {1}{2}, \frac {3}{4}\right ], \left [\frac {7}{4}\right ], -x^{4}\right ) x^{3}}{3}+\frac {\hypergeom \left (\left [-\frac {1}{4}, \frac {1}{2}\right ], \left [\frac {3}{4}\right ], -x^{4}\right )}{x}\) \(33\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

maxima [A]  time = 0.52, size = 11, normalized size = 0.85 \begin {gather*} \frac {\sqrt {x^{4} + 1}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

sqrt(x^4 + 1)/x

________________________________________________________________________________________

mupad [B]  time = 0.05, size = 11, normalized size = 0.85 \begin {gather*} \frac {\sqrt {x^4+1}}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

sympy [C]  time = 1.51, size = 61, normalized size = 4.69 \begin {gather*} \frac {x^{3} \Gamma \left (\frac {3}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {3}{4} \\ \frac {7}{4} \end {matrix}\middle | {x^{4} e^{i \pi }} \right )}}{4 \Gamma \left (\frac {7}{4}\right )} - \frac {\Gamma \left (- \frac {1}{4}\right ) {{}_{2}F_{1}\left (\begin {matrix} - \frac {1}{4}, \frac {1}{2} \\ \frac {3}{4} \end {matrix}\middle | {x^{4} e^{i \pi }} \right )}}{4 x \Gamma \left (\frac {3}{4}\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

x**3*gamma(3/4)*hyper((1/2, 3/4), (7/4,), x**4*exp_polar(I*pi))/(4*gamma(7/4)) - gamma(-1/4)*hyper((-1/4, 1/2)
, (3/4,), x**4*exp_polar(I*pi))/(4*x*gamma(3/4))

________________________________________________________________________________________