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

Question 2.23 out of Boyd and Vanderberghe:

Give an example of two closed convex sets that are disjoint but cannot be strictly separated.

The obvious idea is to take something like unbounded sets which are disjoint but approach each other in the limit. For example, f(x) = 1/x and g(x) = -1/x. But isn't x=0 a strictly separating hyperplane here?


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

To say that two convex sets $C$ and $D$ in $\mathbb{R}^n$ can be separated by a hyperplane $\mathcal{H}$ is to say that there is a linear functional $f$ on $\mathbb{R}^n$ such that $\mbox{sup} \{f\left(x\right)\: : \: x\in C\} \leq \mbox{inf} \{f\left(x\right)\: : \: x \in D\}$. $\mathcal{H}$ will then be the hyperplane $\{x \in \mathbb{R}^n \: : \: f\left(x\right) = c\}$, which is a coset of the kernel of $f$.

We say that $C$ and $D$ can be strictly separated if a linear functional $f$ can be chosen so that the above inequality is strict. Your intuition about what sorts of closed convex sets can be separated but not strictly separated is correct. This can happen when $C$ and $D$ are not compact and approach arbitrarily close to each other without meeting. So if you let $C$ be the points in $\mathbb{R}^2$ such that $y \geq \frac{1}{x}$ with $x > 0$ and $D$ be the points such that $y \leq -\frac{1}{x}$ with $x > 0$, then $C$ and $D$ are separated by the functional that projects onto the $y$ axis, but they are not strictly separated by this functional.

Noah's answer gives another good example. joriki's answer clears up a lot of things, and the paper he links to is a good introduction to this topic.

share|cite|improve this answer

Take $X = \{(x,y) \mid xy\geq 1, x,y>0\}$ and $Y = \{(x,y) \mid x\leq 0\}$.

share|cite|improve this answer

Some comments on the question and Albert Steppi's answer (written as an answer because they're too long for a comment):

  • You both seem to have ignored the "convex" part of the question. What you need is not the graphs of these functions but the sets they bound. Also you need to select one of the two branches of each of $1/x$ and $-1/x$ in order to get a convex set.
  • BoB, I think where your otherwise correct ideas went wrong is that you considered the inequality between the values of the functional instead of the inequality between their infimum and supremum.
  • This paper has more on the topic.
share|cite|improve this answer
Hmm -- Albert Steppi's answer that I referred to here has been deleted. Noah Stein's answer correctly defines convex sets -- in fact his example is the same as the one in the paper I linked to. Note, however, that BoB's original idea was also correct; you don't need to have the separating line as one of the boundaries, since the inequality has to be strict between the infimum and the supremum and not just between the individual values of the functional. – joriki Mar 11 '11 at 23:23
I noticed that my answer was bogus pretty quick, but I guess not quick enough. From now on I'll make sure not to post when I am short on sleep. – Albert Steppi Mar 12 '11 at 0:24

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.