## Convex sets and projections

### Remember to vote up questions/answers you find interesting or helpful (requires 15 reputation points)

Hello!

I recently started (it's purely self-education) reading a "Mathematical programming and optimizations" book, did a vast part of the exercises related to the theoretical part and at one moment I got the following question about convex sets:

I'm almost sure this statement is correct, but unfortunately, couldn't find something similiar on the internet and I tried to prove it, but I couldn't.

Assume we have some set $S \subset \mathbb{R_n}$ and for this set: $S = \overline{S}$ (set closure equals the set itself).

Now, there exists only one projection of arbitrary point $y$ which doesn't belong to the set $S :$

$\forall y \in \mathbb{R_n}, \space y \notin S: \space \exists ! \space p = \pi_S(y)$

This should mean that $S$ is a convex set.

Could someone please point me if I'm wrong (or right, but with some limitations for this statement) and help me proving it if I'm right.

I also understand that this question be a too "basic" to post here, but I've just started educating myself in this sphere and hope that sometimes I'll get smart enough to ask really bright questions :)

Thank you.

-

I think something's missing in your question. What is the projection $\pi_s$? – Thierry Zell Oct 9 2010 at 16:02
My guess is that $\pi_s(y)$ would be the nearest point in $S$ to $y$ (and so would be better notated as $\pi_S(y)$.). – Robin Chapman Oct 9 2010 at 16:05
My fault, sorry. – MasterOfOrion Oct 9 2010 at 16:07

## 1 Answer

I presume what you want to prove is the following. Let $S$ be a nonempty closed subset of $\mathbb{R}^n$. Then if there is a point $y\in\mathbb{R}^n$ and there are at least two points $p$ and $q$ in $S$ with Euclidean distance $d$ from $y$ (where $d$ is the distance of $y$ from $S$), then $S$ is not convex. To see this, note that the midpoint $r$ of the line segment $pq$ is closer to $y$ than $p$ of $q$ is, and so cannot lie in $S$. Hence $S$ isn't convex.

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 30, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9615708589553833, "perplexity_flag": "head"}