MathOverflow is a question and answer site for professional mathematicians. 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


Suppose that $x \in R^m, y \in R^n, z(x) \in R^n$, and $f(x,y)$ is convex in $(x,y)$.

Is $f(x,z(x))$ a convex function in $x$ for arbitrary continuous functions $z(x)$?


share|cite|improve this question
Not appropriate for MathOverflow. – Igor Rivin Aug 31 '12 at 19:27
up vote 2 down vote accepted

Here is a counterexample for $m=n=1$. Let $f(x,y)=x^2+y^2$ which is convex, and let $z(x)$ be continuous such that $z(0)=0$, $z(1)=2$, $z(2)=1$. Then $$ 2f(1,z(1))=10>0+5=f(0,z(0))+f(2,z(2)), $$ hence $f(x,z(x))$ is not convex.

share|cite|improve this answer

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.