Optimal. Leaf size=20 \[ \frac {\sqrt {x^2} \sqrt {x^2+1}}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.00, antiderivative size = 20, 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, 15, 261} \[ \frac {\sqrt {x^2} \sqrt {x^2+1}}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rule 261
Rule 1958
Rubi steps
\begin {align*} \int \sqrt {\frac {x^2}{1+x^2}} \, dx &=\int \frac {\sqrt {x^2}}{\sqrt {1+x^2}} \, dx\\ &=\frac {\sqrt {x^2} \int \frac {x}{\sqrt {1+x^2}} \, dx}{x}\\ &=\frac {\sqrt {x^2} \sqrt {1+x^2}}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 17, normalized size = 0.85 \[ \frac {x}{\sqrt {\frac {x^2}{x^2+1}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.66, size = 22, normalized size = 1.10 \[ \frac {{\left (x^{2} + 1\right )} \sqrt {\frac {x^{2}}{x^{2} + 1}}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.44, size = 15, normalized size = 0.75 \[ \sqrt {x^{2} + 1} \mathrm {sgn}\relax (x) - \mathrm {sgn}\relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 23, normalized size = 1.15 \[ \frac {\left (x^{2}+1\right ) \sqrt {\frac {x^{2}}{x^{2}+1}}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.08, size = 7, normalized size = 0.35 \[ \sqrt {x^{2} + 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.41, size = 13, normalized size = 0.65 \[ \frac {\sqrt {x^4+x^2}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 0.44, size = 36, normalized size = 1.80 \[ x \sqrt {x^{2}} \sqrt {\frac {1}{x^{2} + 1}} + \frac {\sqrt {x^{2}} \sqrt {\frac {1}{x^{2} + 1}}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________