# Morphism of algebraic varieties

In algebraic geometry, a **morphism** between algebraic varieties is a function between the varieties that is given locally by polynomials. It is also called a **regular map**. A morphism from an algebraic variety to the affine line is also called a **regular function**.
A regular map whose inverse is also regular is called **biregular**, and they are isomorphisms in the category of algebraic varieties. Because regular and biregular are very restrictive conditions – there are no non-constant regular functions on projective varieties – the weaker condition of a rational map and birational maps are frequently used as well.

## Definition

If *X* and *Y* are closed subvarieties of **A**^{n} and **A**^{m} (so they are affine varieties), then a regular map ƒ: *X*→*Y* is the restriction of a polynomial map **A**^{n}→**A**^{m}. Explicitly, it has the form

where the s are in the coordinate ring of *X*:

where *I* is the ideal defining *X* (note: two polynomials *f* and *g* define the same function on *X* if and only if *f* − *g* is in *I*). The image *f*(*X*) lies in *Y*, and hence satisfies the defining equations of *Y*. That is, a regular map is the same as the restriction of a polynomial map whose components satisfying the defining equations of .

More generally, a map ƒ:*X*→*Y* between two varieties is **regular at a point** *x* if there is a neighbourhood *U* of *x* and a neighbourhood *V* of ƒ(*x*) such that ƒ(*U*) ⊂ *V* and the restricted function ƒ:*U*→*V* is regular as a function on some affine charts of *U* and *V*. Then ƒ is called **regular**, if it is regular at all points of *X*.

**Note:**It is not immediately obvious that the two definitions coincide: if*X*and*Y*are affine varieties, then a map ƒ:*X*→*Y*is regular in the first sense if and only if it is so in the second sense.[1] Also, it is not immediately clear whether a regularity depends on a choice of affine charts (it does not.[2]) This kind of a consistency issue, however, disappears if one adopts the formal definition. Formally, an (abstract) algebraic variety is defined to be a particular kind of a locally ringed space. When this definition is used, a morphism of varieties is just a morphism of locally ringed spaces.

The composition of regular maps is again regular; thus, algebraic varieties form the category of algebraic varieties where the morphisms are the regular maps.

Regular maps between affine varieties correspond contravariantly in one-to-one to algebra homomorphisms between the coordinate rings: if ƒ:*X*→*Y* is a morphism of affine varieties, then it defines the algebra homomorphism

where are the coordinate rings of *X* and *Y*; it is well-defined since is a polynomial in elements of . Conversely, if is an algebra homomorphism, then it induces the morphism

given by: writing

where are the images of 's.[3] Note as well as [4] In particular, *f* is an isomorphism of affine varieties if and only if *f*^{#} is an isomorphism of the coordinate rings.

