3.4.27 \(\int \frac {x}{\sqrt {x^3+x^4}} \, dx\) [327]

Optimal. Leaf size=28 \[ \log (x)-\log \left (-x-2 x^2+2 \sqrt {x^3+x^4}\right ) \]

[Out]

ln(x)-ln(-x-2*x^2+2*(x^4+x^3)^(1/2))

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 18, normalized size of antiderivative = 0.64, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {2054, 212} \begin {gather*} 2 \tanh ^{-1}\left (\frac {x^2}{\sqrt {x^4+x^3}}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/Sqrt[x^3 + x^4],x]

[Out]

2*ArcTanh[x^2/Sqrt[x^3 + x^4]]

Rule 212

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

Rule 2054

Int[(x_)^(m_.)/Sqrt[(a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.)], x_Symbol] :> Dist[-2/(n - j), Subst[Int[1/(1 - a*x^2
), x], x, x^(j/2)/Sqrt[a*x^j + b*x^n]], x] /; FreeQ[{a, b, j, n}, x] && EqQ[m, j/2 - 1] && NeQ[n, j]

Rubi steps

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

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 39, normalized size = 1.39 \begin {gather*} \frac {2 x^{3/2} \sqrt {1+x} \tanh ^{-1}\left (\frac {\sqrt {x}}{\sqrt {1+x}}\right )}{\sqrt {x^3 (1+x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/Sqrt[x^3 + x^4],x]

[Out]

(2*x^(3/2)*Sqrt[1 + x]*ArcTanh[Sqrt[x]/Sqrt[1 + x]])/Sqrt[x^3*(1 + x)]

________________________________________________________________________________________

Maple [A]
time = 0.29, size = 30, normalized size = 1.07

method result size
meijerg \(2 \arcsinh \left (\sqrt {x}\right )\) \(7\)
trager \(\ln \left (\frac {2 x^{2}+2 \sqrt {x^{4}+x^{3}}+x}{x}\right )\) \(24\)
default \(\frac {x \sqrt {x \left (1+x \right )}\, \ln \left (x +\frac {1}{2}+\sqrt {x^{2}+x}\right )}{\sqrt {x^{4}+x^{3}}}\) \(30\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

1/(x^4+x^3)^(1/2)*x*(x*(1+x))^(1/2)*ln(x+1/2+(x^2+x)^(1/2))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(x/sqrt(x^4 + x^3), x)

________________________________________________________________________________________

Fricas [A]
time = 0.36, size = 26, normalized size = 0.93 \begin {gather*} -\log \left (-\frac {2 \, x^{2} + x - 2 \, \sqrt {x^{4} + x^{3}}}{x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

-log(-(2*x^2 + x - 2*sqrt(x^4 + x^3))/x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\sqrt {x^{3} \left (x + 1\right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

Integral(x/sqrt(x**3*(x + 1)), x)

________________________________________________________________________________________

Giac [A]
time = 0.39, size = 22, normalized size = 0.79 \begin {gather*} -\frac {\log \left ({\left | -2 \, x + 2 \, \sqrt {x^{2} + x} - 1 \right |}\right )}{\mathrm {sgn}\left (x\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

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

________________________________________________________________________________________

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

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(x^3 + x^4)^(1/2),x)

[Out]

int(x/(x^3 + x^4)^(1/2), x)

________________________________________________________________________________________