$f,g : X \rightarrow Y$ are continuous functions and Y is an ordered set then $\{x \in X: f(x) \leq g(x)\}$ is closed
I saw a proof of this by showing that its complement is open. But the way i started thinking about the problem was trying to prove that it contained all its limit points hence be closed, and using the fact that $Y$ will be Haussdorff since it will have the order topology, but i got nowhere. I was wondering if its possible to do it the way i started thinking about the problem.Thanks in advance.