3.574 \(\int \text {sech}(x) \, dx\)

Optimal. Leaf size=3 \[ \tan ^{-1}(\sinh (x)) \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 3, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.500, Rules used = {3770} \[ \tan ^{-1}(\sinh (x)) \]

Antiderivative was successfully verified.

[In]

Int[Sech[x],x]

[Out]

ArcTan[Sinh[x]]

Rule 3770

Int[csc[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[ArcTanh[Cos[c + d*x]]/d, x] /; FreeQ[{c, d}, x]

Rubi steps

\begin {align*} \int \text {sech}(x) \, dx &=\tan ^{-1}(\sinh (x))\\ \end {align*}

________________________________________________________________________________________

Mathematica [B]  time = 0.00, size = 9, normalized size = 3.00 \[ 2 \tan ^{-1}\left (\tanh \left (\frac {x}{2}\right )\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[Sech[x],x]

[Out]

2*ArcTan[Tanh[x/2]]

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \text {sech}(x) \, dx \]

Verification is Not applicable to the result.

[In]

IntegrateAlgebraic[Sech[x],x]

[Out]

Could not integrate

________________________________________________________________________________________

fricas [B]  time = 1.24, size = 8, normalized size = 2.67 \[ 2 \, \arctan \left (\cosh \relax (x) + \sinh \relax (x)\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sech(x),x, algorithm="fricas")

[Out]

2*arctan(cosh(x) + sinh(x))

________________________________________________________________________________________

giac [A]  time = 0.62, size = 5, normalized size = 1.67 \[ 2 \, \arctan \left (e^{x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sech(x),x, algorithm="giac")

[Out]

2*arctan(e^x)

________________________________________________________________________________________

maple [A]  time = 0.03, size = 4, normalized size = 1.33




method result size



lookup \(\arctan \left (\sinh \relax (x )\right )\) \(4\)
default \(\arctan \left (\sinh \relax (x )\right )\) \(4\)
risch \(i \ln \left ({\mathrm e}^{x}+i\right )-i \ln \left ({\mathrm e}^{x}-i\right )\) \(20\)



Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sech(x),x,method=_RETURNVERBOSE)

[Out]

arctan(sinh(x))

________________________________________________________________________________________

maxima [A]  time = 0.43, size = 3, normalized size = 1.00 \[ \arctan \left (\sinh \relax (x)\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sech(x),x, algorithm="maxima")

[Out]

arctan(sinh(x))

________________________________________________________________________________________

mupad [B]  time = 0.02, size = 5, normalized size = 1.67 \[ 2\,\mathrm {atan}\left ({\mathrm {e}}^x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/cosh(x),x)

[Out]

2*atan(exp(x))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \operatorname {sech}{\relax (x )}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sech(x),x)

[Out]

Integral(sech(x), x)

________________________________________________________________________________________