This is Prob. 10, Sec. 3.5, in the book Introductory Functional Analysis With Applications by Erwine Kreyszig:
Let $X$ be an inner product space, let $M$ be an uncountable orthonormal subset of $X$, let $x \in X$ such that $x$ is not the zero vector $\mathbf{0}_X$ in $X$, and let $S(x)$ be the subset of $M$ defined as follows: $$ S(x) \colon= \left\{ \ v \in M \ \colon \ \langle x, v \rangle \neq 0 \ \right\}. $$ Then how to show that this set $S(x)$ is at most countable?
And, this is Prob. 8, Sec. 3.4, in the same book:
Let $\left( e_k \right)_{k \in \mathbb{N} }$ be an orthonormal sequence in an inner product space $X$, let $x \in X$, let $m \in \mathbb{N}$, let $A_m(x)$ be the subset of $\mathbb{N}$ defined as follows: $$ A_m(x) \colon= \left\{ \ k \in \mathbb{N} \ \colon \ \left\lvert \left\langle x, e_k \right\rangle \right\rvert > \frac{1}{m} \ \right\}, $$ and let $n_m$ be the cardinality of $A_m(x)$. Then $$ n_m \leq m^2 \lVert x \rVert^2. $$
The proof of this result involves the Bessel's inequality and goes as follows:
As $\left( e_k \right)_{k \in \mathbb{N}}$ is an orthonormal sequence in the inner product space $X$, so by Theorem 3.4-6 (Bessel Inequality) in Kreyszig, for any $x \in X$, the series $\sum \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2$ converges in $\mathbb{R}$, and $$ \sum_{k=1}^\infty \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 \leq \lVert x \rVert^2. $$
Let $x\in X$, let $m$ be a given natural number, and let $A_m(x)$ be ths subset of $\mathbb{N}$ given by $$ A_m(x) \colon= \left\{ \ k \in \mathbb{N} \ \colon \ \left\lvert \left\langle x, e_k \right\rangle \right\rvert > \frac{1}{m} \ \right\}. $$
Let $n_m$ denote the cardinality of the set $A_m(x)$ (which is the same as the number of elements in the set $A_m(x)$ if $A_m(x)$ is finite ), where $$n_m \in \{ \ 0 \ \} \cup \mathbb{N} \cup \{ \ \aleph_0 \ \},$$ where $\aleph_0$ (pronounced ``aleph null'') denotes the cardinality of the set $\mathbb{N}$ of natural numbers, because the set $A_m(x)$ can be empty, non-empty but finite, or countably infinite. Furthermore, as $A_m(x) \subset \mathbb{N}$ and as $\mathbb{N}$ is countable, so $A_m(x)$ cannot be uncountable.
If $x = \mathbf{0}_X$, the zero vector in $X$, then $$ \left\langle x, e_k \right\rangle = 0 $$ for all $k \in \mathbb{N}$, and so the set $A_m(x)$ is empty, and therefore $$ n_m = 0 = m^2 \cdot 0 = m^2 \lVert x \rVert^2. $$
So let's suppose that $x$ is not the zero vector in $X$, and suppose also that $n_m \geq m^2 \lVert x \rVert^2$. Then as $$ \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 \geq 0 $$ for all $k \in \mathbb{N}$ and as $$ \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 > \frac{1}{m^2} $$ for all $k \in A_m(x)$, so we note that \begin{align*} \sum_{k=1}^\infty \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 &= \sum_{k \in \mathbb{N} } \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 \\ &= \sum_{k \in A_m(x) } \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 + \sum_{k \in \mathbb{N} - A_m(x) } \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 \\ &\geq \sum_{k \in A_m(x) } \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 \\\ &> \frac{n_m}{m^2} \\ &\geq \frac{m^2 \lVert x \rVert^2 }{m^2} \\ &= \lVert x \rVert^2, \end{align*} which contradicts the Bessel's inequality. Hence we must have $$ n_m < m^2 \lVert x \rVert^2, $$ as required.
In the above calculation, we have used the equality $$ \sum_{k=1}^\infty \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2 = \sum_{k \in \mathbb{N} } \left\lvert \left\langle x, e_k \right\rangle \right\rvert^2. $$ This is because of Theorem 3.55 in the book \emph{Principles of Mathematical Analysis} by Walter Rudin, 3rd edition, which says that if a series of complex numbers converges absolutely, then, by altering the order of the terms of that series in any way whatsoever, we obtain a series that also converges absolutely and has the same sum as the sum of the original series.
Is this proof correct? If so, then can we use the latter result to establish the former?
If not, then where have I erred in this proof? And, how to give an independent proof of the former result?