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

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 2K views
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?
 
on Phys.org
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: