Hang a chain or a power cable between two poles and it sags into a curve called a catenary. That curve is not a parabola. It is the graph of the hyperbolic cosine, cosh x. The hyperbolic functions sinh, cosh and tanh are built from eˣ and e⁻ˣ, and they behave very much like sin, cos and tan, with a few sign changes. In this lesson you will meet their definitions and identities, find their derivatives from the exponential rules, and learn the derivatives of their inverses.
In this lesson you will learn
- The definitions of sinh x, cosh x and tanh x
- The identity cosh²x − sinh²x = 1
- Why (sinh x)′ = cosh x and (cosh x)′ = sinh x, with no minus sign
- The derivatives of tanh, sech, cosech and coth
- The inverse hyperbolic functions and their derivatives
You should know the derivatives of eˣ and ln x and the chain rule. It also helps to compare with the trigonometric derivatives.
Definitions
sinh x = (eˣ − e⁻ˣ) / 2 ("shine x")
cosh x = (eˣ + e⁻ˣ) / 2 ("kosh x")
tanh x = sinh x / cosh x = (eˣ − e⁻ˣ) / (eˣ + e⁻ˣ)
sech x = 1/cosh x, cosech x = 1/sinh x, coth x = 1/tanh x
From the graph: cosh x is a U-shaped curve with its lowest point at (0, 1), and it is even, so cosh(−x) = cosh x. sinh x passes through the origin and is odd, so sinh(−x) = −sinh x. tanh x is squeezed between the horizontal lines y = −1 and y = 1, which makes it useful as a smooth “switch” in physics and in neural networks.
For large x, e⁻ˣ becomes tiny, so both sinh x and cosh x are close to eˣ/2. That is why the two curves come together on the right.
The Key Identity
cosh²x − sinh²x = [(eˣ + e⁻ˣ)² − (eˣ − e⁻ˣ)²] / 4
= [ (e²ˣ + 2 + e⁻²ˣ) − (e²ˣ − 2 + e⁻²ˣ) ] / 4
= 4/4 = 1
Compare cos²x + sin²x = 1. The hyperbolic version has a minus sign. The name comes from this: the point (cosh t, sinh t) always lies on the hyperbola x² − y² = 1, just as (cos t, sin t) lies on the circle x² + y² = 1.
Osborn’s rule
To turn a trigonometric identity into a hyperbolic one, replace each trig function with its hyperbolic partner and change the sign of any term that contains a product of two sines (including sin²x and tan²x). For example, 1 + tan²x = sec²x becomes 1 − tanh²x = sech²x.
The Derivatives
(sinh x)′ = (eˣ − (−e⁻ˣ)) / 2 = (eˣ + e⁻ˣ) / 2 = cosh x
(cosh x)′ = (eˣ + (−e⁻ˣ)) / 2 = (eˣ − e⁻ˣ) / 2 = sinh x
(tanh x)′ = (cosh x · cosh x − sinh x · sinh x) / cosh²x
= 1 / cosh²x = sech²x
| f(x) | f′(x) | Compare trig |
|---|---|---|
| sinh x | cosh x | (sin x)′ = cos x |
| cosh x | sinh x | (cos x)′ = −sin x |
| tanh x | sech²x | (tan x)′ = sec²x |
| sech x | −sech x tanh x | (sec x)′ = sec x tan x |
| cosech x | −cosech x coth x | (cosec x)′ = −cosec x cot x |
| coth x | −cosech²x | (cot x)′ = −cosec²x |
The big difference from trigonometry is that (cosh x)′ = +sinh x. There is no minus sign, because differentiating e⁻ˣ already brings one in.
With the Chain Rule
d/dx cosh(4x) = 4 sinh(4x)
d/dx sinh(x²) = 2x cosh(x²)
d/dx tanh(3x + 1) = 3 sech²(3x + 1)
d/dx ln(cosh x) = sinh x / cosh x = tanh x
Inverse Hyperbolic Functions
Because the hyperbolic functions are made from eˣ, their inverses can be written with logarithms:
sinh⁻¹x = ln( x + √(x² + 1) ) all x
cosh⁻¹x = ln( x + √(x² − 1) ) x ≥ 1
tanh⁻¹x = ½ ln( (1 + x)/(1 − x) ) |x| < 1
Differentiate the way you did for inverse trig. With y = sinh⁻¹x, sinh y = x, so cosh y · y′ = 1 and y′ = 1/cosh y = 1/√(1 + sinh²y):
| f(x) | f′(x) |
|---|---|
| sinh⁻¹x | 1/√(x² + 1) |
| cosh⁻¹x | 1/√(x² − 1), x > 1 |
| tanh⁻¹x | 1/(1 − x²), |x| < 1 |
Put these next to the inverse trig results 1/√(1 − x²) and 1/(1 + x²) and you have a complete set. Together they cover the integrals of 1/√(a² ± x²), 1/√(x² − a²) and 1/(a² ± x²), which you will need later in the course.
Application: The Hanging Cable
A cable hangs in the shape y = 20 cosh(x/20) metres, with x measured from the lowest point.
dy/dx = 20 · (1/20) sinh(x/20) = sinh(x/20)
At the lowest point x = 0: slope = sinh 0 = 0 (flat, as expected)
At x = 15 m: slope = sinh(0.75) ≈ 0.822, an angle of about 39.4° to the horizontal
Engineers use the slope at the poles to work out the direction of the pull on each support.
Common Mistakes
- Adding a minus sign to (cosh x)′. It is +sinh x.
- Using cos² + sin² = 1. For hyperbolic functions it is cosh² − sinh² = 1.
- Thinking cosh x can be less than 1. Its smallest value is cosh 0 = 1.
- Mixing up 1/(1 + x²) and 1/(1 − x²). The first is from tan⁻¹, the second from tanh⁻¹.
Practice Exercises
Exercise 1. Differentiate y = x sinh x.
Show answer
dy/dx = sinh x + x cosh x.
Exercise 2. Show that y = cosh(2x) satisfies d²y/dx² = 4y.
Show answer
y′ = 2 sinh(2x), y″ = 4 cosh(2x) = 4y. ✓
Exercise 3. Differentiate y = sinh⁻¹(2x).
Show answer
dy/dx = 2/√(4x² + 1).
Frequently Asked Questions
What is the derivative of cosh x?
The derivative of cosh x is sinh x, with no minus sign. Since cosh x = (e^x + e^-x)/2, differentiating gives (e^x – e^-x)/2, which is sinh x. This is the main difference from cos x, whose derivative is -sin x.
Where are hyperbolic functions used?
A hanging chain or cable forms a catenary, y = a cosh(x/a). Hyperbolic functions also appear in special relativity, in the speed of water waves, in the falling speed of an object with air resistance, and tanh is a common activation function in neural networks.
Summary
- sinh x = (eˣ − e⁻ˣ)/2 and cosh x = (eˣ + e⁻ˣ)/2.
- cosh²x − sinh²x = 1.
- (sinh x)′ = cosh x, (cosh x)′ = sinh x, (tanh x)′ = sech²x.
- (sinh⁻¹x)′ = 1/√(x² + 1), (cosh⁻¹x)′ = 1/√(x² − 1), (tanh⁻¹x)′ = 1/(1 − x²).
- A hanging cable has the shape of a cosh curve.
Next: Related Rates.
