1

Is there a way to re-write $\min(a,b)$ in terms of an analytical function?

Also, if not, is there a nice analytic function that is a tight upper bound?

This question is related to this question.

Boby
  • 5,985

1 Answers1

4

Is this what you're looking for?

$$\min(a,\,b) \; = \; \frac{a\,+\,b\; - \; |a-b|}{2} $$ $$\max(a,\,b) \; = \; \frac{a\,+\,b\; + \; |a-b|}{2} $$