Skip to main content

Section 5.2 The Definite Integral

Learning Objectives.

  • State the definition of the definite integral.

  • Explain the terms integrand, limits of integration, and variable of integration.

  • Explain when a function is integrable.

  • Describe the relationship between the definite integral and net area.

  • Use geometry and the properties of definite integrals to evaluate them.

  • Calculate the average value of a function.

In the preceding section we defined the area under a curve in terms of Riemann sums:

\begin{equation*} A=\lim_{n\to \infty }\displaystyle{\sum_{i=1}^n f(x_i^* )\Delta x} . \end{equation*}

However, this definition came with restrictions. We required \(f(x)\) to be continuous and nonnegative. Unfortunately, real-world problems don’t always meet these restrictions. In this section, we look at how to apply the concept of the area under the curve to a broader set of functions through the use of the definite integral.

Subsection 5.2.1 Definition and Notation

The definite integral generalizes the concept of the area under a curve. We lift the requirements that \(f(x)\) be continuous and nonnegative, and define the definite integral as follows.

Definition 5.26.

If \(f(x)\) is a function defined on an interval \([a,b],\) the definite integral of \(f\) from \(a\) to \(b\) is given by

\begin{equation*} \displaystyle{\int_{a}^{b} f(x)dx} = \displaystyle{ \lim_{n \to \infty} }\displaystyle{\sum_{i=1}^n f(x_i^* )\Delta x} , \end{equation*}

provided the limit exists. If this limit exists, the function \(f(x)\) is said to be integrable on \([a,b],\) or is an integrable function.

The integral symbol in the previous definition should look familiar. We have seen similar notation in the chapter on Applications of Derivatives 4, where we used the indefinite integral symbol (without the \(a\) and \(b\) above and below) to represent an antiderivative. Although the notation for indefinite integrals may look similar to the notation for a definite integral, they are not the same. A definite integral is a number. An indefinite integral is a family of functions. Later in this chapter we examine how these concepts are related. However, close attention should always be paid to notation so we know whether we’re working with a definite integral or an indefinite integral.

Integral notation goes back to the late seventeenth century and is one of the contributions of Gottfried Wilhelm Leibniz, who is often considered to be the codiscoverer of calculus, along with Isaac Newton. The integration symbol \(\int\) is an elongated S, suggesting sigma or summation. On a definite integral, above and below the summation symbol are the boundaries of the interval, \([a,b].\) The numbers \(a\) and \(b\) are \(x\)-values and are called the limits of integration; specifically, \(a\) is the lower limit and \(b\) is the upper limit. To clarify, we are using the word limit in two different ways in the context of the definite integral. First, we talk about the limit of a sum as \(n\to \infty .\) Second, the boundaries of the region are called the limits of integration.

We call the function \(f(x)\) the integrand, and the dx indicates that \(f(x)\) is a function with respect to \(x\text{,}\) called the variable of integration. Note that, like the index in a sum, the variable of integration is a dummy variable, and has no impact on the computation of the integral. We could use any variable we like as the variable of integration:

\begin{equation*} \displaystyle{\int_{a}^{b} f(x)dx} =\displaystyle{\int_{a}^{b} f(t)dt} =\displaystyle{\int_{a}^{b} f(u)du} \end{equation*}

Previously, we discussed the fact that if \(f(x)\) is continuous on \([a,b],\) then the limit \(\lim_{n\to \infty }\displaystyle{\sum_{i=1}^n f(x_i^* )\Delta x} \) exists and is unique. This leads to the following theorem, which we state without proof.

Functions that are not continuous on \([a,b]\) may still be integrable, depending on the nature of the discontinuities. For example, functions with a finite number of jump discontinuities on a closed interval are integrable.

It is also worth noting here that we have retained the use of a regular partition in the Riemann sums. This restriction is not strictly necessary. Any partition can be used to form a Riemann sum. However, if a nonregular partition is used to define the definite integral, it is not sufficient to take the limit as the number of subintervals goes to infinity. Instead, we must take the limit as the width of the largest subinterval goes to zero. This introduces a little more complex notation in our limits and makes the calculations more difficult without really gaining much additional insight, so we stick with regular partitions for the Riemann sums.

Subsection 5.2.2 Evaluating Definite Integrals

