# Toric Varieties and Polytopes

Toric varieties are among the simplest objects in algebraic geometry, and they are often a test case for general conjectures. One of the great things about them is that you can completely describe a toric variety by combinatorial data. In this post, I want to explain how this works.

## The Projective Plane

To begin with, let’s talk about $\mathbb{CP}^2$. I’ll drop the $\mathbb{C}$ from now on, as we’ll always be thinking over the complex numbers. I’ll write homogenous coordinates on $\mathbb{P}^2$ as $(x:y:z)$.

To describe $\mathbb{P}^2$ in local coordinates, we need three charts: $x \neq 0$, $y \neq 0$ and $z \neq 0$; we’ll call these $U_x$, $U_y$ and $U_z$. On the chart $U_z$, local coordinates are given by $(x/z, y/z)$. Similarly, on the chart $U_y$, the local coordinates are $(x/y, z/y)$.

Now, of course, there are many ways to choose a system of coordinates on a given chart. Sure, $(x/z, y/z)$ is one coordinate system on $U_z$, but $\left( (x+y)/z, y/z+(x+y)^2/z^2 \right)$ is another. In algebraic geometry, we remove dependence on this sort of choice by not specifying a system of coordinates, but specifying the ring they generate instead. In the example of $U_z$, this is the polynomial ring $\mathbb{C}[x/z, y/z]$; this ring depends only on the open set $U_z$ and is denoted $\mathcal{O}(U_z)$.

In the particular case of $\mathbb{P}^2$, all of these rings have bases of monomials. I’ll draw a picture to indicate which monomials are in $\mathcal{O}(U_z)$, $\mathcal{O}(U_y)$ and $\mathcal{O}(U_x)$. That dot which lies in all three cones (inside the dark triangle) is the origin. The dot directly to the above of the origin is $x/z$, and the dot directly to the right of the origin is $y/z$.

Let’s look at how $U_y$ and $U_z$ are glued together. Write $U_{yz}$ for the intersection $y,z \neq 0$. The functions on $U_{yz}$ form the ring $\mathbb{C}[x/z, (y/z)^{\pm 1}]$. We have a diagram

$\begin{matrix} U_{yz} & \to & U_y \\ \downarrow & & \\ U_z & & \end{matrix}$

and $U_y \cup U_z$ is the pushout of this diagram.

Whenever we have a map of spaces $A \to B$, we have a corresponding map of rings from the functions on $B$ to the functions on $A$; this map is simply pullback. So, we have maps of rings

$\begin{matrix} \mathbb{C}[x/z, (y/z)^{\pm 1}] & \leftarrow & \mathbb{C}[x/y, z/y] \\ \uparrow & & \\ \mathbb{C}[x/z, y/z] & & \end{matrix}$

Again, we can draw a picture:

I encourage you all to draw the pictures for all three charts, their pairwise overlaps and the overlap of all three. I won’t draw that picture, because it is a bit cluttered. We can make it more legible by using three tricks: (1) Slide these cones apart onto different regions of the plane, agreeing tacitly that only the shape of the cone, and not its absolute position, matters. (2) Cut off each cone with a circular arc once it  gets too far away from the translated origin. (3) Stop drawing the underlying lattice. So here is how I would draw $\mathbb{P}^2$.

Note that the big blob in the center corresponds to the triple overlap; the corresponding cone is the whole of $\mathbb{R}^2$. Right now, the position of the cones in $\mathbb{R}^2$ is meaningless, but later we will see why I drew them to line up like this.

In general, a toric variety is an algebraic variety that can be described by drawing a bunch of cones like this, where the cones have to obey certain compatibility conditions.

## More examples

is $\mathbb{P}^1 \times \mathbb{P}^1$.

is $\mathbb{C}^2 \setminus (0,0)$.

is $\mathbb{C}^2$ blown up at $(0,0)$.

## Constructing a toric variety from a polytope

Stating the compatibility conditions on the cones is a bit technical, so I’ll skip it for now. Instead, I’ll describe a way to get cones that always will obey the required conditions, although not all toric varieties occur in this way.

As you can see, $\mathbb{P}^2$ looks like a triangle to me. In general, if we have any polytope $Q \in \mathbb{R}^n$, we can get a collection of cones by the following recipe: There will be one cone for each face $F$ of $Q$. This cone is the set of all vectors of the form $a(q-f)$, where $q \in Q$, $f \in F$ and $a$ is a positive scalar. Recall that we allow ourselves to translate cones for ease of drawing; it is usually convenient to draw this cone with the origin in the interior of $F$. For example, if we start with a rectangle, we get $\mathbb{P}^1 \times \mathbb{P}^1$, above. Again, this doesn’t describe every toric variety (see $\mathbb{C}^2 \setminus (0,0)$ above) but it describes a lot of them.

