Let RR be a , let SRS\subseteq R be a , and let MM be an RR-module. The localization of MM at SS is the S1RS^{-1}R-module S1MS^{-1}M of equivalence classes of pairs m,sM×Sm,s\in M\times S, with

(m,s)(m,s)tS such that t(smsm)=0 in M.(m,s)\sim(m',s')\Longleftrightarrow\exists t\in S\text{ such that }t(s'm-sm')=0\text{ in }M.

Write the class as m/sm/s. Addition and scalar action are

ms+ms=sm+smss,(rs)(mt)=rmst.\frac m s+\frac {m'}{s'}=\frac {s'm+sm'}{ss'},\qquad \left(\frac r s\right)\left(\frac m t\right)=\frac {rm}{st}.

Every sSs\in S acts invertibly, and mm/1m\mapsto m/1 is RR-linear.

Here S1RS^{-1}R is the .

Universal property

Let NN be an S1RS^{-1}R-module, regarded as an RR-module through RS1RR\to S^{-1}R. For every RR-linear map f:MNf:M\to N, there is a unique S1RS^{-1}R-linear map f~:S1MN\widetilde f:S^{-1}M\to N such that f~ιM=f\widetilde f\circ\iota_M=f.

Properties

Localizing at a prime p\mathfrak p means taking S=RpS=R\setminus\mathfrak p and writing

Mp:=(Rp)1M,M_{\mathfrak p}:=(R\setminus\mathfrak p)^{-1}M,

in parallel with .

Localization interacts well with exact sequences: it is an exact functor on modules (see and compare with the general notion of an ).

Finally, localization can be expressed as a base change: via there is a natural isomorphism

S1M(S1R)RM.S^{-1}M \cong (S^{-1}R)\otimes_R M.
Examples
  1. Localizing a quotient. If IRI\subseteq R is an ideal, then
    S1(R/I)  (S1R)/(S1I),S^{-1}(R/I)\ \cong\ (S^{-1}R)/(S^{-1}I),
    where S1IS^{-1}I denotes the image of II in S1RS^{-1}R.
  1. Torsion killed by localization. Take R=ZR=\mathbb Z, M=Z/nZM=\mathbb Z/n\mathbb Z, and localize at S=Z(p)S=\mathbb Z\setminus (p), so S1Z=Z(p)S^{-1}\mathbb Z=\mathbb Z_{(p)}.
  • If pnp\nmid n, then nSn\in S becomes a unit, so S1M=0S^{-1}M=0.
  • If pnp\mid n, then S1MZ(p)/nZ(p)S^{-1}M\cong \mathbb Z_{(p)}/n\mathbb Z_{(p)}, which is generally nonzero.
  1. An annihilator made invertible. Let R=k[x]R=k[x], M=R/(x)M=R/(x), and S={1,x,x2,}S=\{1,x,x^2,\dots\}. In S1RS^{-1}R, the element xx is a unit, but xx annihilates MM, so S1M=0S^{-1}M=0.