\(\int \frac {\csc ^{-1}(\sqrt {x})}{x} \, dx\) [6]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [F]
   Sympy [F]
   Maxima [F]
   Giac [F(-2)]
   Mupad [B] (verification not implemented)

Optimal result

Integrand size = 10, antiderivative size = 56 \[ \int \frac {\csc ^{-1}\left (\sqrt {x}\right )}{x} \, dx=i \csc ^{-1}\left (\sqrt {x}\right )^2-2 \csc ^{-1}\left (\sqrt {x}\right ) \log \left (1-e^{2 i \csc ^{-1}\left (\sqrt {x}\right )}\right )+i \operatorname {PolyLog}\left (2,e^{2 i \csc ^{-1}\left (\sqrt {x}\right )}\right ) \]

[Out]

I*arccsc(x^(1/2))^2-2*arccsc(x^(1/2))*ln(1-(I/x^(1/2)+(1-1/x)^(1/2))^2)+I*polylog(2,(I/x^(1/2)+(1-1/x)^(1/2))^
2)

Rubi [A] (verified)

Time = 0.07 (sec) , antiderivative size = 56, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.600, Rules used = {5327, 4721, 3798, 2221, 2317, 2438} \[ \int \frac {\csc ^{-1}\left (\sqrt {x}\right )}{x} \, dx=i \operatorname {PolyLog}\left (2,e^{2 i \csc ^{-1}\left (\sqrt {x}\right )}\right )+i \csc ^{-1}\left (\sqrt {x}\right )^2-2 \csc ^{-1}\left (\sqrt {x}\right ) \log \left (1-e^{2 i \csc ^{-1}\left (\sqrt {x}\right )}\right ) \]

[In]

Int[ArcCsc[Sqrt[x]]/x,x]

[Out]

I*ArcCsc[Sqrt[x]]^2 - 2*ArcCsc[Sqrt[x]]*Log[1 - E^((2*I)*ArcCsc[Sqrt[x]])] + I*PolyLog[2, E^((2*I)*ArcCsc[Sqrt
[x]])]

Rule 2221

Int[(((F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.))/((a_) + (b_.)*((F_)^((g_.)*((e_.) +
 (f_.)*(x_))))^(n_.)), x_Symbol] :> Simp[((c + d*x)^m/(b*f*g*n*Log[F]))*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x]
 - Dist[d*(m/(b*f*g*n*Log[F])), Int[(c + d*x)^(m - 1)*Log[1 + b*((F^(g*(e + f*x)))^n/a)], x], x] /; FreeQ[{F,
a, b, c, d, e, f, g, n}, x] && IGtQ[m, 0]

Rule 2317

Int[Log[(a_) + (b_.)*((F_)^((e_.)*((c_.) + (d_.)*(x_))))^(n_.)], x_Symbol] :> Dist[1/(d*e*n*Log[F]), Subst[Int
[Log[a + b*x]/x, x], x, (F^(e*(c + d*x)))^n], x] /; FreeQ[{F, a, b, c, d, e, n}, x] && GtQ[a, 0]

Rule 2438

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> Simp[-PolyLog[2, (-c)*e*x^n]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 3798

Int[((c_.) + (d_.)*(x_))^(m_.)*tan[(e_.) + Pi*(k_.) + (f_.)*(x_)], x_Symbol] :> Simp[I*((c + d*x)^(m + 1)/(d*(
m + 1))), x] - Dist[2*I, Int[(c + d*x)^m*E^(2*I*k*Pi)*(E^(2*I*(e + f*x))/(1 + E^(2*I*k*Pi)*E^(2*I*(e + f*x))))
, x], x] /; FreeQ[{c, d, e, f}, x] && IntegerQ[4*k] && IGtQ[m, 0]

Rule 4721

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)/(x_), x_Symbol] :> Subst[Int[(a + b*x)^n*Cot[x], x], x, ArcSin[c*
x]] /; FreeQ[{a, b, c}, x] && IGtQ[n, 0]

Rule 5327

