# Arc length

When rectified, the curve gives a straight line segment with the same length as the curve's arc length.
Arc length s of a logarithmic spiral as a function of its parameter θ.

Arc length is the distance between two points along a section of a curve.

Determining the length of an irregular arc segment is also called rectification of a curve. The advent of infinitesimal calculus led to a general formula that provides closed-form solutions in some cases.

## General approach

Approximation by multiple linear segments

A curve in the plane can be approximated by connecting a finite number of points on the curve using line segments to create a polygonal path. Since it is straightforward to calculate the length of each linear segment (using the Pythagorean theorem in Euclidean space, for example), the total length of the approximation can be found by summing the lengths of each linear segment; that approximation is known as the (cumulative) chordal distance.[1]

If the curve is not already a polygonal path, using a progressively larger number of segments of smaller lengths will result in better approximations. The lengths of the successive approximations will not decrease and may keep increasing indefinitely, but for smooth curves they will tend to a finite limit as the lengths of the segments get arbitrarily small.

For some curves there is a smallest number ${\displaystyle L}$ that is an upper bound on the length of any polygonal approximation. These curves are called rectifiable and the number ${\displaystyle L}$ is defined as the arc length.

## Definition for a smooth curve

Let ${\displaystyle f\colon [a,b]\to \mathbb ^}$ be a continuously differentiable function. The length of the curve defined by ${\displaystyle f}$ can be defined as the limit of the sum of line segment lengths for a regular partition of ${\displaystyle [a,b]}$ as the number of segments approaches infinity. This means

${\displaystyle L(f)=\lim _\sum _^{\bigg |}f(t_)-f(t_){\bigg |}}$

where ${\displaystyle t_=a+i(b-a)/N=a+i\Delta t}$ for ${\displaystyle i=0,1,\dotsc ,N.}$ This definition is equivalent to the standard definition of arc length as an integral:

${\displaystyle \lim _\sum _^{\bigg |}f(t_)-f(t_){\bigg |}=\lim _\sum _^\left|{\frac )-f(t_)}{\Delta t}}\right|\Delta t=\int _^{\Big |}f'(t){\Big |}\ dt.}$

The last equality above is true because the definition of the derivative as a limit implies that there is a positive real function ${\displaystyle \delta (\epsilon )}$ of positive real ${\displaystyle \epsilon }$ such that ${\displaystyle \Delta t<\delta (\epsilon )}$ implies ${\displaystyle \left|{\bigg |}{\frac )-f(t_)}{\Delta t}}{\bigg |}-{\Big |}f'(t_){\Big |}\right|<\epsilon .}$ This means

${\displaystyle \sum _^\left|{\frac )-f(t_)}{\Delta t}}\right|\Delta t-\sum _^{\Big |}f'(t_){\Big |}\Delta t}$

