# Higher dimensional version of the Hurwitz formula?

In Hartshorne IV.2, notions related to ramification and branching are introduced, but only for curves. The main result is the Hurwitz formula.

Now if you have a finite surjective morphism between nonsingular, quasi-projective varieties, then the notion of ramification (divisor) would still make sense and we can also still talk about the degree of a canonical divisor. It also seemed to me like no result in IV.2 really uses the fact that $X$ and $Y$ are of dimension $1$. So I ask, can I replace $f$ by a finite, dominant, separable morphism $X\to Y$ of nonsingular, quasi-projective varieties of arbitrary dimension? That is, of course, up to and including Proposition 2.3.

If this is so, can we say anything about the degree of a canonical divisor in dimension greater than one? Maybe in special cases?

-
degree of a divisor is only defined over curves. –  Mohammad F. Tehrani Aug 3 '11 at 2:51
well, technically you can define the degree of a divisor with respect to a fixed ample divisor... –  rfauffar Mar 20 '13 at 19:36

degree of the canonical divisor doesn't make any sense as already pointed out by Mohammed.

On the other hand, by "purity of the branch locus", the branch locus, as well as the ramification locus of $f$ is a sum of irreducible divisors. Denote by $R_i$ the irreducible components of the ramification locus. Then, the local rings of the generic points of the $R_i$ are DVR's, and one can associate ramification indices $e_i$ to them (as explained in Hartshorne's book). Local computations show that $$\omega_X \cong f^*\omega_Y\otimes{\cal O}_Y(\sum_i (e_i-1)R_i)$$ In fact, one checks this outside the intersections of the $R_i$, where these local computations are easy. This gives the desired isomorphism outside codimension $2$, and by reflexivity, the desired isomorphism holds everywhere.

-
Does one need tame ramification for the $(e_i - 1)$ above to be right? –  Karl Schwede Aug 3 '11 at 3:47
sorry, of course you're right: if the ramification is not tame then (by the same arguments as in the $1$-dimensional case), the contribution of $R_i$ is strictly larger than $e_i-1$. –  Christian Liedtke Aug 3 '11 at 5:10

One could argue that Hurwitz's formula boils down to two simple facts:

1. If $f:X\to Y$ is an étale morphism, then $\omega_X=f^*\omega_Y$.
2. If $f:X\to Y$ is dominant, then $\omega_X\supseteq f^*\omega_Y$

"1." is a trivial consequence of an equivalent characterization of being étale, namely that $f$ is flat and $\Omega_{X/Y}=0$ (see Hartshorne, Ex.III.10.3).

"2." follows from taking any local section of $\omega_Y$ and realizing that pulling it back via $f$ (that is, substituting the change of variables given by $f$ into the local variables) one gets a regular form again.

If $f$ is as in the question, then it is étale away from the ramification locus essentially by the definition of the ramification locus (which is a divisor by purity as pointed out by Christian). Then "1." implies that $K_X=f^*K_Y+R$ for some divisor supported on the ramification locus and "2." implies that $R$ is effective.

The actual coefficients of $R$ and the ramification indices depend on local information. Localizing at the general points of the irreducible components of the ramification locus reduces the question to the case of curves.

Regarding the question of the degree of the canonical divisor, I'd say something different than what has been said above. True, a notion of degree as in the case of curves does not exist in general, but if we examine what that notion on curves really is we may be able to come up with similar notions that could work just as well.

If you think about it, the main reason we can define a degree of divisors on curves is that there exists a single (effective) divisor, namely a point, such that every divisor is numerically equivalent to a multiple of this one and then we just call that multiple the degree of the divisor.

In other words, if $X$ is such that the group of divisors modulo numerical equivalence is $\mathbb Z$, then one could define degree of $D$ as the number it maps to when considered via this isomorphism. This is what happens for example when we talk about the degree of a hypersurface in $\mathbb P^n$.

