Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
License: OTHER
Image: ubuntu2004

licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Prerequisites:
Intro to Sage
Symbolic Integration
Arc Length and Surface Area
We're going to cover two applications of integrals in these notes: (1) the length of a curve and (2) the area of a surface of revolution.
Arc Length
Our goal is to find the length of the graph of a function from to . This is called "arc length."
We will assume that our function is "smooth" on , which means that the derivative is continuous at every in .
The simplest curve is a straight line. We can find the length of a line segment using geometry. For anything more complex, we will use line segments to approximate the curve.
Here is the procedure:
Divide the interval into subintervals of equal width with endpoints .
Find the length of the line segments connecting the points and for .
Add up all these lengths to get an approximation for the arc length.
Take the limit as approaches infinity to get the actual arc length.
Here is a sample picture with .
Does this process sound familiar. Is anyone surprised that the final answer turns out to be an integral?
We find the length of the line segments (step 2) using the distance formula. Let be the distance from to . Then
where is a constant.
This is where it gets a little tricky. By the Mean Value Theorem, there exists with such that . Multiplying both sides by gives:
So then we have
The arc length is thus
[Note: We have assumed is continuous to guarantee that this integral exists.]
Arc Length Formula
If is continous on the interval , then the arc length of the curve from to is
Example 1
Find the length of from to .
Solution: , so for .
Therefore,
You may not recognize this function (it is not arcsin), but this is in fact the same as the answer I gave above:
Here's what you get if you do the simplification first:
Example 2
Find the length of from to .
Solution: Since , we have
This can be done by hand, but the algebra is kind of involved. Let's just use Sage:
Remember that log is the natural logarithm in Sage.
Example 3
Find the length of from to .
Solution: Since , we have .
So .
Example 4
Find the length of from to .
Solution: Since , we have .
If we try this integral in Sage, we run into trouble.
Since Sage can't do this integral symbolically, we'll find a numerical approximation instead. In Sage we can use the numerical_integral command.
numerical_integral(f,a,b)
Note: Since this is numerical, only one variable is involved, so you do not specify the variable.
numerical_integral returns an ordered pair: the first number is the answer, and the second number is an estimate of the error in the approximation (notice the e-14: this number is .
Thus, our arc length is approximately .
Areas of Surfaces of Revolution
We have already talked about the volume of a solid of revolution, which you get by rotating a region around an axis. In particular, we saw what happens when you take the region between the graph of a function and the x-axis. If you rotate just the boundary curve, and not the region under the curve, then you do not get a solid; instead, you get a surface of revolution. Our goal is to find the surface area of such objects.
Since we have already seen the development of formulas involving integrals for volume and for arclength, I am going to skip over most of the derivation of the surface area formula.
We have a curve from to . We are going to rotate this curve around the x-axis to form a surface.
We divide the interval into subintervals of equal width with endpoints .
For each subinterval , we approximate the curve with a line segment from the point to the point .
When we rotate this line segment around the x-axis, we get an approximation for the portion of the surface on this subinterval. Rotating a line segment around an axis produces a frustum of a cone (i.e., a cone with the top cut off). The surface area of a frustum of a cone is known from geometry to be , where is the length of the line segment and is the average height of the line segment above the x-axis.
To get the surface area, you add up the approximations from each subinterval, and take the limit as goes to . You have to do some algebraic manipulation, and you have to use the Mean Value Theorem (similar to what we did for arc length). I will omit the messy steps.
Surface Area Formula
If the function and is continuous on the interval , the area of the surface generated by rotating the graph of around the x-axis is
Example 5
Find the surface area of a sphere of radius .
Solution: We rotate the graph of from to to generate a sphere.
Since , we have
Rotation around the y-axis
If you rotate around the y-axis, then you may use as a function of :
If and is continuous on the interval (interval of y-values), the area of the surface generated by rotating the graph of about the y-axis is
Alternatively, if you have from to , then you can use
Example 6
Find the area of the surface generated by rotating around the y-axis the graph of from to .
Solution: Since we are rotating around the y-axis, we can find so that . We solve for to get (note ). The x-interval corresponds to the y-interval .
Now , so
But since we were given , it would be easier to do everything in terms of :
Here are the calculations of the two integrals:
Example 7 (Gabriel's Horn)
Consider the surface obtained by rotating around the x-axis the graph of for .
The area of this surface is
so our surface area integral diverges (infinite surface area).
The curious thing about Gabriel's Horn is that it holds a finite volume. Using the method of disks, the enclosed volume is
Here's a piece of the horn: