Question: Suppose $f:\mathbb{R}^n\rightarrow\mathbb{R}$ Show that the set $\{x\in\mathbb{R}^n \mid f(x)=0\}$ is a closed set.
My solution (most probably wrong): a function is continuous iff the inverse image of every closed set is closed. Thus we must show that for $x\subset M$ the inverse image of $X$ under $f^{-1}$ This however means $(f^{-1})^{-1}X=f(X)$ is closed.
So... I am unsure if the proof I am using is acceptable given the question. If there are any adjustments that I should make please let me know.