Hyperbolic Tangent

DOWNLOAD Mathematica Notebook
TanhReal
Min Max
Powered by webMathematica
TanhReImAbs
Min Max
Re
Im Powered by webMathematica

By way of analogy with the usual tangent

 tanz=(sinz)/(cosz),
(1)

the hyperbolic tangent is defined as

tanhz=(sinhz)/(coshz)
(2)
=(e^z-e^(-z))/(e^z+e^(-z))
(3)
=(e^(2z)-1)/(e^(2z)+1),
(4)

where sinhz is the hyperbolic sine and coshz is the hyperbolic cosine. The notation thz is sometimes also used (Gradshteyn and Ryzhik 2000, p. xxix).

tanhz is implemented in the Wolfram Language as Tanh[z].

Special values include

tanh0=0
(5)
tanh(lnphi)=1/5sqrt(5),
(6)

where phi is the golden ratio.

The derivative of tanhz is

 d/(dz)tanhz=sech^2z,
(7)

and higher-order derivatives are given by

 (d^n)/(dz^n)tanhz=(2^(n+1)e^(2z))/((1+e^(2z))^(n+1))sum_(k=0)^(n-1)<n; k>(-1)^ke^(2kz),
(8)

where <n; k> is an Eulerian number.

The indefinite integral is given by

 inttanhzdz=ln(coshz)+C.
(9)

tanhz has Taylor series

tanhz=sum_(n=0)^(infty)(2^(2n)(2^(2n)-1)B_(2n))/((2n)!)z^(2n-1)
(10)
=z-1/3z^3+2/(15)z^5-(17)/(315)z^7+(62)/(2835)z^9-...
(11)

(OEIS A002430 and A036279).

As Gauss showed in 1812, the hyperbolic tangent can be written using a continued fraction as

 tanhx=x/(1+(x^2)/(3+(x^2)/(5+...)))
(12)

(Wall 1948, p. 349; Olds 1963, p. 138). This continued fraction is also known as Lambert's continued fraction (Wall 1948, p. 349).

The hyperbolic tangent tanhx satisfies the second-order ordinary differential equation

 1/2f^('')=f^3-f
(13)

together with the boundary conditions f(0)=0 and f^'(infty)=0.

Wolfram Web Resources

Mathematica »

The #1 tool for creating Demonstrations and anything technical.

Wolfram|Alpha »

Explore anything with the first computational knowledge engine.

Wolfram Demonstrations Project »

Explore thousands of free applications across science, mathematics, engineering, technology, business, art, finance, social sciences, and more.

Computerbasedmath.org »

Join the initiative for modernizing math education.

Online Integral Calculator »

Solve integrals with Wolfram|Alpha.

Step-by-step Solutions »

Walk through homework problems step-by-step from beginning to end. Hints help you try the next step on your own.

Wolfram Problem Generator »

Unlimited random practice problems and answers with built-in Step-by-step solutions. Practice online or make a printable study sheet.

Wolfram Education Portal »

Collection of teaching and learning tools built by Wolfram education experts: dynamic textbook, lesson plans, widgets, interactive Demonstrations, and more.

Wolfram Language »

Knowledge-based programming for everyone.