sinh, cosh and tanh

The exponential, split into two halves.

Two halves of the exponential

The hyperbolic cosine and the hyperbolic sine are made from eˣ and e⁻ˣ. Their average is cosh x = (eˣ + e⁻ˣ)/2, and half their difference is sinh x = (eˣ − e⁻ˣ)/2.

At x = 1, e = 2.718282 and e⁻¹ = 0.367879, so cosh 1 = (2.718282 + 0.367879)/2 = 1.543081 and sinh 1 = (2.718282 − 0.367879)/2 = 1.175201.

Replacing x by −x swaps eˣ and e⁻ˣ. The sum does not change, so cosh(−x) = cosh x: cosh is an even function, and its graph is symmetric about the y-axis. The difference changes sign, so sinh(−x) = −sinh x: sinh is an odd function.

xy

The two plain curves are y = eˣ, rising to the right, and y = e⁻ˣ, its reflection in the y-axis. The gold curve, cosh x, is exactly halfway between them at every x: at x = 1 it is 1.543081, halfway between 2.718282 and 0.367879. All three pass through (0, 1).

Adding them back together

Add the two definitions: (eˣ + e⁻ˣ)/2 + (eˣ − e⁻ˣ)/2. The e⁻ˣ terms cancel and the two halves of eˣ make a whole, so cosh x + sinh x = eˣ. Subtracting instead gives cosh x − sinh x = e⁻ˣ. At x = 1, 1.543081 + 1.175201 = 2.718282 = e.

So eˣ splits into an even part, cosh x, and an odd part, sinh x. The series shows the same split. eˣ = 1 + x + x²/2! + x³/3! + …; its even powers make cosh x = 1 + x²/2! + x⁴/4! + …, and its odd powers make sinh x = x + x³/3! + x⁵/5! + …. At x = 1 the first four terms of cosh give 1 + 0.5 + 0.041667 + 0.001389 = 1.543056, close to 1.543081.

These are the series for cos x and sin x with every minus sign changed to a plus.

The graphs of cosh and sinh

cosh x is never less than 1. Here is why: cosh x − 1 = (eˣ − 2 + e⁻ˣ)/2, and eˣ − 2 + e⁻ˣ is the square (e^(x/2) − e^(−x/2))², since e^(x/2) × e^(−x/2) = 1. A square is never negative, so cosh x − 1 ≥ 0. It is 0 only when e^(x/2) = e^(−x/2), which is at x = 0. So the lowest point of cosh is (0, 1), and the curve rises on both sides of it.

sinh x increases everywhere: eˣ increases and e⁻ˣ decreases, so their difference increases. It passes through the origin, since sinh 0 = 0, and it takes every value, negative and positive.

Far to the right, e⁻ˣ is tiny, so both functions are close to eˣ/2. At x = 3, cosh 3 = 10.067662, sinh 3 = 10.017875 and e³/2 = 10.042768. Far to the left, cosh x is close to e⁻ˣ/2 and sinh x is close to −e⁻ˣ/2.

xy

The gold curve is y = cosh x, with its lowest point at (0, 1). The plain curve is y = sinh x, rising through the origin. At x = 2 they are 3.762196 and 3.626860, already close together.

tanh

The hyperbolic tangent is tanh x = (sinh x)/(cosh x) = (eˣ − e⁻ˣ)/(eˣ + e⁻ˣ). Like sinh, it is odd.

Divide the top and the bottom by eˣ: tanh x = (1 − e^(−2x))/(1 + e^(−2x)). For x > 0, e^(−2x) is between 0 and 1, so the top is positive and smaller than the bottom, and 0 < tanh x < 1. As x grows, e^(−2x) shrinks toward 0 and tanh x climbs toward 1 without reaching it. Because tanh is odd, it lies between −1 and 0 for x < 0, approaching −1 on the far left.

tanh 1 = 0.761594, tanh 2 = 0.964028 and tanh 3 = 0.995055. The lines y = 1 and y = −1 are horizontal asymptotes.

xy

y = tanh x between its two asymptotes, y = 1 and y = −1. The marked points are (1, 0.761594) and (2, 0.964028): by x = 2 the curve is within 0.04 of 1.

The values at zero

At x = 0 both exponentials are e⁰ = 1. So cosh 0 = (1 + 1)/2 = 1, sinh 0 = (1 − 1)/2 = 0 and tanh 0 = 0/1 = 0.

Another value worth knowing is x = ln 2, where eˣ = 2 and e⁻ˣ = 1/2. Then cosh x = (2 + 1/2)/2 = 5/4, sinh x = (2 − 1/2)/2 = 3/4 and tanh x = 3/5.

The usual mistakes

Leaving out the halving. eˣ + e⁻ˣ is 2 at x = 0; cosh 0 is half of that, 1.

Swapping the two definitions. cosh has the plus sign, and it is the even one; sinh has the minus sign, and it is the odd one.

Expecting cosh to take small values. cosh x = 0.5 has no solution, because cosh x is never below 1.

Using a calculator set to degrees. These are functions of a number, not of an angle.

A cable and a boat

