Skip to main content
2 of 2
deleted 4 characters in body
Iosif Pinelis
  • 127.9k
  • 8
  • 107
  • 229

Your question is

Find the minimum of $f(x,y)=(x-2)^2+y$ subject to $y-x^3\ge0$, $y+x^3\le0$ and $y\ge0$.

The restrictions $y-x^3\ge0$, $y+x^3\le0$, and $y\ge0$ can be rewritten as $0\le y\le-x^3$ or, equivalently, as $x\le0\ \&\ y\in[0,-x^3]$. For each fixed real $x\le0$, the minimum of $f(x,y)=(x-2)^2+y$ in $y\in[0,-x^3]$ is $f(x,0)=(x-2)^2$. So, the minimum in question is $\min_{x\le0}(x-2)^2=(0-2)^2=4$.

Iosif Pinelis
  • 127.9k
  • 8
  • 107
  • 229