An affine scheme is a isomorphic to

(Spec⁡A,OSpec⁡A)(\operatorname{Spec}A,\mathcal O_{\operatorname{Spec}A})

for some AA. Here Spec⁡A\operatorname{Spec}A is the with its , and OSpec⁡A\mathcal O_{\operatorname{Spec}A} is its . The ring is recovered from global sections:

Γ(Spec⁡A,OSpec⁡A)≅A.\Gamma(\operatorname{Spec}A,\mathcal O_{\operatorname{Spec}A})\cong A.
Examples

For example, if kk is a field, Spec⁡k\operatorname{Spec}k is a one-point affine scheme whose local ring is kk. The Spec⁡k[x]\operatorname{Spec}k[x] is another affine scheme, but it contains more than the familiar kk-valued points: it also has points corresponding to other prime ideals, including a . General are assembled by gluing affine schemes along open subsets.