You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

The first derivative of the tanh(x) function

Manage Bookmarks
Calculates the 1st derivative tanh'(x) of the hyperbolic tangent function tanh(x).
The tanh(x) function is used in neural networks as an activation function, among other applications.
x
\( \normalsize Tangent\ hyperbolic\ function\ \tanh(x)\\ f(x) = \large \tanh(x) = \large \frac {e^{x}-e^{-x}}{e^{x}+e^{-x}}\\ \normalsize f'(x) = 1 - f(x)^{2} \\ \normalsize f''(x) = - 2 f(x) \left\{ 1 - f(x)^{2} \right\} \\\)

No customer feedback for this calculation yet.