# APEX Calculus

## Section7.4Arc Length and Surface Area

In previous sections we have used integration to answer the following questions:
1. Given a region, what is its area?
2. Given a solid, what is its volume?
In this section, we address two related questions:
1. Given a curve, what is its length? This is often referred to as arc length.
2. Given a solid, what is its surface area?

### Subsection7.4.1Arc Length

Consider the graph of $$y=\sin(x)$$ on $$[0,\pi]$$ given in Figure 7.4.2.(a). How long is this curve? That is, if we were to use a piece of string to exactly match the shape of this curve, how long would the string be?
As we have done in the past, we start by approximating; later, we will refine our answer using limits to get an exact solution.
The length of straight-line segments is easy to compute using the Distance Formula. We can approximate the length of the given curve by approximating the curve with straight lines and measuring their lengths.
In Figure 7.4.2.(b), the curve $$y=\sin(x)$$ has been approximated with 4 line segments (the interval $$[0,\pi]$$ has been divided into 4 subintervals of equal length). It is clear that these four line segments approximate $$y=\sin(x)$$ very well on the first and last subinterval, though not so well in the middle. Regardless, the sum of the lengths of the line segments is $$3.79\text{,}$$ so we approximate the arc length of $$y=\sin(x)$$ on $$[0,\pi]$$ to be $$3.79\text{.}$$
In general, we can approximate the arc length of $$y=f(x)$$ on $$[a,b]$$ in the following manner. Let $$a=x_0 \lt x_1 \lt \ldots \lt x_{n-1}\lt x_{n}=b$$ be a partition of $$[a,b]$$ into $$n$$ subintervals. Let $$\dx_i$$ represent the length of the $$i$$th subinterval $$[x_{i-1},x_{i}]\text{.}$$
Figure 7.4.3 zooms in on the $$i$$th subinterval where $$y=f(x)$$ is approximated by a straight line segment. The dashed lines show that we can view this line segment as the hypotenuse of a right triangle whose sides have length $$\dx_i$$ and $$\dy_i\text{.}$$ Using the Pythagorean Theorem, the length of this line segment is
\begin{equation*} \sqrt{\dx_i^2 + \Delta y_i^2}\text{.} \end{equation*}
Summing over all subintervals gives an arc length approximation
\begin{equation*} L \approx \sum_{i=1}^n \sqrt{\dx_i^2 + \Delta y_i^2}\text{.} \end{equation*}
As shown here, this is not a Riemann Sum. While we could conclude that taking a limit as the subinterval length goes to zero gives the exact arc length, we would not be able to compute the answer with a definite integral. We need first to do a little algebra.
In the above expression factor out a $$\dx_i^2$$ term:
\begin{align*} \sum_{i=1}^n \sqrt{\dx_i^2 + \Delta y_i^2} \amp = \sum_{i=1}^n \sqrt{\dx_i^2\left(1 + \frac{\Delta y_i^2}{\dx_i^2}\right)}.\\ \end{align*}

Now pull the $$\dx_i^2$$ term out of the square root:

\begin{align*} \amp = \sum_{i=1}^n\sqrt{1 + \frac{\Delta y_i^2}{\dx_i^2}}\,\dx_i.\\ \end{align*}

This is nearly a Riemann Sum. Consider the $$\Delta y_i^2/\dx_i^2$$ term. The expression $$\Delta y_i/\dx_i$$ measures the “change in $$y$$/change in $$x\text{,}$$” that is, the “rise over run” of $$f$$ on the $$i$$th subinterval. The Mean Value Theorem of Differentiation (Theorem 3.2.4) states that there is a $$c_i$$ in the $$i$$th subinterval where $$\fp(c_i) = \Delta y_i/\dx_i\text{.}$$ Thus we can rewrite our above expression as:

\begin{align*} \amp = \sum_{i=1}^n\sqrt{1+\fp(c_i)^2}\,\dx_i.\\ \end{align*}

This is a Riemann Sum. As long as $$\fp$$ is continuous, we can invoke Theorem 5.3.26 and conclude

\begin{align*} \amp = \int_a^b\sqrt{1+\fp(x)^2}\, dx\text{.} \end{align*}
As the integrand contains a square root, it is often difficult to use the formula in Theorem 7.4.4 to find the length exactly. When exact answers are difficult to come by, we resort to using numerical methods of approximating definite integrals. The following examples will demonstrate this.

