The sinh and cosh formulas are sinh(x) = (ex − e−x) / 2 and cosh(x) = (ex + e−x) / 2, where e is Euler's number (about 2.71828). That pair of expressions is the whole definition: everything else about hyperbolic functions — the identities, the derivative rules, the shape of their graphs — falls out of those two lines plus ordinary algebra. To use them you need a value for x, a way to raise e to a power (a scientific calculator or a spreadsheet will do), and a little care with the signs and the order of operations. The steps below take you from a raw number to a sinuous and cosinus value you can trust, then show the identities and derivative rules that most people actually came looking for.
What You'll Need
- A value for x. It can be any real number; hyperbolic sine and cosine are defined everywhere, with no domain restrictions.
- A scientific calculator with an ex key, or a spreadsheet such as Excel, Google Sheets or LibreOffice Calc.
- Paper or a scratch cell for intermediate results, especially if you are working by hand.
- The approximation e ≈ 2.718281828 for manual work, and a memory of how to handle negative exponents.
- For spreadsheets, the built-in functions SINH() and COSH() — useful as a cross-check rather than a crutch.
Step-by-Step
- Write down x and fix its sign. Decide whether x is positive, negative or zero before you compute anything. For x = 0, both formulas collapse neatly: sinh(0) = 0 and cosh(0) = 1, because e0 = 1 and e−0 = 1. Those two values are worth memorising — they are the easiest sanity check you will ever do.
- Compute ex. On a calculator, enter x, press the ex key (sometimes labelled exp), and record the result. For x = 2, e2 ≈ 7.389056. Keep at least six decimal places; the subtraction in the sinh formula loses precision if you round too early.
- Compute e−x. This is 1 / ex, so you can either press the sign-change key and use ex again, or simply divide 1 by the number from step 2. For x = 2, e−2 ≈ 0.135335. Knowing this shortcut matters: it means you never need a separate key for negative exponentials.
- Add the two values and halve them for cosh. cosh(2) = (7.389056 + 0.135335) / 2 = 7.524391 / 2 ≈ 3.762196. Note that the addition keeps both terms, so cosh is always at least 1 and grows without limit as x moves away from zero in either direction.
- Subtract and halve for sinh. sinh(2) = (7.389056 − 0.135335) / 2 = 7.253721 / 2 ≈ 3.626861. The subtraction is where sinh gets its character: for large positive x the second term nearly vanishes, so sinh(x) ≈ ex / 2, and for large negative x the first term nearly vanishes, so sinh(x) ≈ −e−x / 2.
- Check the sign symmetry. cosh is even — cosh(−x) = cosh(x) — while sinh is odd — sinh(−x) = −sinh(x). Compute the pair for x = −2 as a test: e−2 ≈ 0.135335 and e2 ≈ 7.389056, giving sinh(−2) ≈ −3.626861 and cosh(−2) ≈ 3.762196. If your answers do not match the positive-x results with the sign flipped on sinh only, you made an exponent error somewhere.
- Confirm with the identity cosh²x − sinh²x = 1. Square both results and subtract: 3.762196² ≈ 14.154117 and 3.626861² ≈ 13.154117; the difference is exactly 1 (to the precision you carried). This is the hyperbolic version of the Pythagorean identity and the single fastest way to catch an arithmetic slip.
- Cross-check in a spreadsheet. Put your x value in cell A1, then =SINH(A1) and =COSH(A1) in two other cells and compare against your hand result. If you want to see the formula working directly, = (EXP(A1) - EXP(-A1)) / 2 reproduces sinh and the same with a plus sign reproduces cosh. Getting the two methods to agree proves your manual work.
- Use the derivative rules if that is what you needed. The derivatives are d/dx sinh(x) = cosh(x) and d/dx cosh(x) = sinh(x), with no sign flips — unlike the trigonometric pair, which swaps a minus in. The chain rule extends this: d/dx sinh(ax) = a·cosh(ax). Integrals run the other way: ∫cosh(x) dx = sinh(x) + C and ∫sinh(x) dx = cosh(x) + C.
- Use the addition and double-angle forms where they save work. sinh(x + y) = sinh x · cosh y + cosh x · sinh y, cosh(x + y) = cosh x · cosh y + sinh x · sinh y, and the doubling formulas sinh(2x) = 2 sinh x · cosh x and cosh(2x) = cosh²x + sinh²x, which can also be written cosh(2x) = 2cosh²x − 1 or 1 + 2sinh²x.
Common Mistakes
- Forgetting the divide-by-two. The most frequent error is computing ex ± e−x and stopping there. Both formulas have a 2 in the denominator.
- Mixing up which formula gets the minus sign. Cosine takes the plus, sine takes the minus. Remember it by the fact that cosh(0) = 1 requires the plus.
- Rounding too early. If you round ex and e−x to two decimals before subtracting, sinh of a small x can lose most of its significant figures. Carry at least six decimals, round only the final answer.
- Sign errors on negative x. Writing e−x as a negative number rather than a reciprocal is a common slip. e−2 is about 0.135, not −7.389.
- Mistaking the reciprocal for the inverse. 1/cosh(x) is the hyperbolic secant, sech(x), not the inverse function. The inverse is written arcosh or cosh⁻¹ and is a different thing entirely.
- Assuming the derivative keeps the minus sign. d/dx cosh(x) is +sinh(x). If you carried over habits from ordinary trig you will get this wrong.
Tips
- For small x, sinh(x) ≈ x and cosh(x) ≈ 1 + x²/2. These approximations come from the series and are accurate enough for quick mental estimates when x is well under 1.
- Remember the shape: cosh traces a curve that looks like a hanging chain and never dips below 1, while sinh passes through the origin and grows like an exponential in each direction.
- The point (cosh t, sinh t) traces the right-hand branch of the hyperbola x² − y² = 1. That geometric picture is where the names come from and makes the Pythagorean-style identity obvious.
- If you are computing repeatedly, keep ex once and derive e−x as its reciprocal; it halves the calculator work and avoids inconsistency between the two values.
- In programming, most languages expose sinh and cosh directly, and the exp-based form is a useful fallback only when those functions are unavailable.
Troubleshooting
The identity does not come out to 1. This almost always means a rounding problem or a sign error. Recompute both exponentials to full precision and check that e−x is a small positive number when x is positive.
Your calculator gives an error for a large x. For very large x, ex can overflow a calculator's range even though sinh and cosh themselves are finite in theory. Use the SINH and COSH keys, which handle the internal scaling, or work with logarithms.
Spreadsheet returns #VALUE! or #NAME?. Check that the cell contains a number, not text, and that the function name is spelled with no spaces. A leading apostrophe turns the entry into text and will break the formula.
The spreadsheet answer disagrees with your hand answer. Compare the exponent value itself first — most disagreements trace to a mis-keyed x, an extra digit, or a degrees-versus-radians confusion if you were working alongside trigonometry. Hyperbolic functions take a plain number, not an angle, so no unit conversion is involved.
Frequently Asked Questions
What is the difference between sinh cosh and regular sin cos?
Regular sine and cosine are built on the unit circle and repeat every 2π. Sinh and cosh are built on the hyperbola x² − y² = 1 and do not repeat at all; they grow without bound. Their derivative signs also differ, which is why cosh differentiated gives +sinh rather than −sinh.
Is cosh ever negative?
No. Because it is half the sum of two positive numbers, ex and e−x, cosh(x) is always at least 1. Its minimum is exactly 1 at x = 0. Sinh, by contrast, ranges over all real numbers.
Can I compute sinh and cosh by hand without a calculator?
You can for small x using the series approximations sinh(x) ≈ x + x³/6 and cosh(x) ≈ 1 + x²/2 + x⁴/24. For larger values the exponential grows quickly and you really do want a calculator or spreadsheet.
What is tanh and how does it relate?
tanh(x) = sinh(x) / cosh(x) = (ex − e−x) / (ex + e−x). Unlike sinh and cosh, tanh always stays between −1 and 1, which is why it turns up as an activation function in machine learning.
Why does the identity cosh²x − sinh²x equal 1?
Expand both squares using the definitions: cosh²x = (e2x + 2 + e−2x)/4 and sinh²x = (e2x − 2 + e−2x)/4. Subtracting the second from the first leaves 4/4, which is 1. The cross terms cancel exactly.