Let $k$ be a field, $X$,$Y$ schemes of locally finite type over $k$. Let $X$ be reduced, $k$ algebraically closed. I want to show:
Two morphisms $f,g: X \rightarrow Y$ over $k$ are equal if and only if the underlying maps of topological spaces agree.
Also I need an example why this fails if the field $k$ is not algebraically closed.
Now, the "only if" part is clear, so I only have to prove the other direction. I`ve got some theorems I think one can work with, such as if $f,g$ agree on a dense, closed subset, then they are already equal. I cant seem to get in a position to use them yet though. I think one can try to reduce this problem to the affine case, but I am not really firm with working with schemes, and the whole algebraic geometry does not really suit me.
This bears resemblance to another question asked, namely Morphisms of $k$-schemes who agree on $\overline{k}$-points. I was not able to construct the proof I need from this though, because the accepted answer uses seperatedness of $X$, which is not given or needed.
Any help would be appreciated!