# Rhumb line

In navigation, a rhumb line, rhumb (/rʌm/), or loxodrome is an arc crossing all meridians of longitude at the same angle, that is, a path with constant azimuth (bearing as measured relative to true north). Navigation on a fixed course (i.e., steering the vessel to follow a constant cardinal direction) would result in a rhumb-line track.

## Introduction

The effect of following a rhumb line course on the surface of a globe was first discussed by the Portuguese mathematician Pedro Nunes in 1537, in his Treatise in Defense of the Marine Chart, with further mathematical development by Thomas Harriot in the 1590s.
A rhumb line can be contrasted with a great circle, which is the path of shortest distance between two points on the surface of a sphere. On a great circle, the bearing to the destination point does not remain constant. If one were to drive a car along a great circle one would hold the steering wheel fixed, but to follow a rhumb line one would have to turn the wheel, turning it more sharply as the poles are approached. In other words, a great circle is locally "straight" with zero geodesic curvature, whereas a rhumb line has non-zero geodesic curvature.
Meridians of longitude and parallels of latitude provide special cases of the rhumb line, where their angles of intersection are respectively 0° and 90°. On a north–south passage the rhumb line course coincides with a great circle, as it does on an east–west passage along the equator.
On a Mercator projection map, any rhumb line is a straight line; a rhumb line can be drawn on such a map between any two points on Earth without going off the edge of the map. But theoretically a loxodrome can extend beyond the right edge of the map, where it then continues at the left edge with the same slope (assuming that the map covers exactly 360 degrees of longitude).
Rhumb lines which cut meridians at oblique angles are loxodromic curves which spiral towards the poles. On a Mercator projection the North Pole and South Pole occur at infinity and are therefore never shown. However the full loxodrome on an infinitely high map would consist of infinitely many line segments between the two edges. On a stereographic projection map, a loxodrome is an equiangular spiral whose center is the north or south pole.
All loxodromes spiral from one pole to the other. Near the poles, they are close to being logarithmic spirals (which they are exactly on a stereographic projection, see below), so they wind around each pole an infinite number of times but reach the pole in a finite distance. The pole-to-pole length of a loxodrome (assuming a perfect sphere) is the length of the meridian divided by the cosine of the bearing away from true north. Loxodromes are not defined at the poles.
* Three views of a pole-to-pole loxodrome

## Etymology and historical description

The word loxodrome comes from Ancient Greek λοξός loxós: "oblique" + δρόμος drómos: "running" (from δραμεῖν drameîn: "to run"). The word rhumb may come from Spanish or Portuguese rumbo/rumo ("course" or "direction") and Greek ῥόμβος rhómbos, from rhémbein.
The 1878 edition of The Globe Encyclopaedia of Universal Information describes a loxodrome line as:
   Loxodrom′ic Line is a curve which cuts every member of a system of lines of curvature of a given surface at the same angle. A ship sailing towards the same point of the compass describes such a line which cuts all the meridians at the same angle. In Mercator's Projection (q.v.) the Loxodromic lines are evidently straight.
A misunderstanding could arise because the term "rhumb" had no precise meaning when it came into use. It applied equally well to the windrose lines as it did to loxodromes because the term only applied "locally" and only meant whatever a sailor did in order to sail with constant bearing, with all the imprecision that that implies. Therefore, "rhumb" was applicable to the straight lines on portolans when portolans were in use, as well as always applicable to straight lines on Mercator charts. For short distances portolan "rhumbs" do not meaningfully differ from Mercator rhumbs, but these days "rhumb" is synonymous with the mathematically precise "loxodrome" because it has been made synonymous retrospectively. As Leo Bagrow states:
   the word ('Rhumbline') is wrongly applied to the sea-charts of this period, since a loxodrome gives an accurate course only when the chart is drawn on a suitable projection. Cartometric investigation has revealed that no projection was used in the early charts, for which we therefore retain the name 'portolan'.

## Mathematical description

For a sphere of radius 1, the azimuthal angle λ, the polar angle −⁠π/2⁠ ≤ φ ≤ ⁠π/2⁠ (defined here to correspond to latitude), and Cartesian unit vectors i, j, and k can be used to write the radius vector r as
    $\mathbf {r} (\lambda ,\varphi )=(\cos {\lambda }\cdot \cos {\varphi })\mathbf {i} +(\sin {\lambda }\cdot \cos {\varphi })\mathbf {j} +(\sin {\varphi })\mathbf {k} \,.$
