What is the Versine Function?
The versine function, denoted as versin(x) or vers(x), is a trigonometric function that represents the versed sine of an angle. It is defined as the complement of the cosine function, measuring the vertical distance from the center of a unit circle to the point where a line from the center at angle x intersects the circle.
The versine function is one of the lesser-known trigonometric functions but has important applications in navigation, astronomy, and spherical geometry. It was historically used in navigation tables before the advent of modern calculators and computers.
The mathematical definition of versine is:
versin(x) = 1 - cos(x)
Key properties of the versine function include:
- Range: The versine function has a range of [0, 2], reaching its minimum value of 0 when x = 0 and maximum value of 2 when x = π.
- Periodicity: Like cosine, versine is periodic with period 2π.
- Symmetry: versin(x) = versin(-x), making it an even function.
- Derivative: The derivative of versin(x) is sin(x).
- Integration: The integral of versin(x) is x - sin(x) + C.
The versine function is particularly useful in spherical trigonometry and navigation, where it helps calculate distances and angles on the Earth's surface. It's also used in signal processing and in the analysis of periodic functions.
What is Inverse Versine (Aversine)?
The inverse versine function, also known as aversine or arcversine, is the inverse function of the versine. It answers the question: 'What angle has a versine of y?' The inverse versine function is denoted as aversin(y) or arcversin(y).
The mathematical definition of inverse versine is:
aversin(y) = arccos(1 - y)
Properties of the inverse versine function:
- Domain: The inverse versine is defined for y in the interval [0, 2].
- Range: The output range is [0, π].
- Monotonicity: aversin(y) is strictly increasing on its domain.
- Special values: aversin(0) = 0, aversin(1) = π/2, aversin(2) = π.
The inverse versine function is particularly useful in navigation and geodesy, where it's used to calculate angles from versine values obtained from measurements or calculations.
Common Versine Values
Here are some important versine values for common angles:
- versin(0°) = 0
- versin(30°) = 1 - √3/2 ≈ 0.134
- versin(45°) = 1 - √2/2 ≈ 0.293
- versin(60°) = 1 - 1/2 = 0.5
- versin(90°) = 1 - 0 = 1
- versin(120°) = 1 - (-1/2) = 1.5
- versin(180°) = 1 - (-1) = 2
Frequently Asked Questions
The versine of an angle, written vers(θ) or versin(θ), is defined as 1 − cos(θ). Geometrically, on a unit circle, the versine represents the small horizontal distance between the chord endpoint and the rightmost point of the circle for an arc of angle θ measured from the positive x-axis. Because cos(θ) ranges from −1 to +1, the versine ranges from 0 (at θ = 0°) to 2 (at θ = 180°). For small angles, vers(θ) ≈ θ²/2, which is why it appears whenever you approximate the bulge of a small arc. The versine is always non-negative, distinguishing it from cosine itself, and that property is why historical engineers preferred it in tables of bridge and railway curvature.
Before electronic calculators, the cosine of small angles was awkward to use because it equals 1 minus a tiny number — and that subtraction destroys precision in 5-digit log tables. The versine sidesteps this by being the tiny number itself, so navigators could read it directly with full significant figures. Mariners used versine tables alongside haversine tables for the great-circle distance formula, which gave the shortest path between two points on the globe. Astronomers used versines to convert between right-ascension/declination and zenith distance. The versine fell out of common use only when handheld calculators arrived in the 1970s and direct cosine evaluation became cheap and exact, but the formulas survive in vintage navigation manuals and old surveying textbooks.
The haversine is exactly half the versine: hav(θ) = vers(θ)/2 = (1 − cos(θ))/2 = sin²(θ/2). The half-angle identity sin²(θ/2) = (1 − cos(θ))/2 is what makes the haversine especially useful — it is always between 0 and 1, never overflows, and never loses precision near 0 or 180°. The great-circle distance between two latitude/longitude points uses the haversine of the central angle, not the versine, because the haversine formulation is numerically stable for both antipodal points and very close points. Historically, sailors who carried versine tables would simply halve the table value to get the haversine, or use a dedicated haversine table printed alongside.
The inverse versine, arcvers(y) or vers⁻¹(y), recovers the angle θ given vers(θ) = y. Because vers(θ) = 1 − cos(θ), simply rearrange: cos(θ) = 1 − y, so θ = arccos(1 − y). This is the standard way to compute the inverse versine on a modern calculator. The function is defined for y in [0, 2], returning θ in [0°, 180°] (or [0, π] radians). For practical use, inverse versine appears when you know the bulge or sagitta of an arc and need the central angle — common in road and rail engineering where the chord length and bulge are measured but the radius and angle must be inferred.
The coversine, written cvs(θ) or coversin(θ), is the versine of the complement: cvs(θ) = vers(90° − θ) = 1 − sin(θ). Similarly, vers(θ) = 1 − cos(θ) uses the cosine while coversine uses the sine. Both are non-negative when their argument is in [0°, 180°], and both range from 0 to 2. The coversine appears less frequently than versine but shows up in the same navigation-table era and in spherical trigonometry identities. There are also havercosine hav(180° − θ) and hacoversine variants, all defined to keep small-angle values away from the awkward 1 − tiny-number subtraction. Modern engineering rarely uses these except in legacy formulas.
In horizontal curve design for roads, railways, and pipelines, the versine measures the offset of the midpoint of a chord from the curve itself — known as the sagitta or mid-ordinate. If R is the curve radius and 2θ is the angle subtended by a chord, the sagitta s = R × vers(θ). Surveyors traditionally walked along a chord with a string line and measured the perpendicular offset to determine the curve radius without specialized instruments: R ≈ chord² / (8 × sagitta) for small angles. This same identity is used in optics for spherical mirror sagittas, in fabrication for arc-of-circle templates, and in archery to compute bow stack height.
Starting from cos(θ) = 1 − θ²/2! + θ⁴/4! − θ⁶/6! + ..., subtracting from 1 gives the Taylor series: vers(θ) = θ²/2! − θ⁴/4! + θ⁶/6! − θ⁸/8! + ..., where θ is in radians. For small θ, vers(θ) ≈ θ²/2 with error θ⁴/24 ≈ 4 × 10⁻⁵ at θ = 0.1 rad (about 5.7°). This quadratic approximation is the basis of the small-angle sagitta formula and the parabolic approximation of a circular arc. For higher accuracy without summing many terms, computers usually evaluate cos(θ) by argument reduction and then subtract from 1 — accepting the cancellation error — or use direct algorithms tuned to return 1 − cos(θ) without that subtraction.
Although versine is rarely used by name today, the function 1 − cos(θ) appears naturally in any context involving energy or distance squared. The Hann window in DSP, w(n) = (1 − cos(2π n / N))/2, is literally a scaled haversine — a half-versine — and it dominates audio frame analysis and FFT preprocessing. In mechanics, the energy of a pendulum at angle θ from vertical is mgL × vers(θ), which is why small-angle pendulums oscillate quadratically. In raised-cosine pulse shaping for digital communications, the spectrum involves 1 + cos(πf/B), which is again a versine relative. So while engineers no longer say "versine," the underlying 1 − cos identity remains everywhere oscillation meets energy.