## Exercises:

If you are having fun, you might try drawing the following toric varieties. If you’re not having quite that much fine, hopefully this list will convince you that toric varieties provide a fairly versatile class of examples.

(a) $\mathbb{C}^3$, $\mathbb{C}^3 \setminus (0,0,0)$ and $\mathbb{C}^3$ blown up at $(0,0,0)$.

(b) The total space of the following line bundles on $\mathbb{P}^1$: $\mathcal{O}(-1)$, $\mathcal{O}(0)$ and $\mathcal{O}(1)$.

(c) $\mathbb{C}^3$ blown up along $x=y=0$; $\mathbb{C}^3$ blown up first along $x=y=0$ and then along the proper transform of $x=z=0$.

(d) (A real challenge!) Write coordinates on $\mathbb{P}^2 \times \mathbb{C}$ as $((x:y:z), t)$. Blow up this threefold in the folllowing way: In a neighborhood of $((1:0:0), 0)$, blow up $y/x=t=0$ first, and $z/x=t=0$ second. In a neighborhood of $((0:1:0), 0)$, blow up $z/y=t=0$ first, and $x/y=t=0$ second. In a neighborhood of $((0:0:1), 0)$, blow up $x/z=t=0$ first, and $y/z=t=0$ second. The resulting smooth threefold can not be embedded into projective space (of any dimension) and shows some of the limits of our ability to draw things nicely.

## 24 thoughts on “Toric Varieties and Polytopes”

1. Excellent. Now I just have to explain about hypertoric varieties.

2. I don’t understand the last part, about blowing up. Doesn’t blowing up the line y = t = 0 automatically make it impossible to blow up y = t = 0 again later? Or are you blowing up separately on each affine open and then gluing?

3. The latter: on each of the affine opens $x \neq 0$, $y \neq 0$ and $z \neq 0$, blow up in the specified order. This is compatible on the overlaps, even though there is no consistent global order of blowing up. Does that make sense, or should I say more?

4. Awesome post.

I’m trying to work through it and I’m a bit confused about what the coordinates mean. My guess is that the point (a,b) is supposed to represent the monomial $\frac{x^a y^b}{z^{a+b}}$. But this doesn’t seem to quite work with your drawing. For U_y this would mean the cone generated by (0,-1) and (1,-1), but you seem to be drawing the cone generated by (-1,0) and (-1,1). Ok, so clearly I have the coordinates backwards… But then I won’t agree with your statement about x/z being the point to the right of the origin. I assume you’ve just made a typo somewhere? Or am I missing something.

5. Indeed, I had a thinko. Somewhere between writing the text of this post and drawing the pictures, I switched the meaning of the two coordinates. As of now, the conventions should be that the point $(a,b)$ means $x^b y^a/z^{a+b}$. That’s not the cleanest fix, but it is a lot easier than redoing all the drawings.

6. Nice post!
I came up with similar diagrams while studying certain generalizations of toric varieties that can be defined over the field with one element. In our diagrams, though, we needed to keep track of the dimensions of each of these cones and blobs, for instance the F_un model of the projective plane consists on a triangle (as in your diagram).

I am a bit confused about what you say concerning polytopes. Do you always get a toric variety with them? We have a similar diagram associated to the Grassmannians. For instance, for Gr(2,4), which is not toric we have something containing 35 cells (6 0-dim, 12 1-dim, 11 2-dim, 5 3-dim and one 4-dim) obviously we didn’t try to draw it, but according to what you say it would look that our diagram would fail to be a polytope…

7. Yes, every polytope gives a toric variety.

Your description of the Grassmannian is interesting. There is, of course, a torus which acts on the Grassmannian. (If you think of G(2,4) as 2-planes in 4-space, it acs by rescaling the coordinates of 4-space.) This torus action has

6 0-dimensional orbits
12 1-dimensional orbits
11 2-dimensional orbits
6 + ($\mathbb{P}^1 \setminus \{ 0,1, \infty \}$) 3-dimensional orbits
0 4-dimensional orbits

