Optimal. Leaf size=144 \[ -\frac{i \sqrt{1-x^2} \text{PolyLog}\left (2,-\frac{i \sqrt{1-x}}{\sqrt{x+1}}\right )}{\sqrt{a-a x^2}}+\frac{i \sqrt{1-x^2} \text{PolyLog}\left (2,\frac{i \sqrt{1-x}}{\sqrt{x+1}}\right )}{\sqrt{a-a x^2}}-\frac{2 \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.0495992, antiderivative size = 144, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {5955, 5951} \[ -\frac{i \sqrt{1-x^2} \text{PolyLog}\left (2,-\frac{i \sqrt{1-x}}{\sqrt{x+1}}\right )}{\sqrt{a-a x^2}}+\frac{i \sqrt{1-x^2} \text{PolyLog}\left (2,\frac{i \sqrt{1-x}}{\sqrt{x+1}}\right )}{\sqrt{a-a x^2}}-\frac{2 \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 5955
Rule 5951
Rubi steps
\begin{align*} \int \frac{\coth ^{-1}(x)}{\sqrt{a-a x^2}} \, dx &=\frac{\sqrt{1-x^2} \int \frac{\coth ^{-1}(x)}{\sqrt{1-x^2}} \, dx}{\sqrt{a-a x^2}}\\ &=-\frac{2 \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 \sqrt{1-x^2} \text{Li}_2\left (-\frac{i \sqrt{1-x}}{\sqrt{1+x}}\right )}{\sqrt{a-a x^2}}+\frac{i \sqrt{1-x^2} \text{Li}_2\left (\frac{i \sqrt{1-x}}{\sqrt{1+x}}\right )}{\sqrt{a-a x^2}}\\ \end{align*}
Mathematica [A] time = 0.112466, size = 77, normalized size = 0.53 \[ \frac{\sqrt{a-a x^2} \left (\text{PolyLog}\left (2,-e^{-\coth ^{-1}(x)}\right )-\text{PolyLog}\left (2,e^{-\coth ^{-1}(x)}\right )+\coth ^{-1}(x) \left (\log \left (1-e^{-\coth ^{-1}(x)}\right )-\log \left (e^{-\coth ^{-1}(x)}+1\right )\right )\right )}{a \sqrt{1-\frac{1}{x^2}} x} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.368, size = 190, normalized size = 1.3 \begin{align*} -{\frac{{\rm arccoth} \left (x\right )}{ \left ( -1+x \right ) a}\ln \left ( 1+{\frac{1}{\sqrt{{\frac{-1+x}{1+x}}}}} \right ) \sqrt{{\frac{-1+x}{1+x}}}\sqrt{- \left ( -1+x \right ) \left ( 1+x \right ) a}}-{\frac{1}{ \left ( -1+x \right ) a}{\it polylog} \left ( 2,-{\frac{1}{\sqrt{{\frac{-1+x}{1+x}}}}} \right ) \sqrt{{\frac{-1+x}{1+x}}}\sqrt{- \left ( -1+x \right ) \left ( 1+x \right ) a}}+{\frac{{\rm arccoth} \left (x\right )}{ \left ( -1+x \right ) a}\ln \left ( 1-{\frac{1}{\sqrt{{\frac{-1+x}{1+x}}}}} \right ) \sqrt{{\frac{-1+x}{1+x}}}\sqrt{- \left ( -1+x \right ) \left ( 1+x \right ) a}}+{\frac{1}{ \left ( -1+x \right ) a}{\it polylog} \left ( 2,{\frac{1}{\sqrt{{\frac{-1+x}{1+x}}}}} \right ) \sqrt{{\frac{-1+x}{1+x}}}\sqrt{- \left ( -1+x \right ) \left ( 1+x \right ) a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-a x^{2} + a} \operatorname{arcoth}\left (x\right )}{a x^{2} - a}, x\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{\operatorname{acoth}{\left (x \right )}}{\sqrt{- a \left (x - 1\right ) \left (x + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\operatorname{arcoth}\left (x\right )}{\sqrt{-a x^{2} + a}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]