We can use the procedure of “Slice, Approximate, Integrate" to find the length of
curves.
We have seen how the procedure of “Slice, Approximate, Integrate" can be used to
find areas and volumes. Another geometric application of this procedure is to find the
length of a segment of a curve.
Consider the segment of the curve
\(y=\ln (\sec (x))\) from
\(x=0\) to
\(x = \frac {3}{2}\):
Find the length of this segment of the curve.
Let’s try applying the procedure of
“Slice, Approximate, Integrate!”
Step 1: Slice
Since the curve is described as a function of \(x\), we begin by slicing the curve into many
segments with respect to \(x\).
Approximate:
In order to find the approximate length of the curve, we must approximate each slice
by a type of curve whose length we know how to compute.
We really only know how to compute the arclength of one type of curve - a line
segment! In fact, if the endpoints of a line segment are \((x_0,y_0)\) and \((x_1,y_1)\) then the Pythagorean
Theorem gives the distance between the points.
\[ s = \sqrt {( x_1-x_0)^2+( y_1-y_0)^2} \]
We thus approximate each slice as a line segment.
We thus have that the length of a single segment is \(\Delta s = \sqrt {(\Delta x)^2+(\Delta y)^2}\) and can write
\[ s = \sum _{k=1}^n (\Delta s)_k. \]
to indicate that the approximate length of the curve is found by adding together all
of the lengths of the line segments.
Step 3: Integrate
As usual, we want to let the slice width become arbitrarily small, and since we have
sliced with respect to \(x\), we eventually want to integrate with respect to \(x\). While the
expression for the approximate length is conceptually useful, it does not pass to an
integral easily in its current form! To write \(\Delta s\) in a manageable form, we can do some
algebra:
\begin{align*} \Delta s &= \sqrt {(\Delta x)^2+(\Delta y)^2}\\ \left ( \Delta s \right )^2 &= \left ( \Delta x \right )^2 + \left ( \Delta y \right )^2\\ \left ( \Delta s \right )^2 &= \left ( 1 + \left ( \frac {\Delta y}{\Delta x} \right )^2 \right ) \left ( \Delta x\right )^2\\ \end{align*}
Now, note that for the two endpoints of the slice:
The quantity \(\frac {\Delta y}{\Delta x}\) is the slope of the secant line. The quantity \(\frac {\Delta y}{\Delta x}\) is the slope of the
tangent line.
Assuming that the curve is differentiable along each slice, as the slice becomes
arbitrarily small, the quantity \(\frac {\Delta y}{\Delta x}\):
can be treated as 0. approaches the slope of the tangent line at some \(x\)-value in
the slice.
We can now write the exact length as
\[ s = \int _{x=0}^{x=3/2} \sqrt {1+\left ( \frac {\d y}{\d x} \right )^2} \d x. \]
Here, \(y= \ln ( \sec (x) )\), so \( \frac {\d y}{\d x} = \answer [given]{\tan (x)}\).
\begin{align*} \ddx {( \ln ( \sec (x) )} &= \frac {1}{\answer [given]{ \sec (x) }} \cdot \ddx {\left (\answer [given]{ \sec (x)}\right )}\\ &= \frac {1}{ \sec (x) } \cdot \answer [given]{ \sec (x)\tan (x)}\\ &= \answer [given]{\tan (x)} \end{align*}
Thus, the arclength is
\[ s = \int _{x=0}^{x=3/2} \sqrt {1+\answer [given]{\tan ^2(x)}} \d x. \]
Using the trigonometric identity
\(\sec ^2(x) = \answer [given]{\tan ^2(x)+1}\), we have:
\begin{align*} s &= \int _{x=0}^{x=3/2} \sqrt {1+\answer [given]{\tan ^2(x)}} \d x\\ &= \int _{x=0}^{x=3/2} \sqrt {\sec ^2(x)} \d x \\ & = \int _{x=0}^{x=3/2} \sec (x) \d x \textrm { since } \sec (x) > 0 \textrm { for } 0\leq x\leq 3/2 \\ &= \eval {\ln |\sec (x) + \tan (x)|}_0^{3/2} \end{align*}
The exact length is thus \(\answer [given]{\ln |\sec (3/2) + \tan (3/2)|}\). Using a calculator to find the length to \(3\) decimal places
gives: \(s = \answer [given,tolerance=.001]{3.341}\).
Let’s see a few examples.
Find the length of
\(y = x^{\frac {3}{2}}\) from
\(x=0\) to
\(x=2\).
Write with me
\begin{align*} s &= \int _0^2 \sqrt {1+\left ( \frac {\d y}{ \d x}\right )^2} \d x\\ &= \int _0^2 \sqrt {1+\left ( \answer [given]{\frac {3 x^{\frac {1}{2}}}{2}}\right )^2} \d x\\ &= \int _0^2 \answer [given]{\sqrt {1+\frac {9x}{4}}} \d x \end{align*}
Use the substitution \(u = 1+\frac {9x}{4}\) to compute this integral.
\begin{align*} \int _{x=0}^{x=2} \sqrt {1+\frac {9x}{4}} \d x &= \frac {4}{9} \int _{u=\answer [given]{1}}^{u=\answer [given]{\frac {11}{2}}} u^\frac {1}{2} \d u\\ &= \frac {4}{9} \left (\frac {2}{3}\right ) \eval {u^{\frac {3}{2}}}_{\answer [given]{1}}^{\answer [given]{\frac {11}{2}}}\\ &=\frac {8}{27} \left (\left (\frac {11}{2}\right )^\frac {3}{2} - 1\right ) \end{align*}
Just as it was sometimes advantageous to integrate with respect to \(y\) in our area and
volume calculations, it can also help us sometimes in arclength calculations.
Unlike the area and volume problems, where the geometry of the region
often suggested a preferred variable of integration, these problems require
us only to consider how we describe the curve in question (and whether
we want to work with its given description!) when choosing the variable of
integration.
Find the length of
\(y = \arcsec (e^x)\) from
\(x= 0\) to
\(x=\ln (\sqrt {2})\).
Trying to write down an integral with respect to
\(x\) here
would be quite annoying. This problem will be much easier if we work with respect to
\(y\).
\begin{align*} y &= \arcsec (e^x)\\ \sec (y) &= e^x\\ \ln (\sec (y)) &= x. \end{align*}
The limits of integration are
\begin{align*} \arcsec (e^0) &= \answer [given]{0}\\ \arcsec (e^{\ln (\sqrt {2})}) &= \answer [given]{\pi /4} . \end{align*}
We can now set up the integral.
\[ s = \int _0^{\pi /4} \sqrt {1+\left ( \answer [given]{\tan (y)} \right )^2} \d y\\ \]
To proceed, we use the Pythagorean Trigonometric identity \(1+\tan ^2(y) = \answer [given]{\sec ^2(y)}\).
\begin{align*} s &=\int _0^{\pi /4} \answer [given]{\sqrt {\sec ^2(y)}}\d y\\ &=\int _0^{\pi /4} \answer [given]{\sec (y)} \d y \quad (\textrm {since $\sec (y)>0$ on } [0, \pi /4], \sqrt {\sec ^2(y)} = \sec (y)). \\ &=\eval {\ln (\sec (y)+\tan (y))}_0^{\pi /4}\\ &=\ln \left (\answer [given]{1+\sqrt {2}} \right ). \end{align*}
Sometimes, the integrals that arise can be tricky to compute analytically and require
careful differentiation and algebra.
Find the length of the segment of the curve
\(y=\frac {1}{3}(2+x^2)^{3/2}\) from
\(x=0\) to
\(x=1\).
We have to differentiate carefully.
\begin{align*} \ddx \left (\frac {1}{3}(2+x^2)^{3/2}\right ) &= \frac {1}{3} \cdot \frac {3}{2}(2+x^2)^{1/2} \cdot \ddx \left (2+x^2\right ) \\ &= \frac {1}{2} \sqrt {2+x^2} \cdot \answer [given]{2x} \\ &= \answer [given]{x\sqrt {2+x^2}} \end{align*}
The expression \(1+\left (\frac {\d y}{\d x}\right )^2\) in the arclength formula simplifies nicely.
\begin{align*} 1+\left (\frac {\d y}{\d x}\right )^2 &= 1+\left (x\sqrt {2+x^2}\right )^2 \\ &= \answer [given]{1+2x^2+x^4} \leftarrow \textrm { This expression is a perfect square!} \\ &= \left (\answer [given]{1+x^2}\right )^2 \end{align*}
Thus, the length of the curve segment can now be found.
\begin{align*} s = \int _{x=a}^{x=b} \sqrt {1+ \left (\frac {\d y}{\d x}\right )^2} \d x &= \int _{x=\answer [given]{0}}^{x=\answer [given]{1}} \sqrt {\answer [given]{(1+x^2)^2} }\d x \\ &= \int _{\answer [given]{0}}^{\answer [given]{1}} \answer [given]{1+x^2} \d x \\ &= \eval {\answer [given]{x+\frac {1}{3} x^3}}_{\answer [given]{0}}^{\answer [given]{1}}\\ &= \answer [given]{\frac {4}{3}} \end{align*}
Finally, most of the integrands arising in length calculations do not have elementary
antiderivatives, so oftentimes you will only be able to set them up and estimate them
numerically.
Estimate the length of the curve
\(y = \sin (x)\) from
\(x=0\) to
\(x = \pi \). Truncate your answer at the hundredths
place.
Write with me.
\begin{align*} \text {Length} &= \int _0^\pi \sqrt {1+\left ( \frac {\d y}{ \d x}\right )^2} \d x\\ &= \int _0^\pi \sqrt {1+\left ( \answer [given]{\cos (x)}\right )^2} \d x \end{align*}
This integral is hard for humans like us, but for our silicon friends, it is not so bad.
You can use a computer algebra system (or Wolfram Alpha) to approximate this to
two decimal places.
\[ \text {Length} \approx \answer [given]{3.82}. \]
2 Final thoughts
To summarize some important points from this section:
We have complete freedom to express the infinitesimal arclength element
\(\d s\) in terms of
\(x\)
or
\(y\). Thus, when choosing a variable of integration, consider only whether
it would be easier to work with a description of the curve in terms of
\(x\) or
\(y\).
Most integrals involving radicals are difficult to evaluate and many of the integrands
do not have elementary antiderivatives! Before using numerical software to
approximate the integral check whether:
- The integrand is a square root of a linear function of \(x\). If so, evaluate it by
inspection (or by using a substitution if necessary).
- The expression under the square root is actually a perfect square in
disguise. This often requires careful algebra and differentiation.
As usual, practice is important. Make sure you work through the problems
slowly. A small mistake early on in the problem can produce catastrophic
results.
“Did you hear about the mathematician who took up gardening? He
only grows vegetables with square roots!” - Anonymous