Lesson Video: Area Between a Curve and a Line Mathematics

In this video, we will learn how to apply integration to find the area between the curve of a function and a horizontal or vertical straight line.

17:59

Video Transcript

In this video, we’ll look at an important application of integration to finding the area underneath the curve, by which we mean the area bounded by a curve, the π‘₯-axis, and two vertical lines π‘₯ equals π‘Ž and π‘₯ equals 𝑏. Finding areas below curves is a useful skill because it often has a practical application. For example, in the case of a velocity–time graph, the area below the curve gives the total distance traveled.

We’ll also see how this method can be adapted to find the area between the curve of a function in the form π‘₯ equals 𝑔 of 𝑦 and the 𝑦-axis. And we’ll then extend these techniques to finding the areas of regions enclosed by a curve and a straight line which is parallel to either the π‘₯- or 𝑦-axes.

It is also possible to use integration to find volumes of solids. And in fact, many of the formulae we already know for finding the volumes of three-dimensional solids, such as cones or spheres, can be proved using integration, although that’s beyond the scope of what we’ll consider here.

Let’s consider a simple example first of all, where the area we’re looking to find is actually bounded by a straight line rather than a curve. And the straight line has equation 𝑦 equals 𝑓 of π‘₯, with 𝑓 of π‘₯ equal to four π‘₯ plus seven. The area we’re looking to find is actually a trapezoid. So we can do this without using integration. The lengths of the two parallel sides of this trapezoid will be the values of the function 𝑓 evaluated at π‘Ž and 𝑏. Those are the two values of π‘₯ which bound this region. 𝑓 of π‘Ž is equal to four π‘Ž plus seven, and 𝑓 of 𝑏 is equal to four 𝑏 plus seven. The perpendicular height of this trapezoid will be the difference between the two π‘₯-values which bound this region. So it’s equal to 𝑏 minus π‘Ž.

To find the area of a trapezoid, we take half the sum of its parallel sides β€” so that’s four π‘Ž plus seven plus four 𝑏 plus seven all over two β€” and then multiply by the perpendicular height of the trapezoid β€” that’s 𝑏 minus π‘Ž. Simplifying gives two π‘Ž plus two 𝑏 plus seven multiplied by 𝑏 minus π‘Ž. And then we can distribute the parentheses, giving two π‘Žπ‘ minus two π‘Ž squared plus two 𝑏 squared minus two π‘Žπ‘ plus seven 𝑏 minus seven π‘Ž.

And now we see that the two π‘Žπ‘ and the negative two π‘Žπ‘ will cancel one another out, leaving just negative two π‘Ž squared plus two 𝑏 squared plus seven 𝑏 minus seven π‘Ž, which we can rewrite as two 𝑏 squared plus seven 𝑏 minus two π‘Ž squared plus seven π‘Ž. So we’ve been able to find the area. But what’s the link with integration?

Well, we notice that the antiderivative of our function 𝑓 of π‘₯ is two π‘₯ squared plus seven π‘₯ plus a constant of integration if necessary. So what we have is the antiderivative of our function 𝑓 of π‘₯ evaluated at 𝑏 minus the antiderivative evaluated at π‘Ž, which we can express as a definite integral. It’s equal to the integral from π‘Ž to 𝑏 of our function 𝑓 of π‘₯ with respect to π‘₯. This suggests then that, in order to find the area between a straight line and the π‘₯-axis bounded by the two vertical lines π‘₯ equals π‘Ž and π‘₯ equals 𝑏, we can just integrate the equation of the function between these limits and evaluate. We’ve seen this work for one example of a straight line. But how do we know it’ll also work when the function 𝑓 of π‘₯ is a curve?

Well, let’s now suppose we’re looking to find this new area which is bounded by the curve 𝑦 equals 𝑓 of π‘₯, the π‘₯-axis, and the two vertical lines π‘₯ equals π‘Ž and π‘₯ equals 𝑏. Rather than attempting to find the whole area to begin with, let’s consider instead taking just a very small slice of this area, with a width of Ξ”π‘₯, Ξ”π‘₯ meaning a very small change in π‘₯. This portion of the area can be approximated by a rectangle with a width of Ξ”π‘₯ and a height of 𝑓 of π‘₯.

