Optimal. Leaf size=33 \[ \frac {2 x \sqrt {\frac {\left (1-x^2\right )^2}{x^3+x}}}{1-x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.19, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {6719, 2056, 449} \[ \frac {2 x \sqrt {\frac {\left (1-x^2\right )^2}{x^3+x}}}{1-x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 449
Rule 2056
Rule 6719
Rubi steps
\begin {align*} \int \frac {\sqrt {\frac {\left (-1+x^2\right )^2}{x+x^3}}}{1+x^2} \, dx &=\frac {\left (\sqrt {\frac {\left (-1+x^2\right )^2}{x+x^3}} \sqrt {x+x^3}\right ) \int \frac {-1+x^2}{\left (1+x^2\right ) \sqrt {x+x^3}} \, dx}{-1+x^2}\\ &=\frac {\left (\sqrt {x} \sqrt {1+x^2} \sqrt {\frac {\left (-1+x^2\right )^2}{x+x^3}}\right ) \int \frac {-1+x^2}{\sqrt {x} \left (1+x^2\right )^{3/2}} \, dx}{-1+x^2}\\ &=\frac {2 x \sqrt {\frac {\left (1-x^2\right )^2}{x+x^3}}}{1-x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 29, normalized size = 0.88 \[ -\frac {2 x \sqrt {\frac {\left (x^2-1\right )^2}{x^3+x}}}{x^2-1} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 30, normalized size = 0.91 \[ -\frac {2 \, x \sqrt {\frac {x^{4} - 2 \, x^{2} + 1}{x^{3} + x}}}{x^{2} - 1} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\frac {{\left (x^{2} - 1\right )}^{2}}{x^{3} + x}}}{x^{2} + 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 34, normalized size = 1.03 \[ -\frac {2 \sqrt {\frac {\left (x^{2}-1\right )^{2}}{\left (x^{2}+1\right ) x}}\, x}{\left (x -1\right ) \left (x +1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {\frac {{\left (x^{2} - 1\right )}^{2}}{x^{3} + x}}}{x^{2} + 1}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.49, size = 43, normalized size = 1.30 \[ -\frac {\sqrt {\frac {1}{x^3+x}}\,\left (2\,x^3+2\,x\right )\,\sqrt {{\left (x^2-1\right )}^2}}{\left (x^2-1\right )\,\left (x^2+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 {\left (x - 1\right )^{2} \left (x + 1\right )^{2}}{x^{3} + x}}}{x^{2} + 1}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________