A cable hanging between two supports takes the shape y = a cosh(x/a), called a catenary. In the first application below, the sag of a power line is the height of its cosh curve at a pylon minus the height at its lowest point.

In the second, a boat’s speed is a multiple of tanh, so the speed approaches that multiple and never reaches it.

Worked example: A Power Line Between Two Pylons: How Far the Cable Sags and What Room Is Left Above the Road

Question A power line hangs between two pylons that stand 100 m apart. Measured from the middle of the span, the cable takes the shape y = 100cosh(x100), with x and y in meters. (a) How far below its fixings does the cable sag? (b) The cable is fixed to each pylon 30 m above the road. How high above the road is the lowest point of the cable? Give each answer to three significant figures.

  1. 1.Name the parts of the model. Here a = 100 m. The middle of the span is x = 0, and since cosh 0 = 1 the cable is y = 100 × 1 = 100 m up at its lowest point.

    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 my = 100 cosh(x/100), lowest point 100 m
    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 my = 100 cosh(x/100), lowest point 100 m
    The lowest point is at x = 0, where cosh 0 = 1 and the cable is 100 m up.
  2. 2.The pylons are 100 m apart, so each fixing sits at x = 50 m from the middle, and the number inside the cosh is 50100 = 0.5. Work cosh 0.5 out from the two exponentials it is built from: cosh 0.5 = e0.5 + e−0.52 = 1.64872 + 0.606532 = 1.12763.

    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 my = 100 cosh(x/100), lowest point 100 mcosh 0.5 = (1.64872 + 0.60653)/2 = 1.12763
    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 my = 100 cosh(x/100), lowest point 100 mcosh 0.5 = (1.64872 + 0.60653)/2 = 1.12763
    Each fixing is at x = 50 m, and cosh 0.5 = e0.5 + e−0.52 = 1.12763.
  3. 3.The height of the cable at a fixing is y = 100 × 1.12763 = 112.763 m.

    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 m112.76 my = 100 cosh(x/100), lowest point 100 mcosh 0.5 = (1.64872 + 0.60653)/2 = 1.12763at a pylon: 100 × 1.12763 = 112.763 m
    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 m112.76 my = 100 cosh(x/100), lowest point 100 mcosh 0.5 = (1.64872 + 0.60653)/2 = 1.12763at a pylon: 100 × 1.12763 = 112.763 m
    The cable is 100 × 1.12763 = 112.763 m up where it meets a pylon.
  4. 4.(a) The sag is the height at the fixing less the height at the lowest point: 112.763 − 100 = 12.763 m, which is 12.8 m to three significant figures.

    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 m112.76 m12.8 my = 100 cosh(x/100), lowest point 100 mcosh 0.5 = (1.64872 + 0.60653)/2 = 1.12763at a pylon: 100 × 1.12763 = 112.763 m(a) sag = 112.763 − 100 = 12.8 m
    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 m112.76 m12.8 my = 100 cosh(x/100), lowest point 100 mcosh 0.5 = (1.64872 + 0.60653)/2 = 1.12763at a pylon: 100 × 1.12763 = 112.763 m(a) sag = 112.763 − 100 = 12.8 m
    (a) The sag is 112.763 − 100 = 12.763 m, or 12.8 m to three significant figures.
  5. 5.(b) The fixing is 30 m above the road and the lowest point of the cable hangs 12.763 m below that fixing, so it is 30 − 12.763 = 17.237 m above the road, or 17.2 m to three significant figures. Check: 17.237 + 12.763 = 30 m, which is the height of the fixing, as it must be.

    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 m112.76 m12.8 m17.2 my = 100 cosh(x/100), lowest point 100 mcosh 0.5 = (1.64872 + 0.60653)/2 = 1.12763at a pylon: 100 × 1.12763 = 112.763 m(a) sag = 112.763 − 100 = 12.8 m(b) 30 − 12.763 = 17.2 m above the road
    8595105115−50−2502550x, meters from the middle of the spanheight, mroad100 m112.76 m12.8 m17.2 my = 100 cosh(x/100), lowest point 100 mcosh 0.5 = (1.64872 + 0.60653)/2 = 1.12763at a pylon: 100 × 1.12763 = 112.763 m(a) sag = 112.763 − 100 = 12.8 m(b) 30 − 12.763 = 17.2 m above the road
    (b) The fixing is 30 m up, so the lowest point is 30 − 12.763 = 17.2 m above the road.

Answer: (a) 12.8 m; (b) 17.2 m above the road

Common mistakes

  • Reading the 100 in the model as the sag. It is not the sag. In y = acosh(xa) the constant a is the height of the lowest point above the level the model measures from, and the sag is the difference acosh(xa) − a, which here is 12.763 m.
  • Putting the whole span of 100 m in for x. The model measures x from the middle of the span, so a fixing is at x = 50 m, not x = 100 m. Using 100 gives cosh 1 = 1.54308 and a sag of 54.3 m, more than four times the true figure.

More hyperbolic functions problems, worked step by step →

Worked example: A Motor Launch Opening Its Throttle: The Speed It Reaches and the Speed It Never Quite Reaches