#### Example7.4.5.Finding arc length.

Find the arc length of $$f(x) = x^{3/2}$$ from $$x=0$$ to $$x=4\text{.}$$
Solution 1. Video solution
Solution 2.
We find $$\fp(x)= \frac32x^{1/2}\text{;}$$ note that on $$[0,4]\text{,}$$ $$f$$ is differentiable and $$\fp$$ is also continuous. Using the formula, we find the arc length $$L$$ as
\begin{align*} L \amp = \int_0^4 \sqrt{1+\left(\frac32x^{1/2}\right)^2}\, dx\\ \amp = \int_0^4 \sqrt{1+\frac94x} \, dx\\ \amp = \int_0^4 \left(1+\frac94x\right)^{1/2}\, dx\\ \amp = \frac23\cdot\frac49\cdot\left(1+\frac94x\right)^{3/2}\Big|_0^4\\ \amp =\frac{8}{27}\left(10^{3/2}-1\right) \approx 9.07 \,\text{units}\text{.} \end{align*}
A graph of $$f$$ is given in Figure 7.4.6.

#### Example7.4.7.Finding arc length.

Find the arc length of $$\ds f(x) =\frac18x^2-\ln(x)$$ from $$x=1$$ to $$x=2\text{.}$$
Solution 1. Video solution
Solution 2.
This function was chosen specifically because the resulting integral can be evaluated exactly. We begin by finding $$\fp(x) = x/4-1/x\text{.}$$ The arc length is
\begin{align*} L \amp = \int_1^2 \sqrt{1+ \left(\frac x4-\frac1x\right)^2}\, dx\\ \amp = \int_1^2 \sqrt{1 + \frac{x^2}{16} -\frac12 + \frac1{x^2} } \, dx\\ \amp = \int_1^2 \sqrt{\frac{x^2}{16} +\frac12 + \frac1{x^2} } \, dx\\ \amp = \int_1^2 \sqrt{ \left(\frac x4 + \frac1x\right)^2}\, dx \end{align*}
\begin{align*} \amp = \int_1^2 \left(\frac x4 + \frac1x\right) \, dx\\ \amp = \left.\left(\frac{x^2}8 + \ln(x)\right)\right|_1^2\\ \amp = \frac38+\ln(2) \approx 1.07 \,\text{units}\text{.} \end{align*}
A graph of $$f$$ is given in Figure 7.4.8; the portion of the curve measured in this problem is in bold.
The previous examples found the arc length exactly through careful choice of the functions. In general, exact answers are much more difficult to come by and numerical approximations are necessary.

#### Example7.4.9.Approximating arc length numerically.

Find the length of the sine curve from $$x=0$$ to $$x=\pi\text{.}$$
Solution.
This is somewhat of a mathematical curiosity; in Example 5.4.14 we found the area under one “hump” of the sine curve is 2 square units; now we are measuring its arc length.
The setup is straightforward: $$f(x) = \sin(x)$$ and $$\fp(x) = \cos(x)\text{.}$$ Thus
\begin{equation*} L = \int_0^\pi \sqrt{1+\cos^2(x)}\, dx\text{.} \end{equation*}
This integral cannot be evaluated in terms of elementary functions so we will approximate it with Simpson's Method with $$n=4\text{.}$$
Figure 7.4.10 gives $$\sqrt{1+\cos^2(x) }$$ evaluated at 5 evenly spaced points in $$[0,\pi]\text{.}$$ Simpson's Rule then states that
\begin{align*} \int_0^\pi \sqrt{1+\cos^2(x)}\, dx \amp \approx \frac{\pi-0}{4\cdot 3}\left(\sqrt{2}+4\sqrt{3/2}+2(1)+4\sqrt{3/2}+\sqrt{2}\right)\\ \amp =3.82918\text{.} \end{align*}
Using a computer with $$n=100$$ the approximation is $$L\approx 3.8202\text{;}$$ our approximation with $$n=4$$ is quite good.

### Subsection7.4.2Surface Area of Solids of Revolution

