Optimal. Leaf size=43 \[ \frac{1-x}{6 \left (x^2-2 x-1\right )^{3/2}}-\frac{1-x}{6 \sqrt{x^2-2 x-1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0061111, antiderivative size = 43, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {614, 613} \[ \frac{1-x}{6 \left (x^2-2 x-1\right )^{3/2}}-\frac{1-x}{6 \sqrt{x^2-2 x-1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 614
Rule 613
Rubi steps
\begin{align*} \int \frac{1}{\left (-1-2 x+x^2\right )^{5/2}} \, dx &=\frac{1-x}{6 \left (-1-2 x+x^2\right )^{3/2}}-\frac{1}{3} \int \frac{1}{\left (-1-2 x+x^2\right )^{3/2}} \, dx\\ &=\frac{1-x}{6 \left (-1-2 x+x^2\right )^{3/2}}-\frac{1-x}{6 \sqrt{-1-2 x+x^2}}\\ \end{align*}
Mathematica [A] time = 0.0138116, size = 26, normalized size = 0.6 \[ \frac{x^3-3 x^2+2}{6 \left (x^2-2 x-1\right )^{3/2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 23, normalized size = 0.5 \begin{align*}{\frac{{x}^{3}-3\,{x}^{2}+2}{6} \left ({x}^{2}-2\,x-1 \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.934023, size = 69, normalized size = 1.6 \begin{align*} \frac{x}{6 \, \sqrt{x^{2} - 2 \, x - 1}} - \frac{1}{6 \, \sqrt{x^{2} - 2 \, x - 1}} - \frac{x}{6 \,{\left (x^{2} - 2 \, x - 1\right )}^{\frac{3}{2}}} + \frac{1}{6 \,{\left (x^{2} - 2 \, x - 1\right )}^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.11103, size = 147, normalized size = 3.42 \begin{align*} \frac{x^{4} - 4 \, x^{3} + 2 \, x^{2} +{\left (x^{3} - 3 \, x^{2} + 2\right )} \sqrt{x^{2} - 2 \, x - 1} + 4 \, x + 1}{6 \,{\left (x^{4} - 4 \, x^{3} + 2 \, x^{2} + 4 \, x + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{1}{\left (x^{2} - 2 x - 1\right )^{\frac{5}{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.06268, size = 28, normalized size = 0.65 \begin{align*} \frac{{\left (x - 3\right )} x^{2} + 2}{6 \,{\left (x^{2} - 2 \, x - 1\right )}^{\frac{3}{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]