3.566 \(\int \frac{1}{\sqrt{x}-x^{5/2}} \, dx\)

Optimal. Leaf size=13 \[ \tan ^{-1}\left (\sqrt{x}\right )+\tanh ^{-1}\left (\sqrt{x}\right ) \]

[Out]

ArcTan[Sqrt[x]] + ArcTanh[Sqrt[x]]

________________________________________________________________________________________

Rubi [A]  time = 0.0084578, antiderivative size = 13, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.333, Rules used = {1593, 329, 212, 206, 203} \[ \tan ^{-1}\left (\sqrt{x}\right )+\tanh ^{-1}\left (\sqrt{x}\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

ArcTan[Sqrt[x]] + ArcTanh[Sqrt[x]]

Rule 1593

Int[(u_.)*((a_.)*(x_)^(p_.) + (b_.)*(x_)^(q_.))^(n_.), x_Symbol] :> Int[u*x^(n*p)*(a + b*x^(q - p))^n, x] /; F
reeQ[{a, b, p, q}, x] && IntegerQ[n] && PosQ[q - p]

Rule 329

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Dist[k/c, Subst[I
nt[x^(k*(m + 1) - 1)*(a + (b*x^(k*n))/c^n)^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0]
 && FractionQ[m] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 212

Int[((a_) + (b_.)*(x_)^4)^(-1), x_Symbol] :> With[{r = Numerator[Rt[-(a/b), 2]], s = Denominator[Rt[-(a/b), 2]
]}, Dist[r/(2*a), Int[1/(r - s*x^2), x], x] + Dist[r/(2*a), Int[1/(r + s*x^2), x], x]] /; FreeQ[{a, b}, x] &&
 !GtQ[a/b, 0]

Rule 206

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

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])

Rubi steps

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

Mathematica [A]  time = 0.0040201, size = 13, normalized size = 1. \[ \tan ^{-1}\left (\sqrt{x}\right )+\tanh ^{-1}\left (\sqrt{x}\right ) \]

Antiderivative was successfully verified.

[In]

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

[Out]

ArcTan[Sqrt[x]] + ArcTanh[Sqrt[x]]

________________________________________________________________________________________

Maple [A]  time = 0.004, size = 10, normalized size = 0.8 \begin{align*} \arctan \left ( \sqrt{x} \right ) +{\it Artanh} \left ( \sqrt{x} \right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Maxima [B]  time = 2.49291, size = 28, normalized size = 2.15 \begin{align*} \arctan \left (\sqrt{x}\right ) + \frac{1}{2} \, \log \left (\sqrt{x} + 1\right ) - \frac{1}{2} \, \log \left (\sqrt{x} - 1\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Fricas [B]  time = 1.3356, size = 85, normalized size = 6.54 \begin{align*} \arctan \left (\sqrt{x}\right ) + \frac{1}{2} \, \log \left (\sqrt{x} + 1\right ) - \frac{1}{2} \, \log \left (\sqrt{x} - 1\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

Sympy [B]  time = 0.397158, size = 26, normalized size = 2. \begin{align*} - \frac{\log{\left (\sqrt{x} - 1 \right )}}{2} + \frac{\log{\left (\sqrt{x} + 1 \right )}}{2} + \operatorname{atan}{\left (\sqrt{x} \right )} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(sqrt(x) - 1)/2 + log(sqrt(x) + 1)/2 + atan(sqrt(x))

________________________________________________________________________________________

Giac [B]  time = 1.09752, size = 30, normalized size = 2.31 \begin{align*} \arctan \left (\sqrt{x}\right ) + \frac{1}{2} \, \log \left (\sqrt{x} + 1\right ) - \frac{1}{2} \, \log \left ({\left | \sqrt{x} - 1 \right |}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

arctan(sqrt(x)) + 1/2*log(sqrt(x) + 1) - 1/2*log(abs(sqrt(x) - 1))