## 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:

$A=\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}}f(x_i^*)\Delta x$.

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.

# 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

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

$\int_a^b f(x) dx=\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}}f(x_i^*)\Delta x$,

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, 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$, 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:

$\int_a^b f(x) dx=\int_a^b f(t) dt=\int_a^b f(u) du$

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

### Continuous Functions Are Integrable

If $f(x)$ is continuous on $[a,b]$, then $f$ is integrable on $[a,b]$.

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.

### Evaluating an Integral Using the Definition

Use the definition of the definite integral to evaluate $\int_0^2 x^2 dx$. Use a right-endpoint approximation to generate the Riemann sum.

Use the definition of the definite integral to evaluate $\int_0^3 (2x-1) dx$. Use a right-endpoint approximation to generate the Riemann sum.

#### Hint

Use the solving strategy from (Figure).

# 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.

### Using Geometric Formulas to Calculate Definite Integrals

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

Use the formula for the area of a trapezoid to evaluate $\int_2^4 (2x+3) dx$.

#### Hint

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

# 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?

## Net Signed Area

Let us return to the Riemann sum. Consider, for example, the function $f(x)=2-2x^2$ (shown in (Figure)) on the interval $[0,2]$. Use $n=8$ and choose $x_i^*$ as the left endpoint of each interval. Construct a rectangle on each subinterval of height $f(x_i^*)$ and width $\Delta x$. 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

$\underset{i=1}{\overset{8}{\Sigma}} f(x_i^*) \Delta x =$ (Area of rectangles above the $x$-axis) $-$ (Area of rectangles below the $x$-axis)

Figure 2. For a function that is partly negative, the Riemann sum is the area of the rectangles above the $x$-axis minus 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, minus the area between the curve below the $x$-axis and the $x$-axis, as shown in (Figure). Then,

$\begin{array}{ll} \int_0^2 f(x) dx & =\underset{n\to \infty}{\lim}\underset{i=1}{\overset{n}{\Sigma}} f(c_i) \Delta x \\ & =A_1-A_2 \end{array}$

The quantity $A_1-A_2$ is called the net signed area.

Figure 3. In the limit, the definite integral equals area $A_1$ minus 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.

### 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]$.

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

#### Hint

Use the solving method described in (Figure).

## 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)). Using integral notation, we have

$\int_0^2 75 dt=150$.

Figure 5. 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)). Again, using integral notation, we have

$\begin{array}{ll} \int_0^2 60 dt + \int_2^5 -40 dt & =120-120 \\ & =0 \end{array}$

In this case the displacement is zero.

Figure 6. 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{array}{ll} \int_0^2 |60| dt + \int_2^5 |-40| dt & = \int_0^2 60 dt + \int_2^5 40 dt \\ & =120+120 \\ & =240 \end{array}$

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

### Definition

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

$\int_a^b f(x) dx = A_1-A_2$.

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

$\int_a^b |f(x)| dx = A_1+A_2$.

### Finding the Total Area

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

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 (Figure).

# 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.

### Rule: Properties of the Definite Integral

1. $\int_a^a f(x) dx = 0$

If the limits of integration are the same, the integral is just a line and contains no area.

2. $\int_b^a f(x) dx = −\int_a^b f(x) dx$

If the limits are reversed, then place a negative sign in front of the integral.

3. $\int_a^b [f(x)+g(x)] dx = \int_a^b f(x) dx + \int_a^b g(x) dx$

The integral of a sum is the sum of the integrals.

4. $\int_a^b [f(x)-g(x)] dx = \int_a^b f(x) dx - \int_a^b g(x) dx$

The integral of a difference is the difference of the integrals.

5. $\int_a^b cf(x) dx= c \int_a^b f(x) dx$

for constant $c$. The integral of the product of a constant and a function is equal to the constant multiplied by the integral of the function.

6. $\int_a^b f(x) dx = \int_a^c f(x) dx + \int_c^b f(x) dx$

Although this formula normally applies when $c$ is between $a$ and $b$, the formula holds for all values of $a$, $b$, and $c$, provided $f(x)$ is integrable on the largest interval.

### 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.

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 (Figure) and the properties of definite integrals.

### Using the Properties of the Definite Integral

If it is known that $\int_0^8 f(x) dx = 10$ and $\int_0^5 f(x) dx = 5$, find the value of $\int_5^8 f(x) dx$.

