Define a local maximum of f(x,y) at (a,b).
Answer: f(a,b) >= f(x,y) for all (x,y) in some disk centered at (a,b). A local minimum reverses the inequality: f(a,b) <= f(x,y) near (a,b).
Explanation
'Local' means only nearby points are compared, not the whole domain.