Int[((a_.) + ArcCsc[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> -Subst[Int[(a + b*ArcSin[x/c])/x, x], x, 1/x] /; Fre
eQ[{a, b, c}, x]

Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int \frac {\csc ^{-1}(x)}{x} \, dx,x,\sqrt {x}\right ) \\ & = -\left (2 \text {Subst}\left (\int \frac {\arcsin (x)}{x} \, dx,x,\frac {1}{\sqrt {x}}\right )\right ) \\ & = -\left (2 \text {Subst}\left (\int x \cot (x) \, dx,x,\arcsin \left (\frac {1}{\sqrt {x}}\right )\right )\right ) \\ & = i \arcsin \left (\frac {1}{\sqrt {x}}\right )^2+4 i \text {Subst}\left (\int \frac {e^{2 i x} x}{1-e^{2 i x}} \, dx,x,\arcsin \left (\frac {1}{\sqrt {x}}\right )\right ) \\ & = i \arcsin \left (\frac {1}{\sqrt {x}}\right )^2-2 \arcsin \left (\frac {1}{\sqrt {x}}\right ) \log \left (1-e^{2 i \arcsin \left (\frac {1}{\sqrt {x}}\right )}\right )+2 \text {Subst}\left (\int \log \left (1-e^{2 i x}\right ) \, dx,x,\arcsin \left (\frac {1}{\sqrt {x}}\right )\right ) \\ & = i \arcsin \left (\frac {1}{\sqrt {x}}\right )^2-2 \arcsin \left (\frac {1}{\sqrt {x}}\right ) \log \left (1-e^{2 i \arcsin \left (\frac {1}{\sqrt {x}}\right )}\right )-i \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{2 i \arcsin \left (\frac {1}{\sqrt {x}}\right )}\right ) \\ & = i \arcsin \left (\frac {1}{\sqrt {x}}\right )^2-2 \arcsin \left (\frac {1}{\sqrt {x}}\right ) \log \left (1-e^{2 i \arcsin \left (\frac {1}{\sqrt {x}}\right )}\right )+i \operatorname {PolyLog}\left (2,e^{2 i \arcsin \left (\frac {1}{\sqrt {x}}\right )}\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.04 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.96 \[ \int \frac {\csc ^{-1}\left (\sqrt {x}\right )}{x} \, dx=i \left (\csc ^{-1}\left (\sqrt {x}\right ) \left (\csc ^{-1}\left (\sqrt {x}\right )+2 i \log \left (1-e^{2 i \csc ^{-1}\left (\sqrt {x}\right )}\right )\right )+\operatorname {PolyLog}\left (2,e^{2 i \csc ^{-1}\left (\sqrt {x}\right )}\right )\right ) \]

[In]

Integrate[ArcCsc[Sqrt[x]]/x,x]

[Out]

I*(ArcCsc[Sqrt[x]]*(ArcCsc[Sqrt[x]] + (2*I)*Log[1 - E^((2*I)*ArcCsc[Sqrt[x]])]) + PolyLog[2, E^((2*I)*ArcCsc[S
qrt[x]])])

Maple [A] (verified)

Time = 0.81 (sec) , antiderivative size = 105, normalized size of antiderivative = 1.88

method result size
derivativedivides \(i \operatorname {arccsc}\left (\sqrt {x}\right )^{2}-2 \,\operatorname {arccsc}\left (\sqrt {x}\right ) \ln \left (1-\frac {i}{\sqrt {x}}-\sqrt {1-\frac {1}{x}}\right )+2 i \operatorname {polylog}\left (2, \frac {i}{\sqrt {x}}+\sqrt {1-\frac {1}{x}}\right )-2 \,\operatorname {arccsc}\left (\sqrt {x}\right ) \ln \left (1+\frac {i}{\sqrt {x}}+\sqrt {1-\frac {1}{x}}\right )+2 i \operatorname {polylog}\left (2, -\frac {i}{\sqrt {x}}-\sqrt {1-\frac {1}{x}}\right )\) \(105\)
default \(i \operatorname {arccsc}\left (\sqrt {x}\right )^{2}-2 \,\operatorname {arccsc}\left (\sqrt {x}\right ) \ln \left (1-\frac {i}{\sqrt {x}}-\sqrt {1-\frac {1}{x}}\right )+2 i \operatorname {polylog}\left (2, \frac {i}{\sqrt {x}}+\sqrt {1-\frac {1}{x}}\right )-2 \,\operatorname {arccsc}\left (\sqrt {x}\right ) \ln \left (1+\frac {i}{\sqrt {x}}+\sqrt {1-\frac {1}{x}}\right )+2 i \operatorname {polylog}\left (2, -\frac {i}{\sqrt {x}}-\sqrt {1-\frac {1}{x}}\right )\) \(105\)

[In]

int(arccsc(x^(1/2))/x,x,method=_RETURNVERBOSE)

[Out]

I*arccsc(x^(1/2))^2-2*arccsc(x^(1/2))*ln(1-I/x^(1/2)-(1-1/x)^(1/2))+2*I*polylog(2,I/x^(1/2)+(1-1/x)^(1/2))-2*a
rccsc(x^(1/2))*ln(1+I/x^(1/2)+(1-1/x)^(1/2))+2*I*polylog(2,-I/x^(1/2)-(1-1/x)^(1/2))

Fricas [F]

\[ \int \frac {\csc ^{-1}\left (\sqrt {x}\right )}{x} \, dx=\int { \frac {\operatorname {arccsc}\left (\sqrt {x}\right )}{x} \,d x } \]

[In]

integrate(arccsc(x^(1/2))/x,x, algorithm="fricas")

[Out]

integral(arccsc(sqrt(x))/x, x)

Sympy [F]

\[ \int \frac {\csc ^{-1}\left (\sqrt {x}\right )}{x} \, dx=\int \frac {\operatorname {acsc}{\left (\sqrt {x} \right )}}{x}\, dx \]

[In]

integrate(acsc(x**(1/2))/x,x)

[Out]

Integral(acsc(sqrt(x))/x, x)

Maxima [F]

\[ \int \frac {\csc ^{-1}\left (\sqrt {x}\right )}{x} \, dx=\int { \frac {\operatorname {arccsc}\left (\sqrt {x}\right )}{x} \,d x } \]

[In]

integrate(arccsc(x^(1/2))/x,x, algorithm="maxima")

[Out]

integrate(arccsc(sqrt(x))/x, x)

Giac [F(-2)]

Exception generated. \[ \int \frac {\csc ^{-1}\left (\sqrt {x}\right )}{x} \, dx=\text {Exception raised: NotImplementedError} \]

[In]

integrate(arccsc(x^(1/2))/x,x, algorithm="giac")

[Out]

Exception raised: NotImplementedError >> unable to parse Giac output: Invalid series expansion: non tractable
function asin at +infinity

Mupad [B] (verification not implemented)

Time = 1.06 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.75 \[ \int \frac {\csc ^{-1}\left (\sqrt {x}\right )}{x} \, dx=\mathrm {polylog}\left (2,{\mathrm {e}}^{\mathrm {asin}\left (\frac {1}{\sqrt {x}}\right )\,2{}\mathrm {i}}\right )\,1{}\mathrm {i}+{\mathrm {asin}\left (\frac {1}{\sqrt {x}}\right )}^2\,1{}\mathrm {i}-2\,\ln \left (1-{\mathrm {e}}^{\mathrm {asin}\left (\frac {1}{\sqrt {x}}\right )\,2{}\mathrm {i}}\right )\,\mathrm {asin}\left (\frac {1}{\sqrt {x}}\right ) \]

[In]

int(asin(1/x^(1/2))/x,x)

[Out]

polylog(2, exp(asin(1/x^(1/2))*2i))*1i + asin(1/x^(1/2))^2*1i - 2*log(1 - exp(asin(1/x^(1/2))*2i))*asin(1/x^(1
/2))