Calculus 1: Applications of Integration
The Student[Calculus1] package contains four routines that can be used to both work with and visualize the concepts of function averages, arc lengths, and volumes and surfaces of revolution. This worksheet demonstrates this functionality.
For further information about any command in the Calculus1 package, see the corresponding help page. For a general overview, see Calculus1.
Getting Started
While any command in the package can be referred to using the long form, for example, Student[Calculus1][DerivativePlot], it is easier, and often clearer, to load the package, and then use the short form command names.
restart
with⁡StudentCalculus1:
The following sections show how the routines work. In some cases, examples show to use these visualization routines in conjunction with the single-stepping Calculus1 routines.
Function Average
The average value of a function f⁡x on the interval a,b is:
FunctionAverage⁡f⁡x,x=a..b,output=integral
∫abf⁡xⅆxb−a
FunctionAverage⁡sin⁡x+x,x=0..2⁢π,output=plot
The integral output option can be used with the single-stepping functionality.
FunctionAverage⁡sin⁡x+x,x=0..2⁢π,output=integral
∫02⁢πsin⁡x+xⅆx2⁢π
Rulesum
∫02⁢πsin⁡x+xⅆx2⁢π=∫02⁢πsin⁡xⅆx+∫02⁢πxⅆx2⁢π
Rulesin
∫02⁢πsin⁡x+xⅆx2⁢π=∫02⁢πxⅆx2⁢π
Rulepower
∫02⁢πsin⁡x+xⅆx2⁢π=π
You can also compute the average value of a function using the FunctionAverageTutor command.
FunctionAverageTutor⁡
Volume of Revolution
Given a function f⁡x, rotate its graph around the x-axis and determine the volume of the resulting solid. The orange line represents the value of the function.
VolumeOfRevolution⁡sin⁡x+2,x=0..4⁢π,output=plot
The volume of this 3-D shape is given by the integral:
VolumeOfRevolution⁡sin⁡x+2,x=0..4⁢π,output=integral
∫04⁢ππ⁢sin⁡x+22ⅆx
value⁡
18⁢π2
Similarly, rotate the graph of f⁡x around the y-axis; in this case, determine the volume under the resulting surface. (Note: The function f should increase or decrease monotonically.)
VolumeOfRevolution⁡−cos⁡x,x=π2..π,output=plot,axis=vertical
This volume is given by:
VolumeOfRevolution⁡−cos⁡x,x=π2..π,output=integral,axis=vertical
∫π2π−2⁢π⁢x⁢cos⁡xⅆx
π2+2⁢π
You can also determine the volume between two functions rotated around an axis. Consider the two expressions x−14+1 and x on the interval 1,2.
VolumeOfRevolution⁡x−14+1,x,x=1..2,output=plot
VolumeOfRevolution⁡x−14+1,x,x=1..2,output=plot,axis=vertical
VolumeOfRevolution⁡x−14+1,x,x=1..2
37⁢π45
VolumeOfRevolution⁡x−14+1,x,x=1..2,axis=vertical
14⁢π15
You can also compute the volume of revolution and display the resulting solid using the VolumeOfRevolutionTutor command.
VolumeOfRevolutionTutor⁡
Arc Length
Given a function f⁡x, determine the length of the curve (or arc) from the point (a,f⁡a) to the point (b,f⁡b). This value is given by the formula:
ArcLength⁡f⁡x,x=a..b,output=integral
∫abⅆⅆxf⁡x2+1ⅆx
When calling ArcLength with the plot output option, three curves are plotted:
1. The expression (in red by default),
2. The integrand (in blue by default),
3. The expression (in green by default) ∫axⅆⅆs⁢f⁡s2+1ⅆs
and thus, the value of the green line at the point b is the total arc length of the curve.
ArcLength⁡2⁢sin⁡x,x=0..2⁢π,output=plot
In general, the resulting integrand is difficult to solve.
You can also computer arc length using the ArcLengthTutor command.
ArcLengthTutor⁡
Simple Example Using Single Stepping
ArcLength⁡x2−ln⁡x8,x=1..3,output=integral
∫1316⁢x2+18⁢xⅆx
simplify⁡
∫1316⁢x2+1xⅆx8
Rulerewrite,16 x2+1x=16 x+1x
∫1316⁢x2+1xⅆx8=∫1316⁢x+1xⅆx8
∫1316⁢x2+1xⅆx8=∫1316⁢xⅆx8+∫131xⅆx8
Rule`c*`
∫1316⁢x2+1xⅆx8=2⁢∫13xⅆx+∫131xⅆx8
Rule`^`
∫1316⁢x2+1xⅆx8=8+∫131xⅆx8
∫1316⁢x2+1xⅆx8=8+ln⁡38
Advanced Example Using Hyperbolic Cosine
One special case is the hyperbolic cosine function, which is defined as: cosh⁡x=ⅇx+ⅇ−x2 For example, this function gives the shape of a wire hanging from two points.
plot⁡cosh⁡x,x=−1..1.1
In this special case, the length of the curve cosh⁡x is equal to the integral of cosh⁡x.
ArcLength⁡cosh⁡x,x=−1.0..1.1
2.510848664
∫−1.01.1cosh⁡xⅆx
Surface of Revolution
Given a function f⁡x, rotate its graph around the x-axis and determine the area of the resulting surface. The red line represents the value of the function.
SurfaceOfRevolution⁡sin⁡x+2,x=0..4⁢π,output=plot
The area of this surface is given by:
SurfaceOfRevolution⁡sin⁡x+2,x=0..4⁢π,output=integral
∫04⁢π2⁢π⁢sin⁡x+2⁢1+cos⁡x2ⅆx
Another example:
SurfaceOfRevolution⁡ⅇx,x=0..1,output=integral
∫012⁢π⁢ⅇx⁢1+ⅇx2ⅆx
−π⁢ln⁡1+2−π⁢2+π⁢1+ⅇ2⁢ⅇ+π⁢arcsinh⁡ⅇ
Similarly, rotate the graph of f⁡x around the y-axis and determine the area of the resulting surface.
SurfaceOfRevolution⁡sin⁡x+2,x=2⁢π..4⁢π,output=plot,axis=vertical
When determining the area of the surface of revolution around the x- or y-axis, the integrand is similar. Only the term multiplying the square root is different.
SurfaceOfRevolution⁡f⁡x,x=a..b,output=integral
∫ab2⁢π⁢f⁡x⁢ⅆⅆxf⁡x2+1ⅆx
SurfaceOfRevolution⁡f⁡x,x=a..b,output=integral,axis=vertical
∫ab2⁢π⁢x⁢ⅆⅆxf⁡x2+1ⅆx
You can also compute and view the surface of revolution using the SurfaceOfRevolutionTutor command.
SurfaceOfRevolutionTutor⁡
Negative Values
The interpretation of negative values requires some explanation. When rotating a function around the x-axis, a negative value of the function is interpreted as a negative surface value.
SurfaceOfRevolution⁡sin⁡x,x=0..2⁢π
4⁢π⁢ln⁡1+2+4⁢π⁢2
The absolute value function can be used to get the expected value.
2⁢π⁢ln⁡1+2+4⁢π⁢2−2⁢π⁢ln⁡2−1
Similarly, when the graph is rotated around the y-axis, negative x values are interpreted as negative surface values.
SurfaceOfRevolution⁡cosh⁡x,x=−π..π,axis=vertical
2⁢ⅇπ⁢π2−2⁢ⅇ−π⁢π2−2⁢π⁢ⅇπ−2⁢π⁢ⅇ−π+4⁢π
If the function is symmetric, the integral must be calculated from the origin. Otherwise, the surface area is added twice.
SurfaceOfRevolution⁡cosh⁡x,x=0..π,axis=vertical
2⁢π+ⅇπ⁢π2−ⅇ−π⁢π2−π⁢ⅇπ−π⁢ⅇ−π
When the function is not symmetric, the sum of each positive branch must be added.
SurfaceOfRevolution⁡ⅇx,x=0..π,axis=vertical+SurfaceOfRevolution⁡ⅇ−x,x=0..π,axis=vertical
∫0π2⁢π⁢x⁢1+ⅇx2ⅆx+∫0π2⁢π⁢x⁢1+ⅇ−x2ⅆx
SurfaceOfRevolution⁡ⅇx,x=−π..π,axis=vertical,output=plot
Main: Visualization
Previous: Integration
Download Help Document