Optimal. Leaf size=8 \[ 2 \sinh ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 8, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {1958, 54, 215} \[ 2 \sinh ^{-1}\left (\sqrt {x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 54
Rule 215
Rule 1958
Rubi steps
\begin {align*} \int \frac {\sqrt {\frac {x}{1+x}}}{x} \, dx &=\int \frac {1}{\sqrt {x} \sqrt {1+x}} \, dx\\ &=2 \operatorname {Subst}\left (\int \frac {1}{\sqrt {1+x^2}} \, dx,x,\sqrt {x}\right )\\ &=2 \sinh ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 8, normalized size = 1.00 \[ 2 \sinh ^{-1}\left (\sqrt {x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.43, size = 27, normalized size = 3.38 \[ \log \left (\sqrt {\frac {x}{x + 1}} + 1\right ) - \log \left (\sqrt {\frac {x}{x + 1}} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.40, size = 22, normalized size = 2.75 \[ -\log \left ({\left | -2 \, x + 2 \, \sqrt {x^{2} + x} - 1 \right |}\right ) \mathrm {sgn}\left (x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.02, size = 32, normalized size = 4.00 \[ \frac {\sqrt {\frac {x}{x +1}}\, \left (x +1\right ) \ln \left (x +\frac {1}{2}+\sqrt {x^{2}+x}\right )}{\sqrt {\left (x +1\right ) x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.88, size = 27, normalized size = 3.38 \[ \log \left (\sqrt {\frac {x}{x + 1}} + 1\right ) - \log \left (\sqrt {\frac {x}{x + 1}} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.06, size = 12, normalized size = 1.50 \[ 2\,\mathrm {atanh}\left (\sqrt {\frac {x}{x+1}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\frac {x}{x + 1}}}{x}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________