Another way of thinking about degree is that it is an intersection number. It is customary to define the degree of a projective variety (with respect to a given projective embedding) by the number of points in an intersection of the given variety with a complementary dimensional linear subspace in general position. For a divisor this would mean intersecting with a line in general position (or just take the intersection number with a line).

Of course, a general variety will not contain a line, but one may do the following: Fix an ample divisor $L$ and define the degree of a divisor as $D\cdot L^{n-1}$ where $n=\dim X$. In many cases this will work fine and whatever you would use the degree of the divisor, this would give you the same framework.

So, I would say that the problem with the degree of the canonical divisor is not that it doesn't exist, but that in general any definition of a degree of a variety involves some choices and hence one may end up with more than one notion of degree. However, with respect to Hurwitz's theorem, if you want to use degree to compare $K_Y$ and $K_X$, you should still be able to get something useful, since all you have to do is to make sure that you use compatible notions of degree on $X$ and $Y$. For instance, if you follow the degree determined by an ample line bundle, then just take one on $Y$, pull it back to $X$. Since $f$ is finite, this will be ample and the two notions given by the two line bundles will be compatible. In fact, go ahead and write down the degrees of the divisors in the Hurwitz formula this way. You will end up with a similar (but different!) formula. The degree of $f$ will enter also via the pull-back of the ample line bundle, so perhaps to get a more familiar formula, you would have to divide all degrees on $X$ by the degree of $f$ (or multiply them by it on $Y$).

The obvious downside of defining degree this way is that it is not portable. You can define it in a given situation and try to make you definitions on different objects to be compatible, but you cannot expect to get any numerical results that remain true in a different situation. For instance you cannot say absolute things like "the degree of the canonical divisor is $2g-2$".

-
MO is great because of answers like this. –  Mariano Suárez-Alvarez Jan 11 '13 at 4:04
Great answer Sándor. –  diverietti Jan 11 '13 at 7:44
Thank you, Simone! –  Sándor Kovács Jan 11 '13 at 16:40
That was truly enlightening. Thanks a bunch. –  Jesko Hüttenhain Jan 17 '13 at 8:40

Over $\mathbb{C}$, we can easily obtain a Hurwitz formula for higher dimensional varieties by topological methods. Suppose $f:X\to Y$ is a finite map of complex projective varieties; say it has degree $d$. Let $B\subset Y$ be the branch locus, and put $Z = f^{-1}(Y)$. The induced map $X\setminus Z\to Y\setminus B$ is then a $d$-sheeted covering space, so we find $\chi(X\setminus Z) = d\cdot \chi(Y\setminus B)$. But $\chi(X\setminus Z) = \chi(X) - \chi(Z)$ (the fact that $Z$ has even real codimension in $X$ is crucial here), so we obtain

$$\chi(X) = d\cdot \chi(Y) +(\chi(Z) - d\cdot\chi(B)).$$

Observing that for a curve $C$ we have $\chi(C) = -\deg \omega_C$, this formula clearly reduces to the well-known Hurwitz formula in the curve case. In higher dimensions, we now have an induced finite map $Z \to B$, and we can recursively obtain a formula for $\chi(X)$ by analyzing the ramification of this map.

As an application, this method gives a simple derivation of the Euler characteristic of a smooth degree $d$ hypersurface in $\mathbb{P}^n$. Indeed, any such hypersurface is diffeomorphic to a Fermat hypersurface $x_0^d+\cdots + x_n^d = 0$. Considering projection from a point, the branch and ramification loci are themselves Fermat hypersurfaces, and a recursive formula can be obtained.

-

There is a more general version based on the trick called integration with respect to the Euler characteristic which reduces the problem to Hurwitz formula for possibly singular curves. In this approach complex analycity plays a secondary role. The story is a bit too long to include it here since it requires a brief digression into tame geometry, a.k.a. o-minimal geometry amongst logicians.

If you have half an hour to an hour to spend, take a look at this paper to see what this trick is about and see a few rather surprising topological consequences.

-