Optimal. Leaf size=26 \[ -\frac {(1-x) (1+x)}{\sqrt {-\left ((1-x) (1+x)^3\right )}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 26, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {6851, 37}
\begin {gather*} -\frac {(1-x) (x+1)}{\sqrt {-\left ((1-x) (x+1)^3\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 6851
Rubi steps
\begin {gather*} \begin {aligned} \text {Integral} &=\frac {\left (\sqrt {-1+x} (1+x)^{3/2}\right ) \int \frac {1}{\sqrt {-1+x} (1+x)^{3/2}} \, dx}{\sqrt {(-1+x) (1+x)^3}}\\ &=-\frac {(1-x) (1+x)}{\sqrt {-\left ((1-x) (1+x)^3\right )}}\\ \end {aligned} \end {gather*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 20, normalized size = 0.77 \begin {gather*} \frac {(-1+x) (1+x)}{\sqrt {(-1+x) (1+x)^3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.19, size = 29, normalized size = 1.12
method | result | size |
gosper | \(\frac {\left (x -1\right ) \left (x +1\right )}{\sqrt {\left (x +1\right )^{3} \left (x -1\right )}}\) | \(19\) |
risch | \(\frac {\left (x -1\right ) \left (x +1\right )}{\sqrt {\left (x +1\right )^{3} \left (x -1\right )}}\) | \(19\) |
trager | \(\frac {\sqrt {x^{4}+2 x^{3}-2 x -1}}{\left (x +1\right )^{2}}\) | \(22\) |
default | \(\frac {\sqrt {\left (x -1\right ) \left (x +1\right )}\, \sqrt {x^{2}-1}}{\sqrt {\left (x +1\right )^{3} \left (x -1\right )}}\) | \(29\) |
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.57, size = 34, normalized size = 1.31 \begin {gather*} \frac {x^{2} + 2 \, x + \sqrt {x^{4} + 2 \, x^{3} - 2 \, x - 1} + 1}{x^{2} + 2 \, x + 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 {1}{\sqrt {\left (x - 1\right ) \left (x + 1\right )^{3}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 22, normalized size = 0.85 \begin {gather*} \frac {2}{{\left (x - \sqrt {x^{2} - 1} + 1\right )} \mathrm {sgn}\left (x + 1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.05, size = 17, normalized size = 0.65 \begin {gather*} \frac {x^2-1}{\sqrt {\left (x-1\right )\,{\left (x+1\right )}^3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Chatgpt [F] Failed to verify
time = 1.00, size = 29, normalized size = 1.12 \begin {gather*} 6 \sqrt {\frac {x +1}{x -1}+2}+\frac {1}{\frac {x +1}{x -1}+2} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________