We have already seen how a curve $$y=f(x)$$ on $$[a,b]$$ can be revolved around an axis to form a solid. Instead of computing its volume, we now consider its surface area.
We begin as we have in the previous sections: we partition the interval $$[a,b]$$ with $$n$$ subintervals, where the $$i$$th subinterval is $$[x_{i-1},x_{i}]\text{.}$$ On each subinterval, we can approximate the curve $$y=f(x)$$ with a straight line that connects $$f(x_{i-1})$$ and $$f(x_{i})$$ as shown in Figure 7.4.12.(a). Revolving this line segment about the $$x$$-axis creates part of a cone (called a frustum of a cone) as shown in Figure 7.4.12.(b). The surface area of a frustum of a cone is
\begin{equation*} 2\pi\cdot\,\text{length} \,\cdot\,\text{average of the two radii $$R$$ and $$r$$}\text{.} \end{equation*}
The length is given by $$L\text{;}$$ we use the material just covered by arc length to state that
\begin{equation*} L\approx \sqrt{1+\fp(c_i)^2}\dx_i \end{equation*}
for some $$c_i$$ in the $$i$$th subinterval. The radii are just the function evaluated at the endpoints of the interval. That is,
\begin{equation*} R = f(x_{i}) \text{ and } r = f(x_{i-1})\text{.} \end{equation*}
Thus the surface area of this sample frustum of the cone is approximately
\begin{equation*} 2\pi\frac{f(x_{i-1})+f(x_{i})}2\sqrt{1+\fp(c_i)^2}\dx_i\text{.} \end{equation*}
Since $$f$$ is a continuous function, the Intermediate Value Theorem states there is some $$d_i$$ in $$[x_{i-1},x_{i}]$$ such that $$\ds f(d_i) = \frac{f(x_{i-1})+f(x_{i})}2\text{;}$$ we can use this to rewrite the above equation as
\begin{equation*} 2\pi f(d_i)\sqrt{1+\fp(c_i)^2}\dx_i\text{.} \end{equation*}
Summing over all the subintervals we get the total surface area to be approximately
\begin{equation*} \text{Surface Area}\, \approx \sum_{i=1}^n 2\pi f(d_i)\sqrt{1+\fp(c_i)^2}\dx_i\text{,} \end{equation*}
which is a Riemann Sum. Taking the limit as the subinterval lengths go to zero gives us the exact surface area, given in the following theorem.
(When revolving $$y=f(x)$$ about the $$y$$-axis, the radii of the resulting frustum are $$x_{i-1}$$ and $$x_{i}\text{;}$$ their average value is simply the midpoint of the interval. In the limit, this midpoint is just $$x\text{.}$$ This gives the second part of Theorem 7.4.13.)

#### Example7.4.14.Finding surface area of a solid of revolution.

Find the surface area of the solid formed by revolving $$y=\sin(x)$$ on $$[0,\pi]$$ around the $$x$$-axis, as shown in Figure 7.4.15.
Solution 1. Video solution
Solution 2.
The setup is relatively straightforward. Using Theorem 7.4.13, we have the surface area $$SA$$ is:
\begin{align*} SA \amp = 2\pi\int_0^\pi \sin(x) \sqrt{1+\cos^2(x) }\, dx\\ \amp = -2\pi\frac12\left.\left(\sinh^{-1}(\cos(x) )+\cos(x) \sqrt{1+\cos^2(x) }\right)\right|_0^\pi\\ \amp = 2\pi\left(\sqrt{2}+\sinh^{-1}(1) \right)\\ \amp \approx 14.42\,\text{units}^2\text{.} \end{align*}
The integration step above is nontrivial, utilizing the integration method of Trigonometric Substitution from Section 6.4.
It is interesting to see that the surface area of a solid, whose shape is defined by a trigonometric function, involves both a square root and an inverse hyperbolic trigonometric function.

#### Example7.4.16.Finding surface area of a solid of revolution.

Find the surface area of the solid formed by revolving the curve $$y=x^2$$ on $$[0,1]$$ about:
1. the $$x$$-axis
2. the $$y$$-axis.
Solution 1. Video solution
Solution 2.
1. The integral is straightforward to setup:
\begin{align*} SA \amp = 2\pi\int_0^1 x^2\sqrt{1+(2x)^2}\, dx.\\ \end{align*}

Like the integral in Example 7.4.14, this requires Trigonometric Substitution.