has absolute value less than ${\displaystyle \epsilon (b-a)}$ for ${\displaystyle N>(b-a)/\delta (\epsilon ).}$ This means that in the limit ${\displaystyle N\rightarrow \infty ,}$ the left term above equals the right term, which is just the Riemann integral of ${\displaystyle |f'(t)|}$ on ${\displaystyle [a,b].}$ This definition of arc length shows that the length of a curve ${\displaystyle f:[a,b]\rightarrow \mathbb ^}$ continuously differentiable on ${\displaystyle [a,b]}$ is always finite. In other words, the curve is always rectifiable.

The definition of arc length of a smooth curve as the integral of the norm of the derivative is equivalent to the definition

${\displaystyle L(f)=\sup \sum _^{\bigg |}f(t_)-f(t_){\bigg |}}$

where the supremum is taken over all possible partitions ${\displaystyle a=t_ of ${\displaystyle [a,b].}$[2] This definition is also valid if ${\displaystyle f}$ is merely continuous, not differentiable.

A curve can be parameterized in infinitely many ways. Let ${\displaystyle \varphi :[a,b]\to [c,d]}$ be any continuously differentiable bijection. Then ${\displaystyle g=f\circ \varphi ^{-1}:[c,d]\to \mathbb ^}$ is another continuously differentiable parameterization of the curve originally defined by ${\displaystyle f.}$ The arc length of the curve is the same regardless of the parameterization used to define the curve:

${\displaystyle {\beginL(f)&=\int _^{\Big |}f'(t){\Big |}\ dt=\int _^{\Big |}g'(\varphi (t))\varphi '(t){\Big |}\ dt\\&=\int _^{\Big |}g'(\varphi (t)){\Big |}\varphi '(t)\ dt\quad {\textrm }\ \varphi \ {\textrm }\ {\textrm }\ {\textrm }\\&=\int _^{\Big |}g'(u){\Big |}\ du\quad {\textrm }\ {\textrm }\ {\textrm }\ {\textrm }\\&=L(g).\end}}$

## Finding arc lengths by integrating

Quarter circle

If a planar curve in ${\displaystyle \mathbb ^}$ is defined by the equation ${\displaystyle y=f(x),}$ where ${\displaystyle f}$ is continuously differentiable, then it is simply a special case of a parametric equation where ${\displaystyle x=t}$ and ${\displaystyle y=f(t).}$ The arc length is then given by:

${\displaystyle s=\int _^{\sqrt }\right)^}}dx.}$

Curves with closed-form solutions for arc length include the catenary, circle, cycloid, logarithmic spiral, parabola, semicubical parabola and straight line. The lack of a closed form solution for the arc length of an elliptic and hyperbolic arc led to the development of the elliptic integrals.

### Numerical integration

In most cases, including even simple curves, there are no closed-form solutions for arc length and numerical integration is necessary. Numerical integration of the arc length integral is usually very efficient. For example, consider the problem of finding the length of a quarter of the unit circle by numerically integrating the arc length integral. The upper half of the unit circle can be parameterized as ${\displaystyle y={\sqrt }}.}$ The interval ${\displaystyle x\in [-{\sqrt }/2,{\sqrt }/2]}$ corresponds to a quarter of the circle. Since ${\displaystyle dy/dx=-x/{\sqrt }}}$ and ${\displaystyle 1+(dy/dx)^=1/(1-x^),}$ the length of a quarter of the unit circle is

${\displaystyle \int _{-{\sqrt }/2}^{{\sqrt }/2}{\frac {\sqrt }}}\,dx.}$

The 15-point Gauss–Kronrod rule estimate for this integral of 1.570796326808177 differs from the true length of

${\displaystyle {\Big [}\arcsin x{\Big ]}_{-{\sqrt }/2}^{{\sqrt }/2}={\frac {\pi }}}$

by 1.3×10−11 and the 16-point Gaussian quadrature rule estimate of 1.570796326794727 differs from the true length by only 1.7×10−13. This means it is possible to evaluate this integral to almost machine precision with only 16 integrand evaluations.

### Curve on a surface

Let ${\displaystyle \mathbf (u,v)}$ be a surface mapping and let ${\displaystyle \mathbf (t)=(u(t),v(t))}$ be a curve on this surface. The integrand of the arc length integral is ${\displaystyle |(\mathbf \circ \mathbf )'(t)|.}$ Evaluating the derivative requires the chain rule for vector fields:

${\displaystyle D(\mathbf \circ \mathbf )=(\mathbf _\ \mathbf _){\binom }=\mathbf _u'+\mathbf _v'.}$

The squared norm of this vector is ${\displaystyle (\mathbf _u'+\mathbf _v')\cdot (\mathbf _u'+\mathbf _v')=g_(u')^+2g_u'v'+g_(v')^}$ (where ${\displaystyle g_}$ is the first fundamental form coefficient), so the integrand of the arc length integral can be written as ${\displaystyle {\sqrt (u^)'(u^)'}}}$ (where ${\displaystyle u^=u}$ and ${\displaystyle u^=v}$).

### Other coordinate systems

Let ${\displaystyle \mathbf (t)=(r(t),\theta (t))}$ be a curve expressed in polar coordinates. The mapping that transforms from polar coordinates to rectangular coordinates is

${\displaystyle \mathbf (r,\theta )=(r\cos \theta ,r\sin \theta ).}$

The integrand of the arc length integral is ${\displaystyle |(\mathbf \circ \mathbf )'(t)|.}$ The chain rule for vector fields shows that ${\displaystyle D(\mathbf \circ \mathbf )=\mathbf _r'+\mathbf _{\theta }\theta '.}$ So the squared integrand of the arc length integral is

${\displaystyle (\mathbf } \cdot \mathbf _)(r')^+2(\mathbf _\cdot \mathbf _{\theta })r'\theta '+(\mathbf _{\theta }\cdot \mathbf _{\theta })(\theta ')^=(r')^+r^(\theta ')^.}$

So for a curve expressed in polar coordinates, the arc length is

${\displaystyle \int _}^}{\sqrt {\left({\frac }\right)^+r^\left({\frac }\right)^}}dt=\int _{\theta (t_)}^{\theta (t_)}{\sqrt {\left({\frac }\right)^+r^}}d\theta .}$

Now let ${\displaystyle \mathbf (t)=(r(t),\theta (t),\phi (t))}$ be a curve expressed in spherical coordinates where ${\displaystyle \theta }$ is the polar angle measured from the positive ${\displaystyle z}$-axis and ${\displaystyle \phi }$ is the azimuthal angle. The mapping that transforms from spherical coordinates to rectangular coordinates is

${\displaystyle \mathbf (r,\theta ,\phi )=(r\sin \theta \cos \phi ,r\sin \theta \sin \phi ,r\cos \theta ).}$

Using the chain rule again shows that ${\displaystyle D(\mathbf \circ \mathbf )=\mathbf _r'+\mathbf _{\theta }\theta '+\mathbf _{\phi }\phi '.}$ All dot products ${\displaystyle \mathbf _\cdot \mathbf _}$ where ${\displaystyle i}$ and ${\displaystyle j}$ differ are zero, so the squared norm of this vector is

${\displaystyle (\mathbf _\cdot \mathbf _)(r'^)+(\mathbf _{\theta }\cdot \mathbf _{\theta })(\theta ')^+(\mathbf _{\phi }\cdot \mathbf _{\phi })(\phi ')^=(r')^+r^(\theta ')^+r^\sin ^\theta (\phi ')^.}$

So for a curve expressed in spherical coordinates, the arc length is

${\displaystyle \int _}^}{\sqrt {\left({\frac }\right)^+r^\left({\frac }\right)^+r^\sin ^\theta \left({\frac }\right)^}}dt.}$

A very similar calculation shows that the arc length of a curve expressed in cylindrical coordinates is

${\displaystyle \int _}^}{\sqrt {\left({\frac }\right)^+r^\left({\frac }\right)^+\left({\frac }\right)^}}dt.}$

## Simple cases

### Arcs of circles

Arc lengths are denoted by s, since the Latin word for length (or size) is spatium.

In the following lines, ${\displaystyle r}$ represents the radius of a circle, ${\displaystyle d}$ is its diameter, ${\displaystyle C}$ is its circumference, ${\displaystyle s}$ is the length of an arc of the circle, and ${\displaystyle \theta }$ is the angle which the arc subtends at the centre of the circle. The distances ${\displaystyle r,d,C,}$ and ${\displaystyle s}$ are expressed in the same units.

• ${\displaystyle C=2\pi r,}$ which is the same as ${\displaystyle C=\pi d.}$ This equation is a definition of ${\displaystyle \pi .}$
• If the arc is a semicircle, then ${\displaystyle s=\pi r.}$
• For an arbitrary circular arc:
• If ${\displaystyle \theta }$ is in radians then ${\displaystyle s=r\theta .}$ This is a definition of the radian.
• If ${\displaystyle \theta }$ is in degrees, then ${\displaystyle s={\frac {\pi r\theta }}}},}$ which is the same as ${\displaystyle s={\frac }}}.}$
• If ${\displaystyle \theta }$ is in grads (100 grads, or grades, or gradians are one right-angle), then ${\displaystyle s={\frac {\pi r\theta }}}},}$ which is the same as ${\displaystyle s={\frac }}}.}$
• If ${\displaystyle \theta }$ is in turns (one turn is a complete rotation, or 360°, or 400 grads, or ${\displaystyle 2\pi }$ radians), then ${\displaystyle s=C\theta /{\text}}$.

