September 12, 2013 | 18
On Monday, the Onion reported that the “Nation’s math teachers introduce 27 new trig functions.” It’s a funny read. The gamsin, negtan, and cosvnx from the Onion article are fictional, but the piece has a kernel of truth: there are 10 secret trig functions you’ve never heard of, and they have delightful names like “haversine” and “exsecant.”
Whether you want to torture students with them or drop them into conversation to make yourself sound erudite and/or insufferable, here are the definitions of all the “lost trig functions”
I found in my exhaustive research of original historical texts Wikipedia told me about.
I must admit I was a bit disappointed when I looked these up. They’re all just simple combinations of dear old sine and cosine. Why did they even get names?! From a time and place where I can sit on my couch and find the sine of any angle correct to 100 decimal places nearly instantaneously using an online calculator, the versine is unnecessary. But these seemingly superfluous functions filled needs in a pre-calculator world.
Numberphile recently posted a video about Log Tables, which explains how people used logarithms to multiply big numbers in the dark pre-calculator days. First, a refresher on logarithms. The equation logbx=y means that by=x. For example, 102=100 so log10100=2. One handy fact about logarithms is that logb(c×d)=logbc+logbd. In other words, logarithms make multiplication into addition. If you wanted to multiply two numbers together using a log table, you would look up the logarithm of both numbers and then add the logarithms together. Then you’d use your log table to find out which number had that logarithm, and that was your answer. It sounds cumbersome now, but doing multiplication by hand requires a lot more operations than addition does. When each operation takes a nontrivial amount of time (and is prone to a nontrivial amount of error), a procedure that lets you convert multiplication into addition is a real time-saver, and it can help increase accuracy.
The secret trig functions, like logarithms, made computations easier. Versine and haversine were used the most often. Near the angle θ=0, cos(θ) is very close to 1. If you were doing a computation that had 1-cos(θ) in it, your computation might be ruined if your cosine table didn’t have enough significant figures. To illustrate, the cosine of 5 degrees is 0.996194698, and the cosine of 1 degree is 0.999847695. The difference cos(1°)-cos(5°) is 0.003652997. If you had three significant figures in your cosine table, you would only get 1 significant figure of precision in your answer, due to the leading zeroes in the difference. And a table with only three significant figures of precision would not be able to distinguish between 0 degree and 1 degree angles. In many cases, this wouldn’t matter, but it could be a problem if the errors built up over the course of a computation.
The bonus trig functions also have the advantage that they are never negative. Versine ranges between 0 and 2, so if you are using log tables to multiply with a versine, you don’t have to worry about the fact that the logarithm is not defined for negative numbers. (It is not defined for 0 either, but that is an easy case to deal with.) Another advantage to the versine and haversine is that they can keep you from having to square something. A little bit of trigonometric wizardry (a.k.a. memorization of one of the endless list of trig formulas you learned in high school) shows that 1-cos(θ)=2sin2(θ/2). So the haversine is just sin2(θ/2). Likewise, the havercosine is cos2(θ/2). If you have a computation involving the square of sine or cosine, you can use a haversine or havercosine table and not have to square or take square roots.
The versine is a fairly obvious trig function to define and seems to have been used as far back as 400 CE in India. But the haversine may have been more important in more recent history, when it was used in navigation. The haversine formula is a very accurate way of computing distances between two points on the surface of a sphere using the latitude and longitude of the two points. The haversine formula is a re-formulation of the spherical law of cosines, but the formulation in terms of haversines is more useful for small angles and distances. (On the other hand, the haversine formula does not do a very good job with angles that are close to 90 degrees, but the spherical law of cosines handles those well.) The haversine formula could yield accurate results without requiring the computationally expensive operations of squares and square roots. As recently as 1984, the amateur astronomy magazine Sky & Telescope was singing the praises of the haversine formula, which is not only useful for terrestrial navigation but also for celestial calculations. For more on the haversine formula and computing distances on a sphere, check out this archived copy of a census bureau page or this Ask Dr. Math article.
I don’t have much information about the history of the other trig functions on the list. All of them could make computations more accurate near certain angles, but I don’t know which ones were commonly used and which ones were named* analogously to other functions but rarely actually used. I’m curious about this, if anyone knows more about the subject.
When the Onion imitates real life, it’s usually tragic. But in the case of secret trig functions, the kernel of truth in the Onion didn’t make me sad. We’re very lucky now that we can multiply, square, and take square roots so easily, and our calculators can store precise information about the sines, cosines, and tangents of angles, but before we could do that, we figured out a work-around in the form of a ridiculous number of trig functions. It’s easy forget that the people who defined them were not sadistic math teachers who want people to memorize weird functions for no reason. These functions actually made computations quicker and less error-prone. Now that computers are so powerful, the haversine has gone the way of the floppy disc. But I think we can all agree that it should come back, if only for the “awesome” joke I came up with as I was falling asleep last night: Haversine? I don’t even know ‘er!
*I’d like to take a little digression to the world of mathematical prefixes here, but it might not be for everyone. You’ve been warned.
In the table of secret trig functions, “ha” clearly means half; the value of haversine is half of the value of versine, for example. “Co” means taking the same function but with the complementary angle. (Complementary angles add up to 90 degrees. In a right triangle, the two non-right angles are complementary.) For instance, the cosine of an angle is also the sine of the complementary angle. Likewise, the coversine is the versine of the complementary angle, as you can see in light blue above one of the red sines in the diagram at the top of the post.
The one bonus trig function that confuses me a little bit is the vercosine. If the “co” in that definition meant the complementary angle, then vercosine would be the same as coversine, which it isn’t. Instead, the vercosine is the versine of the supplementary angle (supplementary angles add up to 180 degrees), not the complementary one. In addition to the definitions as 1-cos(θ) and 1+cos(θ), the versine and vercosine can be defined as versin(θ)=2sin2(θ/2) and vercos(θ)=2cos2(θ/2). In the case of versine, I believe the definition involving cos(θ) is older than the definition involving sine squared. My guess is that vercosine was a later term, an analogy of the square of sine definition of versine using cosine instead. If you’re a trigonometry history buff and you have more information, please let me know! In any case, the table of super-secret bonus trig functions is a fun exercise in figuring out what prefixes mean.