\(\int \sqrt {\text {csch}(a+b x)} \, dx\) [9]

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

Optimal result

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

[Out]

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

Rubi [A] (verified)

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

[In]

Int[Sqrt[Csch[a + b*x]],x]

[Out]

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

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}& = \left (\sqrt {\text {csch}(a+b x)} \sqrt {i \sinh (a+b x)}\right ) \int \frac {1}{\sqrt {i \sinh (a+b x)}} \, dx \\ & = -\frac {2 i \sqrt {\text {csch}(a+b x)} \operatorname {EllipticF}\left (\frac {1}{2} \left (i a-\frac {\pi }{2}+i b x\right ),2\right ) \sqrt {i \sinh (a+b x)}}{b} \\ \end{align*}

Mathematica [A] (verified)

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

[In]

Integrate[Sqrt[Csch[a + b*x]],x]

[Out]

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

Maple [A] (verified)

Time = 0.31 (sec) , antiderivative size = 87, normalized size of antiderivative = 1.61

method result size
default \(\frac {i \sqrt {-i \left (\sinh \left (b x +a \right )+i\right )}\, \sqrt {2}\, \sqrt {-i \left (-\sinh \left (b x +a \right )+i\right )}\, \sqrt {i \sinh \left (b x +a \right )}\, \operatorname {EllipticF}\left (\sqrt {-i \left (\sinh \left (b x +a \right )+i\right )}, \frac {\sqrt {2}}{2}\right )}{\cosh \left (b x +a \right ) \sqrt {\sinh \left (b x +a \right )}\, b}\) \(87\)

[In]

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

[Out]

I*(-I*(sinh(b*x+a)+I))^(1/2)*2^(1/2)*(-I*(-sinh(b*x+a)+I))^(1/2)*(I*sinh(b*x+a))^(1/2)*EllipticF((-I*(sinh(b*x
+a)+I))^(1/2),1/2*2^(1/2))/cosh(b*x+a)/sinh(b*x+a)^(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 = 24, normalized size of antiderivative = 0.44 \[ \int \sqrt {\text {csch}(a+b x)} \, dx=\frac {2 \, \sqrt {2} {\rm weierstrassPInverse}\left (4, 0, \cosh \left (b x + a\right ) + \sinh \left (b x + a\right )\right )}{b} \]

[In]

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

[Out]

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

Sympy [F]

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

[In]

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

[Out]

Integral(sqrt(csch(a + b*x)), x)

Maxima [F]

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

[In]

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

[Out]

integrate(sqrt(csch(b*x + a)), x)

Giac [F]

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

[In]

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

[Out]

integrate(sqrt(csch(b*x + a)), x)

Mupad [F(-1)]

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

[In]

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

[Out]

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