3.94 \(\int \frac {1}{\sqrt {a+b \text {sech}(c+d x)}} \, dx\)

Optimal. Leaf size=106 \[ \frac {2 \sqrt {a+b} \coth (c+d x) \sqrt {\frac {b (1-\text {sech}(c+d x))}{a+b}} \sqrt {-\frac {b (\text {sech}(c+d x)+1)}{a-b}} \Pi \left (\frac {a+b}{a};\sin ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right )}{a d} \]

[Out]

2*coth(d*x+c)*EllipticPi((a+b*sech(d*x+c))^(1/2)/(a+b)^(1/2),(a+b)/a,((a+b)/(a-b))^(1/2))*(a+b)^(1/2)*(b*(1-se
ch(d*x+c))/(a+b))^(1/2)*(-b*(1+sech(d*x+c))/(a-b))^(1/2)/a/d

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 106, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.071, Rules used = {3784} \[ \frac {2 \sqrt {a+b} \coth (c+d x) \sqrt {\frac {b (1-\text {sech}(c+d x))}{a+b}} \sqrt {-\frac {b (\text {sech}(c+d x)+1)}{a-b}} \Pi \left (\frac {a+b}{a};\sin ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right )}{a d} \]

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[a + b*Sech[c + d*x]],x]

[Out]

(2*Sqrt[a + b]*Coth[c + d*x]*EllipticPi[(a + b)/a, ArcSin[Sqrt[a + b*Sech[c + d*x]]/Sqrt[a + b]], (a + b)/(a -
 b)]*Sqrt[(b*(1 - Sech[c + d*x]))/(a + b)]*Sqrt[-((b*(1 + Sech[c + d*x]))/(a - b))])/(a*d)

Rule 3784

Int[1/Sqrt[csc[(c_.) + (d_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Simp[(2*Rt[a + b, 2]*Sqrt[(b*(1 - Csc[c + d*x])
)/(a + b)]*Sqrt[-((b*(1 + Csc[c + d*x]))/(a - b))]*EllipticPi[(a + b)/a, ArcSin[Sqrt[a + b*Csc[c + d*x]]/Rt[a
+ b, 2]], (a + b)/(a - b)])/(a*d*Cot[c + d*x]), x] /; FreeQ[{a, b, c, d}, x] && NeQ[a^2 - b^2, 0]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {a+b \text {sech}(c+d x)}} \, dx &=\frac {2 \sqrt {a+b} \coth (c+d x) \Pi \left (\frac {a+b}{a};\sin ^{-1}\left (\frac {\sqrt {a+b \text {sech}(c+d x)}}{\sqrt {a+b}}\right )|\frac {a+b}{a-b}\right ) \sqrt {\frac {b (1-\text {sech}(c+d x))}{a+b}} \sqrt {-\frac {b (1+\text {sech}(c+d x))}{a-b}}}{a d}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 2.47, size = 168, normalized size = 1.58 \[ \frac {2 b \tanh \left (\frac {1}{2} (c+d x)\right ) \sqrt {a \cosh (c+d x)+b} \sqrt {\frac {b (\text {sech}(c+d x)+1)}{b-a}} \Pi \left (\frac {a+b}{a};\sin ^{-1}\left (\frac {\sqrt {a} \sqrt {b+a \cosh (c+d x)}}{\sqrt {a+b} \sqrt {a \cosh (c+d x)}}\right )|\frac {a+b}{a-b}\right )}{\sqrt {a} d \sqrt {a+b} \sqrt {a \cosh (c+d x)} \sqrt {-\frac {b (\text {sech}(c+d x)-1)}{a+b}} \sqrt {a+b \text {sech}(c+d x)}} \]

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[a + b*Sech[c + d*x]],x]

[Out]

(2*b*Sqrt[b + a*Cosh[c + d*x]]*EllipticPi[(a + b)/a, ArcSin[(Sqrt[a]*Sqrt[b + a*Cosh[c + d*x]])/(Sqrt[a + b]*S
qrt[a*Cosh[c + d*x]])], (a + b)/(a - b)]*Sqrt[(b*(1 + Sech[c + d*x]))/(-a + b)]*Tanh[(c + d*x)/2])/(Sqrt[a]*Sq
rt[a + b]*d*Sqrt[a*Cosh[c + d*x]]*Sqrt[-((b*(-1 + Sech[c + d*x]))/(a + b))]*Sqrt[a + b*Sech[c + d*x]])

________________________________________________________________________________________

fricas [F]  time = 2.25, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {1}{\sqrt {b \operatorname {sech}\left (d x + c\right ) + a}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integral(1/sqrt(b*sech(d*x + c) + a), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b \operatorname {sech}\left (d x + c\right ) + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(1/sqrt(b*sech(d*x + c) + a), x)

________________________________________________________________________________________

maple [F]  time = 0.60, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {a +b \,\mathrm {sech}\left (d x +c \right )}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a+b*sech(d*x+c))^(1/2),x)

[Out]

int(1/(a+b*sech(d*x+c))^(1/2),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {b \operatorname {sech}\left (d x + c\right ) + a}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

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

[Out]

integrate(1/sqrt(b*sech(d*x + c) + a), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {1}{\sqrt {a+\frac {b}{\mathrm {cosh}\left (c+d\,x\right )}}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a + b/cosh(c + d*x))^(1/2),x)

[Out]

int(1/(a + b/cosh(c + d*x))^(1/2), x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{\sqrt {a + b \operatorname {sech}{\left (c + d x \right )}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a+b*sech(d*x+c))**(1/2),x)

[Out]

Integral(1/sqrt(a + b*sech(c + d*x)), x)

________________________________________________________________________________________