Evaluating definite integrals this way can be quite tedious because of the complexity of the calculations. Later in this chapter we develop techniques for evaluating definite integrals without taking limits of Riemann sums. However, for now, we can rely on the fact that definite integrals represent the area under the curve, and we can evaluate definite integrals by using geometric formulas to calculate that area. We do this to confirm that definite integrals do, indeed, represent areas, so we can then discuss what to do in the case of a curve of a function dropping below the \(x\)-axis.

Example 5.28. Using Geometric Formulas to Calculate Definite Integrals.

Use the formula for the area of a circle to evaluate \(\displaystyle{\int_{3}^{6} \sqrt{9-(x-3)^2}dx} .\)

Solution.

The function describes a semicircle with radius 3. To find

\begin{equation*} \displaystyle{\int_{3}^{6} \sqrt{9-(x-3)^2 }dx} , \end{equation*}

we want to find the area under the curve over the interval \([3,6].\) The formula for the area of a circle is \(A=\pi r^2.\) The area of a semicircle is just one-half the area of a circle, or \(A=(\frac{1}{2})\pi r^2.\) The shaded area in Figure 5.29 covers one-half of the semicircle, or \(A=(\frac{1}{4})\pi r^2.\) Thus,

\begin{align*} \int_{3}^{6}\sqrt{9- (x-3)^2 }\amp =\frac{1}{4}\pi (3)^2 \\ \amp =\frac{9}{4}\pi\\ \approx 7.069. \end{align*}
"A graph of a semi circle in quadrant one over the interval [0,6] with center at (3,0). The area under the curve over the interval [3,6] is shaded in blue."
Figure 5.29. The value of the integral of the function \(f(x)\) over the interval \([3,6]\) is the area of the shaded region.

Checkpoint 5.30.

Use the formula for the area of a trapezoid to evaluate \(\displaystyle{\int_{2}^{4} (2x+3)dx} .\)

Hint.

Graph the function \(f(x)\) and calculate the area under the function on the interval \([2,4].\)

Solution.

18 square units

Subsection 5.2.3 Area and the Definite Integral

When we defined the definite integral, we lifted the requirement that \(f(x)\) be nonnegative. But how do we interpret “the area under the curve” when \(f(x)\) is negative?

Subsubsection 5.2.3.1 Net Signed Area

Let us return to the Riemann sum. Consider, for example, the function \(f(x)=2-2x^2\) (shown in Figure 5.31) on the interval \([0,2].\) Use \(n=8\) and choose \({x_i^* \text{ } }\) as the left endpoint of each interval. Construct a rectangle on each subinterval of height \(f(x_i^* )\) and width Δ\(x\text{.}\) When \(f(x_i^* )\) is positive, the product \(f(x_i^* )\Delta x\) represents the area of the rectangle, as before. When \(f(x_i^* )\) is negative, however, the product \(f(x_i^* )\Delta x\) represents the negative of the area of the rectangle. The Riemann sum then becomes

\begin{equation*} \displaystyle{\sum_{i=1}^{8}f(x_i^* )\Delta x} =(\text{ Area of rectangles above the } x\text{ -axis })-(\text{ Area of rectangles below the } x\text{ -axis }) \end{equation*}
"A graph of a downward opening parabola over [-1, 2] with vertex at (0,2) and x-intercepts at (-1,0) and (1,0). Eight rectangles are drawn evenly over [0,2] with heights determined by the value of the function at the left endpoints of each."
Figure 5.31. For a function that is partly negative, the Riemann sum is the area of the rectangles above the \(x\)-axis less the area of the rectangles below the \(x\)-axis.

Taking the limit as \(n\to \infty ,\) the Riemann sum approaches the area between the curve above the \(x\)-axis and the \(x\)-axis, less the area between the curve below the \(x\)-axis and the \(x\)-axis, as shown in Figure 5.32. Then,

\begin{align*} \displaystyle{\int_{0}^{2} f(x)dx} \amp =\lim_{n\to \infty }\displaystyle{\sum_{i=1}^n f(c_i)\Delta x} \\ \amp =A_1-A_2. \end{align*}

The quantity \(A_1-A_2\) is called the net signed area.

"A graph of a downward opening parabola over [-2, 2] with vertex at (0,2) and x-intercepts at (-1,0) and (1,0). The area in quadrant one under the curve is shaded blue and labeled A1. The area in quadrant four above the curve and to the left of x=2 is shaded blue and labeled A2."
Figure 5.32. In the limit, the definite integral equals area \(A_{1}\) less area \(A_{2}\) , or the net signed area.