If it is known that $\int_1^5 f(x) dx = -3$ and $\int_2^5 f(x) dx = 4$, find the value of $\int_1^2 f(x) dx$.

#### Hint

Use the solving strategy from (Figure) and the rule on properties of definite integrals.

## 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<b, \, a=b$, or $a>b$. The following properties, however, concern only the case $a \le b$, and are used when we want to compare the sizes of integrals.

### Comparison Theorem

1. If $f(x) \ge 0$ for $a \le x \le b$, then
$\int_a^b f(x) dx \ge 0$.
2. If $f(x) \ge g(x)$ for $a \le x \le b$, then
$\int_a^b f(x) dx \ge \int_a^b g(x) dx$.
3. If $m$ and $M$ are constants such that $m \le f(x) \le M$ for $a \le x \le b$, then
$m(b-a) \le \int_a^b f(x) dx \le M(b-a)$.

### 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]$.

# 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,

$\frac{89+90+56+78+100+69}{6}=\frac{482}{6}\approx 80.33$.

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$, 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)/n$. Choose a representative $x_i^*$ in each subinterval and calculate $f(x_i^*)$ for $i=1,2, \cdots , 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

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

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

$\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}}$.

Following through with the algebra, the numerator is a sum that is represented as $\underset{i=1}{\overset{n}{\Sigma}} 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{array}{ll}\frac{\underset{i=1}{\overset{n}{\Sigma}} f(x_i^*)}{\frac{(b-a)}{\Delta x}} & =(\frac{\Delta x}{b-a})\underset{i=1}{\overset{n}{\Sigma}} f(x_i^*) \\ & =(\frac{1}{b-a})\underset{i=1}{\overset{n}{\Sigma}} f(x_i^*) \Delta x \end{array}$

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

$\frac{1}{b-a}\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}} f(x_i) \Delta x=\frac{1}{b-a} \int_a^b f(x) dx$.

### Definition

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

$f_{\text{ave}}=\frac{1}{b-a} \int_a^b f(x) dx$.

### Finding the Average Value of a Linear Function

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

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.

### Key Concepts

• The definite integral can be used to calculate net signed area, which is the area above the $x$-axis minus 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.

# Key Equations

• Definite Integral
$\int_a^b f(x) dx = \underset{n\to \infty}{\lim}\underset{i=1}{\overset{n}{\Sigma}} f(x_i^*) \Delta x$
• Properties of the Definite Integral
$\int_a^a f(x) dx = 0$
$\int_b^a f(x) dx = −\int_a^b f(x) dx$
$\int_a^b [f(x)+g(x)] dx = \int_a^b f(x) dx + \int_a^b g(x) dx$
$\int_a^b [f(x)-g(x)] dx = \int_a^b f(x) dx - \int_a^b g(x) dx$
$\int_a^b cf(x) dx = c \int_a^b f(x) dx$ for constant $c$
$\int_a^b f(x) dx = \int_a^c f(x) dx + \int_c^b f(x) dx$

In the following exercises, express the limits as integrals.

1. $\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}}(x_i^*) \Delta x$ over $[1,3]$

2. $\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}}(5(x_i^*)^2-3(x_i^*)^3) \Delta x$ over $[0,2]$

3. $\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}} \sin^2 (2\pi x_i^*) \Delta x$ over $[0,1]$

4. $\underset{n\to \infty }{\lim}\underset{i=1}{\overset{n}{\Sigma}} \cos^2 (2\pi x_i^*) \Delta x$ over $[0,1]$

In the following exercises, given $L_n$ or $R_n$ as indicated, express their limits as $n\to \infty$ as definite integrals, identifying the correct intervals.

5. $L_n=\frac{1}{n}\underset{i=1}{\overset{n}{\Sigma}}\frac{i-1}{n}$

6. $R_n=\frac{1}{n}\underset{i=1}{\overset{n}{\Sigma}}\frac{i}{n}$

7. $L_n=\frac{2}{n}\underset{i=1}{\overset{n}{\Sigma}}(1+2\frac{i-1}{n})$

8. $R_n=\frac{3}{n}\underset{i=1}{\overset{n}{\Sigma}}(3+3\frac{i}{n})$

