\(\int \frac {\sqrt {\text {csch}(a+b \log (c x^n))}}{x} \, dx\) [172]

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

Optimal result

Integrand size = 19, antiderivative size = 72 \[ \int \frac {\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )}}{x} \, dx=-\frac {2 i \sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )} \operatorname {EllipticF}\left (\frac {1}{2} \left (i a-\frac {\pi }{2}+i b \log \left (c x^n\right )\right ),2\right ) \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )}}{b n} \]

[Out]

2*I*(sin(1/2*I*a+1/4*Pi+1/2*I*b*ln(c*x^n))^2)^(1/2)/sin(1/2*I*a+1/4*Pi+1/2*I*b*ln(c*x^n))*EllipticF(cos(1/2*I*
a+1/4*Pi+1/2*I*b*ln(c*x^n)),2^(1/2))*csch(a+b*ln(c*x^n))^(1/2)*(I*sinh(a+b*ln(c*x^n)))^(1/2)/b/n

Rubi [A] (verified)

Time = 0.03 (sec) , antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {3856, 2720} \[ \int \frac {\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )}}{x} \, dx=-\frac {2 i \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )} \sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )} \operatorname {EllipticF}\left (\frac {1}{2} \left (i a+i b \log \left (c x^n\right )-\frac {\pi }{2}\right ),2\right )}{b n} \]

[In]

Int[Sqrt[Csch[a + b*Log[c*x^n]]]/x,x]

[Out]

((-2*I)*Sqrt[Csch[a + b*Log[c*x^n]]]*EllipticF[(I*a - Pi/2 + I*b*Log[c*x^n])/2, 2]*Sqrt[I*Sinh[a + b*Log[c*x^n
]]])/(b*n)

Rule 2720

Int[1/Sqrt[sin[(c_.) + (d_.)*(x_)]], x_Symbol] :> Simp[(2/d)*EllipticF[(1/2)*(c - Pi/2 + d*x), 2], x] /; FreeQ
[{c, d}, x]

Rule 3856

Int[(csc[(c_.) + (d_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Dist[(b*Csc[c + d*x])^n*Sin[c + d*x]^n, Int[1/Sin[c + d
*x]^n, x], x] /; FreeQ[{b, c, d}, x] && EqQ[n^2, 1/4]

Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \sqrt {\text {csch}(a+b x)} \, dx,x,\log \left (c x^n\right )\right )}{n} \\ & = \frac {\left (\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )} \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {i \sinh (a+b x)}} \, dx,x,\log \left (c x^n\right )\right )}{n} \\ & = -\frac {2 i \sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )} \operatorname {EllipticF}\left (\frac {1}{2} \left (i a-\frac {\pi }{2}+i b \log \left (c x^n\right )\right ),2\right ) \sqrt {i \sinh \left (a+b \log \left (c x^n\right )\right )}}{b n} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.06 (sec) , antiderivative size = 66, normalized size of antiderivative = 0.92 \[ \int \frac {\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )}}{x} \, dx=\frac {2 \text {csch}^{\frac {3}{2}}\left (a+b \log \left (c x^n\right )\right ) \operatorname {EllipticF}\left (\frac {1}{4} \left (-2 i a+\pi -2 i b \log \left (c x^n\right )\right ),2\right ) \left (i \sinh \left (a+b \log \left (c x^n\right )\right )\right )^{3/2}}{b n} \]

[In]

Integrate[Sqrt[Csch[a + b*Log[c*x^n]]]/x,x]

[Out]

(2*Csch[a + b*Log[c*x^n]]^(3/2)*EllipticF[((-2*I)*a + Pi - (2*I)*b*Log[c*x^n])/4, 2]*(I*Sinh[a + b*Log[c*x^n]]
)^(3/2))/(b*n)

Maple [A] (verified)

Time = 0.82 (sec) , antiderivative size = 120, normalized size of antiderivative = 1.67

