Tutorials › Calculus III › The Mean Value Theorem for Double Integrals

Double Integrals on Rectangles · Tutorial 522 of 999

The Mean Value Theorem for Double Integrals

See how continuity guarantees that a function reaches its integral-based average at some point of a rectangle.

Beginner 9 min read

What You'll Learn

  • Define the average value of a continuous function on a rectangle.
  • State the hypotheses and conclusion of the double-integral mean value theorem.
  • Prove the theorem using extreme values, integral bounds, and the intermediate value theorem.
  • Calculate averages and identify points where those averages are attained.
  • Distinguish the guaranteed point from the rectangle’s center.
  • Interpret an average as a representative value in an application.

Why an Average Value Is More Than a Number

A double integral combines the values of a function across an entire region. Dividing that integral by the region’s area gives a single number: the function’s average value. But is that number merely an aggregate, or does the function actually equal it somewhere?

For a continuous function on a rectangle, the answer is yes. This is the mean value theorem for double integrals. It connects an integral over a whole region to the value of the function at at least one point in that region. The theorem guarantees that such a point exists; it does not generally identify a unique point or say that the point is the rectangle’s center.

Average Value on a Rectangle

Let \(R=[a,b]\times[c,d]\) be a rectangle with positive area, so \(a<b\) and \(c<d\). Its area is \(A=(b-a)(d-c)\). If \(f\) is integrable on \(R\), its average value on \(R\) is the double integral of \(f\) divided by the area.

Definition: The average value of an integrable function \(f\) on a rectangle \(R=[a,b]\times[c,d]\), where \(A=(b-a)(d-c)>0\), is
$$ f_{\mathrm{avg}} = \frac{1}{A}\iint_R f(x,y)\,dA = \frac{1}{(b-a)(d-c)} \int_a^b\int_c^d f(x,y)\,dy\,dx. $$

The double integral adds the function’s contributions over the region; division by the area turns that total into a per-unit-area average. For instance, if \(f\) represents temperature over a flat plate, the average has temperature units, whereas the integral has temperature multiplied by area units.

The Mean Value Theorem for Double Integrals

Theorem: If \(f\) is continuous on a rectangle \(R=[a,b]\times[c,d]\) with positive area, then there exists a point \((x_0,y_0)\in R\) such that
$$ f(x_0,y_0) = \frac{1}{(b-a)(d-c)}\iint_R f(x,y)\,dA. $$
Equivalently, \(\iint_R f(x,y)\,dA=f(x_0,y_0)(b-a)(d-c)\) for some \((x_0,y_0)\in R\).

The conclusion says that the average value is an actual value of the function somewhere on the rectangle. The point \((x_0,y_0)\) is sometimes called a mean-value point. The theorem guarantees at least one such point, but may not specify where it is or how many such points there are.

Why the Theorem Holds

The argument uses two facts. A continuous function on a closed, bounded rectangle has a minimum and a maximum, and the integral average lies between those extreme values. Then, because a rectangle contains the line segment joining any two of its points, continuity and the intermediate value theorem ensure the function takes every value between its minimum and maximum along that segment.

1
Find the extreme values.
By the extreme value theorem, continuity on the closed rectangle gives points \(P,Q\in R\) where \(f\) attains its minimum \(m\) and maximum \(M\).
2
Place the average between them.
Since \(m\leq f(x,y)\leq M\) throughout \(R\), integrating and dividing by its positive area gives \(m\leq f_{\mathrm{avg}}\leq M\).
3
Use continuity between the extreme points.
The segment from \(P\) to \(Q\) lies in \(R\). Along it, \(f\) varies continuously from \(m\) to \(M\), so it takes the intermediate value \(f_{\mathrm{avg}}\).

Here is the argument in full. Let \(m=\min_R f\) and \(M=\max_R f\), which exist because \(f\) is continuous and \(R\) is compact. For every \((x,y)\in R\), the inequalities \(m\leq f(x,y)\leq M\) hold. Integrating these inequalities over \(R\) and dividing by \(A>0\) yields

$$ m = \frac{1}{A}\iint_R m\,dA \leq \frac{1}{A}\iint_R f(x,y)\,dA \leq \frac{1}{A}\iint_R M\,dA = M. $$

Write \(P=(p_1,p_2)\) for a point where \(f(P)=m\), and \(Q=(q_1,q_2)\) for a point where \(f(Q)=M\). The rectangle is convex, so \((1-t)P+tQ\in R\) for every \(t\in[0,1]\). Define \(g(t)=f((1-t)P+tQ)\). This is a continuous function on \([0,1]\), with \(g(0)=m\) and \(g(1)=M\). Since \(f_{\mathrm{avg}}\) lies between \(m\) and \(M\), the intermediate value theorem gives some \(t_0\in[0,1]\) for which \(g(t_0)=f_{\mathrm{avg}}\). The point \((1-t_0)P+t_0Q\) belongs to \(R\) and has function value \(f_{\mathrm{avg}}\), as required. If \(m=M\), then \(f\) is constant on \(R\), and every point gives the average value.

Worked Examples

Worked Example: A Linear Function on a Rectangle

Find the average value of \(f(x,y)=x+y\) on \(R=[0,2]\times[0,1]\), then verify that the function attains it at a point in \(R\).

The area is \(A=(2-0)(1-0)=2\). Evaluate the integral by integrating first with respect to \(y\):

$$ \begin{aligned} \iint_R (x+y)\,dA &=\int_0^2\int_0^1(x+y)\,dy\,dx\\ &=\int_0^2\left[xy+\frac{y^2}{2}\right]_0^1\,dx\\ &=\int_0^2\left(x+\frac12\right)\,dx\\ &=\left[\frac{x^2}{2}+\frac{x}{2}\right]_0^2\\ &=2+1=3. \end{aligned} $$