To find the area of a rectangle, we multiply its two dimensions together. So this area is approximately equal to 𝑓 of π‘₯ multiplied by Ξ”π‘₯. If we then took a large number of such slices, each of width Ξ”π‘₯, the total area could be approximated by the sum from π‘₯ equals π‘Ž to π‘₯ equals 𝑏 of 𝑓 of π‘₯ multiplied by Ξ”π‘₯. In order to improve our approximation, we have to take a larger number of slices so that their width becomes smaller and smaller.

In order to make our approximation into an exact answer, we have to make these rectangles infinitely thin. And so the exact area is equal to the limit as Ξ”π‘₯ tends to zero of this sum. Now if you’re familiar with using Ξ”π‘₯ notation when you first learned about differentiation, you’ll know that as Ξ”π‘₯ approaches zero, we use the notation dπ‘₯ to represent its limit. We use an integral sign to represent this infinite sum of the areas of infinitely thin rectangles.

And so we have that the area is equal to the integral from π‘₯ equals π‘Ž to π‘₯ equals 𝑏 of 𝑓 of π‘₯ dπ‘₯. The symbol we use to represent an integral is in fact an elongated S shape. And in fact, was originally just an S standing for β€œsum” to represent the fact that we are taking the sum of an infinite number of infinitely thin slices. We see then that, just as in our example with a straight line, we can find the area bounded by a curve, the π‘₯-axis, and the two vertical lines π‘₯ equals π‘Ž and π‘₯ equals 𝑏 by evaluating the definite integral of the function 𝑓 of π‘₯ between these two π‘₯-values. Let’s now have a look at some examples.

Let 𝑓 of π‘₯ equal two π‘₯ squared plus three. Determine the area bounded by the curve 𝑦 equals 𝑓 of π‘₯, the π‘₯-axis, and the two lines π‘₯ equals negative one and π‘₯ equals five.

Let’s begin with a sketch of the region whose area we’re looking to calculate. It’s bounded by a quadratic curve with a positive leading coefficient and a 𝑦-intercept of three. It’s also bounded by the two vertical lines π‘₯ equals negative one and π‘₯ equals five and the π‘₯-axis. So it’s this area here that we’re looking to find.

We recall that the area bounded by the curve 𝑦 equals 𝑓 of π‘₯, the π‘₯-axis, and the two vertical lines π‘₯ equals π‘Ž and π‘₯ equals 𝑏 can be found by evaluating the definite integral from π‘Ž to 𝑏 of 𝑓 of π‘₯ with respect to π‘₯. Our function 𝑓 of π‘₯ is two π‘₯ squared plus three. The lower limit for our integral, the value of π‘Ž, is the lower value of π‘₯. That’s negative one. And the upper limit, the value of 𝑏, is the upper limit of π‘₯. That’s five. So the area we’re looking for is equal to the integral from negative one to five of two π‘₯ squared plus three with respect to π‘₯.

We recall that, in order to integrate powers of π‘₯ not equal to negative one, we increase the power by one and then divide by the new power. So the integral of two π‘₯ squared is two π‘₯ cubed over three, and the integral of three is three π‘₯. We have then that the area is equal to two π‘₯ cubed over three plus three π‘₯ evaluated between negative one and five.

Remember, there’s no need for a constant of integration here, as this is a definite integral. We then substitute the limits, giving two multiplied by five cubed over three plus three multiplied by five minus two multiplied by negative one cubed over three plus three multiplied by negative one. That’s 250 over three plus 15 minus negative two-thirds minus three. That simplifies to 102. And so we can say that the area of the region bounded by the curve 𝑦 equals 𝑓 of π‘₯, the π‘₯-axis, and the two lines π‘₯ equals negative one and π‘₯ equals five found by evaluating the definite integral of our function 𝑓 of π‘₯ between the limits of negative one and five is 102 square units.

