Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just beginning to learn convex analysis and optimization, I have some inquiries to make with regard to the absolute value function $f(x)= |x|$. This function is clearly convex, but since we know that $|x|= \max\{x,-x\}$, does this make $\max$ a convex function? How about $\min$? My guess is that the minimum function is concave, but I might be wrong. I'd appreciate any helpful input on these questions I'm having.

share|cite|improve this question
up vote 3 down vote accepted

The optimisation result is that the pointwise supremum of affine functions is convex. On the contrary, the pointwise infimum of linear (or affine) functions is concave.

$\max\{x,-x\}$ is convex because it is the maximum of two linear functions of $x$, namely $x$ and $-x$.

share|cite|improve this answer

You are right about the maximum, and you could find this fact in Wikipedia: properties of convex functions.

Also right about the minimum being concave. Remember that everything we say about convex functions translates into statements about concave functions simply by replacing $f$ with $-f$. This also switches $\max$ and $\min$ around.

share|cite|improve this answer
So $\min$ is never convex? – Libertron Feb 19 '13 at 0:13
@Sachin Depends on $\min$ of what you take. For example, $\min(e^x,1+x)$ is convex. – user53153 Feb 19 '13 at 0:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.