Here, what I mean is that there are 6 exceptional three dimensional orbits — where the six Plucker coordinates vanish — and the other three dimensional orbits lie in a one dimensional family, indexed by the points of $\mathbb{P}^1 \setminus \{ 0,1, \infty\}$. In particular, over a finite field, there are $(q-2)+6$ three dimensional orbits.

It seems that what you have done is figured out a way to convert $\mathbb{P}^1 \setminus \{ 0,1, \infty \} + 6 \mbox{ points}$ into $\mathbb{C}^* + 5 \mbox{ points}$. Obviously, this gives the right point counts. (Or, to say it in a sophisticated way that means essentially the same thing, they are motivically equal.) What else does your construction give you?

8. Our construction consists basically on decomposing a given variety as “union” (in a technical sense) of tori. These tori do not need to come from a torus action (though if there is a nice torus action the orbits provide the cells).

Once obtained, the decomposition (we call it “torification”) provides a gadget (in the sense of Connes-Consani, though with minor modifications you can get one in the sense of Soulé) over F_1. Different decompositions may provide nonisomorphic gadgets, but they all extend to the same variety over the integers when applying base extension.

In the case of Gr(2,4) the construction is based on the Schubert cell decomposition. Every affine space is decomposed in tori by removing coordinate subspaces (the origin is the 0-dim cell, the axes without the origing the 1-dim cells and so on), and applying this to each of the Schubert cells you get the right counting function.

Not sure if this will have any interest on usual algebraic geometry, beyond the F_1 aspect.

9. Allen Knutson says:

Here’s my favorite example of a complete but nonprojective toric variety.

Write the octahedron as (oct \ southern vertex S) union (oct \ northern vertex N), glued together along a neighborhood of the equatorial square. (The octahedron TV itself is a torus orbit closure in Gr(2,4).)

Now replace the vertex N by an interval, >–<. Geometrically, this blows up the singular point to a P^1. It also requires that one stretch the equatorial square to a non-square rectangle.

But don’t blow up S. So the equator on the southern patch is still a square. That means we can’t glue these back together to make a polytope.

We can nonetheless glue the corresponding toric varieties, as we haven’t changed the open set we were gluing them along.

For those people who prefer fans (usually because, unfortunately, Fulton’s book proceeds that way), the original fan is the cone on the faces of a cube, and we’re subdividing a maximal cone (on a square) into two cones (on triangles). Then the statement is that any piecewise-linear, convex function on
this subdivided fan must actually be differentiable across the new subdividing face.

10. The way I like to think about toric varieties (but only projective ones) is like this: You start with a cinfiguration of points (say n of them $x_1,x_2,\dots, x_n$) with integral coefficients in $R^d$. (You can even assume that no point belongs to the convex hull of the rest.)

Next you write down a basis to all affine relations among the points – so if the points affinely span $R^d$ you can consider n-d-1 such affine relations with integral coefficients.

Next you take $n$ complex variables $z_1,z_2,\dots, z_n$.

Finally you replace every affine relation for the $x_i$s by a polynomial relation on the $z_i$s as in this example:

Suppose the affine relation is $2x_1 - 3x_2 + 5x_4 - x_5 - 3x_6 = 0$

You first write only with positive coefficients

$2x_1+5x_4 = 3x_2 +x_5 +3x_6$

and then translate it into

$z_1^2z_4^5=z_2^3z_5z_6^3$.

I do not know if this is a useful way to think about projective toric varieties if you actually want to work with them; but to explain what they are, it is quite simple.

11. “Yes, every polytope gives a toric variety.”

well not quite, (this may have been obvious from the context); we need a polytope with integral vertices; this is a problem for some applications as there are combinatorial types of polytopes that you cannot realize with vertices of rational coordinates. It is a big mystery how to associate some nice geometric object to non integral/non rational polytopes.

(If you insist on some symmetries some of your favorite famous polytopes are irrational…)

12. Are all toric varieties (uni)rational?

13. Alon, yes, all toric varieties are rational. They all contain a subset isomorphic to $(\mathbb{C}^*)^n$ for some n.

14. Gil,

First of all, yes, I should have said that you need the polytope to have lattice points for vertices. If you try to look at a cone like $\{ x^a y^b : 0 \leq a \leq \sqrt{2} b \}$, the corresponding ring is not finitely generated, which causes all sorts of problems.

