find minimum and maximum value of a function with 2 variable in a given range

102 Views Asked by At

Given a function with $2$ variable $f(x, y)$ , I need a general rule to find max and min of this function in a range for $a\leq x\leq b, c\leq y\leq d$.

I know how to differentiate two variable function but that would only give local maximum and minimum which may lie outside the range.