Let $C(X)$ denote the ring of all continuous real-valued functions on a completely regular Hausdorff space $X$.
Let $e:X\longrightarrow \mathbb R$ be an idempotent function in $C(X)$ (i.e $e^2=e$)
Suppose that $Z(e)=\{x\in X| e(x)=0\}$. I need to to show $Z(e)$ is clopen.
Clear it is a closed set. But why is it open?