# Arc length

When rectified, the curve gives a straight line segment with the same length as the curve's arc length.

Determining the length of an irregular arc segment is also called rectification of a curve. Historically, many methods were used for specific curves. 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.

Polygonal approximations are linearly dependent on the curve in a few select cases. One of these cases is when the curve is simply a point function as is its polygonal approximation. Another case where the polygonal approximation is linearly dependent on the curve is when the curve is linear. This would mean the approximation is also linear and the curve and its approximation overlap. Both of these two circumstances result in an eigenvalue equal to one. There are also a set of circumstances where the polygonal approximation is still linearly dependent but the eigenvalue is equal to zero. This case is a function with petals where all points for the polygonal approximation are at the origin.

If the curve is not already a polygonal path, better approximations to the curve can be obtained by following the shape of the curve increasingly more closely. The approach is to use an increasingly larger number of segments of smaller lengths. The lengths of the successive approximations do not decrease and will eventually keep increasing—possibly indefinitely, but for smooth curves this will tend to a limit as the lengths of the segments get arbitrarily small.

For some curves there is a smallest number L that is an upper bound on the length of any polygonal approximation. If such a number exists, then the curve is said to be rectifiable and the curve is defined to have arc length L.

## Definition

Let C be a curve in Euclidean (or, more generally, a metric) space X = Rn, so C is the image of a continuous function f : [a, b] → X of the interval [a, b] into X.

From a partition a = t0 < t1 < ... < tn−1 < tn = b of the interval [a, b] we obtain a finite collection of points f(t0), f(t1), ..., f(tn−1), f(tn) on the curve C. Denote the distance from f(ti) to f(ti+1) by d(f(ti), f(ti+1)), which is the length of the line segment connecting the two points.

The arc length L of C is then defined to be

