Length of a Curve

In this section, we want to find the length of the curve y=f(x) from x=a to x=b. A piece of a curve that lies between two specific points is called an arc. Like the previous sections of this chapter, we construct a formula for the length of an arc by considering infinitesimals.

Let s be the length of the arc from the fixed point (a,f(a)) to a variable point (x,f(x)) as shown in Figure 1. Assume s increases by an infinitesimally small amount ds, and x and y by dx and dy, respectively. Because ds is so small, this part of the curve is virtually straight and by the Pythagorean theorem we can write ds=(dx)2+(dy)2 or ds=1+(dydx)2dx. But dy/dx=f(x). Therefore, ds=1+[f(x)]2dx. As ds sweeps along the curve from (a,f(a)) to (b,f(b)), we add up all the infinitesimal lengths: length of arc=abds=ab1+(dydx)2dx=ab1+[f(x)]2dx.

Figure 1
Figure 1

 

If we want to compute the length of the curve x=h(y) between (h(c),c) and (h(d),d), then we can still use ds=(dx)2+(dy)2. Therefore, ds=(dxdy)2+1 dy=[h(y)]2+1 dy and length of arc=cdds=cd(dxdy)2+1 dy=cd[h(y)]2+1 dy

  • In the above discussion we assumed that the curve is rectifiable; that is, the curve has a finite arc length. It is possible to provide an example of a continuous function y=f(x) (axb) whose graph is not rectifiable.1 A sufficient condition for the curve y=f(x) to be rectifiable is that f be bounded. That is, if there is some number K such that |f(x)|<K for x between a and b.
Example 1
Find the length of the curve y2=x3 between the points (0,0) and (4,8).

Figure 2
Figure 2
Solution 1

Solving y2=x3 for y, we obtain y=x32 (for y>0)dydx=32x1/2 The arc length formula yields L=041+(dydx)2dx=041+94xdx Let u=1+94x du=94dx dx=49du
x=0u=1 x=4u=10 Therefore, L=11049u du=49(23)u32|u=1u=10=827(10001)9.07342.

Example 2
Find the length of the curve y=lnsecx on [0,π4].

Figure 3
Figure 3: Graph of y=lnsecx.

Solution 2
y=lnsecx. secx=uy=u1u=(secxtanx)(1secx)=tanx So the arc length formula L=0π41+(dydx)2dx=0π41+tan2xdx=0π4sec2xdx(1+tan2x=sec2x)=0π4|secx|dx=0π4secxdx(secx>0 for 0xπ4)=[ln|secx+tanx|]x=0x=π4=ln|secπ4+tanπ4|ln|sec0+tan0|=ln|1cosπ4+tanπ4|ln|1cos0+tan0|=ln|122+1|ln|1+0|=ln(22+1)0=ln(2+1).

Example 3
  Find the length of the curve y=acoshxa on [0,a].

Solution 3
Recall that ddxcoshx=sinhx. Therefore y=acoshxauy=ausinhu=a1asinhxa=sinhxa The arc length formula gives L=0a1+(dydx)2dx=0a1+sinh2xadx=0acoshxadx(cosh2xsinh2x=1 and coshx>0)=asinhxa|x=0x=a=a(sinh1sinh0)=asinh1 [Recall that coshxdx=sinhx+C and hence coshxadx=coshuduu(x=audx=a du)=1asinhu+C=1asinhxa+C]

Discontinuities in dy/dx

Even when dy/dx is not defined at some points on the curve y=f(x), it is possible that dx/dy is defined everywhere on this curve. An example of such a situation is when the curve y=f(x) has a vertical tangent. In such cases, to compute the arc length of the curve y=f(x), we can express x in terms of y and write ds=dx2+dy2 dsdy=(dxdy)2+1.

Example 4
Find the length of the curve y=x2/3 from x=0 to x=8.

Figure 4
Figure 4

Solution 4
y=x2/3y=23x1/3 Because y is not defined at x=0, we cannot find the length of the curve. However, if we express x in terms of y, we will find x=y3/2dxdy=32y1/2 and x=0y=0 x=8y=4 The length of the curve is s=04(dxdy)2+1 dy=0494y+1 dy=12049y+4 dy=12440u du9(u=9y+4 then du=9dy)=118[23u3/2]440=127(403/28)=127(81038)=827(10001)9.07342.

The Arc Length Function

The length of the curve y=f(x) from (a,f(a)) to (b,f(b)) is ab1+[f(x)]2dx. Let s(x) be a function that measures the arc length from (a,f(a)) to a variable point (x,f(x)). To find the formula of s(x), we just need replace b in the above formula with x: s(x)=ax1+[f(t)]2 dt. [Because we can denote the variable of integration by any arbitrary letter and because x appears as the upper limit of integration, we have replaced the variable of integration by t so that x does not have two different meanings.] This function is called the arc length function.

  • By the Fundamental Theorem of Calculus : dsdx=1+[f(x)]2=1+(dydx)2 or ds=dx2+dy2.
  • Note that s(x) is an increasing function. To mathematically prove this property, we need to show s(x)>0: s(x)=1+[f(x)]2>0.
Example 5
Find the arc length function for the curve y=12x214lnx taking (1,0.5) as the starting point. Then, using this function, find the arc length along this curve from (1,0.5) to (e,0.5e20.25).

Solution 5
f(x)=12x214lnxf(x)=x14x then 1+[f(x)]2=1+(x14x)2=1+x212+116x2=(x+14x)2=x+14x(because x>0) Therefore, the arc length function is s(x)=1x1+[f(t)]2 dt=1x(t+14t)dt=[12t2+14lnt]1x=12x2+14lnx1214ln1=0=12x2+14lnx12. The arc length along this curve from (1,1/2) to (e,0.5e20.25) is s(e)=12e2+14lne=112=e22143.44453.


  1. Let f(x)={xsinπxx00x=0 The function f is not rectifiable on [0,1].↩︎