How do you find the average value of a function of two variables on a rectangle?

In summary, to find the average value of a function of one variable, you integrate it and multiply it by 1/(b-a), where b and a are the limits of integration. For a function of two variables defined on a rectangle, you can use the same method by integrating the function over the rectangle and dividing by the area of the rectangle. In the case of the integrand (x^2)y and the domain [2,4] * [-6,6], the average value is zero since it is evenly distributed in the positive and negative y areas.
  • #1
Master J
226
0
To find the average value of a function of one variable, you integrate it and multiply it by 1/(b - a) , where b and a are the limits of integration , uper and lower, respectively.

But how does one do this for a function of two variables, defined on a rectangle?
 
Physics news on Phys.org
  • #2
The same way, basically. Integrate the function over the rectangle and divide by the area of the rectangle.
 
  • #3
Thanks.

Well I am trying a question. The integrand is (x^2)y. The domain is [2,4] * [-6,6].

Now when I integrate it with respect to y first, it goes to zero. It does not go to zero when you start with x. How is this possible?
 
  • #4
Master J said:
How is this possible?

Bad math. :wink:...It should be zero in both cases, try showing us what you are doing when you integrate it over x first...:smile:
 
  • #5
Possibly!:biggrin:

Ah I see what I've been doing wrong! I don't even need to work out the average value, since it integrates to zero, as it should, since it is evenly distributed in the positve and negative y areas!
 
Last edited:

FAQ: How do you find the average value of a function of two variables on a rectangle?

What is the definition of "average value of function"?

The average value of a function over a given interval is the average output or y-value of that function over that interval. It is calculated by taking the integral of the function over the interval and dividing it by the length of the interval.

How is the average value of a function calculated?

To calculate the average value of a function, you first need to find the integral of the function over the given interval. Once you have the integral, divide it by the length of the interval. The result is the average value of the function over that interval.

Why is the average value of a function important?

The average value of a function is important because it gives us a single value that represents the overall behavior of the function over a given interval. This can be useful in many applications, such as calculating average speed or average temperature over a period of time.

Can the average value of a function be negative?

Yes, the average value of a function can be negative. This can happen if the function has both positive and negative values over the given interval, and the integral of the function over that interval is negative. It is important to consider the sign of the average value when interpreting its meaning.

How does the average value of a function relate to the mean value theorem?

The average value of a function is related to the mean value theorem in that it represents the y-value where the function intersects its average line. The mean value theorem states that at some point within the interval, the function will have the same slope as the average line. This point is known as the mean value or average value of the function.

Back
Top