\(\int \frac {1}{x \sqrt {b+a x^4}} \, dx\) [303]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [A] (verification not implemented)
   Sympy [A] (verification not implemented)
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 15, antiderivative size = 27 \[ \int \frac {1}{x \sqrt {b+a x^4}} \, dx=-\frac {\text {arctanh}\left (\frac {\sqrt {b+a x^4}}{\sqrt {b}}\right )}{2 \sqrt {b}} \]

[Out]

-1/2*arctanh((a*x^4+b)^(1/2)/b^(1/2))/b^(1/2)

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {272, 65, 214} \[ \int \frac {1}{x \sqrt {b+a x^4}} \, dx=-\frac {\text {arctanh}\left (\frac {\sqrt {a x^4+b}}{\sqrt {b}}\right )}{2 \sqrt {b}} \]

[In]

Int[1/(x*Sqrt[b + a*x^4]),x]

[Out]

-1/2*ArcTanh[Sqrt[b + a*x^4]/Sqrt[b]]/Sqrt[b]

Rule 65

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - a*(d/b) + d*(x^p/b))^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 214

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

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps \begin{align*} \text {integral}& = \frac {1}{4} \text {Subst}\left (\int \frac {1}{x \sqrt {b+a x}} \, dx,x,x^4\right ) \\ & = \frac {\text {Subst}\left (\int \frac {1}{-\frac {b}{a}+\frac {x^2}{a}} \, dx,x,\sqrt {b+a x^4}\right )}{2 a} \\ & = -\frac {\text {arctanh}\left (\frac {\sqrt {b+a x^4}}{\sqrt {b}}\right )}{2 \sqrt {b}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.03 (sec) , antiderivative size = 27, normalized size of antiderivative = 1.00 \[ \int \frac {1}{x \sqrt {b+a x^4}} \, dx=-\frac {\text {arctanh}\left (\frac {\sqrt {b+a x^4}}{\sqrt {b}}\right )}{2 \sqrt {b}} \]

[In]

Integrate[1/(x*Sqrt[b + a*x^4]),x]

[Out]

-1/2*ArcTanh[Sqrt[b + a*x^4]/Sqrt[b]]/Sqrt[b]

Maple [A] (verified)

Time = 1.25 (sec) , antiderivative size = 20, normalized size of antiderivative = 0.74

method result size
pseudoelliptic \(-\frac {\operatorname {arctanh}\left (\frac {\sqrt {a \,x^{4}+b}}{\sqrt {b}}\right )}{2 \sqrt {b}}\) \(20\)
default \(-\frac {\ln \left (\frac {2 b +2 \sqrt {a \,x^{4}+b}\, \sqrt {b}}{x^{2}}\right )}{2 \sqrt {b}}\) \(29\)
elliptic \(-\frac {\ln \left (\frac {2 b +2 \sqrt {a \,x^{4}+b}\, \sqrt {b}}{x^{2}}\right )}{2 \sqrt {b}}\) \(29\)

[In]

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

[Out]

-1/2*arctanh((a*x^4+b)^(1/2)/b^(1/2))/b^(1/2)

Fricas [A] (verification not implemented)

none

Time = 0.25 (sec) , antiderivative size = 63, normalized size of antiderivative = 2.33 \[ \int \frac {1}{x \sqrt {b+a x^4}} \, dx=\left [\frac {\log \left (\frac {a x^{4} - 2 \, \sqrt {a x^{4} + b} \sqrt {b} + 2 \, b}{x^{4}}\right )}{4 \, \sqrt {b}}, \frac {\sqrt {-b} \arctan \left (\frac {\sqrt {a x^{4} + b} \sqrt {-b}}{b}\right )}{2 \, b}\right ] \]

[In]

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

[Out]

[1/4*log((a*x^4 - 2*sqrt(a*x^4 + b)*sqrt(b) + 2*b)/x^4)/sqrt(b), 1/2*sqrt(-b)*arctan(sqrt(a*x^4 + b)*sqrt(-b)/
b)/b]

Sympy [A] (verification not implemented)

Time = 0.52 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.81 \[ \int \frac {1}{x \sqrt {b+a x^4}} \, dx=- \frac {\operatorname {asinh}{\left (\frac {\sqrt {b}}{\sqrt {a} x^{2}} \right )}}{2 \sqrt {b}} \]

[In]

integrate(1/x/(a*x**4+b)**(1/2),x)

[Out]

-asinh(sqrt(b)/(sqrt(a)*x**2))/(2*sqrt(b))

Maxima [A] (verification not implemented)

none

Time = 0.26 (sec) , antiderivative size = 37, normalized size of antiderivative = 1.37 \[ \int \frac {1}{x \sqrt {b+a x^4}} \, dx=\frac {\log \left (\frac {\sqrt {a x^{4} + b} - \sqrt {b}}{\sqrt {a x^{4} + b} + \sqrt {b}}\right )}{4 \, \sqrt {b}} \]

[In]

integrate(1/x/(a*x^4+b)^(1/2),x, algorithm="maxima")

[Out]

1/4*log((sqrt(a*x^4 + b) - sqrt(b))/(sqrt(a*x^4 + b) + sqrt(b)))/sqrt(b)

Giac [A] (verification not implemented)

none

Time = 0.27 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.85 \[ \int \frac {1}{x \sqrt {b+a x^4}} \, dx=\frac {\arctan \left (\frac {\sqrt {a x^{4} + b}}{\sqrt {-b}}\right )}{2 \, \sqrt {-b}} \]

[In]

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

[Out]

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

Mupad [B] (verification not implemented)

Time = 5.42 (sec) , antiderivative size = 19, normalized size of antiderivative = 0.70 \[ \int \frac {1}{x \sqrt {b+a x^4}} \, dx=-\frac {\mathrm {atanh}\left (\frac {\sqrt {a\,x^4+b}}{\sqrt {b}}\right )}{2\,\sqrt {b}} \]

[In]

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

[Out]

-atanh((b + a*x^4)^(1/2)/b^(1/2))/(2*b^(1/2))