\(\int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx\) [48]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 15, antiderivative size = 186 \[ \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 {a \sqrt {1-x^2} \coth ^{-1}(x) \arctan \left (\frac {\sqrt {1-x}}{\sqrt {1+x}}\right )}{\sqrt {a-a x^2}}-\frac {i a \sqrt {1-x^2} \operatorname {PolyLog}\left (2,-\frac {i \sqrt {1-x}}{\sqrt {1+x}}\right )}{2 \sqrt {a-a x^2}}+\frac {i a \sqrt {1-x^2} \operatorname {PolyLog}\left (2,\frac {i \sqrt {1-x}}{\sqrt {1+x}}\right )}{2 \sqrt {a-a x^2}} \]

[Out]

-a*arccoth(x)*arctan((1-x)^(1/2)/(1+x)^(1/2))*(-x^2+1)^(1/2)/(-a*x^2+a)^(1/2)-1/2*I*a*polylog(2,-I*(1-x)^(1/2)
/(1+x)^(1/2))*(-x^2+1)^(1/2)/(-a*x^2+a)^(1/2)+1/2*I*a*polylog(2,I*(1-x)^(1/2)/(1+x)^(1/2))*(-x^2+1)^(1/2)/(-a*
x^2+a)^(1/2)+1/2*(-a*x^2+a)^(1/2)+1/2*x*arccoth(x)*(-a*x^2+a)^(1/2)

Rubi [A] (verified)