9. $L_n=\frac{2\pi }{n}\underset{i=1}{\overset{n}{\Sigma}}2\pi \frac{i-1}{n} \cos (2\pi \frac{i-1}{n})$

10. $R_n=\frac{1}{n}\underset{i=1}{\overset{n}{\Sigma}}(1+\frac{i}{n})\log((1+\frac{i}{n})^2)$

In the following exercises, evaluate the integrals of the functions graphed using the formulas for areas of triangles and circles, and subtracting the areas below the $x$-axis.

11.
12.

13.
14.

15.
16.

In the following exercises, evaluate the integral using area formulas.

17. $\int_0^3 (3-x) dx$

18. $\int_2^3 (3-x) dx$

19. $\int_{-3}^3 (3-|x|) dx$

20. $\int_0^6 (3-|x-3|) dx$

21. $\int_{-2}^2 \sqrt{4-x^2} dx$

22. $\int_1^5 \sqrt{4-(x-3)^2} dx$

23. $\int_0^{12} \sqrt{36-(x-6)^2} dx$

24. $\int_{-2}^3 (3-|x|) dx$

In the following exercises, use averages of values at the left ($L$) and right ($R$) endpoints to compute the integrals of the piecewise linear functions with graphs that pass through the given list of points over the indicated intervals.

25. $\{(0,0),(2,1),(4,3),(5,0),(6,0),(8,3)\}$ over $[0,8]$

26. $\{(0,2),(1,0),(3,5),(5,5),(6,2),(8,0)\}$ over $[0,8]$

27. $\{(-4,-4),(-2,0),(0,-2),(3,3),(4,3)\}$ over $[-4,4]$

28. $\{(-4,0),(-2,2),(0,0),(1,2),(3,2),(4,0)\}$ over $[-4,4]$

Suppose that $\int_0^4 f(x) dx=5$ and $\int_0^2 f(x) dx=-3$, and $\int_0^4 g(x) dx=-1$ and $\int_0^2 g(x) dx=2$. In the following exercises, compute the integrals.

29. $\int_0^4 (f(x)+g(x)) dx$

30. $\int_2^4 (f(x)+g(x)) dx$

31. $\int_0^2 (f(x)-g(x)) dx$

32. $\int_2^4 (f(x)-g(x)) dx$

33. $\int_0^2 (3f(x)-4g(x)) dx$

34. $\int_2^4 (4f(x)-3g(x)) dx$

In the following exercises, use the identity $\int_{−A}^A f(x) dx = \int_{−A}^0 f(x) dx + \int_0^A f(x) dx$ to compute the integrals.

35. $\int_{−\pi}^{\pi} \frac{\sin t}{1+t^2} dt$ (Hint: $\sin(−t)=−\sin (t)$)

36. $\int_{−\sqrt{\pi}}^{\sqrt{\pi}} \frac{t}{1+ \cos t} dt$

37. $\int_1^3 (2-x) dx$ (Hint: Look at the graph of $f$.)

38. ${\int }_{2}^{4}{(x-3)}^{3}dx$ (Hint: Look at the graph of $f$.)

In the following exercises, given that $\int_0^1 x dx = \frac{1}{2}, \, \int_0^1 x^2 dx = \frac{1}{3}$, and $\int_0^1 x^3 dx = \frac{1}{4}$, compute the integrals.

39. $\int_0^1 (1+x+x^2+x^3) dx$

40. $\int_0^1 (1-x+x^2-x^3) dx$

41. $\int_0^1 (1-x)^2 dx$

42. $\int_0^1 (1-2x)^3 dx$

43. $\int_0^1 (6x-\frac{4}{3}x^2) dx$

44. $\int_0^1 (7-5x^3) dx$

In the following exercises, use the comparison theorem.

45. Show that $\int_0^3 (x^2-6x+9) dx \ge 0$.

46. Show that $\int_{-2}^3 (x-3)(x+2) dx \le 0$.

47. Show that $\int_0^1 \sqrt{1+x^3} dx \le \int_0^1 \sqrt{1+x^2} dx$.

48. Show that $\int_1^2 \sqrt{1+x} dx \le \int_1^2 \sqrt{1+x^2} dx$.

49. Show that $\int_0^{\pi/2} \sin t dt \ge \frac{\pi}{4}$. (Hint: $\sin t \ge \frac{2t}{\pi}$ over $[0,\frac{\pi}{2}]$)

