Let $\displaystyle f$ and $\displaystyle g$ be two continous functions on a topological space $\displaystyle X$ with values on a hausdorff space $\displaystyle Y$. Prove that the set $\displaystyle \{x \in X : f(x)=g(x)\}$ is closed in $\displaystyle X$.

Any help is appreciated.