Therefore \(f_{\mathrm{avg}}=3/2\). At \((1,1/2)\), which lies in \(R\), the function value is \(f(1,1/2)=1+1/2=3/2\). Thus this point has the average value, as the theorem predicts.

Check: The computed integral is the average multiplied by the area: \((3/2)(2)=3\), agreeing with the direct integral.

Worked Example: A Nonlinear Function on a Rectangle

Find the average value of \(f(x,y)=x^2+y\) on \(R=[0,1]\times[0,2]\), and exhibit a point where the function has that value.

The area is \(A=(1-0)(2-0)=2\). Compute the integral:

$$ \begin{aligned} \iint_R (x^2+y)\,dA &=\int_0^1\int_0^2(x^2+y)\,dy\,dx\\ &=\int_0^1\left[x^2y+\frac{y^2}{2}\right]_0^2\,dx\\ &=\int_0^1(2x^2+2)\,dx\\ &=\left[\frac{2x^3}{3}+2x\right]_0^1\\ &=\frac23+2=\frac83. \end{aligned} $$

Hence \(f_{\mathrm{avg}}=(8/3)/2=4/3\). Choose \((0,4/3)\), which belongs to \(R\) because \(0\leq 4/3\leq2\). At this point, \(f(0,4/3)=0^2+4/3=4/3\).

Check: Multiplying the average by the area gives \((4/3)(2)=8/3\), the integral computed above.

Worked Example: Interpreting an Average Temperature

Suppose the temperature on a rectangular plate is \(T(x,y)=20+x+2y\) degrees Celsius, where \(x\) and \(y\) are measured in meters and the plate occupies \(R=[0,2]\times[0,1]\). Find the average temperature and give a point where it occurs.

The plate has area \(2\) square meters. By linearity of the integral, the integral of the temperature is the sum of the integrals of its three terms:

$$ \begin{aligned} \iint_R T(x,y)\,dA &=\iint_R 20\,dA+\iint_R x\,dA+\iint_R 2y\,dA\\ &=20(2)+\left(\int_0^2x\,dx\right)\left(\int_0^1dy\right) +\left(\int_0^2dx\right)\left(\int_0^1 2y\,dy\right)\\ &=40+(2)(1)+(2)(1)\\ &=44\ \text{degree-Celsius square meters}. \end{aligned} $$

Dividing by the area gives \(T_{\mathrm{avg}}=44/2=22\) degrees Celsius. At the point \((1,1/2)\), the temperature is \(T(1,1/2)=20+1+2(1/2)=22\) degrees Celsius. Thus the average temperature is reached at that point.

Check: The average \(22\) degrees Celsius multiplied by the plate area \(2\) square meters gives \(44\) degree-Celsius square meters, the integral above.

What the Theorem Does—and Does Not—Guarantee

The result is useful whenever an integral-based average needs to be interpreted as a representative value actually present somewhere in the region. For a continuous temperature field, for example, the average temperature is not merely a number obtained by calculation: it is the temperature at some point on the plate. The theorem makes an existence claim, not a method for locating that point. In examples, a convenient point may be found by solving \(f(x,y)=f_{\mathrm{avg}}\), but that equation can have many solutions or be difficult to solve.

Continuity is an important hypothesis. Without it, an integrable function need not attain its average. For example, on \([0,1]\times[0,1]\), let \(f(x,y)=0\) when \(x\leq1/2\) and \(f(x,y)=1\) when \(x>1/2\). Its integral, and therefore its average on this unit-area rectangle, is \(1/2\). But the function takes only the values \(0\) and \(1\), so it never equals its average. This example is discontinuous along \(x=1/2\).

A Common Mistake: Assuming the Center Gives the Average

The theorem does not say that the average value occurs at the center of the rectangle. Consider \(f(x,y)=x^2\) on \(R=[0,2]\times[0,1]\). The rectangle’s center is \((1,1/2)\), where \(f(1,1/2)=1\). But the average is

$$ f_{\mathrm{avg}} = \frac{1}{2}\int_0^2\int_0^1 x^2\,dy\,dx = \frac{1}{2}\int_0^2x^2\,dx = \frac{1}{2}\left[\frac{x^3}{3}\right]_0^2 = \frac{1}{2}\cdot\frac83 = \frac43. $$

A wrong conclusion would be: “The center has value \(1\), so the average is \(1\).” The error is treating the center value as if it determined the average. In fact, \(1\ne4/3\). The theorem guarantees some point with value \(4/3\); here, \((\sqrt{4/3},1/2)\) is such a point, since \(0\leq\sqrt{4/3}\leq2\) and \(f(\sqrt{4/3},1/2)=(\sqrt{4/3})^2=4/3\).

Key takeaway: For a continuous function on a positive-area rectangle, the integral average lies between the function’s minimum and maximum and is attained somewhere in the rectangle. The theorem does not generally identify that point, make it unique, or place it at the center.

Check Your Understanding

Use the definitions and theorem to answer these questions. For computational questions, show the integral, area, and average.

  1. State the hypotheses of the mean value theorem for double integrals and its conclusion.
  2. Why does dividing the inequalities \(mA\leq\iint_R f\,dA\leq MA\) by \(A\) preserve their direction?
  3. Find the average value of \(f(x,y)=x+y\) on \([0,1]\times[0,2]\), and give a point where it is attained.
  4. Does the theorem say that the average value must occur at the center of the rectangle? Explain.
  5. Give a reason continuity matters, using the discontinuous function in this tutorial or another example.