A similar question has been posted here: Dense subspace of linear space and functional equal to $0$.
Let $(V, \|\ \cdot\ \|)$ be a Banach space on $\mathbb{C}$ and let $V^{*}$ be its dual, endowed with the dual norm $$\|f\|_{V^{*}}=\|f\|_{op}=\sup_{\|x\|_{V}\leq 1}|\langle x,f \rangle_{V, V^{*}}|.$$ For $M\subset V$, we define the annihilator of $M$ as $$M^{\bot}:=\{f\in V^{*}:\langle x,f\rangle_{V,V^{*}}=0\ \ \text{for all}\ \ x\in M\}\subset V^{*}.$$ and similarly for $N\subset V^{*}$, we define $$^{\bot}N:=\{x\in V:\langle x,f\rangle_{V,V^{*}}=0\ \ \text{for all}\ \ f\in N\}=\bigcap_{f\in N}\ker(f)\subset V.$$
I am working on a problem stating as follows:
Let $W\subset V$ be a vector subspace. Show that $W$ is dense in $V$ if and only if $W^{\bot}=\{0\}$.
Using Hahn-Banach geometric form, I have proved that $\overline{W}=\ ^{\bot}(W^{\bot})$. This gives us the direction $(\Leftarrow)$, as follows:
Suppose $W^{\bot}=\{0\}$, then $$\overline{W}=\ ^{\bot}(W^{\bot})=\ ^{\bot}\{0\}=\{x\in V: \langle x,0\rangle_{V,V^{*}}=0\}=V,$$ since $\langle x,0\rangle_{V,V^{*}}=0$ is always true for all $x\in V$. So, we have $\overline{W}=V$, which means that $W$ is dense in $V$.
However, I got stuck in the direction $(\Rightarrow)$. Suppose $W$ is dense in $V$, and suppose $W^{\bot}\supset \{0\}$, i.e. there exists $f\in V^{*}$ that is not identically zero such that $\langle x, f\rangle_{V,V^{*}}=0$ for all $x\in W$.
I tried to use the density to continue, but by density we can only $y\in V$ such that $\|x-y\|_{V}<\epsilon$, where $\epsilon>0$ was arbitrarily fixed. I don't know how to continue then...
Is there a way for me to get contradiction? Thanks!