Under the World Tree

A Non-Affine Quasiaffine Variety

Posted: February 19, 2026 | Updated: September 11, 2026

To an algebraist the simplest geometric spaces are affine varieties, determined by their ring of functions. Unfortunately, students in algebraic geometry discover early that subvarieties are (a) interesting to study since functions and sheaves restrict to them and (b) indistinguishable by their function rings alone.
Using (b) to detect non-affineness, we can show rigorously that the quasiaffine variety A2{(0,0)}\Bbb{A}^2 \setminus \{(0,0)\} is not affine.

Identifying O(A2{(0,0)})\underline{\text{Identifying } \mathcal{O}(\mathbb{A}^2 \setminus \{(0,0)\})}: We have an injection k[x,y]O(A2{(0,0)})k[x,y] \to \mathcal{O}(\mathbb{A}^2 \setminus \{(0,0)\}) by restriction of regular functions on A2\mathbb{A}^2: if f,gf, g are regular functions on A2\mathbb{A}^2, then fg:A2kf-g : \mathbb{A}^2 \to k is also regular and in particular continuous. If f,gf, g are identical except possibly at (0,0)(0,0), then since fgf-g is nonzero at (0,0)(0,0) if it is nonzero in an open neighbourhood of (0,0)(0,0) we see that fgf-g must be identically 00. Hence the restriction map is injective. We can also determine the regular functions sheaf-theoretically by using the open cover D(x)D(y)D(x)\cup D(y) for A2{(0,0)}\mathbb{A}^2 \setminus \{(0,0)\}. These sets contain the same points they would contain in A2\mathbb{A}^2, and we know that O(D(x))=k[x,y]x=k[x±1,y]\mathcal{O}(D(x)) = k[x,y]_{x} = k[x^{\pm 1},y], O(D(y))=k[x,y±1]\mathcal{O}(D(y)) = k[x, y^{\pm 1}]. A regular function on A2{(0,0)}\mathbb{A}^2 \setminus \{(0,0)\} is then given by a pair of fk[x±1,y],gk[x,y±1]f \in k[x^{\pm1}, y], g \in k[x, y^{\pm 1}] so that ff and gg have the same image in O(D(xy))=k[x,y]xy=k[x±1,y±1]\mathcal{O}(D(xy)) = k[x, y]_{xy} = k[x^{\pm 1}, y^{\pm 1}]. The image of ff is f1\frac{f}{1} and that of gg is g1\frac{g}{1}, so this means that there is some hh in (xy)(xy) with h(fg)=0    f=gh(f-g) = 0 \implies f =g as k[x,y]k[x, y] is a domain. Clearly we have O(D(x))O(D(y))=k[x,y]\mathcal{O}(D(x)) \cap \mathcal{O}(D(y)) = k[x,y] (happening in the function field k(x,y)k(x, y)), so we see that O(A2{(0,0)})=k[x,y]\mathcal{O}(\mathbb{A}^2 \setminus \{(0,0)\}) = k[x,y].

Now when XX and YY are varieties and YY is affine there is an isomorphism Hom(X,Y)Hom(A(Y),O(X))\text{Hom}(X, Y) \cong \text{Hom}(A(Y), \mathcal{O}(X)). This means that for any affine YY with A(Y)k[x,y]A(Y) \cong k[x,y] one has YA2Y \cong \mathbb{A}^2, so to determine the difference between A2\Bbb{A}^2 and A2{(0,0)}\Bbb{A}^2 \setminus \{(0,0)\} using maps of rings we will need to look at maps from A2{(0,0)}\Bbb{A}^2 \setminus \{(0,0)\} to A2\Bbb{A}^2. Alternatively we could compare their topologies, but this turns out to be surprisingly delicate: a result Wie78 of Wiegand shows that all nonempty open subsets of A2\mathbb{A}^2 are homemorphic in positive characteristic.

A2{(0,0)} is not isomorphic to A2\underline{\mathbb{A}^2 \setminus \{(0,0)\} \text{ is not isomorphic to } \mathbb{A}^2}: Since a morphism of varieties induces a map of the rings of regular functions, an isomorphism f:A2A2{(0,0)}f: \mathbb{A}^2 \xrightarrow{\sim} \mathbb{A}^2 \setminus \{(0,0)\} would correspond to an automorphism of k[x,y]k[x,y]. Let f:k[x,y]k[x,y],ggff_{*}: k[x,y] \to k[x,y], g \mapsto g \circ f be the associated isomorphism of rings (thinking of k[x,y]k[x,y] as regular functions on each space), and notice that ff induces an isomorphism kk[x,y]/(x,y)k[x,y]/(xf,yf)k \cong k[x,y]/(x,y) \to k[x, y]/(x \circ f, y \circ f). It follows that (xf,yf)(x\circ f, y \circ f) is a maximal ideal, so (xf,yf)=(xa,yb)(x\circ f, y\circ f) = (x-a, y-b) for some a,bka, b \in k.

Now if f:XYf : X \to Y is a morphism of varieties and gO(Y)g \in \mathcal{O}(Y), then V(g)V(g) is closed in YY and V(gf)V(g\circ f) is closed in XX, f(V(gf))V(g)f(V(g\circ f)) \subseteq V(g) . If ff is an isomorphism, then applying this reasoning in the other direction gives f(V(gf))=V(g)f(V(g\circ f)) = V(g). In our situation, this implies that f(V(xa,yb))=V(x,y)=f(V(x-a, y - b)) = V(x, y) = \varnothing, which is a contradiction as V(xa,yb)V(x-a, y-b) is a point of A2\mathbb{A}^2 for all a,bka, b \in k. We see that A2{(0,0)}\mathbb{A}^2 \setminus \{(0,0)\} cannot be isomorphic to A2\mathbb{A}^2.

Note that our argument identifying the regular functions on A2{(0,0)}\mathbb{A}^2 \setminus \{(0,0)\} will work similarly for An{(0,0)}\mathbb{A}^n \setminus \{(0,0)\} with n3n \geq 3. In the n=1n = 1 case, A1{0}\mathbb{A}^1 \setminus \{0\} is a variety, and in this setting we notice that A1{0}=D(x)\mathbb{A}^1 \setminus \{0\} = D(x) with functions k[x]xk[x]_x.

Further reading:

  • BFH19 for more study of the topology of A2\mathbb{A}^2 via subvarieties
  • MSEAffineJacobian for relating this result to algebraic Hartog's theorem
Profile picture

Written by Corey Lionis, denizen of the world-tree hollow.