\begin{align*} \amp = \left.\frac{\pi}{32}\left(2(8x^3+x)\sqrt{1+4x^2}-\sinh^{-1}(2x)\right)\right|_0^1\\ \amp =\frac{\pi}{32}\left(18\sqrt{5}-\sinh^{-1}(2) \right)\\ \amp \approx 3.81\,\text{units}^2\text{.} \end{align*}
The solid formed by revolving $$y=x^2$$ around the $$x$$-axis is graphed in Figure 7.4.17.(a).
2. Since we are revolving around the $$y$$-axis, the “radius” of the solid is not $$f(x)$$ but rather $$x\text{.}$$ Thus the integral to compute the surface area is:
\begin{align*} SA \amp = 2\pi\int_0^1x\sqrt{1+(2x)^2}\, dx.\\ \end{align*}

This integral can be solved using substitution. Set $$u=1+4x^2\text{;}$$ the new bounds are $$u=1$$ to $$u=5\text{.}$$ We then have

\begin{align*} \amp = \frac{\pi}4\int_1^5 \sqrt{u}\, du\\ \amp = \left.\frac{\pi}{4}\frac23 u^{3/2}\right|_1^5\\ \amp = \frac{\pi}6\left(5\sqrt{5}-1\right)\\ \amp \approx 5.33\,\text{units}^2\text{.} \end{align*}
The solid formed by revolving $$y=x^2$$ about the $$y$$-axis is graphed in Figure 7.4.17.(b).
Our final example is a famous mathematical “paradox.”

#### Example7.4.18.The surface area and volume of Gabriel's Horn.

