\(\int \csc (\tanh (a+b x)) \, dx\) [243]

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

Optimal result

Integrand size = 7, antiderivative size = 7 \[ \int \csc (\tanh (a+b x)) \, dx=-\frac {1}{2} \text {Int}\left (\frac {\csc (\tanh (a+b x)) \text {sech}^2(a+b x)}{-1+\tanh (a+b x)},x\right )+\frac {1}{2} \text {Int}\left (\frac {\csc (\tanh (a+b x)) \text {sech}^2(a+b x)}{1+\tanh (a+b x)},x\right ) \]

[Out]

-1/2*Unintegrable(csc(tanh(b*x+a))*sech(b*x+a)^2/(-1+tanh(b*x+a)),x)+1/2*Unintegrable(csc(tanh(b*x+a))*sech(b*
x+a)^2/(1+tanh(b*x+a)),x)

Rubi [N/A]

Not integrable

Time = 0.06 (sec) , antiderivative size = 7, normalized size of antiderivative = 1.00, number of steps used = 0, number of rules used = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \csc (\tanh (a+b x)) \, dx=\int \csc (\tanh (a+b x)) \, dx \]

[In]

Int[Csc[Tanh[a + b*x]],x]

[Out]

-1/2*Defer[Subst][Defer[Int][Csc[x]/(-1 + x), x], x, Tanh[a + b*x]]/b + Defer[Subst][Defer[Int][Csc[x]/(1 + x)
, x], x, Tanh[a + b*x]]/(2*b)

Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\csc (x)}{1-x^2} \, dx,x,\tanh (a+b x)\right )}{b} \\ & = \frac {\text {Subst}\left (\int \left (-\frac {\csc (x)}{2 (-1+x)}+\frac {\csc (x)}{2 (1+x)}\right ) \, dx,x,\tanh (a+b x)\right )}{b} \\ & = -\frac {\text {Subst}\left (\int \frac {\csc (x)}{-1+x} \, dx,x,\tanh (a+b x)\right )}{2 b}+\frac {\text {Subst}\left (\int \frac {\csc (x)}{1+x} \, dx,x,\tanh (a+b x)\right )}{2 b} \\ \end{align*}

Mathematica [N/A]

Not integrable

Time = 3.03 (sec) , antiderivative size = 9, normalized size of antiderivative = 1.29 \[ \int \csc (\tanh (a+b x)) \, dx=\int \csc (\tanh (a+b x)) \, dx \]

[In]

Integrate[Csc[Tanh[a + b*x]],x]

[Out]

Integrate[Csc[Tanh[a + b*x]], x]

Maple [F(-1)]

Timed out.

\[\int \csc \left (\tanh \left (b x +a \right )\right )d x\]

[In]

int(csc(tanh(b*x+a)),x)

[Out]

int(csc(tanh(b*x+a)),x)

Fricas [N/A]

Not integrable

Time = 0.27 (sec) , antiderivative size = 9, normalized size of antiderivative = 1.29 \[ \int \csc (\tanh (a+b x)) \, dx=\int { \csc \left (\tanh \left (b x + a\right )\right ) \,d x } \]

[In]

integrate(csc(tanh(b*x+a)),x, algorithm="fricas")

[Out]

integral(csc(tanh(b*x + a)), x)

Sympy [N/A]

Not integrable

Time = 10.76 (sec) , antiderivative size = 8, normalized size of antiderivative = 1.14 \[ \int \csc (\tanh (a+b x)) \, dx=\int \csc {\left (\tanh {\left (a + b x \right )} \right )}\, dx \]

[In]

integrate(csc(tanh(b*x+a)),x)

[Out]

Integral(csc(tanh(a + b*x)), x)

Maxima [N/A]

Not integrable

Time = 0.64 (sec) , antiderivative size = 9, normalized size of antiderivative = 1.29 \[ \int \csc (\tanh (a+b x)) \, dx=\int { \csc \left (\tanh \left (b x + a\right )\right ) \,d x } \]

[In]

integrate(csc(tanh(b*x+a)),x, algorithm="maxima")

[Out]

integrate(csc(tanh(b*x + a)), x)

Giac [N/A]

Not integrable

Time = 0.36 (sec) , antiderivative size = 9, normalized size of antiderivative = 1.29 \[ \int \csc (\tanh (a+b x)) \, dx=\int { \csc \left (\tanh \left (b x + a\right )\right ) \,d x } \]

[In]

integrate(csc(tanh(b*x+a)),x, algorithm="giac")

[Out]

integrate(csc(tanh(b*x + a)), x)

Mupad [N/A]

Not integrable

Time = 2.63 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.57 \[ \int \csc (\tanh (a+b x)) \, dx=\int \frac {1}{\sin \left (\mathrm {tanh}\left (a+b\,x\right )\right )} \,d x \]

[In]

int(1/sin(tanh(a + b*x)),x)

[Out]

int(1/sin(tanh(a + b*x)), x)