# Basis of infinite dimensional Banach space and separable hilbert space

I got two theorems.

Theorem 1. Infinite dimensional Banach space has uncountable basis( cannot have countable basis).

Theorem 2. Infinite dimensional Hilbert space is separable iff every orthonormal basis for the Hilbert space is countable.

And notice that Hilbert space is Banach space and it means that every infinite dimensional Hilbert space has uncountable basis.

In my mind, they are contradicting each other. I don't know where I am thinking wrongly. I hope to get any help from here. Any comment would be helpful for me.

An "orthonormal basis" is not the same thing as a basis that is orthonormal, and in particular may not even actually be a basis at all. An orthonormal basis for a Hilbert space $H$ is just a maximal orthonormal subset $B\subseteq H$. Such a subset need not actually span $H$, and so it need not be a basis. It is true that we can write an arbitrary element $x\in H$ as the sum $\sum_{b\in B}\langle x,b\rangle b$, but this is an infinite sum in general and so does not show that $x$ is in the span of $B$.
• Your first theorem doesn't look right. For example $l_p$ spaces. p=2 is a Hilbert space, but they all have the same bases $(x_k,k=0,\infty)$, where. $x_k=(0,0,..,1,...)$ where 1 is the kth component. This is countable. Commented Aug 17, 2018 at 19:06