For each given region , the average value of over is the integral of over divided by the area of . In both cases, is a rectangle so the area is trivial.
a. The area of is . The integral of over is
So the average value of over this region is 0.
b. The area of is . The integral of is
The average vale of over this region is then .