Orthogonal unit vectors in the azimuthal and polar directions of the sphere can be written
    ${\begin{aligned}{\boldsymbol {\hat {\lambda }}}(\lambda ,\varphi )&=\sec {\varphi }{\frac {\partial \mathbf {r} }{\partial \lambda }}=(-\sin {\lambda })\mathbf {i} +(\cos {\lambda })\mathbf {j} \,,\\[8pt]{\boldsymbol {\hat {\varphi }}}(\lambda ,\varphi )&={\frac {\partial \mathbf {r} }{\partial \varphi }}=(-\cos {\lambda }\cdot \sin {\varphi })\mathbf {i} +(-\sin {\lambda }\cdot \sin {\varphi })\mathbf {j} +(\cos {\varphi })\mathbf {k} \,,\end{aligned}}$
which have the scalar products
    ${\boldsymbol {\hat {\lambda }}}\cdot {\boldsymbol {\hat {\varphi }}}={\boldsymbol {\hat {\lambda }}}\cdot \mathbf {r} ={\boldsymbol {\hat {\varphi }}}\cdot \mathbf {r} =0\,.$
λ̂ for constant φ traces out a parallel of latitude, while φ̂ for constant λ traces out a meridian of longitude, and together they generate a plane tangent to the sphere.
The unit vector
    $\mathbf {\boldsymbol {\hat {\beta }}} (\lambda ,\varphi )=(\sin {\beta }){\boldsymbol {\hat {\lambda }}}+(\cos {\beta }){\boldsymbol {\hat {\varphi }}}$
has a constant angle β with the unit vector φ̂ for any λ and φ, since their scalar product is
    ${\boldsymbol {\hat {\beta }}}\cdot {\boldsymbol {\hat {\varphi }}}=\cos {\beta }\,.$
A loxodrome is defined as a curve on the sphere that has a constant angle β with all meridians of longitude, and therefore must be parallel to the unit vector β̂. As a result, a differential length ds along the loxodrome will produce a differential displacement
    ${\begin{aligned}d\mathbf {r} &={\boldsymbol {\hat {\beta }}}\,ds\\[8px]{\frac {\partial \mathbf {r} }{\partial \lambda }}\,d\lambda +{\frac {\partial \mathbf {r} }{\partial \varphi }}\,d\varphi &={\bigl(\sin {\beta })\,{\boldsymbol {\hat {\lambda }}}+(\cos {\beta })\,{\boldsymbol {\hat {\varphi }}}{\bigr )}ds\\[8px](\cos {\varphi })\,d\lambda \,{\boldsymbol {\hat {\lambda }}}+d\varphi \,{\boldsymbol {\hat {\varphi }}}&=(\sin {\beta })\,ds\,{\boldsymbol {\hat {\lambda }}}+(\cos {\beta })\,ds\,{\boldsymbol {\hat {\varphi }}}\\[8px]ds&={\frac {\cos {\varphi }}{\sin {\beta }}}\,d\lambda ={\frac {d\varphi }{\cos {\beta }}}\\[8px]{\frac {d\lambda }{d\varphi }}&=\tan {\beta }\cdot \sec {\varphi }\\[8px]\lambda (\varphi \,|\,\beta ,\lambda _{0},\varphi _{0})&=\tan \beta \cdot {\big\operatorname {gd} ^{-1}\varphi -\operatorname {gd} ^{-1}\varphi _{0}{\big )}+\lambda _{0}\\[8px]\varphi (\lambda \,|\,\beta ,\lambda _{0},\varphi _{0})&=\operatorname {gd} {\big(\lambda -\lambda _{0})\cot \beta +\operatorname {gd} ^{-1}\varphi _{0}{\big )}\end{aligned}}$
where $\operatorname {gd}$ and $\operatorname {gd} ^{-1}$ are the Gudermannian function and its inverse, $\operatorname {gd} \psi =\arctan(\sinh \psi ),$ $\operatorname {gd} ^{-1}\varphi =\operatorname {arsinh} (\tan \varphi ),$ and $\operatorname {arsinh}$ is the inverse hyperbolic sine.
With this relationship between λ and φ, the radius vector becomes a parametric function of one variable, tracing out the loxodrome on the sphere:
    $\mathbf {r} (\lambda \,|\,\beta ,\lambda _{0},\varphi _{0})={\big\cos {\lambda }\cdot \operatorname {sech} \psi {\big )}\mathbf {i} +{\big\sin {\lambda }\cdot \operatorname {sech} \psi {\big )}\mathbf {j} +{\big\tanh \psi {\big )}\mathbf {k} \,,$
where
    $\psi \equiv (\lambda -\lambda _{0})\cot \beta +\operatorname {gd} ^{-1}\varphi _{0}=\operatorname {gd} ^{-1}\varphi$
