Difference between revisions of "Applications of Integrals"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
(Created page with " * Average value of a function * Area between curves * Distance, velocity, acceleration * Volume * Work * Arc length * Surface area * Center of mass * Hydrostatic pressure and...")
 
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
==Area between two curves==
 +
Suppose we are given two functions <math>y_1=f(x)</math> and <math>y_2=g(x)</math> and we want to find the area between them on the interval <math>[a,b]</math> . Also assume that <math>f(x)\ge g(x)</math> for all <math>x</math> on the interval <math>[a,b]</math> . Begin by partitioning the interval <math>[a,b]</math> into <math>n</math> equal subintervals each having a length of <math>\Delta x=\frac{b-a}{n}</math> . Next choose any point in each subinterval, <math>x_i^*</math> . Now we can 'create' rectangles on each interval. At the point <math>x_i*</math> , the height of each rectangle is <math>f(x_i^*)-g(x_i^*)</math> and the width is <math>\Delta x</math> . Thus the area of each rectangle is <math>\bigl[f(x_i^*)-g(x_i^*)\bigr]\Delta x</math> . An ''approximation'' of the area, <math>A</math> , between the two curves is
 +
:<math>A:=\sum_{i=1}^n \Big[f(x_i^*)-g(x_i^*)\Big]\Delta x</math> .
 +
Now we take the limit as <math>n</math> approaches infinity and get
 +
:<math>A=\lim_{n\to\infty}\sum_{i=1}^n \Big[f(x_i^*)-g(x_i^*)\Big]\Delta x</math>
 +
which gives the exact area. Recalling the definition of the definite integral we notice that
 +
:<math>A=\int\limits_a^b \bigl(f(x)-g(x)\bigr)dx</math> .
 +
This formula of finding the area between two curves is sometimes known as applying integration with respect to the ''x''-axis since the rectangles used to approximate the area have their bases lying parallel to the ''x''-axis. It will be most useful when the two functions are of the form <math>y_1=f(x)</math> and <math>y_2=g(x)</math> . Sometimes however, one may find it simpler to integrate with respect to the ''y''-axis. This occurs when integrating with respect to the ''x''-axis would result in more than one integral to be evaluated. These functions take the form <math>x_1=f(y)</math> and <math>x_2=g(y)</math> on the interval <math>[c,d]</math> . Note that <math>[c,d]</math> are values of <math>y</math> . The derivation of this case is completely identical. Similar to before, we will assume that <math>f(y)\ge g(y)</math> for all <math>y</math> on <math>[c,d]</math> . Now, as before we can divide the interval into <math>n</math> subintervals and create rectangles to approximate the area between <math>f(y)</math> and <math>g(y)</math> . It may be useful to picture each rectangle having their 'width', <math>\Delta y</math> , parallel to the ''y''-axis and 'height', <math>f(y_i^*)-g(y_i^*)</math> at the point <math>y_i^*</math>, parallel to the ''x''-axis. Following from the work above we may reason that an ''approximation'' of the area, <math>A</math> , between the two curves is
 +
:<math>A:=\sum_{i=1}^n \Big[f(y_i^*)-g(y_i^*)\Big]\Delta y</math> .
 +
As before, we take the limit as <math>n</math> approaches infinity to arrive at
 +
:<math>A=\lim_{n\to\infty}\sum_{i=1}^n \Big[f(y_i^*)-g(y_i^*)\Big]\Delta y</math> ,
 +
which is nothing more than a definite integral, so
 +
:<math>A=\int\limits_c^d \bigl(f(y)-g(y)\bigr)dy</math> .
 +
Regardless of the form of the functions, we basically use the same formula.
  
* Average value of a function
+
[[File:Closed path integral defined.png|Closed_path_integral_defined]]
* Area between curves
+
 
