The **integral of the secant function** of trigonometry was the subject of one of the "outstanding open problems of the mid-seventeenth century", solved in 1668 by James Gregory. In 1599, Edward Wright evaluated the integral by numerical methods – what today we would call Riemann sums. He wanted the solution for the purposes of cartography – specifically for constructing an accurate Mercator projection. In the 1640s, Henry Bond, a teacher of navigation, surveying, and other mathematical topics, compared Wright's numerically computed table of values of the integral of the secant with a table of logarithms of the tangent function, and consequently conjectured that

## Contents

That conjecture became widely known, and in 1665, Isaac Newton was aware of it.

The problem was solved by Isaac Barrow. His proof of the result was the earliest use of partial fractions in integration. Adapted to modern notation, Barrow's proof began as follows:

Substituting

Therefore,

The second of these follows by first multiplying top and bottom of the interior fraction by

The third form follows by replacing

The conventional solution for the Mercator projection ordinate may be written without the modulus signs since the latitude (*φ*) lies between −π/2 and π/2:

The integral can also be derived by using the tangent half-angle substitution. A somewhat non-standard version of the tangent half-angle substitution, which is simpler in the case of this particular integral, published in 2013, is as follows:

## Hyperbolic forms

Let

Therefore,

## Gudermannian and lambertian

The integral of the secant function defines the inverse of the Gudermannian function:

The lambertian function (lam) is a notation for the inverse of the gudermannian which is encountered in the theory of map projections. In particular the Mercator projection may be written as