is the isometric latitude.
In the Rhumb line, as the latitude tends to the poles, φ → ±⁠π/2⁠, sin φ → ±1, the isometric latitude arsinh(tan φ) → ± ∞, and longitude λ increases without bound, circling the sphere ever so fast in a spiral towards the pole, while tending to a finite total arc length Δs given by
    $\Delta s=R\,{\big |}(\pm \pi /2-\varphi _{0})\cdot \sec \beta {\big |}$

### Connection to the Mercator projection

Let λ be the longitude of a point on the sphere, and φ its latitude. Then, if we define the map coordinates of the Mercator projection as
    ${\begin{aligned}x&=\lambda -\lambda _{0}\,,\\y&=\operatorname {gd} ^{-1}\varphi =\operatorname {arsinh} (\tan \varphi )\,,\end{aligned}}$
a loxodrome with constant bearing β from true north will be a straight line, since (using the expression in the previous section)
    $y=mx$
with a slope
    $m=\cot \beta \,.$
Finding the loxodromes between two given points can be done graphically on a Mercator map, or by solving a nonlinear system of two equations in the two unknowns m = cot β and λ$_0$. There are infinitely many solutions; the shortest one is that which covers the actual longitude difference, i.e. does not make extra revolutions, and does not go "the wrong way around".
The distance between two points Δs, measured along a loxodrome, is simply the absolute value of the secant of the bearing (azimuth) times the north–south distance (except for circles of latitude for which the distance becomes infinite):
    $\Delta s=R\,{\big |}(\varphi -\varphi _{0})\cdot \sec \beta {\big |}$
where R is one of the earth average radii.

## Application

Its use in navigation is directly linked to the style, or projection of certain navigational maps. A rhumb line appears as a straight line on a Mercator projection map.
The name is derived from Old French or Spanish respectively: "rumb" or "rumbo", a line on the chart which intersects all meridians at the same angle. On a plane surface this would be the shortest distance between two points. Over the Earth's surface at low latitudes or over short distances it can be used for plotting the course of a vehicle, aircraft or ship. Over longer distances and/or at higher latitudes the great circle route is significantly shorter than the rhumb line between the same two points. However the inconvenience of having to continuously change bearings while travelling a great circle route makes rhumb line navigation appealing in certain instances.
The point can be illustrated with an east–west passage over 90 degrees of longitude along the equator, for which the great circle and rhumb line distances are the same, at 10,000 kilometres (5,400 nautical miles). At 20 degrees north the great circle distance is 9,254 km (4,997 nmi) while the rhumb line distance is 9,397 km (5,074 nmi), about 1.5% further. But at 60 degrees north the great circle distance is 4,602 km (2,485 nmi) while the rhumb line is 5,000 km (2,700 nmi), a difference of 8.5%. A more extreme case is the air route between New York City and Hong Kong, for which the rhumb line path is 18,000 km (9,700 nmi). The great circle route over the North Pole is 13,000 km (7,000 nmi), or 5+1⁄2 hours less flying time at a typical cruising speed.
Some old maps in the Mercator projection have grids composed of lines of latitude and longitude but also show rhumb lines which are oriented directly towards north, at a right angle from the north, or at some angle from the north which is some simple rational fraction of a right angle. These rhumb lines would be drawn so that they would converge at certain points of the map: lines going in every direction would converge at each of these points. See compass rose. Such maps would necessarily have been in the Mercator projection therefore not all old maps would have been capable of showing rhumb line markings.
The radial lines on a compass rose are also called rhumbs. The expression "sailing on a rhumb" was used in the 16th–19th centuries to indicate a particular compass heading.
Early navigators in the time before the invention of the marine chronometer used rhumb line courses on long ocean passages, because the ship's latitude could be established accurately by sightings of the Sun or stars but there was no accurate way to determine the longitude. The ship would sail north or south until the latitude of the destination was reached, and the ship would then sail east or west along the rhumb line (actually a parallel, which is a special case of the rhumb line), maintaining a constant latitude and recording regular estimates of the distance sailed until evidence of land was sighted.

## Generalizations
### On the Riemann sphere

The surface of the Earth can be understood mathematically as a Riemann sphere, that is, as a projection of the sphere to the complex plane. In this case, loxodromes can be understood as certain classes of Möbius transformations.

### Spheroid

The formulation above can be easily extended to a spheroid. The course of the rhumb line is found merely by using the ellipsoidal isometric latitude. In formulas above on this page, substitute the conformal latitude on the ellipsoid for the latitude on the sphere. Similarly, distances are found by multiplying the ellipsoidal meridian arc length by the secant of the azimuth.