Let $f: X\to Y$ be a function between topological spaces, where $Y$ is Hausdorff and $G_f:=\{(x,f(x)):x\in X\}\subseteq X\times Y$
Show that:
a) If $f$ is continuous, then $G_f$ is closed.
b) If $X$ and $Y$ are compact and $G_f$ closed, then $f$ is continuous.
Hello,
I have a problem with this task and might need some help.
To show that $G_f$ is closed, I tried to show that $G_f$ only contains boundary points. So $\partial G_f=G_f$.
$G_f: X\to X\times Y, x\mapsto (x,f(x))$
I have a general question. Do you always use the product topology when you work with sets which are products of sets? I might use the projection $pr_X: X\times Y\to X, (x,y)\mapsto x$ and $pr_Y:X\times Y\to Y, (x,y)\mapsto y$ then.
To show that $\partial G_f=G_f$ I have to show that for every element $(x,y)\in G_f$ and every neighbourhood of this point, the neighbourhood contains elements which are not included in $G_f$.
Could this be a possible way to solve this? I would be thankful for a hint.
Thanks in advance.