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

Master J
Messages
219
Reaction score
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
The same way, basically. Integrate the function over the rectangle and divide by the area of the rectangle.
 
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?
 
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:
 
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:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top