method result size
derivativedivides \(\frac {i \sqrt {-i \left (\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}\, \sqrt {2}\, \sqrt {-i \left (-\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}\, \sqrt {i \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}\, \operatorname {EllipticF}\left (\sqrt {-i \left (\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}, \frac {\sqrt {2}}{2}\right )}{n \cosh \left (a +b \ln \left (c \,x^{n}\right )\right ) \sqrt {\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}\, b}\) \(120\)
default \(\frac {i \sqrt {-i \left (\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}\, \sqrt {2}\, \sqrt {-i \left (-\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}\, \sqrt {i \sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}\, \operatorname {EllipticF}\left (\sqrt {-i \left (\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )+i\right )}, \frac {\sqrt {2}}{2}\right )}{n \cosh \left (a +b \ln \left (c \,x^{n}\right )\right ) \sqrt {\sinh \left (a +b \ln \left (c \,x^{n}\right )\right )}\, b}\) \(120\)

[In]

int(csch(a+b*ln(c*x^n))^(1/2)/x,x,method=_RETURNVERBOSE)

[Out]

I/n*(-I*(sinh(a+b*ln(c*x^n))+I))^(1/2)*2^(1/2)*(-I*(-sinh(a+b*ln(c*x^n))+I))^(1/2)*(I*sinh(a+b*ln(c*x^n)))^(1/
2)*EllipticF((-I*(sinh(a+b*ln(c*x^n))+I))^(1/2),1/2*2^(1/2))/cosh(a+b*ln(c*x^n))/sinh(a+b*ln(c*x^n))^(1/2)/b

Fricas [C] (verification not implemented)

Result contains higher order function than in optimal. Order 9 vs. order 4.

Time = 0.08 (sec) , antiderivative size = 39, normalized size of antiderivative = 0.54 \[ \int \frac {\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )}}{x} \, dx=\frac {2 \, \sqrt {2} {\rm weierstrassPInverse}\left (4, 0, \cosh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right ) + \sinh \left (b n \log \left (x\right ) + b \log \left (c\right ) + a\right )\right )}{b n} \]

[In]

integrate(csch(a+b*log(c*x^n))^(1/2)/x,x, algorithm="fricas")

[Out]

2*sqrt(2)*weierstrassPInverse(4, 0, cosh(b*n*log(x) + b*log(c) + a) + sinh(b*n*log(x) + b*log(c) + a))/(b*n)

Sympy [F]

\[ \int \frac {\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )}}{x} \, dx=\int \frac {\sqrt {\operatorname {csch}{\left (a + b \log {\left (c x^{n} \right )} \right )}}}{x}\, dx \]

[In]

integrate(csch(a+b*ln(c*x**n))**(1/2)/x,x)

[Out]

Integral(sqrt(csch(a + b*log(c*x**n)))/x, x)

Maxima [F]

\[ \int \frac {\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )}}{x} \, dx=\int { \frac {\sqrt {\operatorname {csch}\left (b \log \left (c x^{n}\right ) + a\right )}}{x} \,d x } \]

[In]

integrate(csch(a+b*log(c*x^n))^(1/2)/x,x, algorithm="maxima")

[Out]

integrate(sqrt(csch(b*log(c*x^n) + a))/x, x)

Giac [F(-1)]

Timed out. \[ \int \frac {\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )}}{x} \, dx=\text {Timed out} \]

[In]

integrate(csch(a+b*log(c*x^n))^(1/2)/x,x, algorithm="giac")

[Out]

Timed out

Mupad [F(-1)]

Timed out. \[ \int \frac {\sqrt {\text {csch}\left (a+b \log \left (c x^n\right )\right )}}{x} \, dx=\int \frac {\sqrt {\frac {1}{\mathrm {sinh}\left (a+b\,\ln \left (c\,x^n\right )\right )}}}{x} \,d x \]

[In]

int((1/sinh(a + b*log(c*x^n)))^(1/2)/x,x)

[Out]

int((1/sinh(a + b*log(c*x^n)))^(1/2)/x, x)