Optimal. Leaf size=61 \[ \frac {\sqrt {\frac {2 x}{x^2+1}+1} \left (x^2+1\right )}{x+1}+\frac {\sqrt {\frac {2 x}{x^2+1}+1} \sqrt {x^2+1} \sinh ^{-1}(x)}{x+1} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 61, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {6723, 970, 641, 215} \[ \frac {\sqrt {\frac {2 x}{x^2+1}+1} \left (x^2+1\right )}{x+1}+\frac {\sqrt {\frac {2 x}{x^2+1}+1} \sqrt {x^2+1} \sinh ^{-1}(x)}{x+1} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 215
Rule 641
Rule 970
Rule 6723
Rubi steps
\begin {align*} \int \sqrt {1+\frac {2 x}{1+x^2}} \, dx &=\frac {\left (\sqrt {1+x^2} \sqrt {1+\frac {2 x}{1+x^2}}\right ) \int \frac {\sqrt {1+2 x+x^2}}{\sqrt {1+x^2}} \, dx}{\sqrt {1+2 x+x^2}}\\ &=\frac {\left (\sqrt {1+x^2} \sqrt {1+\frac {2 x}{1+x^2}}\right ) \int \frac {2+2 x}{\sqrt {1+x^2}} \, dx}{2+2 x}\\ &=\frac {\left (1+x^2\right ) \sqrt {1+\frac {2 x}{1+x^2}}}{1+x}+\frac {\left (2 \sqrt {1+x^2} \sqrt {1+\frac {2 x}{1+x^2}}\right ) \int \frac {1}{\sqrt {1+x^2}} \, dx}{2+2 x}\\ &=\frac {\left (1+x^2\right ) \sqrt {1+\frac {2 x}{1+x^2}}}{1+x}+\frac {\sqrt {1+x^2} \sqrt {1+\frac {2 x}{1+x^2}} \sinh ^{-1}(x)}{1+x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 40, normalized size = 0.66 \[ \frac {\sqrt {\frac {(x+1)^2}{x^2+1}} \left (x^2+\sqrt {x^2+1} \sinh ^{-1}(x)+1\right )}{x+1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 75, normalized size = 1.23 \[ -\frac {{\left (x + 1\right )} \log \left (-\frac {x^{2} - {\left (x^{2} + 1\right )} \sqrt {\frac {x^{2} + 2 \, x + 1}{x^{2} + 1}} + x}{x + 1}\right ) - {\left (x^{2} + 1\right )} \sqrt {\frac {x^{2} + 2 \, x + 1}{x^{2} + 1}}}{x + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.48, size = 49, normalized size = 0.80 \[ -{\left (\sqrt {2} - \log \left (\sqrt {2} + 1\right )\right )} \mathrm {sgn}\left (x + 1\right ) - \log \left (-x + \sqrt {x^{2} + 1}\right ) \mathrm {sgn}\left (x + 1\right ) + \sqrt {x^{2} + 1} \mathrm {sgn}\left (x + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 42, normalized size = 0.69 \[ \frac {\sqrt {\frac {x^{2}+2 x +1}{x^{2}+1}}\, \sqrt {x^{2}+1}\, \left (\arcsinh \relax (x )+\sqrt {x^{2}+1}\right )}{x +1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {\frac {2 \, x}{x^{2} + 1} + 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \sqrt {\frac {2\,x}{x^2+1}+1} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {\frac {2 x}{x^{2} + 1} + 1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________