One may define localization in much more general situation. The reader is advised to read standard books on commutative algebras.
Let us do this by considering representations.
Now, for any , extends to if and only if the image of is invertible, that means, . In such a case, the extension is unique. (We recall the fact that the inverse of an element of a field is unique.)
It is easy to prove that is a homeomorphism.
Let be a ring. Let . It is important to note that each element of is written as a “fraction”
Likewise, for any -module , we may define as a set of formal fractions