* Distance, velocity, acceleration
+
==Volume==
* Volume
+
If the function <math>A(x)</math> is  continuous on <math>[a,b]</math> , then the volume <math>V_S</math> of the solid <math>S</math> is given by:
* Work
+
:{{math|size=1.5em|<math>V_S=\int\limits_a^b A(x)dx</math>}}
* Arc length
+
 
* Surface area
+
===Example 1: A right cylinder===
* Center of mass
+
[[File:Cylinder with cross section at height x.svg|200px|thumb|right|Figure 1]]
* Hydrostatic pressure and force
+
Now we will calculate the volume of a right cylinder using our new ideas about how to calculate volume. Since we already know the formula for the volume of a cylinder this will give us a "sanity check" that our formulas make sense. First, we choose a dimension along which to integrate. In this case, it will greatly simplify the calculations to integrate along the height of the cylinder, so this is the direction we will choose. Thus we will call the vertical direction <math>x</math> (see [[:File:Cylinder with cross section at height x.svg|Figure 1]]). Now we find the function, <math>A(x)</math> , which will describe the cross-sectional area of our cylinder at a height of <math>x</math> . The cross-sectional area of a cylinder is simply a circle. Now simply recall that the area of a circle is <math>\pi r^2</math> , and so <math>A(x)=\pi r^2</math> . Before performing the computation, we must choose our bounds of integration. In this case, we simply define <math>x=0</math> to be the base of the cylinder, and so we will integrate from <math>x=0</math> to <math>x=h</math> , where <math>h</math> is the height of the cylinder. Finally, we integrate:
* Probability
+
:<math>\begin{align}
 +
V_{\mathrm{cylinder}}&=\int\limits_a^b A(x)dx\\
 +
&=\int\limits_0^h\pi r^2dx\\
 +
&=\pi r^2\int\limits_0^hdx\\
 +
&=\pi r^2x\bigg|_{x=0}^h\\
 +
&=\pi r^2(h-0)\\
 +
&=\pi r^2h\end{align}</math>
 +
 
 +
This is exactly the familiar formula for the volume of a cylinder.
 +
 
 +
===Example 2: A right circular cone===
 +
[[File:Plane intersecting cone 2.png|200px|thumb|right|Figure 2: The cross-section of a right circular cone by a plane perpendicular to the axis of the cone is a circle.]]
 +
 
 +
For our next example we will look at an example where the cross sectional area is not constant. Consider a right circular cone. Once again the cross sections are simply circles. But now the radius varies from the base of the cone to the tip. Once again we choose <math>x</math> to be the vertical direction, with the base at <math>x=0</math> and the tip at <math>x=h</math> , and we will let <math>R</math> denote the radius of the base. While we know the cross sections are just circles we cannot calculate the area of the cross sections unless we find some way to determine the radius of the circle at height <math>x</math> . 
 +
 
 +
[[File:Similar triangles for cone.svg|200px|thumb|right|Figure 3: Cross-section of the right circular cone by a plane perpendicular to the base and passing through the tip.]]
 +
 
 +
Luckily in this case it is possible to use some of what we know from geometry. We can imagine cutting the cone perpendicular to the base through some diameter of the circle all the way to the tip of the cone. If we then look at the flat side we just created, we will see simply a triangle, whose geometry we understand well. The right triangle from the tip to the base at height <math>x</math> is similar to the right triangle from the tip to the base at height <math>h</math> .  This tells us that <math>\frac{r}{h-x}=\frac{R}{h}</math> . So that we see that the radius of the circle at height <math>x</math> is <math>r(x)=\frac{R}{h}(h-x)</math> . Now using the familiar formula for the area of a circle we see that <math>A(x)=\pi\frac{R^2}{h^2}(h-x)^2</math> .
 +
 
 +
Now we are ready to integrate.
 +
 
 +
:<math>\begin{align}
 +
V_{\mathrm{cone}}&=\int\limits_a^b A(x)dx\\
 +
&=\int\limits_0^h \pi\frac{R^2}{h^2}(h-x)^2dx\\
 +
&=\pi\frac{R^2}{h^2}\int\limits_0^h(h-x)^2dx
 +