#### Arcs of great circles on the Earth

Two units of length, the nautical mile and the metre (or kilometre), were originally defined so the lengths of arcs of great circles on the Earth's surface would be simply numerically related to the angles they subtend at its centre. The simple equation ${\displaystyle s=\theta }$ applies in the following circumstances:

• if ${\displaystyle s}$ is in nautical miles, and ${\displaystyle \theta }$ is in arcminutes (​160 degree), or
• if ${\displaystyle s}$ is in kilometres, and ${\displaystyle \theta }$ is in centigrades (​1100grad).

The lengths of the distance units were chosen to make the circumference of the Earth equal 40000 kilometres, or 21600 nautical miles. Those are the numbers of the corresponding angle units in one complete turn.

Those definitions of the metre and the nautical mile have been superseded by more precise ones, but the original definitions are still accurate enough for conceptual purposes and some calculations. For example, they imply that one kilometre is exactly 0.54 nautical miles. Using official modern definitions, one nautical mile is exactly 1.852 kilometres,[3] which implies that 1 kilometre is about 0.53995680 nautical miles.[4] This modern ratio differs from the one calculated from the original definitions by less than one part in 10,000.

## Historical methods

### Antiquity

For much of the history of mathematics, even the greatest thinkers considered it impossible to compute the length of an irregular arc. Although Archimedes had pioneered a way of finding the area beneath a curve with his "method of exhaustion", few believed it was even possible for curves to have definite lengths, as do straight lines. The first ground was broken in this field, as it often has been in calculus, by approximation. People began to inscribe polygons within the curves and compute the length of the sides for a somewhat accurate measurement of the length. By using more segments, and by decreasing the length of each segment, they were able to obtain a more and more accurate approximation. In particular, by inscribing a polygon of many sides in a circle, they were able to find approximate values of π.[5][6]

### 17th century

In the 17th century, the method of exhaustion led to the rectification by geometrical methods of several transcendental curves: the logarithmic spiral by Evangelista Torricelli in 1645 (some sources say John Wallis in the 1650s), the cycloid by Christopher Wren in 1658, and the catenary by Gottfried Leibniz in 1691.

In 1659, Wallis credited William Neile's discovery of the first rectification of a nontrivial algebraic curve, the semicubical parabola.[7] The accompanying figures appear on page 145. On page 91, William Neile is mentioned as Gulielmus Nelius.

### Integral form

Before the full formal development of calculus, the basis for the modern integral form for arc length was independently discovered by Hendrik van Heuraet and Pierre de Fermat.

In 1659 van Heuraet published a construction showing that the problem of determining arc length could be transformed into the problem of determining the area under a curve (i.e., an integral). As an example of his method, he determined the arc length of a semicubical parabola, which required finding the area under a parabola.[8] In 1660, Fermat published a more general theory containing the same result in his De linearum curvarum cum lineis rectis comparatione dissertatio geometrica (Geometric dissertation on curved lines in comparison with straight lines).[9]

Fermat's method of determining arc length

Building on his previous work with tangents, Fermat used the curve

${\displaystyle y=x^\,}$

whose tangent at x = a had a slope of

${\displaystyle \textstyle a^}$

so the tangent line would have the equation

${\displaystyle y=\textstyle }(x-a)+f(a).}$

Next, he increased a by a small amount to a + ε, making segment AC a relatively good approximation for the length of the curve from A to D. To find the length of the segment AC, he used the Pythagorean theorem:

${\displaystyle {\beginAC^&{}=AB^+BC^\\&{}=\textstyle \varepsilon ^+a\varepsilon ^\\&{}=\textstyle \varepsilon ^\left(1+a\right)\end}}$

