# Hyperbolic functions - what sorcery is this?

If you are like me, your first contact with the hyperbolic functions was as "this strange, useless something on the calculator". There were just some weird buttons labeled "sinh" and "cosh". The school finally explained what "sin" and "cos" are, but there was no mention of those variants with the final "h". What is this about? The names suggest some similarity to the trigonometric functions, let's see what happens:

(You will get these results if you have the calculator set to radians - if you use degrees, then the cosine results will be different; it has no influence on the hyperbolic functions and we'll see later why that is.)

Right, these 11 thousand for cosh(10) look very similar to the trigonometric functions. This "h" apparently changes quite a bit, but what exactly...?

If you encountered complex numbers during your later education, you could stumble upon such definitions:

Some similarity is visible here, but... Why such a form? What does this have to do with hyperbolas? If you don't know it yet, you will know after reading this article.

### The less known face of the trigonometric functions

If trigonometric functions are something about triangles to you, you first have to change your understanding of them completely. They have much more to do with circles than with triangles (even though the very name "trigonometric" suggests triangles - it's a very unfortunate historic issue).

But first things first. The picture on the right shows how you usually learn the trigonometric functions at school. There is a triangle and an angle inside it, and the values of the sine and cosine are the ratios of respective sides.

OK, this makes sense. But... what about angles above 90°? Or below 0°? What exactly is sin(100°)? What is cos(-20°)? These functions are defined for these arguments, but how to show it on a triangle? You just can't.

These problems are solved by defining the sine and cosine on a circle (the picture to the left). We take a circle with radius 1 and the center at (0,0). We draw a radius at the angle $\vartheta$ to the x axis, with the angle growing conterclockwise. The coordinates of the point on the circle that we hit are $x = \cos \vartheta$ and $y = \sin \vartheta$. There is no problem with large angles (we can go around the origin of the coordinate system as much as we want), nor with negative angles (we just count them clockwise).

We can also look at this from another perspective - when we change $\vartheta$ from 0 to 360° (we can do so even from -∞ to +∞) and start marking the points with coordinates $(\cos \vartheta, \sin \vartheta)$, we will get a circle. To be more precise, we say that $\vartheta$ is a parameter, and $(\cos \vartheta, \sin \vartheta)$ is a parametrization of a circle.

Since we are starting to go deeper into the mathematical language, it's worth mentioning that mathematicians don't really like to measure angles in degrees. The preferred unit is the radian - the angle in radians is just the ratio of the length of the angle's arc to the circle's radius. The full angle is $2\pi$ radians, 180° is $\pi$ radians, 90° is $\frac{\pi}{2}$... Actually, mathematicians (and physicists) don't even treat angles as values with a unit, but as "naked" (dimensionless) numbers: they don't say "the angle is x radians", but just "the angle is x", full stop. It makes sense, because a ratio of lengths of two lines (in this case the arc and the radius) is just a number and doesn't require a unit.

So now a problem to solve: what is the area of the circular sector that has the angle $\vartheta$ (the picture to the right)?

Let's calculate: the full circle has an area of $\pi R^2$. The angle $\vartheta$ is a part of the whole circle: a ratio equal to $\frac{\vartheta}{2\pi}$ (reminder, the full angle is $2\pi$). This means that the sector's area is $\frac{\vartheta}{2\pi}\pi R^2 = \frac{\vartheta}{2}R^2$. When the radius is 1, as it is here, the area will be just $\frac{\vartheta}{2}$.

So if we imagine that we start at $(1,0)$ and draw a circle until we are at $(\cos \vartheta, \sin \vartheta)$, the area that we will swipe will be $\frac{\vartheta}{2}$.

### The hyperbolic functions

Okay, but what does it have to do with the hyperbolic functions?

Well, just as cosine and sine parametrize a circle, the hyperbolic cosine and sine parametrize a hyperbola. Taking different values of a parameter, let's call it $a$, and marking points $(\cosh a, \sinh a)$ we will get a hyperbola passing through the point $(1, 0)$.

But there is more - if we start from $(1, 0)$ and move along the hyperbola, swiping the area between it and the origin of the coordinate system, when we reach $(\cosh a, \sinh a)$, the area will be... $\frac{a}{2}$. This is why I wanted to point out the area issue in the circle - if you look from this perspective, the analogy between the trigonometric and the hyperbolic functions is complete.

#### The uses of hyperbolic functions

It is at last apparent that the names of the hyperbolic functions aren't similar to the trigonometric ones by accident. But do they have any practical use?

As it turns out, yes they do. Hyperbolic functions are incredibly useful in relativistic physics - the transformations between two moving frames of reference are strikingly similar to rotations, but expressed with the hyperbolic functions instead of trigonometric. And in other fields: a rope hanging from two points assumes the shape of the graph of the cosh(x) function under gravity - this is called the catenary.

### Summary

That's it. I hope I showed something interesting here, no matter if you already knew something about the hyperbolic functions or not. I personally think that such analogies between apparently very different mathematical objects are fascinating, and mathematics is full of them - which is one of great reasons to explore it :)