Does $f=g$ as the maps on the underlying topological spaces?

41 Views Asked by At

Let $f,g:X\to Y$ be two morphisms of schemes, if $U$ is a dense open set of $X$, and $f|_U=g|_U$ as morphisms of schemes, does $f=g$ as the maps on the underlying topological spaces?