which, when solved, yields

${\displaystyle AC=\textstyle \varepsilon {\sqrt a\ }}.}$

In order to approximate the length, Fermat would sum up a sequence of short segments.

## Curves with infinite length

The Koch curve.
The graph of xsin(1/x).

As mentioned above, some curves are non-rectifiable. That is, there is no upper bound on the lengths of polygonal approximations; the length can be made arbitrarily large. Informally, such curves are said to have infinite length. There are continuous curves on which every arc (other than a single-point arc) has infinite length. An example of such a curve is the Koch curve. Another example of a curve with infinite length is the graph of the function defined by f(x) = x sin(1/x) for any open set with 0 as one of its delimiters and f(0) = 0. Sometimes the Hausdorff dimension and Hausdorff measure are used to quantify the size of such curves.

## Generalization to (pseudo-)Riemannian manifolds

Let ${\displaystyle M}$ be a (pseudo-)Riemannian manifold, ${\displaystyle \gamma :[0,1]\rightarrow M}$ a curve in ${\displaystyle M}$ and ${\displaystyle g}$ the (pseudo-) metric tensor.

The length of ${\displaystyle \gamma }$ is defined to be

${\displaystyle \ell (\gamma )=\int _^{\sqrt {\pm g(\gamma '(t),\gamma '(t))}}\,dt,}$

where ${\displaystyle \gamma '(t)\in T_{\gamma (t)}M}$ is the tangent vector of ${\displaystyle \gamma }$ at ${\displaystyle t.}$ The sign in the square root is chosen once for a given curve, to ensure that the square root is a real number. The positive sign is chosen for spacelike curves; in a pseudo-Riemannian manifold, the negative sign may be chosen for timelike curves. Thus the length of a curve is a non-negative real number. Usually no curves are considered which are partly spacelike and partly timelike.

In theory of relativity, arc length of timelike curves (world lines) is the proper time elapsed along the world line, and arc length of a spacelike curve the proper distance along the curve.

## References

1. ^ Ahlberg; Nilson (1967). The Theory of Splines and Their Applications. Academic Press. p. 51. ISBN 9780080955452.
2. ^ Rudin, Walter (1976). Principles of Mathematical Analysis. McGraw-Hill, Inc. p. 137. ISBN 978-0-07-054235-8.
3. ^ Suplee, Curt (2 July 2009). "Special Publication 811". nist.gov.
4. ^ CRC Handbook of Chemistry and Physics, p. F-254
5. ^ Richeson, David (May 2015). "Circular Reasoning: Who First Proved That C Divided by d Is a Constant?". The College Mathematics Journal. 46 (3): 162–171. doi:10.4169/college.math.j.46.3.162. ISSN 0746-8342.
6. ^ Coolidge, J. L. (February 1953). "The Lengths of Curves". The American Mathematical Monthly. 60 (2): 89–93. doi:10.2307/2308256. JSTOR 2308256.
7. ^ Wallis, John (1659). Tractatus Duo. Prior, De Cycloide et de Corporibus inde Genitis…. Oxford: University Press. pp. 91–96.
8. ^ van Heuraet, Hendrik (1659). "Epistola de transmutatione curvarum linearum in rectas [Letter on the transformation of curved lines into right ones]". Renati Des-Cartes Geometria (2nd ed.). Amsterdam: Louis & Daniel Elzevir. pp. 517–520.
9. ^ M.P.E.A.S. (pseudonym of Fermat) (1660). De Linearum Curvarum cum Lineis Rectis Comparatione Dissertatio Geometrica. Toulouse: Arnaud Colomer.

## Sources

• Farouki, Rida T. (1999). "Curves from motion, motion from curves". In Laurent, P.-J.; Sablonniere, P.; Schumaker, L. L. (eds.). Curve and Surface Design: Saint-Malo 1999. Vanderbilt Univ. Press. pp. 63–90. ISBN 978-0-8265-1356-4.