Let X be connected and $f:X \rightarrow Y$ continuous. Is the graph $G$ of this function connected?
My thought is yes, which seems pretty intuitively clear.
For contradiction, assume $G$ is not connected and $G= U \cup V$. I pick $(x,y)$ in $G$, so WLOG assume $(x,y)$ is in $U$. But since $U=A \times B$ and $V=C \times D$, the disconnectedness of U and V implies B and D are disjoint. This implies the range of f is disconnected which implies X is disconnected, which is a contradiction.
I don't think this is right because I really don't need to use the contuity of f at all. And it ended up not mattering if I chose an (x,y).