0

Let $X,Y$ topological spaces, $f:X\rightarrow Y$ a function, with $Y$ compact. I need to show that, if $f$ is continuous, so $$G_{f}:=\{(x,f(x)):x\in X\}$$ is closed in $X\times Y$.

I saw that question with $Y$ Hausdorff, so is easy to prove that for every $(x,y)$ with $y\neq f(x)$, there is an open set $U\times V$ such that $U\times V\subset (G_{f})^{c}$ by taking a neighborhood $V$ of $y$ in $Y$ with $f(x)\notin V$.

Can I do that for $Y$ compact? If not, how can I solve this question?

Mateus Rocha
  • 2,746

0 Answers0