JS: Math hyperbolic functions. sinh, cosh, tanh, etc.

By Xah Lee. Date: . Last updated: .
Math.sinh(x)

Hyperbolic sine. That is (e^x - e^(-x))/2

sinh 2026-06-29 1b483 ll
sinh 2026-06-29 1b483 ll
Math.cosh(x)

hyperbolic cosine. That is (e^x + e^(-x))/2

Math.tanh(x)

Hyperbolic tangent. That is Sinh[x]/Cosh[x]

Math.asinh(x)

Inverse hyperbolic sine.

Math.acosh(x)

Inverse hyperbolic cosine.

Math.atanh(x)

Inverse hyperbolic tangent.

The functions Math.sinh Math.cosh Math.tanh Math.asinh Math.acosh Math.atanh are all new in ECMAScript 2015.

JavaScript. math functions.