Optimal. Leaf size=21 \[ \frac{2 \sqrt{-x^2+x+2}}{3 (x-2)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0054853, antiderivative size = 23, normalized size of antiderivative = 1.1, number of steps used = 1, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056, Rules used = {650} \[ -\frac{2 \sqrt{-x^2+x+2}}{3 (2-x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 650
Rubi steps
\begin{align*} \int \frac{1}{(-2+x) \sqrt{2+x-x^2}} \, dx &=-\frac{2 \sqrt{2+x-x^2}}{3 (2-x)}\\ \end{align*}
Mathematica [A] time = 0.0042338, size = 21, normalized size = 1. \[ -\frac{2 \sqrt{-x^2+x+2}}{6-3 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 16, normalized size = 0.8 \begin{align*} -{\frac{2\,x+2}{3}{\frac{1}{\sqrt{-{x}^{2}+x+2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.41472, size = 23, normalized size = 1.1 \begin{align*} \frac{2 \, \sqrt{-x^{2} + x + 2}}{3 \,{\left (x - 2\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.74288, size = 43, normalized size = 2.05 \begin{align*} \frac{2 \, \sqrt{-x^{2} + x + 2}}{3 \,{\left (x - 2\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}{\sqrt{- \left (x - 2\right ) \left (x + 1\right )} \left (x - 2\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.05579, size = 38, normalized size = 1.81 \begin{align*} -\frac{4}{3 \,{\left (\frac{2 \, \sqrt{-x^{2} + x + 2} - 3}{2 \, x - 1} + 1\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]