Optimal. Leaf size=15 \[ -\sqrt {2 x-x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.00, antiderivative size = 15, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {643}
\begin {gather*} -\sqrt {2 x-x^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 643
Rubi steps
\begin {align*} \int \frac {-1+x}{\sqrt {2 x-x^2}} \, dx &=-\sqrt {2 x-x^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 12, normalized size = 0.80 \begin {gather*} -\sqrt {-((-2+x) x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.22, size = 14, normalized size = 0.93
method | result | size |
default | \(-\sqrt {-x^{2}+2 x}\) | \(14\) |
trager | \(-\sqrt {-x^{2}+2 x}\) | \(14\) |
risch | \(\frac {x \left (x -2\right )}{\sqrt {-x \left (x -2\right )}}\) | \(14\) |
gosper | \(\frac {x \left (x -2\right )}{\sqrt {-x^{2}+2 x}}\) | \(17\) |
meijerg | \(-2 \arcsin \left (\frac {\sqrt {2}\, \sqrt {x}}{2}\right )+\frac {2 i \left (\frac {i \sqrt {\pi }\, \sqrt {x}\, \sqrt {2}\, \sqrt {1-\frac {x}{2}}}{2}-i \sqrt {\pi }\, \arcsin \left (\frac {\sqrt {2}\, \sqrt {x}}{2}\right )\right )}{\sqrt {\pi }}\) | \(54\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 13, normalized size = 0.87 \begin {gather*} -\sqrt {-x^{2} + 2 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 13, normalized size = 0.87 \begin {gather*} -\sqrt {-x^{2} + 2 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.05, size = 10, normalized size = 0.67 \begin {gather*} - \sqrt {- x^{2} + 2 x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 4.34, size = 13, normalized size = 0.87 \begin {gather*} -\sqrt {-x^{2} + 2 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 3.64, size = 10, normalized size = 0.67 \begin {gather*} -\sqrt {-x\,\left (x-2\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________