Optimal. Leaf size=33 \[ \frac {2 \sqrt {x-1}}{1-x}+\frac {2 \sqrt {x+1}}{-x-1} \]
________________________________________________________________________________________
Rubi [A] time = 0.29, antiderivative size = 19, normalized size of antiderivative = 0.58, number of steps used = 2, number of rules used = 1, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.033, Rules used = {6688} \begin {gather*} -\frac {2}{\sqrt {x+1}}-\frac {2}{\sqrt {x-1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 6688
Rubi steps
\begin {align*} \int \frac {(-1+x)^{3/2}+(1+x)^{3/2}}{(-1+x)^{3/2} (1+x)^{3/2}} \, dx &=\int \left (\frac {1}{(-1+x)^{3/2}}+\frac {1}{(1+x)^{3/2}}\right ) \, dx\\ &=-\frac {2}{\sqrt {-1+x}}-\frac {2}{\sqrt {1+x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 19, normalized size = 0.58 \begin {gather*} -\frac {2}{\sqrt {x+1}}-\frac {2}{\sqrt {x-1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.35, size = 19, normalized size = 0.58 \begin {gather*} -\frac {2}{\sqrt {-1+x}}-\frac {2}{\sqrt {1+x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.55, size = 28, normalized size = 0.85 \begin {gather*} -\frac {2 \, {\left ({\left (x + 1\right )} \sqrt {x - 1} + \sqrt {x + 1} {\left (x - 1\right )}\right )}}{x^{2} - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.39, size = 15, normalized size = 0.45 \begin {gather*} -\frac {2}{\sqrt {x + 1}} - \frac {2}{\sqrt {x - 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.09, size = 16, normalized size = 0.48
method | result | size |
default | \(-\frac {2}{\sqrt {1+x}}-\frac {2}{\sqrt {-1+x}}\) | \(16\) |
meijerg | \(\frac {2 \sqrt {\pi }-\frac {2 \sqrt {\pi }}{\sqrt {1+x}}}{\sqrt {\pi }}-\frac {2 \left (-\mathrm {signum}\left (-1+x \right )\right )^{\frac {3}{2}} \left (\sqrt {\pi }-\frac {\sqrt {\pi }}{\sqrt {1-x}}\right )}{\sqrt {\pi }\, \mathrm {signum}\left (-1+x \right )^{\frac {3}{2}}}\) | \(56\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.34, size = 15, normalized size = 0.45 \begin {gather*} -\frac {2}{\sqrt {x + 1}} - \frac {2}{\sqrt {x - 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.28, size = 15, normalized size = 0.45 \begin {gather*} -\frac {2}{\sqrt {x-1}}-\frac {2}{\sqrt {x+1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 4.91, size = 56, normalized size = 1.70 \begin {gather*} - \frac {2 x \sqrt {x - 1}}{x^{2} - 1} - \frac {2 x \sqrt {x + 1}}{x^{2} - 1} - \frac {2 \sqrt {x - 1}}{x^{2} - 1} + \frac {2 \sqrt {x + 1}}{x^{2} - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________