In Miles Reid Undergraduate Algebraic Geometry book it is stated informally, about the Zariski topology:
(1) two morphisms which coincide on a dense open set coincide everywhere
I am suprised that he requires a dense open set since morphisms are continuous maps for the Zariski topology and I thought that for a general topological space we had the following statement
(2) two continuous maps which coincide on a dense set coincide everywhere
My question is: is (2) a valid statement of general topology? If not, what specificities of the Zariski topology make it invalid? (compared to, for instance, a metric space — which I'm more familiar with)
EDIT: Also, a link to a proof of the correct statement, with the precise conditions, would be much appreciated