Let $(X, \|\cdot \|_X)$ and $(Y,\|\cdot \|_Y)$ be (nontrivial real) Banach spaces such that $X \subseteq Y$ .
We say $X$ is compactly embedded into $Y$ if the following two conditions hold :
- There exists a constant $C>0$ such that $\| x\|_Y \leq C\|x \|_X$ for every $x \in X$ .
- If a sequence $\{x_n\}_{n \geq 1} \subseteq X$ is bounded with respect to the norm $\|\cdot \|_X$, then its closure in $Y$ is a compact subset of $Y$.
The best constant $C$ is given by:
\begin{equation*} C = \inf_{x \in X, x \neq 0} \frac{\| x\|_Y}{\| x\|_X} \end{equation*}
Suppose $X$ is compactly embedded into $Y$. Does it follow that the above best constant is attained? That is, does there exist a nonzero element $x \in X$ such that $C= \frac{\| x\|_Y}{\| x\|_X}$? If not, under what additional assumption will such an extremal element exist?
My attempt:
For each positive integer $n$, there exists a nonzero element $x_n \in X$ such that:
\begin{equation*} C \leq \frac{\| x_n\|_Y}{\| x_n\|_X} < C + \frac{1}{n} \end{equation*}
Put $y_n = \frac{x_n}{\| x_n\|_X}$. Then $y_n \in X$, $\| y_n\|_X=1$, and:
\begin{equation*} C \leq \frac{\| y_n\|_Y}{\| y_n\|_X}=\| y_n\|_Y < C + \frac{1}{n} \end{equation*}
By property $2$, there is a $y \in Y$ and a subsequence $\{n_k\}_{k\geq 1}$ such that $y_{n_k} \to y$ as $k \to \infty$ with respect to the $\| \cdot \|_Y$ norm. By continuity of norm and squeeze theorem, we have $\| y \|_Y = C>0$ so that $y \neq 0$ .
Now all I need to prove is that $y \in X$. But I am stuck on this step. Clearly $\{y_{n_k}\}_{k \geq 0}$ is a Cauchy sequence in $\| \cdot \|_Y$ but I have no idea about how to make it Cauchy in $X$ . On the other hand, I am unable to come up with counterexamples .