Hyperbolic functions

Level UniversityDifficulty ★★★★★Concept⌖ Open in the map

What is it?

sinh⁡x=ex−e−x2\sinh x = \frac{e^x - e^{-x}}{2}, cosh⁡x=ex+e−x2\cosh x = \frac{e^x + e^{-x}}{2}, tanh⁡=sinh⁡/cosh⁡\tanh = \sinh/\cosh. They play for the hyperbola x2−y2=1x^2 - y^2 = 1 the role sin⁡\sin and cos⁡\cos play for the circle; tanh⁡\tanh is a classic activation function.

Formulas

cosh⁡2x−sinh⁡2x=1,tanh⁡′x=1−tanh⁡2x\cosh^2 x - \sinh^2 x = 1, \qquad \tanh' x = 1 - \tanh^2 x

Where it shows up in AI

  • Activation functions★★★★★frequentAI and machine learning

    tanh⁡\tanh squashes to (−1,1)(-1,1) and its derivative 1−tanh⁡21 - \tanh^2 is cheap to compute from the output.

Where is it used?

Computing topics reachable from here, through the chain of ideas that leads to them:

This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.

↑ ↓ to navigate · ↵ · Esc