\end{align}</math>
 +
 
 +
By u-substitution we may let <math>u=h-x</math> , then <math>du=-dx</math> and our integral becomes
 +
 
 +
:<math>\begin{align}
 +
&&=\pi\frac{R^2}{h^2}\left(-\int\limits_h^0 u^2du\right)\\
 +
&&=\pi\frac{R^2}{h^2}\left(-\frac{u^3}{3}\bigg|_h^0\right)\\
 +
&&=\pi\frac{R^2}{h^2}\left(-0+\frac{h^3}{3}\right)\\
 +
&&=\frac{\pi}{3}R^2h
 +
\end{align}</math>
 +
 
 +
===Example 3: A sphere===
 +
[[File:Sphere with cross section.svg|200px|thumb|right|Figure 4: Determining the radius of the cross-section of the sphere at a distance <math>|x|</math> from the sphere's center.]]
 +
In a similar fashion, we can use our definition to prove the well known formula for the volume of a sphere. First, we must find our cross-sectional area function, <math>A(x)</math> . Consider a sphere of radius <math>R</math> which is centered at the origin in <math>\R^3</math> . If we again integrate vertically then <math>x</math> will vary from <math>-R</math> to <math>R</math> . In order to find the area of a particular cross section it helps to draw a right triangle whose points lie at the center of the sphere, the center of the circular cross section, and at a point along the circumference of the cross section. As shown in the diagram the side lengths of this triangle will be <math>R</math> , <math>|x|</math> , and <math>r</math> .  Where <math>r</math> is the radius of the circular cross section. Then by the Pythagorean theorem <math>r=\sqrt{R^2-|x|^2}</math> and find that <math>A(x)=\pi(R^2-|x|^2)</math> . It is slightly helpful to notice that <math>|x|^2=x^2</math> so we do not need to keep the absolute value.
 +
 
 +
So we have that
 +
:<math>\begin{align}
 +
V_{\mathrm{sphere}}&=\int\limits_a^b A(x)dx\\
 +
&=\int\limits_{-R}^R\pi(R^2-x^2)dx\\
 +
&=\pi\int\limits_{-R}^R R^2dx-\pi\int\limits_{-R}^R x^2dx\\
 +
&=\pi R^2x\Bigg|_{-R}^R-\pi\frac{x^3}{3}\Bigg|_{-R}^R\\
 +
&=\pi R^2(R-(-R))-\pi\left(\frac{R^3}{3}-\frac{(-R)^3}{3}\right)\\
 +
&=2\pi R^3-\frac{2\pi}{3}R^3=\frac{4\pi}{3}R^3
 +
\end{align}</math>
 +
 
 +
==Arc length==
 +
Suppose that <math>f'</math> is continuous on <math>[a,b]</math> . Then the length of the curve given by <math>y=f(x)</math> between <math>a</math> and <math>b</math> is given by
 +
:<math>L=\int\limits_a^b \sqrt{1+f'(x)^2}dx</math>
 +
And in Leibniz notation
 +
:<math>L=\int\limits_a^b \sqrt{1+\left(\tfrac{dy}{dx}\right)^2}dx</math>
 +
 
 +
'''Proof:''' Consider <math>y_{i+1}-y_i=f(x_{i+1})-f(x_i)</math> . By the Mean Value Theorem there is a point <math>z_i</math> in <math>(x_{i+1},x_i)</math> such that
 +
:<math>y_{i+1}-y_i=f(x_{i+1})-f(x_i)=f'(z_i)(x_{i+1}-x_i)</math>
 +
 
 +
So
 +
:{|
 +
|<math>\bigl|P_iP_{i+1}\bigr|</math>
 +
|<math>=\sqrt{(x_{i+1}-x_i)^2+(y_{i+1}-y_i)^2}</math>
 +
|-
 +
|
 +
|<math>=\sqrt{(x_{i+1}-x_i)^2+f'(z_i)^2(x_{i+1}-x_i)^2}</math>
 +
|-
 +
|
 +
|<math>=\sqrt{\bigl(1+f'(z_i)^2\bigr)(x_{i+1}-x_i)^2}</math>
 +
|-
 +
|
 +
|<math>=\sqrt{1+f'(z_i)^2}\Delta x</math>
 +
|}
 +
 
 +
Putting this into the definition of the length of <math>C</math> gives
 +
 
 +
:<math>L=\lim_{n\to\infty}\sum_{i=0}^{n-1}\sqrt{1+f'(z_i)^2}\Delta x</math>
 +
 
 +
Now this is the definition of the integral of the function <math>g(x)=\sqrt{1+f'(x)^2}</math> between <math>a</math> and <math>b</math> (notice that <math>g</math> is continuous because we are assuming that <math>f'</math> is continuous). Hence
 +
 
 +
:<math>L=\int\limits_a^b \sqrt{1+f'(x)^2}dx</math>
 +
 
 +
as claimed.
 +
 
 +
===Example===
 +
Length of the curve <math>y=2x</math> from <math>x=0</math> to <math>x=1</math>}}
 +
As a sanity check of our formula, let's calculate the length of the "curve" <math>y=2x</math> from <math>x=0</math> to <math>x=1</math> . First let's find the answer using the Pythagorean Theorem.
 +
:<math>P_0=(0,0)</math>
 +
and
 +
:<math>P_1=(1,2)</math>
 +
so the length of the curve, <math>s</math> , is
 +
:<math>s=\sqrt{2^2+1^2}=\sqrt5</math>
 +
Now let's use the formula
 +
:<math>s=\int\limits_0^1 \sqrt{1+\left(\tfrac{d(2x)}{dx}\right)^2}\,dx=\int\limits_0^1 \sqrt{1+2^2}\,dx=\sqrt5x\bigg|_0^1=\sqrt5</math>
  
 
==Resources==
 
==Resources==
 +
* [https://www.youtube.com/watch?v=FE0eJGdWC04 Business Calculus: Application of definite integral], Rajendra Dahal (YouTube)
 
* [https://tutorial.math.lamar.edu/classes/calci/intappsintro.aspx Applications of Integrals - Cal I], Paul's Online Notes
 
* [https://tutorial.math.lamar.edu/classes/calci/intappsintro.aspx Applications of Integrals - Cal I], Paul's Online Notes
 
* [https://tutorial.math.lamar.edu/classes/calcii/intappsintro.aspx Applications of Integrals - Cal II], Paul's Online Notes
 
* [https://tutorial.math.lamar.edu/classes/calcii/intappsintro.aspx Applications of Integrals - Cal II], Paul's Online Notes
 +
 +
==Licensing==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikibooks.org/wiki/Calculus/Area Area, Wikibooks: Calculus] under a CC BY-SA license
 +
* [https://en.wikibooks.org/wiki/Calculus/Volume Volume, Wikibooks: Calculus] under a CC BY-SA license
 +
* [https://en.wikibooks.org/wiki/Calculus/Arc_length Arc length, Wikibooks: Calculus] under a CC BY-SA license

Latest revision as of 15:23, 28 October 2021

Area between two curves

Suppose we are given two functions and and we want to find the area between them on the interval . Also assume that for all on the interval . Begin by partitioning the interval into equal subintervals each having a length of . Next choose any point in each subinterval, . Now we can 'create' rectangles on each interval. At the point , the height of each rectangle is and the width is . Thus the area of each rectangle is . An approximation of the area, , between the two curves is

.

Now we take the limit as approaches infinity and get

which gives the exact area. Recalling the definition of the definite integral we notice that

.

This formula of finding the area between two curves is sometimes known as applying integration with respect to the x-axis since the rectangles used to approximate the area have their bases lying parallel to the x-axis. It will be most useful when the two functions are of the form and . Sometimes however, one may find it simpler to integrate with respect to the y-axis. This occurs when integrating with respect to the x-axis would result in more than one integral to be evaluated. These functions take the form and on the interval . Note that are values of . The derivation of this case is completely identical. Similar to before, we will assume that for all on . Now, as before we can divide the interval into subintervals and create rectangles to approximate the area between and . It may be useful to picture each rectangle having their 'width', , parallel to the y-axis and 'height', at the point , parallel to the x-axis. Following from the work above we may reason that an approximation of the area, , between the two curves is

.

As before, we take the limit as approaches infinity to arrive at

,

which is nothing more than a definite integral, so

.

Regardless of the form of the functions, we basically use the same formula.

Closed_path_integral_defined

Volume

If the function is continuous on , then the volume of the solid is given by:

Example 1: A right cylinder

Figure 1

Now we will calculate the volume of a right cylinder using our new ideas about how to calculate volume. Since we already know the formula for the volume of a cylinder this will give us a "sanity check" that our formulas make sense. First, we choose a dimension along which to integrate. In this case, it will greatly simplify the calculations to integrate along the height of the cylinder, so this is the direction we will choose. Thus we will call the vertical direction (see Figure 1). Now we find the function, , which will describe the cross-sectional area of our cylinder at a height of . The cross-sectional area of a cylinder is simply a circle. Now simply recall that the area of a circle is , and so . Before performing the computation, we must choose our bounds of integration. In this case, we simply define to be the base of the cylinder, and so we will integrate from to , where is the height of the cylinder. Finally, we integrate:

This is exactly the familiar formula for the volume of a cylinder.

Example 2: A right circular cone

Figure 2: The cross-section of a right circular cone by a plane perpendicular to the axis of the cone is a circle.

For our next example we will look at an example where the cross sectional area is not constant. Consider a right circular cone. Once again the cross sections are simply circles. But now the radius varies from the base of the cone to the tip. Once again we choose to be the vertical direction, with the base at and the tip at , and we will let denote the radius of the base. While we know the cross sections are just circles we cannot calculate the area of the cross sections unless we find some way to determine the radius of the circle at height .

Figure 3: Cross-section of the right circular cone by a plane perpendicular to the base and passing through the tip.

Luckily in this case it is possible to use some of what we know from geometry. We can imagine cutting the cone perpendicular to the base through some diameter of the circle all the way to the tip of the cone. If we then look at the flat side we just created, we will see simply a triangle, whose geometry we understand well. The right triangle from the tip to the base at height is similar to the right triangle from the tip to the base at height . This tells us that . So that we see that the radius of the circle at height is . Now using the familiar formula for the area of a circle we see that .

Now we are ready to integrate.

By u-substitution we may let , then and our integral becomes

Example 3: A sphere

Figure 4: Determining the radius of the cross-section of the sphere at a distance from the sphere's center.

In a similar fashion, we can use our definition to prove the well known formula for the volume of a sphere. First, we must find our cross-sectional area function, . Consider a sphere of radius which is centered at the origin in . If we again integrate vertically then will vary from to . In order to find the area of a particular cross section it helps to draw a right triangle whose points lie at the center of the sphere, the center of the circular cross section, and at a point along the circumference of the cross section. As shown in the diagram the side lengths of this triangle will be , , and . Where is the radius of the circular cross section. Then by the Pythagorean theorem and find that . It is slightly helpful to notice that so we do not need to keep the absolute value.

So we have that

Arc length

Suppose that is continuous on . Then the length of the curve given by between and is given by

And in Leibniz notation

Proof: Consider . By the Mean Value Theorem there is a point in such that

So

Putting this into the definition of the length of gives

Now this is the definition of the integral of the function between and (notice that is continuous because we are assuming that is continuous). Hence

as claimed.

Example

Length of the curve from to }} As a sanity check of our formula, let's calculate the length of the "curve" from to . First let's find the answer using the Pythagorean Theorem.

and

so the length of the curve, , is

Now let's use the formula

Resources

Licensing

Content obtained and/or adapted from: