I'm trying to solve this question:
Let $$M=\{f\in C([0,1])\ | \ f(1)=0\}. $$
Is $M$ closed in $(C[0,1]),d_1)$?
At first, I assumed that $M$ was closed, so I tried to prove that if there is a sequence $f_1,f_2,f_3,...\in M,$and $\ f_n\rightarrow f\,$ with respect to $d_1$, then $f \in M$.
However, I got stuck and checked out the answers, and the answer I was given was just a counterexample of a sequence $(f_n)_n$ where $f_n \in M,\ f_n\rightarrow f$ wrt $d_1$, and $f\notin M$.
I understand that it's a lot easier to give a counterexample, but unfortunately I suck at analysis and cannot tell whether a set is closed or not upon inspection or come up with a counterexample right away. Are there other ways of proof, like proof by contradiction, to show that this set is not closed?
A useful fact:
Proof:
If $\phi$ is bounded, then $\ker \phi = \phi^{-1}(\{0\})$ which is closed as a preimage of a closed set under a continuous funciton.
Conversely, if $\phi$ is unbounded then there exists a sequence $(x_n)_n$ in $X$ such that $\|x_n\| = 1$ and $|\phi(x_n)| \ge n$ for all $n \in \mathbb{N}$.
Pick $x \in X \setminus \ker \phi$ and consider the sequence $\left(x - \frac{\phi(x)}{\phi(x_n)}x_n\right)_n$ in $\ker \phi$. Notice that it converges to $x$ which shows that $\ker \phi$ is dense in $X$. If $\ker \phi$ were closed, it would mean $\ker \phi = \overline{\ker\phi} = X$ so $\phi = 0$, contradicting the fact that $\phi$ is unbounded.
Consider the linear functional $\phi : X \to \mathbb{\mathbb{R}}$ given by $\phi(f) = f(1)$.
$\phi$ is not bounded. Namely, consider the sequence $(f_n)_n$ in $C[0,1]$ given by $f_n(x) = nx^{n-1}$. We have
$$\|f_n\|_1 = \int_0^1 nx^{n-1}\,dx = 1$$
but $\phi(f_n) = f_n(1) = n$.
Finally, notice that $M = \ker \phi$ and conclude that $M$ is not closed.