Google Classroom
GeoGebraGeoGebra Classroom

Definition of the Integral

In the previous activity we saw that as the number of samples increased, not only did our estimate of the car count become more accurate, but the estimate also converged towards the area under the function g(x). The intuitive conclusion we can draw is that the area under the function g(x) is the result of taking "infinitely many" samples, and is therefore the best estimate of car count between 6am and 4pm that we can obtain from the model. This observation gives significance to the area under the function g(x). Indeed, this concept of the area under a curve is the integral. Definition: The area between the graph of a function f(x) and the x-axis, and between the vertical lines x=a and x=b is called the integral of f(x) between x=a and x=b. Caveat: Any area below the x-axis will be counted as negative. The mathematical shorthand for the integral of f(x) between x=a and x=b is  Or sometimes the "x="s are omitted, and integrals are written as DO NOT concern yourself with the mysterious "dx". We'll discuss that later. For now, your best bet is to think of the above expression as shorthand for "the integral of f(x) from x=a to x=b." The "dx" is silent, if you will. The applet below helps you visualize the definition of the integral for the function f(x)=x^3-6x^2+9x+2, which we saw earlier in a lesson about maximizing and minimizing functions. You can click and drag a and b. As you change a and b, you'll notice the value of the integral changes. At the outset the integral is 8, but adjustments to a and b will of course impact area of the shaded region, and therefore will also impact the value integral. For instance when a and b are close together, the integral will be smaller because the shaded region is smaller. Another thing to try is sliding a to -2 and b to -1; the shaded region is now entirely below the x-axis, and so the integral becomes negative. This is the "caveat" in the definition above. We'll discuss these nuances and others in the next lesson.

Quick Check: Use the applet to calculate

Before we get into nuances, let's take a look back at g(x), the model of the rate of traffic along Route 15 in Johnson Vermont. This applet helps you visualize both the integral of the function g(x) (maroon) and rectangle estimate (green) with Samples set to 5. On the left is the sum of the areas of the rectangles which is only a rough estimate of the car count on Route 15. On the right is the integral of g(x) from x=StartTime to x=FinishTime which is model's best estimate of the car count on Route 15. As noted earlier, you can think of the integral of g(x) as if we took an infinite number of samples of g(x) between x=StartTime and x=FinishTime . You can now also adjust StartTime and FinishTime to explore the consequences. For instance, if you put the two close together, the car count (which is the integral) will of course decrease because fewer cars roll along in a shorter period of time. So long as StartTime is before FinishTime, this integral will always be positive because g(x) is always positive. This also makes sense because the rate of traffic on a highway can only ever be positive. Don't concern yourself with the oddity of if FinishTime is before StartTime just yet. That's for later. Keep it simple for now.

Use the applet above to calculate

Move forward to the next activity where we'll discuss a few of the finer points about integrals and the rectangle approximations we've been encountering.