Area Between Curves
Transcript
Hi, I'm Beau with Free Code Camp. This course is taught by Dr. Linda green. She teaches at the University of North Carolina at Chapel Hill, and she has been teaching calculus two for many years to undergraduate students, we recommend using a paper and pencil so you can follow along at home. Let's start. Hi, I'm Beau with Free Code Camp. This course is taught by Dr. Linda green. She teaches at the University of North Carolina at Chapel Hill, and she has been teaching calculus two for many years to undergraduate students, we recommend using a paper and pencil so you can follow along at home. Let's start. This video introduces the idea of finding the area between two curves. Let's start with some review. in calculus one, you approximate the area between a curve and the x axis by dividing it up into tall skinny rectangles. You represented the width of one of these rectangles using the symbols delta x, here delta x means a small distance along the x
axis or a small change in x values. You picked out an x value called a sample point from each of these little sub intervals along the x axis, one sample point for each rectangle. The sample point on the x axis for rectangle number i is denoted by x i star. You use the sample points and the function f to figure out the height of each rectangle. The height of rectangle number i is given by the functions value on the sample point f of x star. From this, you calculate the area of each rectangle, the area of a rectangle is base times height. So the area of the first rectangle is delta x times f of x one star, the area of the second rectangle is delta x times f of x two star. And the area of rectangle number i is going to be its base delta x times its height, f of x i star, and so on, if there are n rectangles, than the last rectangle will have base delta x and height f of x and star. So the approximate
area under the curve is given by adding up all these areas of all these rectangles. In sigma notation, this can be written as sigma, the psalm from i equals one to n, the number of rectangles of the area of the rectangle, delta x times f of x i star. The exact area is then given by the limit of these approximating areas, as the number of rectangles goes to infinity. That's the limit as n goes to infinity of this Riemann sum This video introduces the idea of finding the area between two curves. Let's start with some review. in calculus one, you approximate the area between a curve and the x axis by dividing it up into tall skinny rectangles. You represented the width of one of these rectangles using the symbols delta x, here delta x means a small distance along the x axis or a small change in x values. You picked out an x value called a sample point from
each of these little sub intervals along the x axis, one sample point for each rectangle. The sample point on the x axis for rectangle number i is denoted by x i star. You use the sample points and the function f to figure out the height of each rectangle. The height of rectangle number i is given by the functions value on the sample point f of x star. From this, you calculate the area of each rectangle, the area of a rectangle is base times height. So the area of the first rectangle is delta x times f of x one star, the area of the second rectangle is delta x times f of x two star. And the area of rectangle number i is going to be its base delta x times its height, f of x i star, and so on, if there are n rectangles, than the last rectangle will have base delta x and height f of x and star. So the approximate area under the curve is given by adding up all these areas of all these rectangles. In sigma notation, this can be written as sigma, the psalm from i equals one to n, the number of rectangles of the area of the rectangle, delta x times f of x i star. The exact area is then given by the limit of these approximating areas, as the number of rectangles goes to infinity. That's the limit as n goes to infinity of this Riemann sum of areas. of areas. A limit of a Riemann sum like this is by definition, an integral. So we can rewrite this using the integral sign as the integral of f of x dx. And the bounds of integration here, based on our picture are from x equals a 2x equals b. Notice that when we convert the limit of a Riemann sum to integral notation, the sample points x vystar just become our variable x, and the delta x becomes our dx. Now that we've reviewed these ideas of calculating the area under a curve, we're going to use these same ideas to calculate the area between two curves. To compute the area between two curves, y equals f of x and y equals g of x, in between the x values of a and b, we can again divide up the region and a tall skinny rectangles as shown in this picture. Once again, let's let delta x be the width of each rectangle. And let's let x i star represent a sample point in the ife interval. So x sub i star is a point on the x axis that lives in the rectangle number i. Now if we want to compute the area of one of these tall skinny rectangles, as always, the area of a rectangle is the base times the height. The base of any of these rectangles is given by delta x. But the height is different for each rectangle. If I focus on in on rectangle number, I assume this is rectangle number i right here. It stretches all the way up to F of the sample point f of x by star and it stretches all the way down. To add g of
that x, y star. So the height of that rectangle is the gap between f of x and g of x at that sample point. In other words, it's the difference, f of x sub i star minus g of x, y star. Now that we have an expression for the area of one of these rectangles, we can add up all those areas as before, to get an expression for the approximate area between the curves, it's just the sum of these areas. And as before, we can get the exact area. By making these rectangles skinnier and skinnier. By taking more of them, we take the limit as the number of rectangles goes to infinity of this Riemann sum. And as always, the limit of a Riemann sum is given by the integral where the exabyte stars a sample points just become our variable x, and the delta x becomes our dx, let's put in our bounds of integration, we're told that x goes between A and B, and we have an expression for the area between our two curves. Actually,
this formula only works if f of x is greater than or equal to g of x on the interval from a to b. That inequality guarantees that this expression, f of x i star minus g of x i star will be a positive number, we want a positive height for our rectangle, so that will get a positive area. If instead, f of x is less than or equal to g of x, then you'll need to switch around your subtraction and take the integral of g of x minus f of x dx instead, in order to get a positive area. One way to remember what to do is just to write the integral as the integral from a to b of the top y value minus the bottom y value, dx. Remembering that you'll need to replace the top y value and the bottom y value with functions of x before you can integrate. A limit of a Riemann sum like this is by definition, an integral. So we can rewrite this using the integral sign as the integral of f of x dx. And the bounds of integration here,
based on our picture are from x equals a 2x equals b. Notice that when we convert the limit of a Riemann sum to integral notation, the sample points x vystar just become our variable x, and the delta x becomes our dx. Now that we've reviewed these ideas of calculating the area under a curve, we're going to use these same ideas to calculate the area between two curves. To compute the area between two curves, y equals f of x and y equals g of x, in between the x values of a and b, we can again divide up the region and a tall skinny rectangles as shown in this picture. Once again, let's let delta x be the width of each rectangle. And let's let x i star represent a sample point in the ife interval. So x sub i star is a point on the x axis that lives in the rectangle number i. Now if we want to compute the area of one of these tall skinny rectangles, as always, the area of
a rectangle is the base times the height. The base of any of these rectangles is given by delta x. But the height is different for each rectangle. If I focus on in on rectangle number, I assume this is rectangle number i right here. It stretches all the way up to F of the sample point f of x by star and it stretches all the way down. To add g of that x, y star. So the height of that rectangle is the gap between f of x and g of x at that sample point. In other words, it's the difference, f of x sub i star minus g of x, y star. Now that we have an expression for the area of one of these rectangles, we can add up all those areas as before, to get an expression for the approximate area between the curves, it's just the sum of these areas. And as before, we can get the exact area. By making these rectangles skinnier and skinnier. By taking more of them, we take the limit as the number
of rectangles goes to infinity of this Riemann sum. And as always, the limit of a Riemann sum is given by the integral where the exabyte stars a sample points just become our variable x, and the delta x becomes our dx, let's put in our bounds of integration, we're told that x goes between A and B, and we have an expression for the area between our two curves. Actually, this formula only works if f of x is greater than or equal to g of x on the interval from a to b. That inequality guarantees that this expression, f of x i star minus g of x i star will be a positive number, we want a positive height for our rectangle, so that will get a positive area. If instead, f of x is less than or equal to g of x, then you'll need to switch around your subtraction and take the integral of g of x minus f of x dx instead, in order to get a positive area. One way to remember what to do is just to write the integral
as the integral from a to b of the top y value minus the bottom y value, dx. Remembering that you'll need to replace the top y value and the bottom y value with functions of x before you can integrate. Let's look at an example. We want to find the area between the curve y equals x squared plus x and y equals three minus x squared. x squared plus x is a parabola pointing upwards. So that must be the red curve here, while three minus x squared is a parabola pointing downwards. So that must be this blue curve. We know that area is given by the integral from our starting x value to our ending x value of our top y values minus our bottom y values, all integrated with respect to x, our top y values are given by the equation three minus x squared, and our bottom y values are given by the equation x squared plus x. Now we still need to figure out the values of a and b, the bounds of integration. And
from the graph, it looks like a should be maybe about negative one and a half, and B should be about one, since that's where the green area starts and ends in the horizontal direction. But to find exact values of a and b, the easiest thing to do is to set these two equations equal to each other and solve for x. So I'll set three minus x squared equal to x squared plus x, I can add x squared to both sides to get to x squared plus x minus three equals zero. This factors into 2x plus three, and x minus one, and therefore x has to equal negative three halves and or x equals one, just like we thought from the graph. So we can finish doing our setup, our bounds of integration are from negative three halves to one, and I can simplify my integrand here. This is three minus x squared minus x squared minus x. Or in other words, the integral from negative three halves to one of minus 2x squared
minus x plus three dx. This integrates to minus 2x cubed over three my minus x squared over two plus 3x, evaluated between one and negative three halves. Now I just need to plug in my bounds of integration and then simplify to get 125 20 fourths as the area. Let's look at an example. We want to find the area between the curve y equals x squared plus x and y equals three minus x squared. x squared plus x is a parabola pointing upwards. So that must be the red curve here, while three minus x squared is a parabola pointing downwards. So that must be this blue curve. We know that area is given by the integral from our starting x value to our ending x value of our top y values minus our bottom y values, all integrated with respect to x, our top y values are given by the equation three minus x squared, and our bottom y values are given by the equation x squared plus x.
Now we still need to figure out the values of a and b, the bounds of integration. And from the graph, it looks like a should be maybe about negative one and a half, and B should be about one, since that's where the green area starts and ends in the horizontal direction. But to find exact values of a and b, the easiest thing to do is to set these two equations equal to each other and solve for x. So I'll set three minus x squared equal to x squared plus x, I can add x squared to both sides to get to x squared plus x minus three equals zero. This factors into 2x plus three, and x minus one, and therefore x has to equal negative three halves and or x equals one, just like we thought from the graph. So we can finish doing our setup, our bounds of integration are from negative three halves to one, and I can simplify my integrand here. This is three minus x squared minus x squared
minus x. Or in other words, the integral from negative three halves to one of minus 2x squared minus x plus three dx. This integrates to minus 2x cubed over three my minus x squared over two plus 3x, evaluated between one and negative three halves. Now I just need to plug in my bounds of integration and then simplify to get 125 20 fourths as the area. In this video, we saw that the area between two curves in between the x values of a and b can be given by the integral from a to b have the top y values minus the bottom y values. dx, were the top y values and bottom y values are functions of x. More specifically, if the top curve is given by y equals f of x, and the bottom curve is y equals g of x, then this integral is the integral from a to b of f of x minus g of x, dx. In this video, we'll calculate the volumes of solids of revolution. A solid of revolution is a three dimensional
object that can be formed by rotating a region of the plane around an axis. volumes formed by rotating a region of the plane around a line are called solids of revolution. In this figure on the left, this three dimensional object is formed by rotating a region of the plane shaped like this, around the x axis, the solid on the right can be formed by rotating a crescent shaped region of the plane like this, again, around the x axis. If we slice these two solids of revolution, using planes perpendicular to the x axis, on the left side, our cross sections look like disks. In this video, we saw that the area between two curves in between the x values of a and b can be given by the integral from a to b have the top y values minus the bottom y values. dx, were the top y values and bottom y values are functions of x. More specifically, if the top curve is given by y equals f of x, and the bottom curve is y equals g of x, then
this integral is the integral from a to b of f of x minus g of x, dx. In this video, we'll calculate the volumes of solids of revolution. A solid of revolution is a three dimensional object that can be formed by rotating a region of the plane around an axis. volumes formed by rotating a region of the plane around a line are called solids of revolution. In this figure on the left, this three dimensional object is formed by rotating a region of the plane shaped like this, around the x axis, the solid on the right can be formed by rotating a crescent shaped region of the plane like this, again, around the x axis. If we slice these two solids of revolution, using planes perpendicular to the x axis, on the left side, our cross sections look like disks. A disc here means the inside of a circle. The figure on the right is different because it's hollow inside. And when we slice it by planes perpendicular to the x axis, we get
cross sections that are shaped like washers. A washer here means the region in between two concentric circles. So for solids of revolution, the cross sections can have the shape of a disk, or the shape of a washer. The area of a disk is given by the familiar formula, pi r squared, where r is the radius. And the area of a washer can be written as pi times r outer squared minus pi times our inner squared, where our outer is the radius of the big circle, and our inner is the radius of the little circle. This formula works because the area of the washer is just the area of the larger circle minus the area of the inside smaller circle. Now we know that the volume of any solid that can be sliced into cross sections using planes perpendicular to the x axis is given by v is the integral from x equals a to x equals B of the area of the cross section at point x, integrated dx. If our cross sections
are disks, this formula becomes the integral of pi r squared dx, where the radius R is a function of x. If instead, the cross sections look like washers, then the volume formula becomes the integral of pi r outer squared minus pi r inner squared dx. Again, our outer and our inner are functions of x here. These formulas work when they solid a revolution is formed by rotating a region around the x axis or any horizontal line. When we rotate around a horizontal line, then our cross sectional discs or washers are perpendicular to the x axis and are thin in the x direction. So it makes sense to integrate dx. If instead, we want to rotate around the y axis or a vertical line, then our disk or wash our cross sections are going to be perpendicular to the y axis and are going to be thin in the y direction. So when rotating around the y axis or a vertical line, we'll need to do our integral with respect
to y. Our cross sectional area will be a function of y will integrate d y and our bounds of integration will have to be Y values, our formulas will look pretty much the same. We'll just have to calculate our Radia and bounds of integration in terms of y instead of x. As our first example, let's consider the region bounded by the curve y equals a cube root of x, the x axis and the line x equals eight. We want to find the volume of the solid of revolution found by rotating this region around the x axis. or cross sections here are going to be discs. And these discs are thin in the extraction. So we're going to be integrating dx, our smallest x value is zero, and our largest is eight. So those are our bounds of integration. And we want to integrate pi times the radius squared dx. Now the radius of our disks is given by the y coordinate on this curve. So we can write r is equal
to y, which is equal to the cube root of x according to our equation. So we can rewrite the volume as the integral from zero to eight of pi times the cube root of x squared dx, I can pull out the PI and rewrite this integral using exponents and integrate and then evaluate using bounds of integration to get three fifths pi times eight to the five thirds minus zero. Now, eight to the five thirds means eight to the 1/3 raised to the fifth power, eight to the 1/3 is two and two to the fifth is 32. So this expression simplifies to three fifths pi times 32, or 96/5 A disc here means the inside of a circle. The figure on the right is different because it's hollow inside. And when we slice it by planes perpendicular to the x axis, we get cross sections that are shaped like washers. A washer here means the region in between two concentric circles. So for solids of revolution, the cross sections can have the shape of a
disk, or the shape of a washer. The area of a disk is given by the familiar formula, pi r squared, where r is the radius. And the area of a washer can be written as pi times r outer squared minus pi times our inner squared, where our outer is the radius of the big circle, and our inner is the radius of the little circle. This formula works because the area of the washer is just the area of the larger circle minus the area of the inside smaller circle. Now we know that the volume of any solid that can be sliced into cross sections using planes perpendicular to the x axis is given by v is the integral from x equals a to x equals B of the area of the cross section at point x, integrated dx. If our cross sections are disks, this formula becomes the integral of pi r squared dx, where the radius R is a function of x. If instead, the cross sections look like washers, then the volume formula
becomes the integral of pi r outer squared minus pi r inner squared dx. Again, our outer and our inner are functions of x here. These formulas work when they solid a revolution is formed by rotating a region around the x axis or any horizontal line. When we rotate around a horizontal line, then our cross sectional discs or washers are perpendicular to the x axis and are thin in the x direction. So it makes sense to integrate dx. If instead, we want to rotate around the y axis or a vertical line, then our disk or wash our cross sections are going to be perpendicular to the y axis and are going to be thin in the y direction. So when rotating around the y axis or a vertical line, we'll need to do our integral with respect to y. Our cross sectional area will be a function of y will integrate d y and our bounds of integration will have to be Y values, our formulas will
look pretty much the same. We'll just have to calculate our Radia and bounds of integration in terms of y instead of x. As our first example, let's consider the region bounded by the curve y equals a cube root of x, the x axis and the line x equals eight. We want to find the volume of the solid of revolution found by rotating this region around the x axis. or cross sections here are going to be discs. And these discs are thin in the extraction. So we're going to be integrating dx, our smallest x value is zero, and our largest is eight. So those are our bounds of integration. And we want to integrate pi times the radius squared dx. Now the radius of our disks is given by the y coordinate on this curve. So we can write r is equal to y, which is equal to the cube root of x according to our equation. So we can rewrite the volume as the integral from zero to eight of pi times the cube root
of x squared dx, I can pull out the PI and rewrite this integral using exponents and integrate and then evaluate using bounds of integration to get three fifths pi times eight to the five thirds minus zero. Now, eight to the five thirds means eight to the 1/3 raised to the fifth power, eight to the 1/3 is two and two to the fifth is 32. So this expression simplifies to three fifths pi times 32, or 96/5 pie. pie. As our next example, let's consider the region in the first quadrant bounded by two curves, the curve y equals the cube root of x and y equals 1/4 times x. We'll start by rotating this region around the x axis to get this sort of hollow base shape. Notice that our cross sections this time are shaped like washers, where the outer circle of the washer is swept out by the curve y equals cube root of x, and the inner circle is swept out by the curve
y equals 1/4 X. We know our volume is given by the integral of pi times our outer squared minus pi times our inner squared. And since our washers are thin in the x direction, we know we'll need to integrate dx, our bounds of integration are just our lowest x value of zero, and our largest x value, which is where these two curves intersect, which is an x value of eight. We can confirm that the two curves intersect when x equals eight by setting them equal to each other. And solving for x, dividing both sides by x to the 1/3. And multiplying both sides by four gives us four equals x to the two thirds. And raising both sides to the three halves power gives us x equals four to three halves, or x equals eight. As our next example, let's consider the region in the first quadrant bounded by two curves, the curve y equals the cube root of x and y equals 1/4 times x. We'll start by rotating
this region around the x axis to get this sort of hollow base shape. Notice that our cross sections this time are shaped like washers, where the outer circle of the washer is swept out by the curve y equals cube root of x, and the inner circle is swept out by the curve y equals 1/4 X. We know our volume is given by the integral of pi times our outer squared minus pi times our inner squared. And since our washers are thin in the x direction, we know we'll need to integrate dx, our bounds of integration are just our lowest x value of zero, and our largest x value, which is where these two curves intersect, which is an x value of eight. We can confirm that the two curves intersect when x equals eight by setting them equal to each other. And solving for x, dividing both sides by x to the 1/3. And multiplying both sides by four gives us four equals x to the two thirds. And raising
both sides to the three halves power gives us x equals four to three halves, or x equals eight. This confirms we have the correct bound of integration here. Now we need to figure out a formula for the outer radius as a function of x and a formula for the inner radius. Also, This confirms we have the correct bound of integration here. Now we need to figure out a formula for the outer radius as a function of x and a formula for the inner radius. Also, since the outer circle is swept out by the curve y equals cube root of x, the outer radius is just given by the y coordinate of this curve as a function of x, that's the cube root of x. Now the inner radius is given by the y coordinate of this line, and the y coordinate of this line as a function of x is 1/4 x. So we set up an equation for the volume of our solid and I routine computation gives us a volume of 128 fifteenth's times pi. Now
let's switch gears and rotate this region around the y axis instead. Our cross sections are still washers, but this time the washers are thin in the y direction. So we're going to be integrating with respect to y. Our bounds of integration are also y values and start at the minimum y value of zero and the maximum Y value of two, that corresponds to this intersection, where x equals eight, and y, which is the cube root of x, or 1/4 times x is then equal to two. For this problem, we need our our outer and our inner to the functions of y. From the picture, we see that our outer is actually the x coordinate on this line. The line has the equation y equals 1/4 x. And so x is equal to four y. So that gives us our outer as a function of y. defined our inner, we can do the same sort of thing using the x coordinate of the curve, y equals cube root of x. But writing that x coordinate in
terms of y, we have y equals the cube root of x means that x is equal to y cubed. And so our inner is equal to y cubed as a function of y. putting this all together, we have an equation for volume. We can simplify this and integrate to get an answer of 512 pi over 21. In this video, we calculated the volumes of solids of revolution, using the disk and the washer methods, and the following formulas. One way to calculate the volume of a loaf of bread is to slice it into slices, and calculate the volume of each slice separately. That's the idea to keep in mind as we cover this topic, on volumes using cross sections. A lot of three dimensional objects are kind of like loaves of bread, and can be naturally sliced into slabs or slices like this. Let's suppose we've sliced our object into n slabs, we'll call them s one s two through sn in this picture, and is seven, here's s one,
here's s two, here's s3, and so on, we'll assume we've sliced in such a way that each slice is the same thickness, we'll call that thickness delta x. Well, the volume of the solid is just the sum of the volumes of the slices. And sigma notation, we can write this as the sum from i equals one to n, the number of slabs volume of s by the I slab. Now the volume of the slab is approximately its cross sectional area times its width. By cross sectional area of the slab, I mean the area of the front or the back part of the slice, where you might spread peanut butter. Well, now, as you've noticed from making peanut butter sandwiches, the area of the front of the slice might be slightly different from the area of the back of the slice. So what we'll do is for each interval, I, each slab will just pick a sample point x vystar, that's in that I've interval, it could be on the left endpoint, or it could
be on the right endpoint, or it could be in the middle somewhere. And we'll just look at the cross sectional area, I'll call it a at x, y star that represents the area if I were to go karate chop right at that x y star and figure out the cross sectional area at that point. since the outer circle is swept out by the curve y equals cube root of x, the outer radius is just given by the y coordinate of this curve as a function of x, that's the cube root of x. Now the inner radius is given by the y coordinate of this line, and the y coordinate of this line as a function of x is 1/4 x. So we set up an equation for the volume of our solid and I routine computation gives us a volume of 128 fifteenth's times pi. Now let's switch gears and rotate this region around the y axis instead. Our cross sections are still washers, but this time the washers are thin in the y direction. So we're going
to be integrating with respect to y. Our bounds of integration are also y values and start at the minimum y value of zero and the maximum Y value of two, that corresponds to this intersection, where x equals eight, and y, which is the cube root of x, or 1/4 times x is then equal to two. For this problem, we need our our outer and our inner to the functions of y. From the picture, we see that our outer is actually the x coordinate on this line. The line has the equation y equals 1/4 x. And so x is equal to four y. So that gives us our outer as a function of y. defined our inner, we can do the same sort of thing using the x coordinate of the curve, y equals cube root of x. But writing that x coordinate in terms of y, we have y equals the cube root of x means that x is equal to y cubed. And so our inner is equal to y cubed as a function of y. putting this all together, we have an
equation for volume. We can simplify this and integrate to get an answer of 512 pi over 21. In this video, we calculated the volumes of solids of revolution, using the disk and the washer methods, and the following formulas. One way to calculate the volume of a loaf of bread is to slice it into slices, and calculate the volume of each slice separately. That's the idea to keep in mind as we cover this topic, on volumes using cross sections. A lot of three dimensional objects are kind of like loaves of bread, and can be naturally sliced into slabs or slices like this. Let's suppose we've sliced our object into n slabs, we'll call them s one s two through sn in this picture, and is seven, here's s one, here's s two, here's s3, and so on, we'll assume we've sliced in such a way that each slice is the same thickness, we'll call that thickness delta x. Well, the volume of the
solid is just the sum of the volumes of the slices. And sigma notation, we can write this as the sum from i equals one to n, the number of slabs volume of s by the I slab. Now the volume of the slab is approximately its cross sectional area times its width. By cross sectional area of the slab, I mean the area of the front or the back part of the slice, where you might spread peanut butter. Well, now, as you've noticed from making peanut butter sandwiches, the area of the front of the slice might be slightly different from the area of the back of the slice. So what we'll do is for each interval, I, each slab will just pick a sample point x vystar, that's in that I've interval, it could be on the left endpoint, or it could be on the right endpoint, or it could be in the middle somewhere. And we'll just look at the cross sectional area, I'll call it a at x, y star that represents the area if
I were to go karate chop right at that x y star and figure out the cross sectional area at that point. Now we can go back and write our volume as the cross sectional area at x star times delta x the thickness of the slice. Now this is just an approximation of volume, because this expression here gives you the volume as if the slices are very regular, and have the same area from one side to the other. But it's a good approximation if the slices are thin. And in fact, we can calculate the exact volume by taking the limit as the slices get thinner and thinner. Or in other words, as the number of slices goes to infinity. What we have here is the limit of a Riemann sum. And therefore, we can rewrite it as an integral where the x i star becomes our variable x and the delta x becomes r dx. For the bounds of integration, we'll just use the abstract x values of a and b for a real problem. We
would fill these in based on In the context of the problem, this gives us an abstract expression for the volume of a three dimensional object. But in practice, in order to compute volumes like this, we'll first need a formula for a of x, the cross sectional area as a function of x. As an example, let's try to find the volume of a solid whose base is an ellipse given by this equation, and whose cross sections perpendicular to the x axis are squares. First, let me graph the base, it looks like an ellipse that's thinner in the extraction than in the y direction. So something like this. Now sitting above this base, are a bunch of squares. And the squares are oriented in such a way that they're perpendicular to the x axis. So they're oriented sort of like this, I'll try to draw a square here, that's supposed to be coming out of the picture here. And here's another square, again, coming
out of the picture. Here's a slightly better picture that I drew using Mathematica. It's tilted. So we're looking at it from below, where you can see the ellipse here. And you can see the square cross sections, the x axis is going in this direction, that's x and the y axis is in that direction. This picture is actually an approximation of the solid, where they're only about eight or 10 slices, each one's kind of sick and has the same area on the front and the back. better picture of the solid is this one. Here, the slices are infinitely thin, but they're still square shaped. And they're still oriented in such a way that they're perpendicular to the x axis. Now we know that volume is given by the integral from a to b of area as a function of x dx. On our lips, the minimum x value is negative two, and the maximum x value is two. So I can write those in for my bounds
of integration. Also, I know that the area of a square is just the side length squared. So I can write my cross sectional area as s of x squared, where s of x is the side length of the square as a function of x. Notice that for different x values, my side lengths are different. But my side length is always twice the y value twice the distance from the x axis to the y value on the ellipse. So I'll rewrite my formula as two times y as a function of x squared. I can simplify this a little bit as the integral of four times y of x squared, dx. Now all I need to do is find a formula for y as a function of x. And since I've got this equation up here, relating y and x, all I have to do is solve for y in terms of x. In fact, I can get by solving for y squared, since I've really got y squared in my formula. solving for y squared, I have y squared over nine is equal to one minus x squared over
four, which means that y squared is equal to nine times one minus x squared Now we can go back and write our volume as the cross sectional area at x star times delta x the thickness of the slice. Now this is just an approximation of volume, because this expression here gives you the volume as if the slices are very regular, and have the same area from one side to the other. But it's a good approximation if the slices are thin. And in fact, we can calculate the exact volume by taking the limit as the slices get thinner and thinner. Or in other words, as the number of slices goes to infinity. What we have here is the limit of a Riemann sum. And therefore, we can rewrite it as an integral where the x i star becomes our variable x and the delta x becomes r dx. For the bounds of integration, we'll just use the abstract x values of a and b for a real problem. We
would fill these in based on In the context of the problem, this gives us an abstract expression for the volume of a three dimensional object. But in practice, in order to compute volumes like this, we'll first need a formula for a of x, the cross sectional area as a function of x. As an example, let's try to find the volume of a solid whose base is an ellipse given by this equation, and whose cross sections perpendicular to the x axis are squares. First, let me graph the base, it looks like an ellipse that's thinner in the extraction than in the y direction. So something like this. Now sitting above this base, are a bunch of squares. And the squares are oriented in such a way that they're perpendicular to the x axis. So they're oriented sort of like this, I'll try to draw a square here, that's supposed to be coming out of the picture here. And here's another square, again, coming
out of the picture. Here's a slightly better picture that I drew using Mathematica. It's tilted. So we're looking at it from below, where you can see the ellipse here. And you can see the square cross sections, the x axis is going in this direction, that's x and the y axis is in that direction. This picture is actually an approximation of the solid, where they're only about eight or 10 slices, each one's kind of sick and has the same area on the front and the back. better picture of the solid is this one. Here, the slices are infinitely thin, but they're still square shaped. And they're still oriented in such a way that they're perpendicular to the x axis. Now we know that volume is given by the integral from a to b of area as a function of x dx. On our lips, the minimum x value is negative two, and the maximum x value is two. So I can write those in for my bounds
of integration. Also, I know that the area of a square is just the side length squared. So I can write my cross sectional area as s of x squared, where s of x is the side length of the square as a function of x. Notice that for different x values, my side lengths are different. But my side length is always twice the y value twice the distance from the x axis to the y value on the ellipse. So I'll rewrite my formula as two times y as a function of x squared. I can simplify this a little bit as the integral of four times y of x squared, dx. Now all I need to do is find a formula for y as a function of x. And since I've got this equation up here, relating y and x, all I have to do is solve for y in terms of x. In fact, I can get by solving for y squared, since I've really got y squared in my formula. solving for y squared, I have y squared over nine is equal to one minus x squared over
four, which means that y squared is equal to nine times one minus x squared over four. over four. Now I plug this into my volume equation. And I get the integral from negative two to four times nine, one minus x squared over four dx. I'll pull out the four times nine that's 36. and integrate. Plugging in values and simplifying, we get a final answer of 96. Now, how would this problem be different if we used cross sections that were perpendicular to the y axis instead of the x axis? Well, for one thing, our picture would look a little bit different. Since our squares would now be running in the other direction. Since our squares are now fin in the y direction, instead of the extraction, it makes sense to have the width of a slab B delta y, and to compute our volume as an integral with respect to y. Our bounds of integration now and they also need to be Y values. So they run from

Ask anything
We've read this whole study set, so questions about it get the best answers.