As regards the ring you describe, this is basically right, but causes a few issues I will get to in a sec. Here are two alternate descriptions: Algebraically, if $P \subset \mathbb{R}^n$ is our polytope, let $CP$ be the cone in $\mathbb{R}^{n+1}$ spanned by $P \times \{ 1 \}$. Take $CP \cap \mathbb{Z}^{n+1}$, form the corresponding ring and take Proj of that ring. (The grading is by the final coordinate.) That will give you the toric variety for $P$. The construction you describe is the subring generated by the lattice points in $(P \times \{ 1 \}) \cap (\mathbb{Z}^n \times \{ 1 \})$; this is generally, but not always, the same ring. In particular, your construction can give something non-normal, where as mine will always give a normal variety. Of course, your construction is the thing to use if you want to feed the problem to a computer.

There is also a geometric construction: let the points of $P \cap \mathbb{Z}^n$ be $a_1$, $a_2$, …, $a_N$. Here each $a_i$ is an integer vector of length $n$. Map $(\mathbb{C}^*)^n$ to $\mathbb{P}^{N-1}$ by $t \mapsto (t^{a_1}, t^{a_2}, \ldots, t^{a_N})$. Here $t=(t_1, t_2, \ldots, t_n)$ and $t^{(a^1 a^2, \ldots, a^n)}$ means $t_1^{a_1} t_2^{a_2} \cdots t_n^{a^n}$. Take the closure of the image of $(\mathbb{C}^*)^n$. This closure of Proj of the ring you describe; the normalization of this closure is the toric variety I am describing.

15. john mangual says:

I don’t know how to TeX on this thing. I guess you mean $$\{ x^a y^b : 0 < a < \sqrt{2} b \}$$ Also, what is a blowup?

16. Typo fixed, thanks. To produce TeX, type

$latex \{ x^a y^b : 0 \leq a \leq \sqrt{2} b \}$

but leave out the space between the first dollars sign and “latex”.

Blow ups will take me a little longer, so I’ll get back to that later.

17. If it helps while david works on something about it, I have a post on blowups <a href=”http://rigtriv.wordpress.com/2008/07/09/blowing-things-up/”here. Parts of it are fairly technical, because I was trying to talk about the most general case that I could, but I work out the example of blowing up a node on an algebraic curve in detail.

18. Thanks Charles! You’ve got almost excatly the material I’d cover, but in a totally different order. Assuming that I do get around to writing a post on blow ups, it will be interesting to compare them.

19. john mangual says:

This one is just for practice… $\{x^ay^b : 0 < a < b \sqrt{2} \}$

20. Chacko says:

Suppose I look at the vectors, e_1, -e_1, e_2, -(e_1+e_2) in R^2, I can compute the kernel of the map from R^4 to R^2 and notice the torus action is:

(u,v). (w_1,w_2,w_3,w_4)—–> ( uv w_1,uw_2,vw_3,uw_4)

But from this how do I see it as CP^2 blown up at one point? Which point is it that is being blown up? It must be a fixed point of the torus action.

From the viewpoint of analysis and PDE it is totally useless to have all this coordinate free stuff, you cannot compute diddly squat anything
esp. the alpha invariants of toric varieties.

21. “But from this how do I see it as CP^2 blown up at one point? Which point is it that is being blown up? It must be a fixed point of the torus action.”

The (-1) curve is dual to the ray in direction -e_1.

When you say “look at the vectors, e_1, -e_1, e_2, -(e_1+e_2)”, you are describing the toric variety by its fan. So the dual polytope is Hull( (0,1), (1,1), (-1,1), (0,0) ) (a trapezoid). The (-1) curve corresponds to the edge of the trapezoid running from (0,0) to (1,0).

How to see that? I’m not sure what you’ll give me to start with. For example, I could compute the normal bundle. Look at the open neighborhoods of (0,0) and (1,0): $\mathrm{Spec} k[x y^{-1}, y]$ and $\mathrm{Spec} k[x, y^{-1}]$. Call those $\mathrm{Spec} k[u_1, v_1]$ and $\mathrm{Spec} k[u_2, v_2]$, then the gluing is $v_2 = v_1^{-1}$ and $u_2 = u_1 v_1$. That’s the gluing for $\mathcal{O}(-1)$. So the restriction to the neighborhood of this edge is the total space of $\mathcal{O}(-1)$, and this edge is a $(-1)$-curve.

I don’t know about $\alpha$-invariants. Some googling turned up a paper of Song, which might be helpful. Anyone with a better understanding, please post it below.

22. Would any one be interested in a 27×27 Magic Square that describes a torus? This arrangement of numbers is perfectly symmetrical as the sum of any pair of numbers equidistant from the center along any axis add up to the order of the square, 27, squared, + 1 which equals 730.
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 136, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}