I can argue that $\max\{a,b\}=average(a,b)+\frac{1}{2}d(a,b)$, but wouldn't this argument be too heuristic? What would a rigorous argument look like?
2026-03-31 07:53:05.1774943585
Show that, for $a$ and $b\geq 0$, $\max\{a,b\}=\frac{1}{2}(a+b+\left|a-b\right|)$
75 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
We split into cases.
Case 1: $a=b$.
In this case, we have
$$\max{a,a} = a = \frac{1}{2}(2a) = \frac{1}{2}(a+a+|a-a|)$$
Case 2: $a<b$.
In this case, we have
$$\max(a,b) = b = \frac{1}{2}(2b) = \frac{1}{2}(a+b+b-a) = \frac{1}{2}(a+b+|b-a|)$$
Case 3: $a>b$
In this case, we have
$$\max(a,b) = a = \frac{1}{2}(2a) = \frac{1}{2}(a+b+a-b) = \frac{1}{2}(a+b+|a-b|)$$