50. Show that $\int_{−\pi/4}^{\pi/4} \cos t dt \ge \pi \sqrt{2}/4$.

In the following exercises, find the average value $f_{\text{ave}}$ of $f$ between $a$ and $b$, and find a point $c$, where $f(c)=f_{\text{ave}}$.

51. $f(x)=x^2, \, a=-1, \, b=1$

52. $f(x)=x^5, \, a=-1, \, b=1$

53. $f(x)=\sqrt{4-x^2}, \, a=0, \, b=2$

54. $f(x)=(3-|x|), \, a=-3, \, b=3$

55. $f(x)= \sin x, \, a=0, \, b=2\pi$

56. $f(x)= \cos x, \, a=0, \, b=2\pi$

In the following exercises, approximate the average value using Riemann sums $L_{100}$ and $R_{100}$. How does your answer compare with the exact given answer?

57. [T] $y=\ln (x)$ over the interval $[1,4]$; the exact solution is $\frac{\ln (256)}{3}-1$.

58. [T] $y=e^{x/2}$ over the interval $[0,1]$; the exact solution is $2(\sqrt{e}-1)$.

59. [T] $y= \tan x$ over the interval $[0,\frac{\pi}{4}]$; the exact solution is $\frac{2\ln (2)}{\pi}$.

60. [T] $y=\frac{x+1}{\sqrt{4-x^2}}$ over the interval $[-1,1]$; the exact solution is $\frac{\pi }{6}$.

In the following exercises, compute the average value using the left Riemann sums $L_N$ for $N=1,10,100$. How does the accuracy compare with the given exact value?

61. [T] $y=x^2-4$ over the interval $[0,2]$; the exact solution is $-\frac{8}{3}$.

62. [T] $y=xe^{x^2}$ over the interval $[0,2]$; the exact solution is $\frac{1}{4}(e^4-1)$.

63. [T] $y=(\frac{1}{2})^x$ over the interval $[0,4]$; the exact solution is $\frac{15}{64\ln (2)}$.

64. [T] $y=x \sin (x^2)$ over the interval $[−\pi ,0]$; the exact solution is $\frac{\cos (\pi^2)-1}{2\pi}$.

65. Suppose that $A=\int_0^{2\pi} \sin^2 t dt$ and $B=\int_0^{2\pi} \cos^2 t dt$. Show that $A+B=2\pi$ and $A=B$.

66. Suppose that $A=\int_{−\pi/4}^{\pi/4} \sec^2 t dt = \pi$ and $B=\int_{−\pi/4}^{\pi/4} \tan^2 t dt$. Show that $B-A=\frac{\pi }{2}$.

67. Show that the average value of $\sin^2 t$ over $[0,2\pi]$ is equal to $1/2$. Without further calculation, determine whether the average value of $\sin^2 t$ over $[0,\pi]$ is also equal to $1/2$.

68. Show that the average value of $\cos^2 t$ over $[0,2\pi]$ is equal to $1/2$. Without further calculation, determine whether the average value of $\cos^2 (t)$ over $[0,\pi]$ is also equal to $1/2$.

69. Explain why the graphs of a quadratic function (parabola) $p(x)$ and a linear function $\ell (x)$ can intersect in at most two points. Suppose that $p(a)=\ell (a)$ and $p(b)=\ell (b)$, and that $\int_a^b p(t) dt > \int_a^b \ell (t) dt$. Explain why $\int_c^d p(t) > \int_c^d \ell (t) dt$ whenever $a \le c < d \le b$.

70. Suppose that parabola $p(x)=ax^2+bx+c$ opens downward $(a<0)$ and has a vertex of $y=\frac{−b}{2a}>0$. For which interval $[A,B]$ is $\int_A^B (ax^2+bx+c) dx$ as large as possible?

71. Suppose $[a,b]$ can be subdivided into subintervals $a=a_0<a_1<a_2< \cdots <a_N=b$ such that either $f\ge 0$ over $[a_{i-1},a_i]$ or $f\le 0$ over $[a_{i-1},a_i]$. Set $A_i=\int_{a_{i-1}}^{a_i} f(t) dt$.