In our next example, we’ll see what happens when the area we’re trying to find lies below the π‘₯-axis.

The curve shown is 𝑦 equals one over π‘₯. What is the area of the shaded region? Give an exact answer.

Now we recall that the area of the region bounded by the curve 𝑦 equals 𝑓 of π‘₯, the lines π‘₯ equals π‘Ž and π‘₯ equals 𝑏, and the π‘₯-axis is given by the integral from π‘Ž to 𝑏 of 𝑓 of π‘₯ with respect to π‘₯. In this case, we’re told that the function 𝑓 of π‘₯ is one over π‘₯. And from the graph, we can see that the values of the limits for this integral are negative one for the lower limit and negative one-third for the upper limit. So we have the definite integral from negative one to negative one-third of one over π‘₯ with respect to π‘₯.

We then recall that the integral of one over π‘₯ with respect to π‘₯ is equal to the natural logarithm of the absolute value of π‘₯ plus the constant of integration. And that absolute value is really clear here because the two values for our limits are both negative. And we recall that the natural logarithm of a negative value is undefined. So we must make sure we include those absolute value signs.

So we’re taking the natural logarithm of a positive value. We don’t need the constant of integration 𝑐 here as we’re performing a definite integral. Substituting the limits gives the natural logarithm of the absolute value of negative one-third minus the natural logarithm of the absolute value of negative one. That’s the natural logarithm of one-third minus the natural logarithm of one. And at this point, we can recall that the natural logarithm of one is just zero. So our answer has simplified to the natural logarithm of one-third.

Now this may not be immediately obvious to you. But in fact, the natural logarithm of one-third is a negative value. We can see this if we recall one of our laws of logarithms, which is that the logarithm of π‘Ž over 𝑏 is equal to the logarithm of π‘Ž minus the logarithm of 𝑏. And so the natural logarithm of one-third is the natural logarithm of one minus the natural logarithm of three. And again, we recall that the natural logarithm of one is equal to zero. So our answer appears to be that this area is equal to negative the natural logarithm of three.

This doesn’t really make sense though as areas should be positive. What we see then is that when we use integration to evaluate an area below the π‘₯-axis, we will get a negative result. This doesn’t mean though that the area itself is negative. The negative sign is just signifying to us that the area is below the π‘₯-axis.

Really then, what we should’ve done is include absolute value signs around our integral sign at the beginning. And what this means is that although the value of the integral is negative, the natural logarithm of three, the value of the area is the absolute value of this. So that’s just the natural logarithm of three. The integral is negative to signify that the area is below the π‘₯-axis. But the area itself is positive. So our answer to the question, and it is an exact answer, is that this area is equal to the natural logarithm of three.

Now this does have important implications in cases where the area we’re looking to find is split into regions which are above and regions which are below the π‘₯-axis. In such a case, we need to split our integral up into different parts using the linearity of integration and evaluate each integral separately and then add their absolute values together. In our next example, we’ll look at how we can find the area between a curve given in the form π‘₯ equals 𝑔 of 𝑦 and the 𝑦-axis.

Find the area enclosed by the graph of π‘₯ equals nine minus 𝑦 squared, the 𝑦-axis, and the lines 𝑦 equals negative three and 𝑦 equals three.

We notice that, in this example, the area we’ve been asked to find is enclosed by a curve with the equation π‘₯ equals some function of 𝑦. The area is also bounded by the 𝑦-axis rather than the π‘₯-axis and two lines with equations of the form 𝑦 equals some constant, which are horizontal rather than vertical lines.

Now we could repeat the process from first principles to see how we can use integration to find this area, rather than an area bounded by a curve in the form 𝑦 equals 𝑓 of π‘₯ and the π‘₯-axis. But actually, it is as simple as swapping π‘₯ and 𝑦 around. In order to find the area enclosed by a curve in the form π‘₯ equals 𝑔 of 𝑦, the 𝑦-axis, and the two horizontal lines 𝑦 equals 𝑐 and 𝑦 equals 𝑑, we evaluate the definite integral from 𝑐 to 𝑑 of 𝑔 of 𝑦 with respect to 𝑦.