Notice that net signed area can be positive, negative, or zero. If the area above the \(x\)-axis is larger, the net signed area is positive. If the area below the \(x\)-axis is larger, the net signed area is negative. If the areas above and below the \(x\)-axis are equal, the net signed area is zero.

Example 5.33. Finding the Net Signed Area.

Find the net signed area between the curve of the function \(f(x)=2x\) and the \(x\)-axis over the interval \([-3,3].\)

Solution.

The function produces a straight line that forms two triangles: one from \(x=-3\) to \(x=0\) and the other from \(x=0\) to \(x=3\) (Figure 5.34). Using the geometric formula for the area of a triangle, \(A=\frac{1}{2}bh,\) the area of triangle \(A_{1}\) , above the axis, is

\begin{equation*} A_1=\frac{1}{2}3(6)=9, \end{equation*}

where 3 is the base and \(2(3)=6\) is the height. The area of triangle \(A_{2}\) , below the axis, is

\begin{equation*} A_2=\frac{1}{2}(3)}{(6)=9, \end{equation*}

where 3 is the base and 6 is the height. Thus, the net area is

\begin{equation*} \displaystyle{\int_{-3}^{3}2xdx} =A_1-A_2=9-9=0. \end{equation*}
"A graph of an increasing line over [-6, 6] going through the origin and (-3, -6) and (3,6). The area under the line in quadrant one over [0,3] is shaded blue and labeled A1, and the area above the line in quadrant three over [-3,0] is shaded blue and labeled A2."
Figure 5.34. The area above the curve and below the \(x\)-axis equals the area below the curve and above the \(x\)-axis.

Analysis

If \(A_{1}\) is the area above the \(x\)-axis and \(A_{2}\) is the area below the \(x\)-axis, then the net area is \(A_1-A_2.\) Since the areas of the two triangles are equal, the net area is zero.

Checkpoint 5.35.

Find the net signed area of \(f(x)=x-2\) over the interval \([0,6],\) illustrated in the following image.

"A graph of an increasing line going through (-2,-4), (0,-2), (2,0), (4,2) and (6,4). The area above the curve in quadrant four is shaded blue and labeled A2, and the area under the curve and to the left of x=6 in quadrant one is shaded and labeled A1."
Hint.

Use the solving method described in Example 5.33.

Solution.

6

Subsubsection 5.2.3.2 Total Area

One application of the definite integral is finding displacement when given a velocity function. If \(v(t)\) represents the velocity of an object as a function of time, then the area under the curve tells us how far the object is from its original position. This is a very important application of the definite integral, and we examine it in more detail later in the chapter. For now, we’re just going to look at some basics to get a feel for how this works by studying constant velocities.

When velocity is a constant, the area under the curve is just velocity times time. This idea is already very familiar. If a car travels away from its starting position in a straight line at a speed of 75 mph for 2 hours, then it is 150 mi away from its original position (Figure 5.36). Using integral notation, we have

\begin{equation*} \displaystyle{\int_{0}^{2} 75dt} =150. \end{equation*}
"A graph in quadrant 1 with the x-axis labeled as t (hours) and y-axis labeled as v (mi/hr). The area under the line v(t) = 75 is shaded blue over [0,2]."
Figure 5.36. The area under the curve \(v(t)=75\) tells us how far the car is from its starting point at a given time.

In the context of displacement, net signed area allows us to take direction into account. If a car travels straight north at a speed of 60 mph for 2 hours, it is 120 mi north of its starting position. If the car then turns around and travels south at a speed of 40 mph for 3 hours, it will be back at it starting position (Figure 5.37). Again, using integral notation, we have

\begin{align*} \displaystyle{\int_{0}^{2} 60dt} +\displaystyle{\int_{2}^{5} -40dt} \amp =120-120\\ \amp =0. \end{align*}

In this case the displacement is zero.

"A graph in quadrants one and four with the x-axis labeled as t (hours) and the y axis labeled as v (mi/hr). The first part of the graph is the line v(t) = 60 over [0,2], and the area under the line in quadrant one is shaded. The second part of the graph is the line v(t) = -40 over [2,5], and the area above the line in quadrant four is shaded."
Figure 5.37. The area above the axis and the area below the axis are equal, so the net signed area is zero.

Suppose we want to know how far the car travels overall, regardless of direction. In this case, we want to know the area between the curve and the \(x\)-axis, regardless of whether that area is above or below the axis. This is called the total area.

Graphically, it is easiest to think of calculating total area by adding the areas above the axis and the areas below the axis (rather than subtracting the areas below the axis, as we did with net signed area). To accomplish this mathematically, we use the absolute value function. Thus, the total distance traveled by the car is

\begin{align*} \displaystyle{\int_{0}^{2} |60|dt} +\displaystyle{\int_{2}^{5} |-40|dt} \amp =\displaystyle{\int_{0}^{2} 60dt} +\displaystyle{\int_{2}^{5} 40dt} \\ \amp =120+120\\ \amp =240. \end{align*}

Bringing these ideas together formally, we state the following definitions.

Definition 5.38.

Let \(f(x)\) be an integrable function defined on an interval \([a,b].\) Let \(A_{1}\) represent the area between \(f(x)\) and the \(x\)-axis that lies above the axis and let \(A_{2}\) represent the area between \(f(x)\) and the \(x\)-axis that lies below the axis. Then, the net signed area between \(f(x)\) and the \(x\)-axis is given by

\begin{equation*} \displaystyle{\int_{a}^{b} f(x)dx} =A_1-A_2. \end{equation*}

The total area between \(f(x)\) and the \(x\)-axis is given by

\begin{equation*} \int_{a}^{b}|f(x)|dx=A_1+A_2. \end{equation*}
Example 5.39. Finding the Total Area.

Find the total area between \(f(x)=x-2\) and the \(x\)-axis over the interval \([0,6].\)

Solution.

Calculate the \(x\)-intercept as \((2,0)\) (set \(y=0,\) solve for \(x\)). To find the total area, take the area below the \(x\)-axis over the subinterval \([0,2]\) and add it to the area above the \(x\)-axis on the subinterval \([2,6]\) (Figure 5.40).

"A graph of a increasing line f(x) = x-2 going through the points (-2,-4), (0,2), (2,0), (4,2), and (6,4). The area under the line in quadrant one and to the left of the line x=6 is shaded and labeled A1. The area above the line in quadrant four is shaded and labeled A2."
Figure 5.40. The total area between the line and the x-axis over \([0,6]\) is \(A_{2}\) plus \(A_{1}\) .

We have

\begin{equation*} \displaystyle{\int_{0}^{6} |(x-2)|dx} =A_2+A_1. \end{equation*}

Then, using the formula for the area of a triangle, we obtain

\begin{equation*} A_2=\frac{1}{2}bh=\frac{1}{2}\cdot 2\cdot 2=2 \end{equation*}
\begin{equation*} A_1=\frac{1}{2}bh=\frac{1}{2}\cdot 4\cdot 4=8. \end{equation*}

The total area, then, is

\begin{equation*} A_1+A_2=8+2=10. \end{equation*}
Checkpoint 5.41.

Find the total area between the function \(f(x)=2x\) and the \(x\)-axis over the interval \([-3,3].\)

Hint.

Review the solving strategy in Example 5.39.

Solution.

18

Subsection 5.2.4 Properties of the Definite Integral

The properties of indefinite integrals apply to definite integrals as well. Definite integrals also have properties that relate to the limits of integration. These properties, along with the rules of integration that we examine later in this chapter, help us manipulate expressions to evaluate definite integrals.

Note 5.42. Rule: Properties of the Definite Integral.

  1. \begin{equation*} \displaystyle{\int_{a}^{a} f(x)dx=0} \end{equation*}
    If the limits of integration are the same, the integral is just a line and contains no area.

  2. \begin{equation*} \displaystyle{\int_{b}^{a} f(x)dx} =-\displaystyle{\int_{a}^{b} f(x)dx} \end{equation*}
    If the limits are reversed, then place a negative sign in front of the integral.

  3. \begin{equation*} \displaystyle{\int_{a}^{b} [f(x)+g(x)]dx} =\displaystyle{\int_{a}^{b} f(x)dx} +\displaystyle{\int_{a}^{b} g(x)dx} \end{equation*}
    The integral of a sum is the sum of the integrals.

  4. \begin{equation*} \displaystyle{\int_{a}^{b} [f(x)-g(x)]dx=\displaystyle{\int_{a}^{b} f(x)dx-\displaystyle{\int_{a}^{b} g(x)dx} } } \end{equation*}
    The integral of a difference is the difference of the integrals.

  5. \begin{equation*} \displaystyle{\int_{a}^{b} cf(x)dx} =c\displaystyle{\int_{a}^{b} f(x)} \end{equation*}
    for constant \(c\text{.}\) The integral of the product of a constant and a function is equal to the constant multiplied by the integral of the function.

  6. \begin{equation*} \displaystyle{\int_{a}^{b} f(x)dx} =\displaystyle{\int_{a}^{c} f(x)dx} +\displaystyle{\int_{c}^{b} f(x)dx} \end{equation*}
    Although this formula normally applies when \(c\) is between \(a\) and \(b\text{,}\) the formula holds for all values of \(a\text{,}\) \(b\text{,}\) and \(c\text{,}\) provided \(f(x)\) is integrable on the largest interval.

Example 5.43. Using the Properties of the Definite Integral.

Use the properties of the definite integral to express the definite integral of \(f(x)=-3x^3+2x+2\) over the interval \([-2,1]\) as the sum of three definite integrals.

Solution.

Using integral notation, we have \(\displaystyle{\int_{-2}^{1}(-3x^3+2x+2)dx} .\) We apply properties 3. and 5. to get

\begin{align*} \displaystyle{\int_{-2}^{1}(-3x^3+2x+2)dx} \amp =\displaystyle{\int_{-2}^{1}-3x^3dx} +\displaystyle{\int_{-2}^{1}2xdx} +\displaystyle{\int_{-2}^{1}2dx} \\ \amp =-3\displaystyle{\int_{-2}^{1}x^3dx} +2\displaystyle{\int_{-2}^{1}xdx} +\displaystyle{\int_{-2}^{1}2dx} . \end{align*}

Checkpoint 5.44.

Use the properties of the definite integral to express the definite integral of \(f(x)=6x^3-4x^2+2x-3\) over the interval \([1,3]\) as the sum of four definite integrals.

Hint.

Use the solving strategy from Example 5.43 and the properties of definite integrals.

Solution.

\(6\displaystyle{\int_{1}^{3} x^3dx} -4\displaystyle{\int_{1}^{3} x^2dx} +2\displaystyle{\int_{1}^{3} xdx} -\int_{1}^{3}3dx\)

Example 5.45. Using the Properties of the Definite Integral.

If it is known that \(\displaystyle{\int_{0}^{8} f(x)dx} =10\) and \(\displaystyle{\int_{0}^{5} f(x)dx} =5,\) find the value of \(\displaystyle{\int_{5}^{8} f(x)dx} .\)

Solution.

By property 6.,

\begin{equation*} \displaystyle{\int_{a}^{b} f(x)dx} =\displaystyle{\int_{a}^{c} f(x)dx} +\displaystyle{\int_{c}^{b} f(x)dx} . \end{equation*}

Thus,

\begin{align*} \displaystyle{\int_{0}^{8} f(x)dx} \amp = \displaystyle{\int_{0}^{5} f(x)dx} +\displaystyle{\int_{5}^{8} f(x)dx} \\ 10\amp = 5+\displaystyle{\int_{5}^{8} f(x)dx} \\ 5\amp = \displaystyle{\int_{5}^{8} f(x)dx} . \end{align*}

Checkpoint 5.46.

If it is known that \(\displaystyle{\int_{1}^{5} f(x)dx} =-3\) and \(\displaystyle{\int_{2}^{5} f(x)dx} =4,\) find the value of \(\displaystyle{\int_{1}^{2} f(x)dx} .\)

Hint.

Use the solving strategy from Example 5.45 and the rule on properties of definite integrals.

Solution.

-7

Subsection 5.2.5 Comparison Properties of Integrals

A picture can sometimes tell us more about a function than the results of computations. Comparing functions by their graphs as well as by their algebraic expressions can often give new insight into the process of integration. Intuitively, we might say that if a function \(f(x)\) is above another function \(g(x),\) then the area between \(f(x)\) and the \(x\)-axis is greater than the area between \(g(x)\) and the \(x\)-axis. This is true depending on the interval over which the comparison is made. The properties of definite integrals are valid whether \(a\lt b,a=b,\) or \(a\gt b.\) The following properties, however, concern only the case \(a\leq b,\) and are used when we want to compare the sizes of integrals.

Example 5.48. Comparing Two Functions over a Given Interval.

Compare \(f(x)=\sqrt{1+x^2}\) and \(g(x)=\sqrt{1+x}\) over the interval \([0,1].\)

Solution.

Graphing these functions is necessary to understand how they compare over the interval \([0,1].\) Initially, when graphed on a graphing calculator, \(f(x)\) appears to be above \(g(x)\) everywhere. However, on the interval \([0,1],\) the graphs appear to be on top of each other. We need to zoom in to see that, on the interval \([0,1],g(x)\) is above \(f(x).\) The two functions intersect at \(x=0\) and \(x=1\) (Figure 5.49).

"A graph of the function f(x) = sqrt(1 + x^2) in red and g(x) = sqrt(1 + x) in blue over [-2, 3]. The function f(x) appears above g(x) except over the interval [0,1]. A second, zoomed-in graph shows this interval more clearly."
Figure 5.49. (a) The function \(f(x)\) appears above the function \(g(x)\) except over the interval \([0,1]\) (b) Viewing the same graph with a greater zoom shows this more clearly.

We can see from the graph that over the interval \([0,1],g(x)\geq f(x).\) Comparing the integrals over the specified interval \([0,1],\) we also see that \(\displaystyle{\int_{0}^{1} g(x)dx} \geq \displaystyle{\int_{0}^{1} f(x)dx} \) (Figure 5.50). The thin, red-shaded area shows just how much difference there is between these two integrals over the interval \([0,1].\)

"A graph showing the functions f(x) = sqrt(1 + x^2) and g(x) = sqrt(1 + x) over [-3, 3]. The area under g(x) in quadrant one over [0,1] is shaded. The area under g(x) and f(x) is included in this shaded area. The second, zoomed-in graph shows more clearly that equality between the functions only holds at the endpoints."
Figure 5.50. (a) The graph shows that over the interval \([0,1],g(x)\geq f(x),\) where equality holds only at the endpoints of the interval. (b) Viewing the same graph with a greater zoom shows this more clearly.

Subsection 5.2.6 Average Value of a Function

We often need to find the average of a set of numbers, such as an average test grade. Suppose you received the following test scores in your algebra class: 89, 90, 56, 78, 100, and 69. Your semester grade is your average of test scores and you want to know what grade to expect. We can find the average by adding all the scores and dividing by the number of scores. In this case, there are six test scores. Thus,

\begin{equation*} \frac{89+90+56+78+100+69}{6}=\frac{482}{6}\approx 80.33. \end{equation*}

Therefore, your average test grade is approximately 80.33, which translates to a B- at most schools.

Suppose, however, that we have a function \(v(t)\) that gives us the speed of an object at any time \(t\text{,}\) and we want to find the object’s average speed. The function \(v(t)\) takes on an infinite number of values, so we can’t use the process just described. Fortunately, we can use a definite integral to find the average value of a function such as this.

Let \(f(x)\) be continuous over the interval \([a,b]\) and let \([a,b]\) be divided into \(n\) subintervals of width \(\Delta x=(b-a)\text{ / }n.\) Choose a representative \(x_i^* \) in each subinterval and calculate \(f(x_i^* )\) for \(i=1,2\text{ ,…, } n.\) In other words, consider each \(f(x_i^* )\) as a sampling of the function over each subinterval. The average value of the function may then be approximated as

\begin{equation*} \frac{f(x_1^*)+f(x_2^* )+ \cdots +f(x_n^* )}{n}, \end{equation*}

which is basically the same expression used to calculate the average of discrete values.

But we know \(\Delta x=\frac{b-a}{n},\) so \(n=\frac{b-a}{\Delta x},\) and we get

\begin{equation*} \frac{f(x_1^*)+f(x_2^* )+ \cdots +f(x_n^* )}{n}=\frac{f(x_1^*)+f(x_2^* )+ \cdots +f(x_n^* )}{\frac{(b-a)}{\Delta x}}. \end{equation*}

Following through with the algebra, the numerator is a sum that is represented as \(\displaystyle{\sum_{i=1}^n f(x_i^* )} ,\) and we are dividing by a fraction. To divide by a fraction, invert the denominator and multiply. Thus, an approximate value for the average value of the function is given by

\begin{align*} \frac{\displaystyle{\sum_{i=1}^n f(x_i^* )} }{\frac{(b-a)}{\Delta x}}\amp =\left(\frac{\Delta x}{b-a}\right)\displaystyle{\sum_{i=1}^n f(x_i^* )} \\ \amp =\left(\frac{1}{b-a}\right)\displaystyle{\sum_{i=1}^n f(x_i^* )\Delta x} . \end{align*}

This is a Riemann sum. Then, to get the exact average value, take the limit as \(n\) goes to infinity. Thus, the average value of a function is given by

\begin{equation*} \frac{1}{b-a} \displaystyle{ \lim_{n \to \infty} }\displaystyle{\sum_{i=1}^n f(x_i)\Delta x} =\frac{1}{b-a}\displaystyle{\int_{a}^{b} f(x)dx} . \end{equation*}

Definition 5.51.

Let \(f(x)\) be continuous over the interval \([a,b].\) Then, the average value of the function \(f(x)\) (or \(f_{\text{ave}}\)) on \([a,b]\) is given by

\begin{equation*} f_{\text{ ave }}=\frac{1}{b-a}\displaystyle{\int_{a}^{b} f(x)dx} . \end{equation*}

Example 5.52. Finding the Average Value of a Linear Function.

Find the average value of \(f(x)=x+1\) over the interval \([0,5].\)

Solution.

First, graph the function on the stated interval, as shown in Figure 5.53.

"A graph in quadrant one showing the shaded area under the function f(x) = x + 1 over [0,5]."
Figure 5.53. The graph shows the area under the function \(f(x)=x+1\) over \([0,5].\)

The region is a trapezoid lying on its side, so we can use the area formula for a trapezoid \(A=\frac{1}{2}h(a+b),\) where \(h\) represents height, and \(a\) and \(b\) represent the two parallel sides. Then,

\begin{align*} \displaystyle{\int_{0}^{5} x} +1dx\amp =\frac{1}{2}h(a+b)\\ \amp =\frac{1}{2}\cdot 5\cdot (1+6)\\ \amp =\frac{35}{2}. \end{align*}

Thus the average value of the function is

\begin{equation*} \frac{1}{5-0}\displaystyle{\int_{0}^{5} x} +1dx=\frac{1}{5}\cdot \frac{35}{2}=\frac{7}{2}. \end{equation*}

Checkpoint 5.54.

Find the average value of \(f(x)=6-2x\) over the interval \([0,3].\)

Hint.

Use the average value formula, and use geometry to evaluate the integral.

Solution.

3

Subsection 5.2.7 Key Concepts

  • The definite integral can be used to calculate net signed area, which is the area above the \(x\)-axis less the area below the \(x\)-axis. Net signed area can be positive, negative, or zero.

  • The component parts of the definite integral are the integrand, the variable of integration, and the limits of integration.

  • Continuous functions on a closed interval are integrable. Functions that are not continuous may still be integrable, depending on the nature of the discontinuities.

  • The properties of definite integrals can be used to evaluate integrals.

  • The area under the curve of many functions can be calculated using geometric formulas.

  • The average value of a function can be calculated using definite integrals.

Subsection 5.2.8 Key Equations

  • Definite Integral \(\displaystyle{\int_{a}^{b} f(x)dx} = \displaystyle{ \lim_{n \to \infty} }\displaystyle{\sum_{i=1}^n f(x_i^* )\Delta x}\)

  • Properties of the Definite Integral

    \begin{gather*} \displaystyle{\int_{a}^{a} f(x)dx=0} \\ \displaystyle{\int_{b}^{a} f(x)dx} =-\displaystyle{\int_{a}^{b} f(x)dx} \\ \displaystyle{\int_{a}^{b} [f(x)+g(x)]dx} =\displaystyle{\int_{a}^{b} f(x)dx} +\displaystyle{\int_{a}^{b} g(x)dx} \\ \displaystyle{\int_{a}^{b}[f(x)-g(x)]dx=\displaystyle{\int_{a}^{b}f(x)dx-\displaystyle{\int_{a}^{b}g(x)dx} } } \\ \displaystyle{\int_{a}^{b} cf(x)dx} =c\displaystyle{\int_{a}^{b} f(x)} \text{ for constant }c\\ \displaystyle{\int_{a}^{b} f(x)dx} =\displaystyle{\int_{a}^{c} f(x)dx} +\displaystyle{\int_{c}^{b} f(x)dx} \end{gather*}