3.811 \(\int \frac {1}{\cosh ^2(x)-\sinh ^2(x)} \, dx\)

Optimal. Leaf size=1 \[ x \]

[Out]

x

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 1, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {4380, 8} \[ x \]

Antiderivative was successfully verified.

[In]

Int[(Cosh[x]^2 - Sinh[x]^2)^(-1),x]

[Out]

x

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 4380

Int[(u_.)*((a_.) + cos[(d_.) + (e_.)*(x_)]^2*(b_.) + (c_.)*sin[(d_.) + (e_.)*(x_)]^2)^(p_.), x_Symbol] :> Dist
[(a + c)^p, Int[ActivateTrig[u], x], x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[b - c, 0]

Rubi steps

\begin {align*} \int \frac {1}{\cosh ^2(x)-\sinh ^2(x)} \, dx &=\int 1 \, dx\\ &=x\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 1, normalized size = 1.00 \[ x \]

Antiderivative was successfully verified.

[In]

Integrate[(Cosh[x]^2 - Sinh[x]^2)^(-1),x]

[Out]

x

________________________________________________________________________________________

fricas [A]  time = 0.40, size = 1, normalized size = 1.00 \[ x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(cosh(x)^2-sinh(x)^2),x, algorithm="fricas")

[Out]

x

________________________________________________________________________________________

giac [A]  time = 0.11, size = 1, normalized size = 1.00 \[ x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(cosh(x)^2-sinh(x)^2),x, algorithm="giac")

[Out]

x

________________________________________________________________________________________

maple [C]  time = 0.10, size = 8, normalized size = 8.00 \[ 2 \arctanh \left (\tanh \left (\frac {x}{2}\right )\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(cosh(x)^2-sinh(x)^2),x)

[Out]

2*arctanh(tanh(1/2*x))

________________________________________________________________________________________

maxima [A]  time = 0.31, size = 1, normalized size = 1.00 \[ x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(cosh(x)^2-sinh(x)^2),x, algorithm="maxima")

[Out]

x

________________________________________________________________________________________

mupad [B]  time = 1.52, size = 1, normalized size = 1.00 \[ x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(cosh(x)^2 - sinh(x)^2),x)

[Out]

x

________________________________________________________________________________________

sympy [B]  time = 0.39, size = 10, normalized size = 10.00 \[ \frac {x}{- \sinh ^{2}{\relax (x )} + \cosh ^{2}{\relax (x )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(cosh(x)**2-sinh(x)**2),x)

[Out]

x/(-sinh(x)**2 + cosh(x)**2)

________________________________________________________________________________________