Given a set $$G= \{c \in L^2[0,1]\ \ | \ \ c \geq 0 \ \ \text{a.e.}\}$$ Now i want to prove that $G$ is not open. In fact it does not have an interior point.
For this i have to prove that for any $c \in G$, any neighborhood of $c$ is not fully contained in $G$. i.e. any neighborhood of $c$ will always contains a point which is not in $G$. How to prove this point? Or there is any other way to show this?
We want to show that any neighbourhood of $c$ contains a point not in $G$. This is equivalent to finding a sequence $c_n$ of $L^2$ functions not in $G$ which converge to $c$ in the $L^2$ norm.
$c_n$ not in $G$ means that the set $\{x:c_n(x)=0\}$ has non-zero measure.
Let us consider the following: Let $A_n$ be a sequence of measurable subsets of $[0,1]$, such that $\mu(A_{n}) = \frac 1n$, and $A_{n+1} \subset A_n$. Define: $$ c_n(x) = \begin{cases} c(x) & x \notin A_n\\ 0 &x \in A_n \end{cases} $$
You can see that each $c_n$ is not in $G$, because it is zero on a non-measurable set. Use any theorem that you know (bounded convergence theorem, for example), and prove that $c_n \to c$ in $L^2[0,1]$. This means that $c \notin G ^\circ$. So $G^\circ$ is empty, of course $G$ is not open.