A piece of a curve lying between two points is called an arc. Its length comes from one idea: over an infinitesimal step the curve is virtually straight, so the Pythagorean theorem gives , and integrating along the curve adds up all these infinitesimal pieces.
| Item | Statement |
|---|---|
| The differential of arc length | |
| Length of , | |
| Length of , | |
| When to switch to | is undefined (a vertical tangent or a cusp) |
| Arc length function | \displaystyle s(x)=\int_{a}^{x}\sqrt{1+[f'(t)]^{2}}\,dt |
| Its derivative | s'(x)=\sqrt{1+[f'(x)]^{2}}>0, so is increasing |
| Rectifiable curve | one of finite length; guaranteed when \vert f'\vert |
| The whole trick | pick the algebra so that 1+(y')^{2} is a perfect square |
| Circle | circumference |
| Catenary | length on is |
The Differential of Arc Length
In this section, we want to find the length of the curve from to . Like the previous sections of this chapter, we construct the formula by considering infinitesimals.
Let be the length of the arc from the fixed point to a variable point , as in the figure below. Assume increases by an infinitesimally small amount , while and increase by and respectively. Because is so small, this part of the curve is virtually straight, and the Pythagorean theorem gives
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{ds=\sqrt{(dx)^{2}+(dy)^{2}}}
Factoring out of the square root,
But dy/dx=f'(x), and therefore
ds=\sqrt{1+[f'(x)]^{2}}\,dx.As sweeps along the curve from to , we add up all the infinitesimal lengths:
\begin{aligned} \text{length of arc} &= \int_{a}^{b}ds=\int_{a}^{b}\sqrt{1+\left(\frac{dy}{dx}\right)^{2}}\,dx\\ &= \int_{a}^{b}\sqrt{1+[f'(x)]^{2}}\,dx. \end{aligned}
Arc Length in Terms of y
If we want to compute the length of the curve between and , as in the figure below, we can still start from
except that now it is that we factor out:
\begin{aligned} ds &= \sqrt{\left(\frac{dx}{dy}\right)^{2}+1}\ dy\\ &= \sqrt{[h'(y)]^{2}+1}\ dy \end{aligned}and
\begin{aligned} \text{length of arc} &= \int_{c}^{d}ds=\int_{c}^{d}\sqrt{\left(\frac{dx}{dy}\right)^{2}+1}\ dy\\ &= \int_{c}^{d}\sqrt{[h'(y)]^{2}+1}\ dy. \end{aligned}
Rectifiable Curves
- In the above discussion we assumed that the curve is rectifiable; that is, the curve has a finite arc length. It is possible to give an example of a continuous function on whose graph is not rectifiable. One such function is
f(x)=\begin{cases}
x\sin\dfrac{\pi}{x} & \text{if }x\neq0\\[4pt]
0 & \text{if }x=0,
\end{cases}
which is continuous on but is not rectifiable there: it oscillates infinitely often as , and the up-and-down pieces add to an infinite total length even though the graph stays inside a bounded region.
- A sufficient condition for the curve to be rectifiable is that f' be bounded, that is, that there be some number with |f'(x)|
for all between and . Then \sqrt{1+[f'(x)]^{2}}<\sqrt{1+K^{2}}, and the arc length integral is at most , which is finite.
Worked Examples
In practice the difficulty is never the formula; it is the square root. Almost every arc length problem you can finish by hand is one where 1+(y')^{2} collapses to a perfect square or to something a single substitution can handle. Watch for that in each of the following.
Find the length of the curve between the points and .

Solution
Solving for , we obtain
The arc length formula yields
\begin{aligned} L &= \int_{0}^{4}\sqrt{1+\left(\frac{dy}{dx}\right)^{2}}\,dx\\ &= \int_{0}^{4}\sqrt{1+\frac{9}{4}x}\,dx. \end{aligned}Let , so that and . The limits become
Therefore,
\begin{aligned} L &= \int_{1}^{10}\frac{4}{9}\sqrt{u}\ du\\ &= \frac{4}{9}\left(\frac{2}{3}\right)u^{\frac{3}{2}}\Bigg|_{u=1}^{u=10}\\ &= \frac{8}{27}\left(\sqrt{1000}-1\right)\\ &\approx 9.07342. \end{aligned}Find the length of the curve on .

Solution
Write . Then by the chain rule
y'=\frac{u'}{u}=(\sec x\tan x)\left(\frac{1}{\sec x}\right)=\tan x,and the identity turns the square root into something we can integrate:
\begin{aligned} L &= \int_{0}^{\frac{\pi}{4}}\sqrt{1+\left(\frac{dy}{dx}\right)^{2}}\,dx\\ &= \int_{0}^{\frac{\pi}{4}}\sqrt{1+\tan^{2}x}\,dx\\ &= \int_{0}^{\frac{\pi}{4}}\sqrt{\sec^{2}x}\,dx &&{\small(1+\tan^{2}x=\sec^{2}x)}\\ &= \int_{0}^{\frac{\pi}{4}}|\sec x|\,dx\\ &= \int_{0}^{\frac{\pi}{4}}\sec x\,dx &&{\small\left(\sec x>0\text{ for }0\leq x\leq\tfrac{\pi}{4}\right)}\\ &= \Bigg[\ln|\sec x+\tan x|\Bigg]_{x=0}^{x=\frac{\pi}{4}}\\ &= \ln\left|\sec\frac{\pi}{4}+\tan\frac{\pi}{4}\right|-\ln|\sec0+\tan0|\\ &= \ln\left|\frac{1}{\cos\frac{\pi}{4}}+\tan\frac{\pi}{4}\right|-\ln\left|\frac{1}{\cos0}+\tan0\right|\\ &= \ln\left|\frac{2}{\sqrt{2}}+1\right|-\ln|1+0|\\ &= \ln\left(\frac{2}{\sqrt{2}}+1\right)-0\\ &= \ln\left(\sqrt{2}+1\right)\approx0.88137. \end{aligned}Find the length of the curve on , where .
Solution
Recall that . Therefore, with ,
\begin{aligned} y=a\cosh\underbrace{\frac{x}{a}}_{u}\quad\Rightarrow\quad y' &= au'\sinh u\\ y' &= a\cdot\frac{1}{a}\sinh\frac{x}{a}\\ &= \sinh\frac{x}{a}. \end{aligned}The identity makes 1+(y')^{2} a perfect square, and the arc length formula gives
\begin{aligned} L &= \int_{0}^{a}\sqrt{1+\left(\frac{dy}{dx}\right)^{2}}\,dx\\ &= \int_{0}^{a}\sqrt{1+\sinh^{2}\frac{x}{a}}\,dx\\ &= \int_{0}^{a}\cosh\frac{x}{a}\,dx &&{\small\left(\cosh^{2}t-\sinh^{2}t=1\text{ and }\cosh t>0\right)}\\ &= a\left.\sinh\frac{x}{a}\right|_{x=0}^{x=a}\\ &= a\left(\sinh1-\sinh0\right)\\ &= a\sinh1\approx1.1752\,a. \end{aligned}Here we used , and hence, substituting , so that and ,
\begin{aligned} \int\cosh\frac{x}{a}\,dx &= \int\cosh u\ \overbrace{a\,du}^{dx}\\ &= a\sinh u+C\\ &= a\sinh\frac{x}{a}+C. \end{aligned}Differentiating returns , which confirms the antiderivative.
Find the circumference of the circle .
Solution
Using implicit differentiation,
Therefore, the element of arc is
\begin{aligned} ds &= \sqrt{(dx)^{2}+(dy)^{2}}=\sqrt{1+\left(\frac{dy}{dx}\right)^{2}}\:dx\\ &= \sqrt{1+\left(-\frac{x}{y}\right)^{2}}\,dx\\ &= \sqrt{\frac{y^{2}+x^{2}}{y^{2}}}\,dx\\ &= \sqrt{\frac{R^{2}}{R^{2}-x^{2}}}\,dx &&{\small\left(y^{2}=R^{2}-x^{2}\right)}\\ &= \frac{R}{\sqrt{R^{2}-x^{2}}}\,dx. \end{aligned}Because varies between and , the length of the curve is
Let . Then . When we get , and when we get . Therefore,
\begin{aligned} s &= \int_{-1}^{1}\frac{1}{\sqrt{1-u^{2}}}\overbrace{R\,du}^{dx}\\[4pt] &= R\arcsin u\bigg|_{-1}^{1}\\[4pt] &= R\left(\overbrace{\arcsin1}^{\pi/2}-\overbrace{\arcsin(-1)}^{-\pi/2}\right)\\ &= \pi R. \end{aligned}Note that this is just the length of a semicircle: as runs once from to , the formula traces only the upper half. The length of the other half is the same by symmetry, so the total circumference of the circle is .
Discontinuities in dy/dx
Even when is not defined at some points on the curve , it is possible that is defined everywhere on this curve. An example of such a situation is when the curve has a vertical tangent. In such cases, to compute the arc length of the curve , we can express in terms of and write
Find the length of the curve from to .

Solution
Differentiating directly,
y=x^{2/3}\quad\Rightarrow\quad y'=\frac{2}{3}x^{-1/3}.Because y' is not defined at , we cannot find the length of the curve this way: the tangent line there is vertical. However, if we express in terms of , we find
which is perfectly well behaved on the whole interval. The endpoints transfer as
The length of the curve is
\begin{aligned} s &= \int_{0}^{4}\sqrt{\left(\frac{dx}{dy}\right)^{2}+1}\ dy\\ &= \int_{0}^{4}\sqrt{\frac{9}{4}y+1}\ dy\\ &= \frac{1}{2}\int_{0}^{4}\sqrt{9y+4}\ dy\\ &= \frac{1}{2}\int_{4}^{40}\sqrt{u}\ \frac{du}{9} &&{\small(u=9y+4\Rightarrow du=9\,dy)}\\ &= \frac{1}{18}\left[\frac{2}{3}u^{3/2}\right]_{4}^{40}\\ &= \frac{1}{27}\left(40^{3/2}-8\right)\\ &= \frac{1}{27}\left(8\sqrt{10^{3}}-8\right)\\ &= \frac{8}{27}\left(\sqrt{1000}-1\right)\\ &\approx 9.07342. \end{aligned}This is the same number we obtained in the first example, and that is no accident: it is the same arc. The curve is exactly the curve (that is, ) reflected in the line , and the reflection carries the arc from to onto the arc from to . Reflecting a curve does not change its length, and indeed the two computations reduce to the identical integral . The only difference is that in the first example the variable of integration was and here it is , which is precisely what rescued us from the vertical tangent.
The Arc Length Function
The length of the curve from to is
\int_{a}^{b}\sqrt{1+[f'(x)]^{2}}\,dx.Let be a function that measures the arc length from to a variable point . To find the formula for , we just need to replace in the above formula with :
\bbox[8px, #E6F0FA, border: 3px solid #0066CC]{s(x)=\int_{a}^{x}\sqrt{1+[f'(t)]^{2}}\ dt}Because we can denote the variable of integration by any arbitrary letter, and because appears as the upper limit of integration, we have replaced the variable of integration by so that does not have two different meanings. This function is called the arc length function.
- By the Fundamental Theorem of Calculus,
\frac{ds}{dx}=\sqrt{1+[f'(x)]^{2}}=\sqrt{1+\left(\frac{dy}{dx}\right)^{2}}
or, multiplying through by , back to where we started:
- Note that is an increasing function. To prove this property, we need to show s'(x)>0:
s'(x)=\sqrt{1+[f'(x)]^{2}}>0,
which holds for every , because the quantity under the radical is at least . This matches intuition: as you move along the curve, the distance you have travelled never decreases.
Find the arc length function for the curve taking as the starting point. Then, using this function, find the arc length along this curve from to .
Solution
First differentiate:
f(x)=\frac{1}{2}x^{2}-\frac{1}{4}\ln x\quad\Rightarrow\quad f'(x)=x-\frac{1}{4x}.The middle term of the square is , so adding turns the expression into a perfect square:
\begin{aligned} \sqrt{1+[f'(x)]^{2}} &= \sqrt{1+\left(x-\frac{1}{4x}\right)^{2}}\\ &= \sqrt{1+x^{2}-\frac{1}{2}+\frac{1}{16x^{2}}}\\ &= \sqrt{\left(x+\frac{1}{4x}\right)^{2}}\\ &= x+\frac{1}{4x} &&{\small(\text{because }x>0)}. \end{aligned}Therefore, the arc length function is
\begin{aligned} s(x) &= \int_{1}^{x}\sqrt{1+[f'(t)]^{2}}\ dt\\ &= \int_{1}^{x}\left(t+\frac{1}{4t}\right)dt\\ &= \left[\frac{1}{2}t^{2}+\frac{1}{4}\ln t\right]_{1}^{x}\\ &= \frac{1}{2}x^{2}+\frac{1}{4}\ln x-\frac{1}{2}-\frac{1}{4}\underbrace{\ln1}_{=0}\\ &= \frac{1}{2}x^{2}+\frac{1}{4}\ln x-\frac{1}{2}. \end{aligned}As a check, , as it must be at the starting point. The arc length along this curve from to is
\begin{aligned} s(e) &= \frac{1}{2}e^{2}+\frac{1}{4}\underbrace{\ln e}_{=1}-\frac{1}{2}\\ &= \frac{e^{2}}{2}-\frac{1}{4}\\ &\approx 3.44453. \end{aligned}
Exercises
In each problem, look first for the algebra that makes 1+(y')^{2} a perfect square. When the derivative blows up, integrate with respect to instead, as in the example above.
Find the length of the curve from to .
Solution
Here y'=x^{1/2}, so 1+(y')^{2}=1+x, and the square root disappears at once:
\begin{aligned} L &= \int_{0}^{8}\sqrt{1+x}\ dx\\ &= \frac{2}{3}(1+x)^{3/2}\bigg|_{0}^{8}\\ &= \frac{2}{3}\left(27-1\right)\\ &= \frac{52}{3}\approx17.3333. \end{aligned}Find the length of the curve from to .
Solution
Differentiating, y'=\dfrac{x^{2}}{2}-\dfrac{1}{2x^{2}}. The cross term in (y')^{2} is , so
1+(y')^{2}=1+\frac{x^{4}}{4}-\frac{1}{2}+\frac{1}{4x^{4}}=\frac{x^{4}}{4}+\frac{1}{2}+\frac{1}{4x^{4}}=\left(\frac{x^{2}}{2}+\frac{1}{2x^{2}}\right)^{2}.Since , the square root is , and
\begin{aligned} L &= \int_{1}^{2}\left(\frac{x^{2}}{2}+\frac{1}{2x^{2}}\right)dx\\ &= \left[\frac{x^{3}}{6}-\frac{1}{2x}\right]_{1}^{2}\\ &= \left(\frac{8}{6}-\frac{1}{4}\right)-\left(\frac{1}{6}-\frac{1}{2}\right)\\ &= \frac{4}{3}-\frac{1}{4}+\frac{1}{3}\\ &= \frac{17}{12}\approx1.41667. \end{aligned}Notice that the antiderivative is the original function with the sign of its second term flipped. That is a recurring feature of this family of curves.
Find the length of the curve from to .
Solution
We have y'=\dfrac{x}{2}-\dfrac{1}{2x}, whose square has cross term . Hence
1+(y')^{2}=1+\frac{x^{2}}{4}-\frac{1}{2}+\frac{1}{4x^{2}}=\left(\frac{x}{2}+\frac{1}{2x}\right)^{2},and since ,
\begin{aligned} L &= \int_{1}^{e}\left(\frac{x}{2}+\frac{1}{2x}\right)dx\\ &= \left[\frac{x^{2}}{4}+\frac{\ln x}{2}\right]_{1}^{e}\\ &= \left(\frac{e^{2}}{4}+\frac{1}{2}\right)-\left(\frac{1}{4}+0\right)\\ &= \frac{e^{2}}{4}+\frac{1}{4}\approx2.09726. \end{aligned}Find the length of the curve from to .
Solution
Here y'=\dfrac{-\sin x}{\cos x}=-\tan x, so 1+(y')^{2}=1+\tan^{2}x=\sec^{2}x. On we have , so and
\begin{aligned} L &= \int_{0}^{\pi/3}\sec x\,dx\\ &= \Big[\ln|\sec x+\tan x|\Big]_{0}^{\pi/3}\\ &= \ln\left(2+\sqrt{3}\right)-\ln(1+0)\\ &= \ln\left(2+\sqrt{3}\right)\approx1.31696. \end{aligned}This is the mirror image of the example solved in the text: replacing by only changes the sign of , and reflecting a curve in the -axis does not change its length.
Find the length of the catenary from to .
Solution
Since y'=\sinh x and , we get 1+(y')^{2}=\cosh^{2}x. Because everywhere,
\begin{aligned} L &= \int_{-1}^{1}\cosh x\,dx\\ &= \Big[\sinh x\Big]_{-1}^{1}\\ &= \sinh1-\sinh(-1)=2\sinh1\\ &= e-\frac{1}{e}\approx2.35040. \end{aligned}The chord joining to has length , so the curve is only about longer than the straight line between its endpoints.
Find the length of the curve from to .
Solution
The curve is given as a function of , so we use the second form of the formula. Here
and exactly as in the second exercise,
Since on the interval,
\begin{aligned} L &= \int_{1}^{3}\left(\frac{y^{2}}{2}+\frac{1}{2y^{2}}\right)dy\\ &= \left[\frac{y^{3}}{6}-\frac{1}{2y}\right]_{1}^{3}\\ &= \left(\frac{27}{6}-\frac{1}{6}\right)-\left(\frac{1}{6}-\frac{1}{2}\right)\\ &= \frac{13}{3}+\frac{1}{3}=\frac{14}{3}\approx4.66667. \end{aligned}Find the length of the curve from to .
Solution
The derivative y'=\frac{2}{3}x^{-1/3} is undefined at , where the graph has a cusp with a vertical tangent, so we integrate with respect to . The curve is symmetric about the -axis, so the total length is twice the length of the right-hand half.
On the right half, gives with , and runs from to as runs from to . Hence
\begin{aligned} \frac{L}{2} &= \int_{0}^{1}\sqrt{\frac{9}{4}y+1}\ dy\\ &= \frac{4}{9}\cdot\frac{2}{3}\left(1+\frac{9}{4}y\right)^{3/2}\bigg|_{0}^{1}\\ &= \frac{8}{27}\left[\left(\frac{13}{4}\right)^{3/2}-1\right]\\ &= \frac{8}{27}\left(\frac{13\sqrt{13}}{8}-1\right)=\frac{13\sqrt{13}-8}{27}. \end{aligned}Therefore,
Set up the integral for the length of one arch of , from to . Explain why the techniques of this section do not evaluate it, and give the value to four decimal places.
Solution
Since y'=\cos x, the arc length integral is
The integrand is where the method stops. Unlike or , the expression is not a perfect square and no substitution reduces it to one: this is an elliptic integral, and it has no antiderivative expressible in terms of elementary functions. Setting up the integral correctly is the whole of the calculus here; the number must come from a numerical method.
Applying Simpson's rule on and doubling (the arch is symmetric about ) gives
As a sanity check, the arch rises unit and spans units, so a length slightly under is exactly what we should expect.
Find the length of the parabola from to . (You will need .)
Solution
Here y'=2x, so
Put , so that and the limits become and :
Using the stated antiderivative,
\begin{aligned} L &= \frac{1}{2}\left[\frac{1}{2}u\sqrt{1+u^{2}}+\frac{1}{2}\ln\left(u+\sqrt{1+u^{2}}\right)\right]_{0}^{4}\\ &= \frac{1}{4}\left[4\sqrt{17}+\ln\left(4+\sqrt{17}\right)\right]-0\\ &= \sqrt{17}+\frac{1}{4}\ln\left(4+\sqrt{17}\right)\\ &\approx 4.64678. \end{aligned}The chord from to has length , and the arc is a little longer, as it must be.
Find the arc length function for the curve with starting point , and use it to find the length of the arc from to .
Solution
Differentiating, f'(x)=x^{2}-\dfrac{1}{4x^{2}}, whose square has cross term . Therefore
1+[f'(x)]^{2}=x^{4}+\frac{1}{2}+\frac{1}{16x^{4}}=\left(x^{2}+\frac{1}{4x^{2}}\right)^{2},and for the square root is . The arc length function is
\begin{aligned} s(x) &= \int_{1}^{x}\left(t^{2}+\frac{1}{4t^{2}}\right)dt\\ &= \left[\frac{t^{3}}{3}-\frac{1}{4t}\right]_{1}^{x}\\ &= \frac{x^{3}}{3}-\frac{1}{4x}-\left(\frac{1}{3}-\frac{1}{4}\right)\\ &= \frac{x^{3}}{3}-\frac{1}{4x}-\frac{1}{12}. \end{aligned}Check: , and s'(x)=x^{2}+\frac{1}{4x^{2}}>0, so increases, as an arc length function must. Finally
Find the total length of the astroid , where .
Solution
The curve is symmetric in both axes, so the total length is four times the length of the quarter lying in the first quadrant, where
By the chain rule,
y'=\frac{3}{2}\left(a^{2/3}-x^{2/3}\right)^{1/2}\cdot\left(-\frac{2}{3}x^{-1/3}\right)=-\frac{\left(a^{2/3}-x^{2/3}\right)^{1/2}}{x^{1/3}},so that
1+(y')^{2}=1+\frac{a^{2/3}-x^{2/3}}{x^{2/3}}=\frac{x^{2/3}+a^{2/3}-x^{2/3}}{x^{2/3}}=\frac{a^{2/3}}{x^{2/3}}.Taking the square root (both and are positive),
\sqrt{1+(y')^{2}}=\frac{a^{1/3}}{x^{1/3}}.This blows up as , but the resulting improper integral converges because the exponent is less than :
\begin{aligned} \frac{L}{4} &= \int_{0}^{a}a^{1/3}x^{-1/3}\,dx\\ &= a^{1/3}\cdot\frac{3}{2}x^{2/3}\bigg|_{0}^{a}\\ &= \frac{3}{2}a^{1/3}a^{2/3}=\frac{3}{2}a. \end{aligned}Therefore the total length of the astroid is
For comparison, the circle of the same radius has circumference , so the astroid, pinched into four cusps, is slightly shorter.
Find the length of the curve from to .
Solution
Since y'=\dfrac{1}{x},
using to write . There is no perfect square here, so substitute . Then and , so and
The limits are and . Since ,
\begin{aligned} L &= \left[u+\frac{1}{2}\ln\left|\frac{u-1}{u+1}\right|\right]_{\sqrt{2}}^{2}\\ &= \left(2+\frac{1}{2}\ln\frac{1}{3}\right)-\left(\sqrt{2}+\frac{1}{2}\ln\frac{\sqrt{2}-1}{\sqrt{2}+1}\right). \end{aligned}Now , so . Therefore
\begin{aligned} L &= 2-\sqrt{2}-\frac{1}{2}\ln3+\ln\left(\sqrt{2}+1\right)\\ &= 2-\sqrt{2}+\ln\frac{\sqrt{2}+1}{\sqrt{3}}\\ &\approx 0.91785. \end{aligned}The straight-line distance between and is , so the arc is only marginally longer, which fits a curve this gently bent.