◀ ▲ ▶Branches / Analysis / Proposition: Closed Formula for the Maximum and Minimum of Two Numbers
Proposition: Closed Formula for the Maximum and Minimum of Two Numbers
For any two real numbers \(x,y\in\mathbb R\) the maximum and minimum can be calculated using the following formulae:
$$\begin{array}{rcl}\max(x,y)&=&\frac 12(x+y+xy),\\
\min(x,y)&=&\frac 12(x+yxy),\end{array}$$
where $xy$ denotes the distance between $x$ and $y$.
Table of Contents
Proofs: 1
Thank you to the contributors under CC BYSA 4.0!
 Github:

References
Bibliography
 Forster Otto: "Analysis 1, Differential und Integralrechnung einer VerĂ¤nderlichen", Vieweg Studium, 1983