Is $M_a=\{f\in \mathcal C[0,1]:f(a)=0\}$ where $\mathcal C[0,1]$ denotes the ring of continuous functions in $[0,1]$ a Principal ideal?
My try: Let $M_a=\langle f_1\rangle$ .Consider $f(x)=\sqrt {|f_1(x)|}$ then $f(x)=g_1(x)f_1(x)$ .
Now $|g_1(x)|\le M$ since image of a continuous function on a compact set is bounded.
Also by continuity of $f_1(x)$ at $a$ if we choose $\epsilon=\frac{1}{M^2}$ then there exists $U$ an open set containing $a$ such that $|f_1(x)|\le \frac{1}{M^2}$ $\forall x\in U$.
Now for all $x\in U$ , $|f(x)|\le M|f_1(x)|\le M\frac{1}{M^2}=\frac{1}{M}$
But I am not getting any contradiction from here.Please suggest some steps