Time = 0.07 (sec) , antiderivative size = 186, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {6090, 6102, 6098} \[ \int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx=-\frac {a \sqrt {1-x^2} \arctan \left (\frac {\sqrt {1-x}}{\sqrt {x+1}}\right ) \coth ^{-1}(x)}{\sqrt {a-a x^2}}-\frac {i a \sqrt {1-x^2} \operatorname {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} \operatorname {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) \]

[In]

Int[Sqrt[a - a*x^2]*ArcCoth[x],x]

[Out]

Sqrt[a - a*x^2]/2 + (x*Sqrt[a - a*x^2]*ArcCoth[x])/2 - (a*Sqrt[1 - x^2]*ArcCoth[x]*ArcTan[Sqrt[1 - x]/Sqrt[1 +
 x]])/Sqrt[a - a*x^2] - ((I/2)*a*Sqrt[1 - x^2]*PolyLog[2, ((-I)*Sqrt[1 - x])/Sqrt[1 + x]])/Sqrt[a - a*x^2] + (
(I/2)*a*Sqrt[1 - x^2]*PolyLog[2, (I*Sqrt[1 - x])/Sqrt[1 + x]])/Sqrt[a - a*x^2]

Rule 6090

Int[((a_.) + ArcCoth[(c_.)*(x_)]*(b_.))*((d_) + (e_.)*(x_)^2)^(q_.), x_Symbol] :> Simp[b*((d + e*x^2)^q/(2*c*q
*(2*q + 1))), x] + (Dist[2*d*(q/(2*q + 1)), Int[(d + e*x^2)^(q - 1)*(a + b*ArcCoth[c*x]), x], x] + Simp[x*(d +
 e*x^2)^q*((a + b*ArcCoth[c*x])/(2*q + 1)), x]) /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && GtQ[q, 0]

Rule 6098

Int[((a_.) + ArcCoth[(c_.)*(x_)]*(b_.))/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[-2*(a + b*ArcCoth[c*x])*(
ArcTan[Sqrt[1 - c*x]/Sqrt[1 + c*x]]/(c*Sqrt[d])), x] + (-Simp[I*b*(PolyLog[2, (-I)*(Sqrt[1 - c*x]/Sqrt[1 + c*x
])]/(c*Sqrt[d])), x] + Simp[I*b*(PolyLog[2, I*(Sqrt[1 - c*x]/Sqrt[1 + c*x])]/(c*Sqrt[d])), x]) /; FreeQ[{a, b,
 c, d, e}, x] && EqQ[c^2*d + e, 0] && GtQ[d, 0]

Rule 6102

Int[((a_.) + ArcCoth[(c_.)*(x_)]*(b_.))^(p_.)/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Dist[Sqrt[1 - c^2*x^2]/S
qrt[d + e*x^2], Int[(a + b*ArcCoth[c*x])^p/Sqrt[1 - c^2*x^2], x], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d
 + e, 0] && IGtQ[p, 0] &&  !GtQ[d, 0]

Rubi steps \begin{align*} \text {integral}& = \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) \arctan \left (\frac {\sqrt {1-x}}{\sqrt {1+x}}\right )}{\sqrt {a-a x^2}}-\frac {i a \sqrt {1-x^2} \operatorname {PolyLog}\left (2,-\frac {i \sqrt {1-x}}{\sqrt {1+x}}\right )}{2 \sqrt {a-a x^2}}+\frac {i a \sqrt {1-x^2} \operatorname {PolyLog}\left (2,\frac {i \sqrt {1-x}}{\sqrt {1+x}}\right )}{2 \sqrt {a-a x^2}} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.79 (sec) , antiderivative size = 125, normalized size of antiderivative = 0.67 \[ \int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx=-\frac {\sqrt {a-a x^2} \left (-2 \coth \left (\frac {1}{2} \coth ^{-1}(x)\right )-\coth ^{-1}(x) \text {csch}^2\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 (1+e^{-\coth ^{-1}(x)}\right )-4 \operatorname {PolyLog}\left (2,-e^{-\coth ^{-1}(x)}\right )+4 \operatorname {PolyLog}\left (2,e^{-\coth ^{-1}(x)}\right )-\coth ^{-1}(x) \text {sech}^2\left (\frac {1}{2} \coth ^{-1}(x)\right )+2 \tanh \left (\frac {1}{2} \coth ^{-1}(x)\right )\right )}{8 \sqrt {1-\frac {1}{x^2}} x} \]

[In]

Integrate[Sqrt[a - a*x^2]*ArcCoth[x],x]

[Out]

-1/8*(Sqrt[a - a*x^2]*(-2*Coth[ArcCoth[x]/2] - ArcCoth[x]*Csch[ArcCoth[x]/2]^2 - 4*ArcCoth[x]*Log[1 - E^(-ArcC
oth[x])] + 4*ArcCoth[x]*Log[1 + E^(-ArcCoth[x])] - 4*PolyLog[2, -E^(-ArcCoth[x])] + 4*PolyLog[2, E^(-ArcCoth[x
])] - ArcCoth[x]*Sech[ArcCoth[x]/2]^2 + 2*Tanh[ArcCoth[x]/2]))/(Sqrt[1 - x^(-2)]*x)

Maple [A] (verified)

Time = 0.48 (sec) , antiderivative size = 199, normalized size of antiderivative = 1.07

method result size
default \(\frac {\left (\operatorname {arccoth}\left (x \right ) x +1\right ) \sqrt {-\left (1+x \right ) \left (x -1\right ) a}}{2}+\frac {\sqrt {-\left (1+x \right ) \left (x -1\right ) a}\, \sqrt {\frac {x -1}{1+x}}\, \operatorname {arccoth}\left (x \right ) \ln \left (1-\frac {1}{\sqrt {\frac {x -1}{1+x}}}\right )}{2 x -2}+\frac {\sqrt {-\left (1+x \right ) \left (x -1\right ) a}\, \sqrt {\frac {x -1}{1+x}}\, \operatorname {polylog}\left (2, \frac {1}{\sqrt {\frac {x -1}{1+x}}}\right )}{2 x -2}-\frac {\sqrt {-\left (1+x \right ) \left (x -1\right ) a}\, \sqrt {\frac {x -1}{1+x}}\, \operatorname {arccoth}\left (x \right ) \ln \left (\frac {1}{\sqrt {\frac {x -1}{1+x}}}+1\right )}{2 \left (x -1\right )}-\frac {\sqrt {-\left (1+x \right ) \left (x -1\right ) a}\, \sqrt {\frac {x -1}{1+x}}\, \operatorname {polylog}\left (2, -\frac {1}{\sqrt {\frac {x -1}{1+x}}}\right )}{2 \left (x -1\right )}\) \(199\)

[In]

int((-a*x^2+a)^(1/2)*arccoth(x),x,method=_RETURNVERBOSE)

[Out]

1/2*(arccoth(x)*x+1)*(-(1+x)*(x-1)*a)^(1/2)+1/2*(-(1+x)*(x-1)*a)^(1/2)*((x-1)/(1+x))^(1/2)/(x-1)*arccoth(x)*ln
(1-1/((x-1)/(1+x))^(1/2))+1/2*(-(1+x)*(x-1)*a)^(1/2)*((x-1)/(1+x))^(1/2)/(x-1)*polylog(2,1/((x-1)/(1+x))^(1/2)
)-1/2*(-(1+x)*(x-1)*a)^(1/2)*((x-1)/(1+x))^(1/2)/(x-1)*arccoth(x)*ln(1/((x-1)/(1+x))^(1/2)+1)-1/2*(-(1+x)*(x-1
)*a)^(1/2)*((x-1)/(1+x))^(1/2)/(x-1)*polylog(2,-1/((x-1)/(1+x))^(1/2))

Fricas [F]

\[ \int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx=\int { \sqrt {-a x^{2} + a} \operatorname {arcoth}\left (x\right ) \,d x } \]

[In]

integrate((-a*x^2+a)^(1/2)*arccoth(x),x, algorithm="fricas")

[Out]

integral(sqrt(-a*x^2 + a)*arccoth(x), x)

Sympy [F]

\[ \int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx=\int \sqrt {- a \left (x - 1\right ) \left (x + 1\right )} \operatorname {acoth}{\left (x \right )}\, dx \]

[In]

integrate((-a*x**2+a)**(1/2)*acoth(x),x)

[Out]

Integral(sqrt(-a*(x - 1)*(x + 1))*acoth(x), x)

Maxima [F]

\[ \int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx=\int { \sqrt {-a x^{2} + a} \operatorname {arcoth}\left (x\right ) \,d x } \]

[In]

integrate((-a*x^2+a)^(1/2)*arccoth(x),x, algorithm="maxima")

[Out]

integrate(sqrt(-a*x^2 + a)*arccoth(x), x)

Giac [F]

\[ \int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx=\int { \sqrt {-a x^{2} + a} \operatorname {arcoth}\left (x\right ) \,d x } \]

[In]

integrate((-a*x^2+a)^(1/2)*arccoth(x),x, algorithm="giac")

[Out]

integrate(sqrt(-a*x^2 + a)*arccoth(x), x)

Mupad [F(-1)]

Timed out. \[ \int \sqrt {a-a x^2} \coth ^{-1}(x) \, dx=\int \mathrm {acoth}\left (x\right )\,\sqrt {a-a\,x^2} \,d x \]

[In]

int(acoth(x)*(a - a*x^2)^(1/2),x)

[Out]

int(acoth(x)*(a - a*x^2)^(1/2), x)