DEFINITION  9.1   
A morphism 

 of schemes is 
separated if the diagonal 
(That means, the image of the diagonal map 

) 
is closed in 

.  In other words, 

 is closed if and only if
there exists an ideal sheaf 

 of 

 such that 

 induces an isomorphism 

 of schemes.
 PROOF..
Let 

 be the kernel of a ring homomorphism
Then it is easy to see that 

 gives the defining equation of the 
diagonal 

.
For the general affine morphism case, let 
 be a scheme
which is affine over 
.
Then we have 
.
We may then see the situation locally and reduce the problem to the
first case.
 
 PROOF..
We first claim the following sublemma:
SUBLEMMA  9.5   
Under the assumption of the lemma above, we have
 
The proof of the sublemma above is given by showing that the right hand side
satisfies the same universal property as the left hand side. 
Now, let us prove the lemma. Since 
 is separated over 
, 
we have a closed immersion
By taking a base extension, we obtain a closed immersion
Then 

 is identified with the composition of closed immersions