3.1.28 \(\int \text {sech}^{-1}(\frac {1}{x}) \, dx\) [28]

Optimal. Leaf size=21 \[ -\sqrt {-1+x} \sqrt {1+x}+x \cosh ^{-1}(x) \]

[Out]

x*arccosh(x)-(-1+x)^(1/2)*(1+x)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.00, antiderivative size = 21, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.750, Rules used = {6462, 5879, 75} \begin {gather*} x \cosh ^{-1}(x)-\sqrt {x-1} \sqrt {x+1} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[ArcSech[x^(-1)],x]

[Out]

-(Sqrt[-1 + x]*Sqrt[1 + x]) + x*ArcCosh[x]

Rule 75

Int[((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))^(n_.)*((e_.) + (f_.)*(x_))^(p_.), x_Symbol] :> Simp[b*(c + d*x)^
(n + 1)*((e + f*x)^(p + 1)/(d*f*(n + p + 2))), x] /; FreeQ[{a, b, c, d, e, f, n, p}, x] && NeQ[n + p + 2, 0] &
& EqQ[a*d*f*(n + p + 2) - b*(d*e*(n + 1) + c*f*(p + 1)), 0]

Rule 5879

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.), x_Symbol] :> Simp[x*(a + b*ArcCosh[c*x])^n, x] - Dist[b*c*n, In
t[x*((a + b*ArcCosh[c*x])^(n - 1)/(Sqrt[1 + c*x]*Sqrt[-1 + c*x])), x], x] /; FreeQ[{a, b, c}, x] && GtQ[n, 0]

Rule 6462

Int[ArcSech[(c_.)/((a_.) + (b_.)*(x_)^(n_.))]^(m_.)*(u_.), x_Symbol] :> Int[u*ArcCosh[a/c + b*(x^n/c)]^m, x] /
; FreeQ[{a, b, c, n, m}, x]

Rubi steps

\begin {align*} \int \text {sech}^{-1}\left (\frac {1}{x}\right ) \, dx &=\int \cosh ^{-1}(x) \, dx\\ &=x \cosh ^{-1}(x)-\int \frac {x}{\sqrt {-1+x} \sqrt {1+x}} \, dx\\ &=-\sqrt {-1+x} \sqrt {1+x}+x \cosh ^{-1}(x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 25, normalized size = 1.19 \begin {gather*} -\sqrt {\frac {-1+x}{1+x}} (1+x)+x \text {sech}^{-1}\left (\frac {1}{x}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[ArcSech[x^(-1)],x]

[Out]

-(Sqrt[(-1 + x)/(1 + x)]*(1 + x)) + x*ArcSech[x^(-1)]

________________________________________________________________________________________

Maple [A]
time = 0.17, size = 29, normalized size = 1.38

method result size
derivativedivides \(x \,\mathrm {arcsech}\left (\frac {1}{x}\right )-\sqrt {-\left (-1+\frac {1}{x}\right ) x}\, \sqrt {\left (1+\frac {1}{x}\right ) x}\) \(29\)
default \(x \,\mathrm {arcsech}\left (\frac {1}{x}\right )-\sqrt {-\left (-1+\frac {1}{x}\right ) x}\, \sqrt {\left (1+\frac {1}{x}\right ) x}\) \(29\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(arcsech(1/x),x,method=_RETURNVERBOSE)

[Out]

x*arcsech(1/x)-(-(-1+1/x)*x)^(1/2)*((1+1/x)*x)^(1/2)

________________________________________________________________________________________

Maxima [A]
time = 0.27, size = 16, normalized size = 0.76 \begin {gather*} x \operatorname {arsech}\left (\frac {1}{x}\right ) - \sqrt {x^{2} - 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsech(1/x),x, algorithm="maxima")

[Out]

x*arcsech(1/x) - sqrt(x^2 - 1)

________________________________________________________________________________________

Fricas [A]
time = 0.50, size = 22, normalized size = 1.05 \begin {gather*} x \log \left (x + \sqrt {x^{2} - 1}\right ) - \sqrt {x^{2} - 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsech(1/x),x, algorithm="fricas")

[Out]

x*log(x + sqrt(x^2 - 1)) - sqrt(x^2 - 1)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \operatorname {asech}{\left (\frac {1}{x} \right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(asech(1/x),x)

[Out]

Integral(asech(1/x), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(arcsech(1/x),x, algorithm="giac")

[Out]

integrate(arcsech(1/x), x)

________________________________________________________________________________________

Mupad [B]
time = 1.35, size = 17, normalized size = 0.81 \begin {gather*} x\,\mathrm {acosh}\left (x\right )-\sqrt {x-1}\,\sqrt {x+1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(acosh(x),x)

[Out]

x*acosh(x) - (x - 1)^(1/2)*(x + 1)^(1/2)

________________________________________________________________________________________