In this case then, we’re evaluating the definite integral from negative three to three of nine minus 𝑦 squared d𝑦. Notice that everything in the integral is in terms of 𝑦, not π‘₯. To integrate powers of 𝑦 not equal to negative one, we increase the power by one and divide by the new power, giving nine 𝑦 minus 𝑦 cubed over three evaluated between negative three and three. We then substitute our limits, giving nine multiplied by three minus three cubed over three minus nine multiplied by negative three minus negative three cubed over three. That’s 27 minus nine minus negative 27 plus nine, which is equal to 36.

So we find that the given area is 36 square units. And in this problem, we’ve seen that, in order to find an area enclosed by the graph of π‘₯ equals some function of 𝑦, the 𝑦-axis, and two horizontal lines, we can just perform a definite integral with everything in terms of 𝑦 rather than everything in terms of π‘₯. Notice also that, in this question, we weren’t concerned that some of the area lay below the π‘₯-axis as this time we were integrating with respect to 𝑦. And all of the area lay on the same side of the 𝑦-axis.

Now it may also be the case that, in other types of questions, we’re asked to find an area between a curve and the 𝑦-axis. But the equation of the curve is given in the form 𝑦 equals 𝑓 of π‘₯ rather than π‘₯ equals 𝑔 of 𝑦. In this case, we’d need to rearrange the equation to give an equation that’s in the form π‘₯ equals 𝑔 of 𝑦. And we need to make sure that any limits we were given were converted from limits in π‘₯ to limits in 𝑦 if necessary. It is, however, beyond the scope of this video to consider this in detail here. In our final example, we’ll see how to find the area of a region where none of the lines enclosing it are the π‘₯- or 𝑦-axis.

Find the area of the shaded region.

Let’s use the given figure to first determine the equations of each of the lines that bound this region. First, we have the curve 𝑦 equals three π‘₯ squared plus four π‘₯ minus two. We also have the vertical lines π‘₯ equals one and π‘₯ equals two. But rather than our region being bounded by the π‘₯- or 𝑦-axis, the final line which bounds this region is the line 𝑦 equals five.

Now if we were just looking to find the area bounded by the quadratic graph, the lines π‘₯ equals one and π‘₯ equals two on the π‘₯-axis, we could evaluate the definite integral from one to two of three π‘₯ squared plus four π‘₯ minus two with respect to π‘₯. Notice though that this would include the area of the rectangle below the line 𝑦 equals five. And so to find the area of just the pink region, we’d need to subtract the area of this rectangle from our integral.

The area of this rectangle isn’t tricky to find. It has a vertical height of five units and a width of one unit. That’s two minus one. So its area is just five multiplied by one, or five. This then gives us one method that we can use. We evaluate the definite integral to find the area all the way down to the π‘₯-axis and then subtract the area of the orange rectangle. Working through the integral would give an answer of six square units.

But there is actually another way that we could answer this question. The area below the line 𝑦 equals five can also be found using integration. It’s equal to the integral from one to two of five with respect to π‘₯. And using the linear property of integration, we could then express this as a single integral. If you were to form this integral, it would give the same result.

This also gives us a clue as to how we could find definite integrals enclosed by a curve and a diagonal line, or even two curves, although that is beyond the scope of this video.

In this video, we’ve seen that the area bounded by the curve 𝑦 equals 𝑓 of π‘₯, the lines π‘₯ equals π‘Ž, π‘₯ equals 𝑏, and the π‘₯-axis can be found by evaluating the definite interval from π‘Ž to 𝑏 of 𝑓 of π‘₯ with respect to π‘₯. We also saw that we need to take the absolute value of this integral if the area is below the π‘₯-axis. We also saw that a very similar result can be applied when the region is bounded by the 𝑦-axis and the function of the form π‘₯ equals 𝑔 of 𝑦.

And finally, we saw that if the region is bounded by a horizontal or vertical line other than the π‘₯- or 𝑦-axis, we can subtract the equation of this line from the equation of the curve prior to evaluating the definite integral.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.