The derivative of sinh
Differentiate the definition, , one term at a time. The derivative of is . For the chain rule brings out the derivative of −x, which is −1, so the derivative of is , and the derivative of is .
So , which is cosh x.
Check with a difference quotient at x = 1. , and with a step of 0.001 the quotient is 1.543668. They close in on cosh 1 = 1.543081.
cosh x is never less than 1, so the gradient of sinh x is always at least 1. That is why sinh x increases everywhere. At the origin the gradient is cosh 0 = 1, so the tangent there is y = x.
The derivative of cosh
Differentiate the same way. gives and gives , so , which is sinh x.
Unlike cosine, no minus sign appears. The derivative of cos x is −sin x, but the derivative of cosh x is +sinh x. Check at x = 1: , and with a step of 0.001 it is 1.175973. They close in on sinh 1 = 1.175201, which is positive.
The gradient of cosh can still be negative. At x = −1 it is sinh(−1) = −1.175201, because cosh falls as x approaches 0 from the left. The minus there comes from the value of sinh x, not from the rule. At x = 0 the gradient is sinh 0 = 0, at the lowest point of the curve.
Differentiate twice and each function comes back with its own sign: the second derivative of cosh x is cosh x, and the second derivative of sinh x is sinh x. For cos x and sin x, two differentiations change the sign.
The gold curve is y = cosh x and the plain curve is y = sinh x. The gold straight line is the tangent to cosh at x = 1, and its gradient, 1.175201, is the height of the sinh curve at x = 1, the lower marked point. The tangent crosses the y-axis at . Left of 0, sinh x is negative and cosh falls.
The derivative of tanh
, so use the quotient rule: the bottom times the derivative of the top, minus the top times the derivative of the bottom, all over the bottom squared. That is .
The numerator is , which the identity says is 1. So , which is also written sech²x.
At x = 0 the gradient is . At x = 0.5 it is 0.786448, and at x = 1 it is 0.419974. It is positive everywhere, so tanh x always increases, and it shrinks toward 0 far from the origin, where tanh x levels off toward 1 and −1.
The gold curve is y = tanh x and the plain one is its gradient, . The gradient is highest, 1, at x = 0, where tanh is steepest, and it is 0.419974 at x = 1. It never drops to 0, and tanh never stops rising.
The integrals
Read each derivative backwards. sinh x differentiates to cosh x, so . cosh x differentiates to sinh x, so . Again no minus sign appears, where has one.
For example, the area under y = cosh x from x = 0 to x = 1 is sinh 1 − sinh 0 = 1.175201, and the area under y = sinh x over the same stretch is cosh 1 − cosh 0 = 0.543081. Reading the tanh result backwards gives .
With the chain rule
A hanging cable has the shape . The chain rule gives , so the gradient of the cable is : the a in front cancels the from inside.
Backwards, , and the a appears in front, because differentiating gives back .
The usual mistakes
Copying the minus sign from cosine. , and , with no minus sign in either.
Forgetting the chain rule. differentiates to , not to .
Leaving off the square. is , not .
Two cables
In the first application below, the length of a hanging chain needs its gradient, . The identity turns into cosh u, which integrates back to a sinh.
In the second, the gradient of a footbridge cable at its anchor is a sinh, and the angle it makes with the horizontal follows from a slope triangle whose hypotenuse the identity turns into a cosh.
Worked example: A Chain of Lanterns Across a Courtyard: The Sag, and the Length of Chain to Buy
Question A chain of lanterns is slung between two posts 24 m apart across a courtyard. It hangs as y = 20cosh(x20), with x and y in meters and x measured from the middle of the span. (a) How far does the chain sag below the posts? (b) What length of chain is needed, and how much longer is that than the straight distance between the posts? Give each answer to three significant figures.
1.Each post stands at x = 12 m from the middle, so the number inside the cosh is 1220 = 0.6. From the exponentials, cosh 0.6 = e0.6 + e−0.62 = 1.82212 + 0.548812 = 1.18547.
Each post is at x = 12 m, and cosh 0.6 = e0.6 + e−0.62 = 1.18547. 2.(a) The chain is 20 × 1.18547 = 23.709 m up at each post and 20 m up at its lowest point, so it sags 23.709 − 20 = 3.709 m, which is 3.71 m to three significant figures.
(a) The chain is 20 × 1.18547 = 23.709 m up at a post, so it sags 3.71 m. 3.For the length, differentiate the model. The derivative of cosh u is sinh u, so dydx = sinh(x20), and the arc-length integrand is √1 + sinh2(x20). The identity cosh2 u − sinh2 u = 1 says that root is exactly cosh(x20).
The gradient is sinh(x20), and √1 + sinh2 u = cosh u by the identity. 4.Integrating cosh(x20) gives 20sinh(x20), so the length from the middle out to one post is 20sinh 0.6 and the whole chain is twice that. From the exponentials, sinh 0.6 = 1.82212 − 0.548812 = 0.63665.
Integrating cosh(x20) gives 20sinh(x20), and sinh 0.6 = 0.63665. 5.(b) The chain is 2 × 20 × 0.63665 = 25.466 m long, which is 25.5 m to three significant figures. That is 25.466 − 24 = 1.466 m more than the 24 m straight across, so 1.47 m of extra chain. Check: a hanging chain must be longer than the straight line between its ends, and it is.
(b) The chain is 2 × 20 × 0.63665 = 25.5 m, which is 1.47 m more than the 24 m across.
Answer: (a) a sag of 3.71 m; (b) 25.5 m of chain, which is 1.47 m more than the 24 m between the posts
Common mistakes
- Taking the length to be the span plus twice the sag, 24 + 2 × 3.709 = 31.4 m. That measures a path that goes straight down and straight along, not the curve. The curve is shorter than that and longer than the span, and only the arc length gives it: 25.466 m.
- Leaving the square root as √1 + sinh2 u and reaching for a calculator or an approximation. The identity makes the root exact: 1 + sinh2 u = cosh2 u, so the integrand is cosh u and the integral is elementary. Nothing here needs estimating.
Worked example: The Anchor of a Footbridge Cable: How Steep It Is There and the Angle It Makes With the Horizontal
Question A footbridge's suspension cable hangs as y = 36cosh(x36), with x and y in meters and x measured from the middle of the span. Its anchors are at x = 27 m on each side. (a) What is the gradient of the cable at the anchor on the right, where x = 27 m? (b) What angle does the cable make with the horizontal there? Give the gradient to three significant figures and the angle to the nearest tenth of a degree.
1.Differentiate the model. The derivative of cosh u is sinh u, and the chain rule brings out a factor 136, so dydx = 36 × 136sinh(x36) = sinh(x36).
The cable is y = 36cosh(x36), with its anchors at x = 27 m. 2.At an anchor x = 27, so the number inside the sinh is 2736 = 0.75. From the exponentials, sinh 0.75 = 2.11700 − 0.472372 = 0.82232.
Differentiating gives dydx = sinh(x36), and at an anchor 2736 = 0.75. 3.(a) The gradient of the cable at the anchor is 0.822 to three significant figures. It is a pure number, a rise of 0.822 m for every meter along.
(a) The gradient at the anchor is sinh 0.75 = 0.822, drawn here as the tangent. 4.For the angle, draw the slope triangle: it runs 1 across and sinh 0.75 up, so its hypotenuse is √1 + sinh2 0.75, which the identity makes exactly cosh 0.75. Therefore sinθ = sinh 0.75cosh 0.75 = tanh 0.75.
The slope triangle runs 1 across and sinh 0.75 up, so its hypotenuse is cosh 0.75. 5.(b) tanh 0.75 = 0.822321.29468 = 0.635, so θ = 39.4° to the nearest tenth of a degree. Check the same angle from the gradient itself: tanθ = 0.82232 also gives θ = 39.4°.
(b) sinθ = tanh 0.75 = 0.635, so the cable rises at 39.4° to the horizontal.
Answer: (a) a gradient of 0.822; (b) 39.4°, since sinθ = tanh 0.75 = 0.635
Common mistakes
- Treating the gradient as the angle, and answering 0.822 radians, which is 47.1°. A gradient is a ratio of two lengths and an angle is not; the angle is the inverse tangent of the gradient, 39.4°.
- Differentiating 36cosh(x36) to 36sinh(x36) and forgetting the chain rule. That answer, 29.6, is 36 times too large. The 136 from the inside of the bracket cancels the 36 in front, which is why a catenary's gradient is a plain sinh(xa).