Question The water's resistance on a motor launch grows with the square of its speed, and for such a boat the speed n seconds after it starts from rest is v = 12tanh(n8) meters per second. (a) How fast is the launch going after 8 seconds? (b) What speed does the launch settle at, and how close to it is the boat after 16 seconds? Give the speeds to three significant figures.

  1. 1.(a) After 8 seconds the number inside the tanh is 88 = 1. Work tanh 1 out from the exponentials: tanh 1 = e1 − e−1e1 + e−1 = 2.71828 − 0.367882.71828 + 0.36788 = 2.350403.08616 = 0.76159.

    03691208162432n, seconds from restspeed, m/ssettles at 12 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159
    03691208162432n, seconds from restspeed, m/ssettles at 12 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159
    After 8 seconds the number inside is 1, and tanh 1 = 2.71828 − 0.367882.71828 + 0.36788 = 0.76159.
  2. 2.The speed is therefore v = 12 × 0.76159 = 9.139, which is 9.14 meters per second to three significant figures.

    03691208162432n, seconds from restspeed, m/ssettles at 12 m/s9.14 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159(a) v = 12 × 0.76159 = 9.14 m/s
    03691208162432n, seconds from restspeed, m/ssettles at 12 m/s9.14 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159(a) v = 12 × 0.76159 = 9.14 m/s
    (a) The launch is doing 12 × 0.76159 = 9.14 meters per second.
  3. 3.Now look at what tanh u does as u grows. Multiplying the top and the bottom of eu − e−ueu + e−u by e−u gives 1 − e−2u1 + e−2u. As u grows, e−2u tends to 0, so tanh u climbs toward 1 and stays below it for every u.

    03691208162432n, seconds from restspeed, m/ssettles at 12 m/s9.14 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159(a) v = 12 × 0.76159 = 9.14 m/stanh u = (1 − e−2u)/(1 + e−2u) → 1
    03691208162432n, seconds from restspeed, m/ssettles at 12 m/s9.14 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159(a) v = 12 × 0.76159 = 9.14 m/stanh u = (1 − e−2u)/(1 + e−2u) → 1
    Writing tanh u = 1 − e−2u1 + e−2u shows it climbs toward 1 and stays below it.
  4. 4.(b) The speed is therefore always below 12 × 1 = 12 meters per second, and it closes in on that figure as the seconds pass. The launch settles at 12 meters per second, which it approaches but never reaches.

    03691208162432n, seconds from restspeed, m/ssettles at 12 m/s9.14 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159(a) v = 12 × 0.76159 = 9.14 m/stanh u = (1 − e−2u)/(1 + e−2u) → 1(b) the speed settles at 12 m/sand never quite reaches it
    03691208162432n, seconds from restspeed, m/ssettles at 12 m/s9.14 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159(a) v = 12 × 0.76159 = 9.14 m/stanh u = (1 − e−2u)/(1 + e−2u) → 1(b) the speed settles at 12 m/sand never quite reaches it
    (b) The speed therefore settles at 12 meters per second, which it never reaches.
  5. 5.After 16 seconds the number inside the tanh is 2, and tanh 2 = 1 − e−41 + e−4 = 1 − 0.0183161 + 0.018316 = 0.96403, so v = 12 × 0.96403 = 11.568, or 11.6 meters per second. That is 96.4% of the settled speed. Check: 11.568 is below 12, as every speed this model gives must be.

    03691208162432n, seconds from restspeed, m/ssettles at 12 m/s9.14 m/s11.6 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159(a) v = 12 × 0.76159 = 9.14 m/stanh u = (1 − e−2u)/(1 + e−2u) → 1(b) the speed settles at 12 m/sand never quite reaches itafter 16 s: 12 × 0.96403 = 11.6 m/sthat is 96.4 percent of 12
    03691208162432n, seconds from restspeed, m/ssettles at 12 m/s9.14 m/s11.6 m/se = 2.71828 and 1/e = 0.36788tanh 1 = 2.35040/3.08616 = 0.76159(a) v = 12 × 0.76159 = 9.14 m/stanh u = (1 − e−2u)/(1 + e−2u) → 1(b) the speed settles at 12 m/sand never quite reaches itafter 16 s: 12 × 0.96403 = 11.6 m/sthat is 96.4 percent of 12
    After 16 seconds tanh 2 = 0.96403, so v = 11.6 meters per second, 96.4% of the settled speed.

Answer: (a) 9.14 meters per second; (b) it settles at 12 meters per second, and after 16 seconds it is at 11.6 meters per second, which is 96.4% of that

Common mistakes

  • Reading the 12 as the speed at some particular moment, or as the speed at n = 8. It is neither. The 12 is the ceiling the speeds climb toward, and no finite number of seconds reaches it; after 8 seconds the boat is at 9.14 meters per second.
  • Putting the 8 seconds into a calculator set to degrees. These are hyperbolic functions of a pure number, not trigonometric functions of an angle, so degrees have no meaning here at all.

More hyperbolic functions problems, worked step by step →

Practice sinh, cosh and tanh in the app