1. Explain why $\int_a^b f(t) dt = A_1+A_2+ \cdots +A_N$.
2. Then, explain why $|\int_a^b f(t) dt| \le \int_a^b |f(t)| dt$.

72. Suppose $f$ and $g$ are continuous functions such that $\int_c^d f(t) dt \le \int_c^d g(t) dt$ for every subinterval $[c,d]$ of $[a,b]$. Explain why $f(x)\le g(x)$ for all values of $x$.

73. Suppose the average value of $f$ over $[a,b]$ is 1 and the average value of $f$ over $[b,c]$ is 1 where $a<c<b$. Show that the average value of $f$ over $[a,c]$ is also 1.

74. Suppose that $[a,b]$ can be partitioned. taking $a=a_0<a_1< \cdots < a_N=b$ such that the average value of $f$ over each subinterval $[a_{i-1},a_i]=1$ is equal to 1 for each $i=1\, \cdots , N$. Explain why the average value of $f$ over $[a,b]$ is also equal to 1.

75. Suppose that for each $i$ such that $1\le i\le N$ one has $\int_{i-1}^i f(t) dt=i$. Show that $\int_0^N f(t) dt=\frac{N(N+1)}{2}$.

76. Suppose that for each $i$ such that $1\le i\le N$ one has $\int_{i-1}^i f(t) dt=i^2$. Show that $\int_0^N f(t) dt=\frac{N(N+1)(2N+1)}{6}$.

77. [T] Compute the left and right Riemann sums $L_{10}$ and $R_{10}$ and their average $\frac{L_{10}+R_{10}}{2}$ for $f(t)=t^2$ over $[0,1]$. Given that $\int_0^1 t^2 dt=0.\bar{33}$, to how many decimal places is $\frac{L_{10}+R_{10}}{2}$ accurate?

78. [T] Compute the left and right Riemann sums, $L_{10}$ and $R_{10}$, and their average $\frac{L_{10}+R_{10}}{2}$ for $f(t)=(4-t^2)$ over $[1,2]$. Given that $\int_1^2 (4-t^2) dt=1.\bar{66}$, to how many decimal places is $\frac{L_{10}+R_{10}}{2}$ accurate?

79. If $\int_1^5 \sqrt{1+t^4} dt=41.7133 \cdots$, what is $\int_1^5 \sqrt{1+u^4} du$?

80. Estimate $\int_0^1 t dt$ using the left and right endpoint sums, each with a single rectangle. How does the average of these left and right endpoint sums compare with the actual value $\int_0^1 t dt$?

81. Estimate $\int_0^1 t dt$ by comparison with the area of a single rectangle with height equal to the value of $t$ at the midpoint $t=\frac{1}{2}$. How does this midpoint estimate compare with the actual value $\int_0^1 t dt$?

82. From the graph of $\sin (2\pi x)$ shown:

1. Explain why $\int_0^1 \sin (2\pi t) dt=0$.
2. Explain why, in general, $\int_a^{a+1} \sin (2\pi t) dt=0$ for any value of $a$.

83. If $f$ is 1-periodic $(f(t+1)=f(t))$, odd, and integrable over $[0,1]$, is it always true that $\int_0^1 f(t) dt=0$?

84. If $f$ is 1-periodic and $\int_0^1 f(t) dt=A$, is it necessarily true that $\int_a^{1+a} f(t) dt=A$ for all $A$?

## Glossary

average value of a function
(or $f_{\text{ave}}$) the average value of a function on an interval can be found by calculating the definite integral of the function and dividing that value by the length of the interval
definite integral
a primary operation of calculus; the area between the curve and the $x$-axis over a given interval is a definite integral
integrable function
a function is integrable if the limit defining the integral exists; in other words, if the limit of the Riemann sums as $n$ goes to infinity exists
integrand
the function to the right of the integration symbol; the integrand includes the function being integrated
limits of integration
these values appear near the top and bottom of the integral sign and define the interval over which the function should be integrated
net signed area
the area between a function and the $x$-axis such that the area below the $x$-axis is subtracted from the area above the $x$-axis; the result is the same as the definite integral of the function
total area
total area between a function and the $x$-axis is calculated by adding the area above the $x$-axis and the area below the $x$-axis; the result is the same as the definite integral of the absolute value of the function
variable of integration
indicates which variable you are integrating with respect to; if it is $x$, then the function in the integrand is followed by $dx$