${\displaystyle L(C)=\ ^{a=t_{0}

where the supremum is taken over all possible partitions of [ab] and n is unbounded.

The arc length L is either finite or infinite. If L < ∞ then we say that C is rectifiable, and is non-rectifiable otherwise. This definition of arc length does not require that C be defined by a differentiable function. In fact in general, the notion of differentiability is not defined on a metric space.

A curve may be parametrized in many ways. Suppose C also has the parametrization g : [cd] → X. Provided that f and g are injective, there is a continuous monotone function S from [ab] to [cd] so that g(S(t)) = f(t) and an inverse function S−1 from [cd] to [ab]. It is clear that any sum of the form ${\displaystyle \sum _{i=0}^{n-1}d(f(t_{i}),f(t_{i+1}))}$ can be made equal to a sum of the form ${\displaystyle \sum _{i=0}^{n-1}d(g(u_{i}),g(u_{i+1}))}$ by taking ${\displaystyle u_{i}=S(t_{i})}$, and similarly a sum involving g can be made equal to a sum involving f. So the arc length is an intrinsic property of the curve, meaning that it does not depend on the choice of parametrization.

The definition of arc length for the curve is analogous to the definition of the total variation of a real-valued function.

## Finding arc lengths by integrating

Consider a real function f(x) such that f(x) and ${\displaystyle f'(x)={\frac {dy}{dx}}}$ (its derivative with respect to x) are continuous on [ab]. The length s of the part of the graph of f between x = a and x = b can be found as follows:

Consider an infinitesimal part of the curve ds (or consider this as a limit in which the change in s approaches ds). According to Pythagoras' theorem ${\displaystyle (ds)^{2}=(dx)^{2}+(dy)^{2}}$, from which:

${\displaystyle (ds)^{2}=(dx)^{2}+(dy)^{2}}$
${\displaystyle {\frac {(ds)^{2}}{(dx)^{2}}}=1+{\frac {(dy)^{2}}{(dx)^{2}}}}$
${\displaystyle {\sqrt {\frac {(ds)^{2}}{(dx)^{2}}}}={\sqrt {1+{\frac {(dy)^{2}}{(dx)^{2}}}}}}$
${\displaystyle {\frac {ds}{dx}}={\sqrt {1+{\frac {(dy)^{2}}{(dx)^{2}}}}}}$
${\displaystyle ds={\sqrt {1+\left({\frac {dy}{dx}}\right)^{2}}}dx}$
${\displaystyle s=\int _{a}^{b}{\sqrt {1+[f'(x)]^{2}}}\,dx.}$

If a curve is defined parametrically by x = X(t) and y = Y(t), then its arc length between t = a and t = b is

${\displaystyle s=\int _{a}^{b}{\sqrt {[X'(t)]^{2}+[Y'(t)]^{2}}}\,dt.}$

This is more clearly a consequence of the distance formula where instead of a ${\displaystyle \Delta x}$ and ${\displaystyle \Delta y}$, we take the limit. An equivalent expression is

${\displaystyle s=\lim \sum _{a}^{b}{\sqrt {(\Delta x)^{2}+(\Delta y)^{2}}}=\int _{a}^{b}{\sqrt {(dx)^{2}+(dy)^{2}}}=\int _{a}^{b}{\sqrt {\left({\frac {dx}{dt}}\right)^{2}+\left({\frac {dy}{dt}}\right)^{2}}}\,dt.}$

If a function is defined as a function of x by ${\displaystyle y=f(x)}$ then it is simply a special case of a parametric equation where ${\displaystyle x=t}$ and ${\displaystyle y=f(t)}$, and the arc length is given by:

${\displaystyle s=\int _{a}^{b}{\sqrt {1+\left({\frac {dy}{dx}}\right)^{2}}}\,dx.}$

If a function is defined in polar coordinates by ${\displaystyle r=f(\theta )}$ then the arc length is given by

${\displaystyle s=\int _{a}^{b}{\sqrt {r^{2}+\left({\frac {dr}{d\theta }}\right)^{2}}}\,d\theta .}$

In most cases, including even simple curves, there are no closed-form solutions of arc length and numerical integration is necessary.

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

### Derivation

For a small piece of curve, ∆s can be approximated with the Pythagorean theorem
A representative linear element of the function y=t 5, x = t 3

In order to approximate the arc length of the curve, it is split into many linear segments. To make the value exact, and not an approximation, infinitely many linear elements are needed. This means that each element is infinitely small. This fact manifests itself later on when an integral is used.

Begin by looking at a representative linear segment (see image) and observe that its length (element of the arc length) will be the differential ds. We will call the horizontal element of this distance dx, and the vertical element dy.

The Pythagorean theorem tells us that

${\displaystyle ds={\sqrt {(dx)^{2}+(dy)^{2}}}.\,}$

Since the function is defined in time, segments (ds) are added up across infinitesimally small intervals of time (dt) yielding the integral

${\displaystyle \int _{a}^{b}{\sqrt {{\bigg (}{\frac {dx}{dt}}{\bigg )}^{2}+{\bigg (}{\frac {dy}{dt}}{\bigg )}^{2}}}\,dt,}$

If y is a function of x, so that we could take t = x, then we have:

${\displaystyle \int _{a}^{b}{\sqrt {1+{\bigg (}{\frac {dy}{dx}}{\bigg )}^{2}}}\,dx,}$

which is the arc length from x = a to x = b of the graph of the function ƒ.

For example, the curve in this figure is defined by

${\displaystyle {\begin{cases}y=t^{5},\\x=t^{3}.\end{cases}}}$

Subsequently, the arc length integral for values of t from -1 to 1 is

${\displaystyle \int _{-1}^{1}{\sqrt {(3t^{2})^{2}+(5t^{4})^{2}}}\,dt=\int _{-1}^{1}{\sqrt {9t^{4}+25t^{8}}}\,dt.}$

Using computational approximations, we can obtain a very accurate (but still approximate) arc length of 2.905.

### Another way to obtain the integral formula

Approximation by multiple hypotenuses

Suppose that there exists a rectifiable curve given by a function f(x). To approximate the arc length S along f between two points a and b in that curve, construct a series of right triangles whose concatenated hypotenuses "cover" the arc of curve chosen as shown in the figure. For convenience, the bases of all those triangles can be set equal to ${\displaystyle \Delta x}$, so that for each one an associated ${\displaystyle \Delta y}$ exists. The length of any given hypotenuse is given by the Pythagorean Theorem:

${\displaystyle {\sqrt {(\Delta x)^{2}+(\Delta y)^{2}}}}$

The summation of the lengths of the n hypotenuses approximates S:

${\displaystyle S\sim \sum _{i=1}^{n}{\sqrt {(\Delta x_{i})^{2}+(\Delta y_{i})^{2}}}}$

Multiplying the radicand by ${\displaystyle {\frac {(\Delta x)^{2}}{(\Delta x)^{2}}}}$ produces:

${\displaystyle {\sqrt {(\Delta x)^{2}+(\Delta y)^{2}}}={\sqrt {{(\Delta x)^{2}+((\Delta y)^{2}})\,{\frac {(\Delta x)^{2}}{(\Delta x)^{2}}}}}={\sqrt {1+{\frac {(\Delta y)^{2}}{(\Delta x)^{2}}}}}\,\Delta x={\sqrt {1+\left({\frac {\Delta y}{\Delta x}}\right)^{2}}}\,\Delta x}$

Then, our previous result becomes:

${\displaystyle S\sim \sum _{i=1}^{n}{\sqrt {1+\left({\frac {\Delta y_{i}}{\Delta x_{i}}}\right)^{2}}}\,\Delta x_{i}}$

As the length ${\displaystyle \Delta x}$ of these segments decreases, the approximation improves. The limit of the approximation, as ${\displaystyle \Delta x}$ goes to zero, is equal to ${\displaystyle S}$:

${\displaystyle S=\lim _{\Delta x_{i}\to 0}\sum _{i=1}^{\infty }{\sqrt {1+\left({\frac {\Delta y_{i}}{\Delta x_{i}}}\right)^{2}}}\,\Delta x_{i}=\int _{a}^{b}{\sqrt {1+\left({\frac {dy}{dx}}\right)^{2}}}\,dx=\int _{a}^{b}{\sqrt {1+\left[f'\left(x\right)\right]^{2}}}\,dx.}$

### Another proof

We know that the formula for a line integral is ${\displaystyle \int _{a}^{b}f(x,y){\sqrt {x'[t]^{2}+y'[t]^{2}}}\,dt}$. If we set the surface f(x,y) to 1, we will get arc length multiplied by 1, or ${\displaystyle \int _{a}^{b}{\sqrt {x'[t]^{2}+y'[t]^{2}}}dt}$. If x = t, and y = f(t), then y = f(x), from when x is a to when x is b. If we set these equations into our formula we get: ${\displaystyle \int _{a}^{b}{\sqrt {1+f'(x)^{2}}}\,dx}$ (Note: If x = t then dt = dx). This is the arc length formula.

### Other coordinate systems

In polar coordinates, the arc length is given by ${\displaystyle \int _{t_{1}}^{t_{2}}{\sqrt {r^{2}+\left({\frac {dr}{d\theta }}\right)^{2}}}}$

In cylindrical coordinates, the arc length is given by ${\displaystyle \int _{t_{1}}^{t_{2}}{\sqrt {\left({\frac {dr}{dt}}\right)^{2}+r^{2}\left({\frac {d\theta }{dt}}\right)^{2}+\left({\frac {dz}{dt}}\right)^{2}}}}$

## 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.

#### 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:

The lengths of the distance units were chosen to make the circumference of the Earth equal 40,000 kilometres, or 21,600 nautical miles. These are the numbers of the corresponding angle units in one complete turn.

These definitions of the metre and nautical mile have been superseded by more precise ones, but the original definitions are still accurate enough for conceptual purposes, and for 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,[1] which implies that 1 kilometre ≈ 0.53995680 nautical miles.[2] This modern ratio differs from the one calculated from the original definitions by less than one part in ten thousand.

### Length of an arc of a parabola

{{#invoke:Hatnote|hatnote}}

## 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 π.

### 1600s

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.[3]

### Integral form

Before the full formal development of the 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.[4] 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).[5]

Fermat's method of determining arc length

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

${\displaystyle y=x^{3/2}\,}$

whose tangent at x = a had a slope of

${\displaystyle \textstyle {3 \over 2}a^{1/2}}$

so the tangent line would have the equation

${\displaystyle y=\textstyle {3 \over 2}{a^{1/2}}(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 {\begin{aligned}AC^{2}&{}=AB^{2}+BC^{2}\\&{}=\textstyle \varepsilon ^{2}+{9 \over 4}a\varepsilon ^{2}\\&{}=\textstyle \varepsilon ^{2}\left(1+{9 \over 4}a\right)\end{aligned}}}

which, when solved, yields

${\displaystyle AC=\textstyle \varepsilon {\sqrt {1+{9 \over 4}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 "measure" the size of such curves.

## Generalization to (pseudo-)Riemannian manifolds

Let M be a (pseudo-)Riemannian manifold, γ : [0, 1] → M a curve in M and g the (pseudo-) metric tensor.

The length of γ is defined to be

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

where γ'(t)Tγ(t)M is the tangent vector of γ at 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.

In theory of relativity, arc-length of timelike curves (world lines) is the proper time elapsed along the world line.