Does reflection in $y=x$, preserve maxima/minima for $z=f(x,y)$?

Solution 1:

You can. Swapping $(x,y)$ accompanies swapping $( a,b)$ point.i.e, the new point has new $(x,z)$ or $ (y,z) $ coordinates.