For example, if *X* is a closed subvariety of an affine variety *Y* and ƒ is the inclusion, then ƒ^{#} is the restriction of regular functions on *Y* to *X*. See #Examples below for more examples.

## Regular functions

In the particular case that **Y** equals **A**^{1} the regular map ƒ:*X*→**A**^{1} is called a **regular function**, and are algebraic analogs of smooth functions studied in differential geometry. The ring of regular functions (that is the coordinate ring or more abstractly the ring of global sections of the structure sheaf) is a fundamental object in affine algebraic geometry. The only regular function on a projective variety is constant (this can be viewed as an algebraic analogue of Liouville's theorem in complex analysis).

A scalar function ƒ:*X*→**A**^{1} is regular at a point *x* if, in some open affine neighborhood of *x*, it is a rational function that is regular at *x*; i.e., there are regular functions *g*, *h* near *x* such that *f* = *g*/*h* and *h* does not vanish at *x*.[5] Caution: the condition is for some pair (*g*, *h*) not for all pairs (*g*, *h*); see #Examples.

If *X* is a quasi-projective variety; i.e., an open subvariety of a projective variety, then the function field *k*(*X*) is the same as that of the closure of *X* and thus a rational function on *X* is of the form *g*/*h* for some homogeneous elements *g*, *h* of the same degree in the homogeneous coordinate ring of (cf. Projective variety#Variety structure.) Then a rational function *f* on *X* is regular at a point *x* if and only if there are some homogeneous elements *g*, *h* of the same degree in such that *f* = *g*/*h* and *h* does not vanish at *x*. This characterization is sometimes taken as the definition of a regular function.[6]

## Comparison with a morphism of schemes

If *X* = Spec *A* and *Y* = Spec *B* are affine schemes, then each ring homomorphism φ : *B* → *A* determines a morphism

by taking the pre-images of prime ideals. All morphisms between affine schemes are of this type and gluing such morphisms gives a morphism of schemes in general.

Now, if *X*, *Y* are affine varieties; i.e., *A*, *B* are integral domains that are finitely generated algebras over an algebraically closed field *k*, then, working with only the closed points, the above coincides with the definition given at #Definition. (Proof: If ƒ : *X* → *Y* is a morphism, then writing , we need to show

where are the maximal ideals corresponding to the points *x* and *f*(*x*); i.e., . This is immediate.)

This fact means that the category of affine varieties can be identified with a full subcategory of affine schemes over *k*. Since morphisms of varieties are obtained by gluing morphisms of affine varieties in the same way morphisms of schemes are obtained by gluing morphisms of affine schemes, it follows that the category of varieties is a full subcategory of the category of schemes over *k*.

## Examples

- The regular functions on
**A**^{n}are exactly the polynomials in*n*variables and the regular functions on**P**^{n}are exactly the constants. - Let
*X*be the affine curve . Then

- is a morphism; it is bijective with the inverse . Since
*g*is also a morphism,*f*is an isomorphism of varieties.

- Let
*X*be the affine curve . Then

- is a morphism. It corresponds to the ring homomorphism
- which is seen to be injective (since
*f*is surjective).

- Continuing the preceding example, let
*U*=**A**^{1}− {1}. Since*U*is the complement of the hyperplane*t*= 1,*U*is affine. The restriction is bijective. But the corresponding ring homomorphism is the inclusion , which is not an isomorphism and so the restriction*f*|_{U}is not an isomorphism. - Let
*X*be the affine curve*x*^{2}+*y*^{2}= 1 and let

- .

- Then
*f*is a rational function on*X*. It is regular at (0, 1) despite the expression since, as a rational function on*X*,*f*can also be written as .

- Let
*X*=**A**^{2}− (0, 0). Then*X*is an algebraic variety since it is an open subset of a variety. If*f*is a regular function on*X*, then*f*is regular on and so is in . Similarly, it is in . Thus, we can write:

- where
*g*,*h*are polynomials in*k*[*x*,*y*]. But this implies*g*is divisible by*x*^{n}and so*f*is in fact a polynomial. Hence, the ring of regular functions on*X*is just*k*[*x*,*y*]. (This also shows that*X*cannot be affine since if it were,*X*is determined by its coordinate ring and thus*X*=**A**^{2}.)

- Suppose by identifying the points (
*x*: 1) with the points*x*on**A**^{1}and ∞ = (1 : 0). There is an automorphism σ of**P**^{1}given by σ(x : y) = (y : x); in particular, σ exchanges 0 and ∞. If*f*is a rational function on**P**^{1}, then

- and
*f*is regular at ∞ if and only if*f*(1/*z*) is regular at zero.

- Taking the function field
*k*(*V*) of an irreducible algebraic curve*V*, the functions*F*in the function field may all be realised as morphisms from*V*to the projective line over*k*. (cf. #Properties) The image will either be a single point, or the whole projective line (this is a consequence of the completeness of projective varieties). That is, unless*F*is actually constant, we have to attribute to*F*the value ∞ at some points of*V*. - For any algebraic varieties
*X*,*Y*, the projection

- is a morphism of varieties. If
*X*and*Y*are affine, then the corresponding ring homomorphism is - where .

## Properties

A morphism between varieties is continuous with respect to Zariski topologies on the source and the target.

The image of a morphism of varieties need not be open nor closed (for example, the image of is neither open nor closed). However, one can still say: if *f* is a morphism between varieties, then the image of *f* contains an open dense subset of its closure. (cf. constructible set.)

A morphism ƒ:*X*→*Y* of algebraic varieties is said to be a *dominant* if it has dense image. For such an *f*, if *V* is a nonempty open affine subset of *Y*, then there is a nonempty open affine subset *U* of *X* such that ƒ(*U*) ⊂ *V* and then is injective. Thus, the dominant map ƒ induces an injection on the level of function fields:

where the limit runs over all nonempty open affine subsets of *Y*. (More abstractly, this is the induced map from the residue field of the generic point of *Y* to that of *X*.) Conversely, every inclusion of fields is induced by a dominant rational map form *X* to *Y*.[7] Hence, the above construction determines a contravariant-equivalence between the category of algebraic varieties over a field *k* and dominant rational maps between them and the category of finitely generated field extension of *k*.[8]

If *X* is a smooth complete curve (for example, **P**^{1}) and if *f* is a rational map from *X* to a projective space **P**^{m}, then *f* is a regular map *X* → **P**^{m}.[9] In particular, when *X* is a smooth complete curve, any rational function on *X* may be viewed as a morphism *X* → **P**^{1} and, conversely, such a morphism as a rational function on *X*.

On a normal variety (in particular, a smooth variety), a rational function is regular if and only if it has no poles of codimension one.[10] This is an algebraic analog of Hartogs' extension theorem. There is also a relative version of this fact; see .

A morphism between algebraic varieties that is a homeomorphism between the underlying topological spaces need not be an isomorphism (a counterexample is given by a Frobenius morphism .) On the other hand, if *f* is bijective birational and the target space of *f* is a normal variety, then *f* is biregular. (cf. Zariski's main theorem.)

A regular map between complex algebraic varieties is a holomorphic map. (There is actually a slight technical difference: a regular map is a meromorphic map whose singular points are removable, but the distinction is usually ignored in practice.) In particular, a regular map into the complex numbers is just a usual holomorphic function (complex-analytic function).

## Morphisms to a projective space

Let

be a morphism from a projective variety to a projective space. Let *x* be a point of *X*. Then some *i*-th homogeneous coordinate of *f*(*x*) is nonzero; say, *i* = 0 for simplicity. Then, by continuity, there is an open affine neighborhood *U* of *x* such that

is a morphism, where *y*_{i} are the homogeneous coordinates. Note the target space is the affine space **A**^{m} through the identification . Thus, by definition, the restriction *f* |_{U} is given by

where *g*_{i}'s are regular functions on *U*. Since *X* is projective, each *g*_{i} is a fraction of homogeneous elements of the same degree in the homogeneous coordinate ring *k*[*X*] of *X*. We can arrange the fractions so that they all have the same homogeneous denominator say *f*_{0}. Then we can write *g*_{i} = *f*_{i}/*f*_{0} for some homogeneous elements *f*_{i}'s in *k*[*X*]. Hence, going back to the homogeneous coordinates,

for all *x* in *U* and by continuity for all *x* in *X* as long as the *f*_{i}'s do not vanish at *x* simultaneously. If they vanish simultaneously at a point *x* of *X*, then, by the above procedure, one can pick a different set of *f*_{i}'s that do not vanish at *x* simultaneously (see Note at the end of the section.)

In fact, the above description is valid for any quasi-projective variety *X*, an open subvariety of a projective variety ; the difference being that *f*_{i}'s are in the homogeneous coordinate ring of .

**Note**: The above does not say a morphism from a projective variety to a projective space is given by a single set of polynomials (unlike the affine case). For example, let *X* be the conic in **P**^{2}. Then two maps and agree on the open subset of *X* (since ) and so defines a morphism .

## Fibers of a morphism

The important fact is:[11]

**Theorem** — Let *f*: *X* → *Y* be a dominating (i.e., having dense image) morphism of algebraic varieties, and let *r* = dim *X* − dim *Y*. Then

- For every irreducible closed subset
*W*of*Y*and every irreducible component*Z*of dominating*W*, - There exists a nonempty open subset
*U*in*Y*such that (a) and (b) for every irreducible closed subset*W*of*Y*intersecting*U*and every irreducible component*Z*of intersecting ,

**Corollary** — Let *f*: *X* → *Y* be a morphism of algebraic varieties. For each *x* in *X*, define

Then *e* is upper-semicontinuous; i.e., for each integer *n*, the set

is closed.

In Mumford's red book, the theorem is proved by means of Noether's normalization lemma. For an algebraic approach where the generic freeness plays a main role and the notion of "universally catenary ring" is a key in the proof, see Eisenbud, Ch. 14 of "Commutative algebra with a view toward algebraic geometry." In fact, the proof there shows that if *f* is flat, then the dimension equality in 2. of the theorem holds in general (not just generically).

## Degree of a finite morphism

Let *f*: *X* → *Y* be a finite surjective morphism between algebraic varieties over a field *k*. Then, by definition, the degree of *f* is the degree of the finite field extension of the function field *k*(*X*) over *f*^{*}*k*(*Y*). By generic freeness, there is some nonempty open subset *U* in *Y* such that the restriction of the structure sheaf *O*_{X} to *f*^{−1}(*U*) is free as *O*_{Y}|_{U}-module. The degree of *f* is then the rank of this free module.

If *f* is étale and if *X*, *Y* are complete, then for any coherent sheaf *F* on *Y*, writing χ for the Euler characteristic,

(The Riemann–Hurwitz formula for a ramified covering shows the "étale" here cannot be omitted.)

In general, if *f* is a finite surjective morphism, if *X*, *Y* are complete and *F* a coherent sheaf on *Y*, then from the Leray spectral sequence , one gets:

In particular, if *F* is a tensor power of a line bundle, then and since the support of has positive codimension if *q* is positive, comparing the leading terms, one has:

(since the generic rank of is the degree of *f*.)

If *f* is étale and *k* is algebraically closed, then each geometric fiber *f*^{−1}(*y*) consists exactly of deg(*f*) points.

## See also

- Algebraic function
- Smooth morphism
- Étale morphisms – The algebraic analogue of local diffeomorphisms.
- Resolution of singularities
- contraction morphism

## Notes

- Here is the argument showing the definitions coincide. Clearly, we can assume
*Y*=**A**^{1}. Then the issue here is whether the "regular-ness" can be patched together; this answer is yes and that can be seen from the construction of the structure sheaf of an affine variety as described at affine variety#Structure sheaf. - It is not clear how to prove this, though. If
*X*,*Y*are quasi-projective, then the proof can be given. The non-quasi-projective case strongly depends on one's definition of an abstract variety - The image of lies in
*Y*since if*g*is a polynomial in*J*, then, a priori thinking is a map to the affine space, since*g*is in*J*. - Proof: since φ is an algebra homomorphism. Also,
- Proof: Let
*A*be the coordinate ring of such an affine neighborhood of*x*. If*f*=*g*/*h*with some*g*in*A*and some nonzero*h*in*A*, then*f*is in*A*[*h*^{−1}] =*k*[*D*(*h*)]; that is,*f*is a regular function on*D*(*h*). - Hartshorne, Ch. I, § 3.
- Vakil, Foundations of algebraic geometry, Proposition 6.5.7.
- Hartshorne, Ch. I,Theorem 4.4.
- Hartshorne, Ch. I, Proposition 6.8.
- Proof: it's enough to consider the case when the variety is affine and then use the fact that a Noetherian integrally closed domain is the intersection of all the localizations at height-one prime ideals.
- Mumford, Ch. I, § 8. Theorems 2, 3.
- Fulton, Example 18.3.9.

## References

- William Fulton,
*Intersection theory*2nd edition - Robin Hartshorne (1997).
*Algebraic Geometry*. Springer-Verlag. ISBN 0-387-90244-9. - Milne, Algebraic geometry, old version v. 5.xx.
- Mumford, David (1999).
*The Red Book of Varieties and Schemes: Includes the Michigan Lectures (1974) on Curves and Their Jacobians*(2nd ed.). Springer-Verlag. doi:10.1007/b62130. ISBN 354063293X. - Igor Shafarevich (1995).
*Basic Algebraic Geometry I: Varieties in Projective Space*(2nd ed.). Springer-Verlag. ISBN 0-387-54812-2.