Optimal. Leaf size=186 \[ -\frac {i a \sqrt {1-x^2} \text {Li}_2\left (-\frac {i \sqrt {1-x}}{\sqrt {x+1}}\right )}{2 \sqrt {a-a x^2}}+\frac {i a \sqrt {1-x^2} \text {Li}_2\left (\frac {i \sqrt {1-x}}{\sqrt {x+1}}\right )}{2 \sqrt {a-a x^2}}+\frac {1}{2} \sqrt {a-a x^2}+\frac {1}{2} x \sqrt {a-a x^2} \coth ^{-1}(x)-\frac {a \sqrt {1-x^2} \tan ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {x+1}}\right ) \coth ^{-1}(x)}{\sqrt {a-a x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 186, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {5943, 5955, 5951} \[ -\frac {i a \sqrt {1-x^2} \text {PolyLog}\left (2,-\frac {i \sqrt {1-x}}{\sqrt {x+1}}\right )}{2 \sqrt {a-a x^2}}+\frac {i a \sqrt {1-x^2} \text {PolyLog}\left (2,\frac {i \sqrt {1-x}}{\sqrt {x+1}}\right )}{2 \sqrt {a-a x^2}}+\frac {1}{2} \sqrt {a-a x^2}+\frac {1}{2} x \sqrt {a-a x^2} \coth ^{-1}(x)-\frac {a \sqrt {1-x^2} \tan ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {x+1}}\right ) \coth ^{-1}(x)}{\sqrt {a-a x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5943
Rule 5951
Rule 5955
Rubi steps
\begin {align*} \int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx &=\frac {1}{2} \sqrt {a-a x^2}+\frac {1}{2} x \sqrt {a-a x^2} \coth ^{-1}(x)+\frac {1}{2} a \int \frac {\coth ^{-1}(x)}{\sqrt {a-a x^2}} \, dx\\ &=\frac {1}{2} \sqrt {a-a x^2}+\frac {1}{2} x \sqrt {a-a x^2} \coth ^{-1}(x)+\frac {\left (a \sqrt {1-x^2}\right ) \int \frac {\coth ^{-1}(x)}{\sqrt {1-x^2}} \, dx}{2 \sqrt {a-a x^2}}\\ &=\frac {1}{2} \sqrt {a-a x^2}+\frac {1}{2} x \sqrt {a-a x^2} \coth ^{-1}(x)-\frac {a \sqrt {1-x^2} \coth ^{-1}(x) \tan ^{-1}\left (\frac {\sqrt {1-x}}{\sqrt {1+x}}\right )}{\sqrt {a-a x^2}}-\frac {i a \sqrt {1-x^2} \text {Li}_2\left (-\frac {i \sqrt {1-x}}{\sqrt {1+x}}\right )}{2 \sqrt {a-a x^2}}+\frac {i a \sqrt {1-x^2} \text {Li}_2\left (\frac {i \sqrt {1-x}}{\sqrt {1+x}}\right )}{2 \sqrt {a-a x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.97, size = 125, normalized size = 0.67 \[ -\frac {\sqrt {a-a x^2} \left (-4 \text {Li}_2\left (-e^{-\coth ^{-1}(x)}\right )+4 \text {Li}_2\left (e^{-\coth ^{-1}(x)}\right )-2 \coth \left (\frac {1}{2} \coth ^{-1}(x)\right )-4 \coth ^{-1}(x) \log \left (1-e^{-\coth ^{-1}(x)}\right )+4 \coth ^{-1}(x) \log \left (e^{-\coth ^{-1}(x)}+1\right )+2 \tanh \left (\frac {1}{2} \coth ^{-1}(x)\right )-\coth ^{-1}(x) \text {csch}^2\left (\frac {1}{2} \coth ^{-1}(x)\right )-\coth ^{-1}(x) \text {sech}^2\left (\frac {1}{2} \coth ^{-1}(x)\right )\right )}{8 \sqrt {1-\frac {1}{x^2}} x} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.81, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\sqrt {-a x^{2} + a} \operatorname {arcoth}\relax (x), x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {-a x^{2} + a} \operatorname {arcoth}\relax (x)\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.66, size = 199, normalized size = 1.07 \[ \frac {\left (\mathrm {arccoth}\relax (x ) x +1\right ) \sqrt {-\left (-1+x \right ) \left (1+x \right ) a}}{2}+\frac {\sqrt {-\left (-1+x \right ) \left (1+x \right ) a}\, \sqrt {\frac {-1+x}{1+x}}\, \mathrm {arccoth}\relax (x ) \ln \left (1-\frac {1}{\sqrt {\frac {-1+x}{1+x}}}\right )}{-2+2 x}+\frac {\sqrt {-\left (-1+x \right ) \left (1+x \right ) a}\, \sqrt {\frac {-1+x}{1+x}}\, \polylog \left (2, \frac {1}{\sqrt {\frac {-1+x}{1+x}}}\right )}{-2+2 x}-\frac {\sqrt {-\left (-1+x \right ) \left (1+x \right ) a}\, \sqrt {\frac {-1+x}{1+x}}\, \mathrm {arccoth}\relax (x ) \ln \left (1+\frac {1}{\sqrt {\frac {-1+x}{1+x}}}\right )}{2 \left (-1+x \right )}-\frac {\sqrt {-\left (-1+x \right ) \left (1+x \right ) a}\, \sqrt {\frac {-1+x}{1+x}}\, \polylog \left (2, -\frac {1}{\sqrt {\frac {-1+x}{1+x}}}\right )}{2 \left (-1+x \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {-a x^{2} + a} \operatorname {arcoth}\relax (x)\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \mathrm {acoth}\relax (x)\,\sqrt {a-a\,x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \sqrt {- a \left (x - 1\right ) \left (x + 1\right )} \operatorname {acoth}{\relax (x )}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________