Consider the solid formed by revolving $$y=1/x$$ about the $$x$$-axis on $$[1,\infty)\text{.}$$ Find the volume and surface area of this solid. (This shape, as graphed in Figure 7.4.19, is known as “Gabriel's Horn” since it looks like a very long horn that only a supernatural person, such as an angel, could play.)
Solution 1. Video solution
Solution 2.
To compute the volume it is natural to use the Disk Method. We have:
\begin{align*} V \amp = \pi\int_1^\infty \frac{1}{x^2}\, dx\\ \amp = \lim_{b\to\infty}\pi\int_1^b\frac{1}{x^2}\, dx\\ \amp = \lim_{b\to\infty} \left.\pi\left(\frac{-1}{x}\right)\right|_1^b\\ \amp = \lim_{b\to\infty} \pi\left(1-\frac1b\right)\\ \amp = \pi \,\text{units}^3\text{.} \end{align*}
Gabriel's Horn has a finite volume of $$\pi$$ cubic units. Since we have already seen that regions with infinite length can have a finite area, this is not too difficult to accept.
We now consider its surface area. The integral is straightforward to setup:
\begin{align*} SA \amp = 2\pi\int_1^\infty \frac{1}{x}\sqrt{1+1/x^4}\, dx.\\ \end{align*}

Integrating this expression is not trivial. We can, however, compare it to other improper integrals. Since $$1\lt \sqrt{1+1/x^4}$$ on $$[1,\infty)\text{,}$$ we can state that

\begin{align*} 2\pi\int_1^\infty \frac{1}{x}\, dx \amp \lt 2\pi\int_1^\infty \frac{1}{x}\sqrt{1+1/x^4}\, dx \text{.} \end{align*}
By Key Idea 6.8.17, the improper integral on the left diverges. Since the integral on the right is larger, we conclude it also diverges, meaning Gabriel's Horn has infinite surface area.
Hence the “paradox”: we can fill Gabriel's Horn with a finite amount of paint, but since it has infinite surface area, we can never paint it.
Somehow this paradox is striking when we think about it in terms of volume and area. However, we have seen a similar paradox before, as referenced above. We know that the area under the curve $$y=1/x^2$$ on $$[1,\infty)$$ is finite, yet the shape has an infinite perimeter. Strange things can occur when we deal with the infinite.
A standard equation from physics is “Work = force × distance”, when the force applied is constant. In Section 7.5 we learn how to compute work when the force applied is variable.

### Exercises7.4.3Exercises

#### Terms and Concepts

##### 1.
T/F: The integral formula for computing Arc Length was found by first approximating arc length with straight line segments.
##### 2.
T/F: The integral formula for computing Arc Length includes a square-root, meaning the integration is probably easy.

#### Problems

##### Exercise Group.
In the following exercises, find the arc length of the function on the given interval.
###### 3.
$$\ds f(x) = x$$ on $$[0, 1]\text{.}$$
###### 4.
$$\ds f(x) = \sqrt{8}x$$ on $$[-1, 1]\text{.}$$
###### 5.
$$\ds f(x) = \frac13x^{3/2}-x^{1/2}$$ on $$[0,1]\text{.}$$
###### 6.
$$\ds f(x) = \frac1{12}x^{3}+\frac1x$$ on $$[1,4]\text{.}$$
###### 7.
$$\ds f(x) = 2x^{3/2}-\frac16\sqrt{x}$$ on $$[0,9]\text{.}$$
###### 8.
$$\ds f(x) = \cosh(x)$$ on $$[-\ln(2) , \ln(2) ]\text{.}$$
###### 9.
$$\ds f(x) = \frac12\big(e^x+e^{-x}\big)$$ on $$[0, \ln(5) ]\text{.}$$
###### 10.
$$\ds f(x) = \frac1{12}x^5+\frac1{5x^3}$$ on $$[0.1, 1]\text{.}$$
###### 11.
$$\ds f(x) = \ln\big(\sin(x) \big)$$ on $$[\pi/6, \pi/2]\text{.}$$
###### 12.
$$\ds f(x) = \ln\big(\cos(x) \big)$$ on $$[0, \pi/4]\text{.}$$
##### Exercise Group.
In the following exercises, set up the integral to compute the arc length of the function on the given interval. Do not evaluate the integral.
###### 13.
$$\ds f(x) = x^2$$ on $$[0, 1]\text{.}$$
###### 14.
$$\ds f(x) = x^{10}$$ on $$[0, 1]\text{.}$$
###### 15.
$$\ds f(x) = \sqrt{x}$$ on $$[0, 1]\text{.}$$
###### 16.
$$\ds f(x) = \ln(x)$$ on $$[1, e]\text{.}$$
###### 17.
$$\ds f(x) = \sqrt{1-x^2}$$ on $$[-1, 1]\text{.}$$ (Note: this describes the top half of a circle with radius 1.)
###### 18.
$$\ds f(x) = \sqrt{1-x^2/9}$$ on $$[-3, 3]\text{.}$$ (Note: this describes the top half of an ellipse with a major axis of length 6 and a minor axis of length 2.)
###### 19.
$$\ds f(x) = \frac1x$$ on $$[1,2]\text{.}$$
###### 20.
$$\ds f(x) = \sec(x)$$ on $$[-\pi/4,\pi/4]\text{.}$$
##### Exercise Group.
In the following exercises, use Simpson's Rule, with $$n=4\text{,}$$ to approximate the arc length of the function on the given interval. Note: these are the same problems as in Exercises 7.4.3.13Exercise 7.4.3.20.
###### 21.
$$\ds f(x) = x^2$$ on $$[0, 1]\text{.}$$
###### 22.
$$\ds f(x) = x^{10}$$ on $$[0, 1]\text{.}$$
###### 23.
$$\ds f(x) = \sqrt{x}$$ on $$[0, 1]\text{.}$$ (Note: $$\fp(x)$$ is not defined at $$x=0\text{.}$$)
###### 24.
$$\ds f(x) = \ln(x)$$ on $$[1, e]\text{.}$$
###### 25.
$$\ds f(x) = \sqrt{1-x^2}$$ on $$[-1, 1]\text{.}$$ (Note: $$\fp(x)$$ is not defined at the endpoints.)
###### 26.
$$\ds f(x) = \sqrt{1-x^2/9}$$ on $$[-3, 3]\text{.}$$ (Note: $$\fp(x)$$ is not defined at the endpoints.)
###### 27.
$$\ds f(x) = \frac1x$$ on $$[1,2]\text{.}$$
###### 28.
$$\ds f(x) = \sec(x)$$ on $$[-\pi/4,\pi/4]\text{.}$$
##### Exercise Group.
In the following exercises, find the surface area of the described solid of revolution.
###### 29.
The solid formed by revolving $$y=2x$$ on $$[0,1]$$ about the $$x$$-axis.
###### 30.
The solid formed by revolving $$y=x^2$$ on $$[0,1]$$ about the $$y$$-axis.
###### 31.
The solid formed by revolving $$y=x^3$$ on $$[0,1]$$ about the $$x$$-axis.
###### 32.
The solid formed by revolving $$y=\sqrt{x}$$ on $$[0,1]$$ about the $$x$$-axis.
###### 33.
The sphere formed by revolving $$y=\sqrt{1-x^2}$$ on $$[-1,1]$$ about the $$x$$-axis.