Optimal. Leaf size=14 \[ -\frac {2 \sin (x)}{\sqrt {1-\cos (x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.100, Rules used = {2725}
\begin {gather*} -\frac {2 \sin (x)}{\sqrt {1-\cos (x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 2725
Rubi steps
\begin {align*} \int \sqrt {1-\cos (x)} \, dx &=-\frac {2 \sin (x)}{\sqrt {1-\cos (x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 18, normalized size = 1.29 \begin {gather*} -2 \sqrt {1-\cos (x)} \cot \left (\frac {x}{2}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {cought exception: maximum recursion depth exceeded while calling a Python object} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.05, size = 22, normalized size = 1.57
method | result | size |
default | \(-\frac {4 \sin \left (\frac {x}{2}\right ) \cos \left (\frac {x}{2}\right ) \sqrt {2}}{\sqrt {2-2 \cos \left (x \right )}}\) | \(22\) |
risch | \(-\frac {i \sqrt {2}\, \sqrt {-\left ({\mathrm e}^{i x}-1\right )^{2} {\mathrm e}^{-i x}}\, \left (1+{\mathrm e}^{i x}\right )}{{\mathrm e}^{i x}-1}\) | \(41\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.35, size = 20, normalized size = 1.43 \begin {gather*} -\frac {2 \, \sqrt {2}}{\sqrt {\frac {\sin \left (x\right )^{2}}{{\left (\cos \left (x\right ) + 1\right )}^{2}} + 1}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.30, size = 18, normalized size = 1.29 \begin {gather*} -\frac {2 \, {\left (\cos \left (x\right ) + 1\right )} \sqrt {-\cos \left (x\right ) + 1}}{\sin \left (x\right )} \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 \sqrt {1 - \cos {\left (x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 29, normalized size = 2.07 \begin {gather*} \sqrt {2} \left (2 \mathrm {sign}\left (\sin \left (\frac {x}{2}\right )\right )-2 \mathrm {sign}\left (\sin \left (\frac {x}{2}\right )\right ) \cos \left (\frac {x}{2}\right )\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 12, normalized size = 0.86 \begin {gather*} -\frac {2\,\sin \left (x\right )}{\sqrt {1-\cos \left (x\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________