Canonical: https://knowlpedia.com/algebra-commutative/localization-prime-correspondence/

# Prime correspondence under localization

Prime ideals in a localization S^{-1}R correspond to primes of R disjoint from S via extension and contraction.

Let \(R\) be a [commutative ring](https://knowlpedia.com/algebra-rings/commutative-ring/) and let \(S\subseteq R\) be a [multiplicative set](https://knowlpedia.com/algebra-commutative/multiplicative-set/). Write \(S^{-1}R\) for the [localization](https://knowlpedia.com/algebra-commutative/localization-ring/).

The map
\[
\mathfrak p \longmapsto S^{-1}\mathfrak p
\]
induces an inclusion-preserving bijection between:
- prime ideals \(\mathfrak p\subseteq R\) with \(\mathfrak p\cap S=\varnothing\), and
- prime ideals \(\mathfrak q\subseteq S^{-1}R\).

The inverse bijection is **contraction**:
\[
\mathfrak q \longmapsto \mathfrak q^c := \{\, r\in R : r/1 \in \mathfrak q \,\}.
\]

In other words, “primes survive localization exactly when they do not meet the set of denominators.” This refines the fact that localization [preserves primality](https://knowlpedia.com/algebra-commutative/localization-preserves-primality/).

## Geometric form

On the [prime spectrum](https://knowlpedia.com/algebra-commutative/prime-spectrum/), this correspondence identifies \(\operatorname{Spec}(S^{-1}R)\) with the subspace
\[
\{\,\mathfrak p\in \operatorname{Spec}(R) : \mathfrak p\cap S=\varnothing\,\}
\]
of \(\operatorname{Spec}(R)\). For \(S=\{1,f,f^2,\dots\}\), this subspace is the basic open set \(D(f)\); for a general multiplicative set it need not be open.

## Localization at a prime

If \(S=R\setminus \mathfrak p\) for a prime ideal \(\mathfrak p\), then \(S^{-1}R\) is the ring [\(R_\mathfrak p\)](https://knowlpedia.com/algebra-commutative/localization-at-prime/). The primes of \(R_\mathfrak p\) correspond exactly to primes \(\mathfrak q\subseteq R\) with \(\mathfrak q\subseteq \mathfrak p\).

## Examples

1. **Inverting a prime in \(\mathbb{Z}\).**
   Take \(R=\mathbb{Z}\) and \(S=\{1,p,p^2,\dots\}\). Then \(S^{-1}R=\mathbb{Z}[1/p]\). A prime ideal of \(\mathbb{Z}\) meets \(S\) exactly when it contains \(p\), so the primes of \(\mathbb{Z}[1/p]\) correspond to \((0)\) and \((\ell)\) for primes \(\ell\neq p\).

2. **Localizing away from a hypersurface.**  
   Let \(R=k[x,y]\) and \(S=\{1,x,x^2,\dots\}\), so \(S^{-1}R=R_x\). Primes of \(R_x\) correspond to primes of \(k[x,y]\) that do not contain \(x\). For instance, \((y)\) survives, while \((x,y)\) does not.

3. **Localization at a maximal ideal.**
   In \(R=k[x,y]\), localizing at \(\mathfrak m=(x,y)\) gives [\(R_\mathfrak m\)](https://knowlpedia.com/algebra-commutative/localization-at-prime/). Its prime ideals correspond to all prime ideals of \(k[x,y]\) contained in \((x,y)\), including \((0)\), \((x)\), \((y)\), \((x-y)\), and \((x,y)\).
