On this page
The Gudermannian function translates exactly between circle functions (sin, cos) and hyperbola functions (sinh, cosh). Give it a hyperbolic quantity x and it returns an ordinary angle whose sine is tanh x. It also turns up in the Mercator projection that many web maps use.
What is the Gudermannian function?
The NIST Digital Library of Mathematical Functions defines the Gudermannian function as the integral of the hyperbolic secant: gd(x) = ∫₀ˣ sech t dt, for every real x.
Wolfram MathWorld lists the closed forms that follow from this: gd(x) = 2 arctan(tanh(x/2)) = arctan(sinh x) = 2 arctan(eˣ) − π/2. The same page calls it an odd function that "arises in the inverse equations for the Mercator projection".
According to the Wikipedia article on the Gudermannian function, Johann Heinrich Lambert introduced it in the 1760s, and Christoph Gudermann wrote about the link between circular and hyperbolic functions in papers published in 1830 and 1831. Arthur Cayley suggested the current name in 1862.
If sinh and cosh are new to you, start with our explainer on hyperbolic functions and the hanging chain.
Why does sin(gd x) equal tanh x?
Let θ = gd x = arctan(sinh x), so θ lies strictly between −π/2 and π/2.
From the definition, tan θ = sinh x.
Then sec²θ = 1 + tan²θ = 1 + sinh²x = cosh²x.
Because θ lies between −π/2 and π/2, cos θ is positive, so cos θ = 1/cosh x = sech x.
Finally, sin θ = tan θ · cos θ = sinh x / cosh x = tanh x.
That gives the identities MathWorld records:
sin(gd x) = tanh x
cos(gd x) = sech x
tan(gd x) = sinh x
sec(gd x) = cosh x
The half-angle form also appears on that page: tan(½ gd x) = tanh(½x), which is why gd(x) = 2 arctan(tanh(x/2)). If the ranges of arctan and arcsin are hazy, revise them with our inverse trigonometric functions formulas for Class 12.
How does gd(x) compare with tanh(x) on a graph?
The graph at the top plots both curves for x from −4 to 4.
Near zero they agree. The derivative of gd x is sech x (Wikipedia), and the derivative of tanh x is sech²x. Both equal 1 at x = 0, so both curves leave the origin along the line y = x.
They level off at different heights. tanh x flattens towards 1, while gd x flattens towards π/2 ≈ 1.571. Its tangent, sinh x, grows without limit, so the angle nears but never reaches a right angle.
For x > 0, gd x always lies above tanh x. That is because gd x = arcsin(tanh x), and arcsin u > u for u between 0 and 1. At x = 1 it is 0.866 against 0.762.
How does the Gudermannian function turn Mercator map height into latitude?
Gerardus Mercator presented his projection on a world map in 1569, and Edward Wright published the first accurate tables for constructing it in 1599, according to the Wikipedia article on the Mercator projection. On a globe of radius R, the projection stretches the scale at latitude φ by a factor sec φ. So the height of latitude φ on the map is y = R ∫₀^φ sec t dt = R ln tan(π/4 + φ/2). That integral of sec is the inverse Gudermannian. Running it backwards gives latitude from height: φ = gd(y/R).
Worked example: a Mercator map of a globe with R = 10 cm.
Latitude 30°: y = 10 × ln tan 60° = 10 × 0.549 ≈ 5.49 cm above the equator.
Latitude 45°: y = 10 × ln tan 67.5° = 10 × 0.881 ≈ 8.81 cm.
Latitude 60°: y = 10 × ln tan 75° = 10 × 1.317 ≈ 13.17 cm.
Going back: a point 10 cm up has y/R = 1, so φ = gd(1) ≈ 0.866 rad ≈ 49.6°.
The 15° step from 30° to 45° takes 3.32 cm of map; the step from 45° to 60° takes 4.36 cm. That growing stretch is why land near the poles looks so large. Many web maps use a square version of the projection, which ends at y/R = π, and the same article works out that latitude as tan⁻¹(sinh π) ≈ 85.05113°, which is gd(π). For how geographers build the projection, see map projections for Class 11 geography.
How should you practise the Gudermannian identities?
Try these on paper.
Prove cos(gd x) = sech x from scratch.
Derive tan(gd x) = sinh x, then differentiate arctan(sinh x) and check you get sech x.
Redo the map example for your own city's latitude, then invert it with gd.
If a step goes wrong, look up the idea behind it in the Fermi Concept Library, which gives every mathematics concept its own lesson. For more practice, the Fermi Problem Library has a step-by-step solver that explains the reasoning rather than printing an answer.



