Optimal. Leaf size=36 \[ \frac {2 x \sqrt {\frac {\left (1-x^2\right )^2}{x \left (1+x^2\right )}}}{1-x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.09, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {6850, 460}
\begin {gather*} \frac {2 x \sqrt {\frac {\left (1-x^2\right )^2}{x \left (x^2+1\right )}}}{1-x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 460
Rule 6850
Rubi steps
\begin {align*} \int \frac {\sqrt {\frac {\left (-1+x^2\right )^2}{x \left (1+x^2\right )}}}{1+x^2} \, dx &=\frac {\left (\sqrt {x} \sqrt {\frac {\left (-1+x^2\right )^2}{x \left (1+x^2\right )}} \sqrt {1+x^2}\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 \left (1+x^2\right )}}}{1-x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 29, normalized size = 0.81 \begin {gather*} -\frac {2 x \sqrt {\frac {\left (-1+x^2\right )^2}{x+x^3}}}{-1+x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.21, size = 31, normalized size = 0.86
method | result | size |
default | \(-\frac {2 \sqrt {\frac {\left (x^{2}-1\right )^{2}}{x \left (x^{2}+1\right )}}\, x}{x^{2}-1}\) | \(31\) |
risch | \(-\frac {2 \sqrt {\frac {\left (x^{2}-1\right )^{2}}{x \left (x^{2}+1\right )}}\, x}{x^{2}-1}\) | \(31\) |
gosper | \(-\frac {2 x \sqrt {\frac {\left (x^{2}-1\right )^{2}}{x \left (x^{2}+1\right )}}}{\left (1+x \right ) \left (-1+x \right )}\) | \(34\) |
trager | \(-\frac {2 x \sqrt {-\frac {-x^{4}+2 x^{2}-1}{x^{3}+x}}}{x^{2}-1}\) | \(34\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
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]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 30, normalized size = 0.83 \begin {gather*} -\frac {2 \, x \sqrt {\frac {x^{4} - 2 \, x^{2} + 1}{x^{3} + x}}}{x^{2} - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {\frac {\left (x - 1\right )^{2} \left (x + 1\right )^{2}}{x^{3} + x}}}{x^{2} + 1}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.49, size = 48, normalized size = 1.33 \begin {gather*} -\frac {\left (2\,x^3+2\,x\right )\,\sqrt {\frac {1}{x^2+1}}\,\sqrt {{\left (x^2-1\right )}^2}\,\sqrt {\frac {1}{x}}}{\left (x^2-1\right )\,\left (x^2+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________