I know this is a very simple question, but I wonder if the following equality holds for any $(x,y)\in \mathbb{R}^2$ and any functions $f_a(x,y)$ and $f_b(x,y)$:
$$ \max_{x,y} |f_a(x,y) - f_b(x,y)| = \max_{x,y} \{ f_a(x,y) - f_b(x,y), f_b(x,y) - f_a(x,y)\},$$
where the maximum on the right-hand side takes the maximum of the two arguments.
Any help would be appreciated.
By definition, $|x-y| = \max(x-y, y-x)$.
So what you wrote is true.