From this question, I am getting that $2\times \max(a,b) = \max(2a,2b)$, and more generally, $c\times \max(a,b) = \max(c\times a, c\times b)$ for $c\geq0$, since we have $$ \begin{align*} a + b + |a-b| &= a+b + \max(a-b, b-a) \\ &= \max\big[(a+b) + a-b),\; (a+b) + b-a\big] \\ &= \max(2a,2b))\\ a + b + |a-b| &= \big[\max(a,b) + \min(a,b)\big] + \big[\max(a,b) - \min(a,b)\big] \\ &= 2\max(a,b) \end{align*} $$
Is this correct? It feels odd to move $(a+b)$ into the max in the first line. This seems to indicate that for $f:\mathbb{R}^n\to \mathbb{R}$ defined by the pointwise max $$f(x) := \max(x_1,x_2,\ldots,x_n)$$ satisfies $f(c\times x + d) = cf(x) + d$ for $c\geq0$ and $d$ a (specific?) linear combination of $x$. For $d$ a constant scalar, we have that $f$ some translation and scaling properties (not sure what this is called), which is intuitive, but is this right for $d = d(x)$ some linear combination of $x$?
What operations are allowed for moving terms in and out of $\max(\cdot)$?