The proof will consist of two parts. First, we show that the infimum of distance between
\(x\) and
\(A\) is attained. (We should recall that the infimum itself exists is a consequence of the completeness of the real numbers, e.g.
Theorem 2.6.) Second, we show that this point is unique in
\(A\text{.}\)
Let
\begin{equation*}
M = \inf_{a\in A} \norm{x-a}.
\end{equation*}
We assumed that \(A\) was not empty, and so \(m\) must be some finite number. Since the infimum is a limit point, we can construct a sequence \(\norm{x - y_n}\) tending to \(\norm{x - a}\text{.}\) That is, for each integer \(n\text{,}\) there exists some \(y_n\) so that
\begin{equation*}
\norm{x - y_n}^2 \lt M^2 + \frac{1}{n}.
\end{equation*}
We now move from a sequence in norm to a sequence in
\(A\) by showing that
\(y_n\) is Cauchy in
\(A\) - that is, we need to show that
\(\norm{y_n - y_m}\) is small. We first apply
Theorem 2.2.8 to the sequences
\(x - y_n\) and
\(x - y_m\text{.}\) For any
\(m,n \in \mathbb{N}\text{,}\) we have
\begin{align*}
\amp\norm{(x - y_n) - (x - y_m)}^2 + \norm{(x - y_n)+(x - y_m)}^2\\
\amp= 2 \norm{x - y_n}^2 + 2\norm{x - y_m}^2\\
\amp\lt 4M^2 + 2\left(\frac{1}{n} + \frac{1}{m}\right).
\end{align*}
The term we are trying to bound is \(\norm{(x - y_n) - (x - y_m)} = \norm{y_n - y_m}\text{.}\) On rearrangement, we get
\begin{align*}
\norm{y_n - y_m}^2 \amp\lt 4M^2 + 2\left(\frac{1}{n} + \frac{1}{n}\right) - \norm{2x - y_n - y_m}^2\\
\amp= 4M^2 + 2\left(\frac{1}{n} + \frac{1}{n}\right) - 4\norm{x - \frac{y_n - y_m}{2}}^2
\end{align*}
Now we will use the convexity of \(A\text{.}\) Since \(y_n, y_m \in A\text{,}\) we know that \(\frac{1}{2} y_n + \frac{1}{2} y_m =\frac{y_n + y_m}{2} \in A\text{,}\) and hence that
\begin{equation*}
M^2 = \inf_{a \in A} \norm{x - a}^2 \leq \norm{x - \frac{y_n + y_n}{2}}^2.
\end{equation*}
Consequently,
\begin{align*}
\norm{y_n - y_m}^2 \amp\leq 4M^2 + 2\left(\frac{1}{n} + \frac{1}{m} - 4M^2\right)\\
\amp = 2\left(\frac{1}{n} + \frac{1}{m}\right).
\end{align*}
It follows that \((y_n)\) is a Cauchy sequence in \(A\text{;}\) for a given \(\eps > 0\) (you should verify). Because \(\hilbert\) is a Hilbert space, Cauchy sequences converge, and so \(y_n \to y \in \hilbert\text{.}\) Since \(A\) is closed, \(y \in A\text{.}\) On the one hand, this means that \(\norm{x - y} \geq M\text{,}\) since \(M\) is an infimum. On the other hand, we know that for all \(n\text{,}\)
\begin{equation*}
\norm{x - y_n}^2 \leq M^2 + \frac{1}{n}.
\end{equation*}
On taking \(n \to \infty\text{,}\) we get \(\norm{x - y} \leq M^2\text{.}\) We conclude that \(\norm{x - y} = M\text{,}\) and so \(y\) is a closest point in \(A\) to \(x\text{.}\)
Now we show that \(y\) is the unique closest point. Suppose that there is some \(w \in A\) with \(\norm{x - w} = M\text{.}\) Convexity gives that \(\frac{y + w}{2} \in A\text{,}\) and so
\begin{equation*}
\norm{x - \frac{y + w}{2}} \geq M.
\end{equation*}
\begin{align*}
\norm{y-w}^2 \amp= 2\norm{x-w}^2 + 2\norm{x-y}^2 - 4\norm{x - \frac{y + w}{2}}^2\\
\amp \leq 2M^2 + 2M^2 - 4M^2 = 0.
\end{align*}
Thus, \(y=w\) which gives uniqueness.