The map has degree , the effective projective index. Ramification occurs only over the two elliptic points and the modular cusp. Over the order-two elliptic point, points have index one and the other points have index two, contributing to the ramification divisor. The analogous order-three contribution is .
The local degree at a modular cusp is its effective cusp width. The cusp widths sum to , so the modular cusp contribution is . The Riemann-Hurwitz formula, , now yields
Therefore the genus formula for a modular curve is
Using the index in without accounting for its center would give the wrong degree when .
A point is ramified with multiplicity exactly when it is a zero of of multiplicity . Since has degree , the fundamental theorem of algebra gives .
Conversely, choose distinct complex numbers and put with . The assumption makes a polynomial of degree . Any antiderivative of has degree and precisely the prescribed ramification multiplicities.
For a divisor on an algebraic curve on a smooth projective curve of genus , the Riemann-Roch theorem states
where is a canonical divisor. Taking gives , so . Taking then gives
To obtain a uniform projective embedding, choose a divisor of degree . Since every divisor appearing below has degree greater than , Riemann--Roch gives
The first two equalities show that the complete linear system of a divisor has no base point. The strict drops in the last two comparisons show respectively that its sections separate distinct points and tangent directions at . Thus is a very ample divisor, in accordance with the general fact that a high-degree divisor is very ample on a smooth projective curve, and its sections define a closed embedding
The ambient dimension therefore depends only on .
The Riemann-Hurwitz formula for a nonconstant morphism of degree is
Choose a smooth plane quartic , so , and form the product of projective varieties . This is a smooth projective variety of dimension two. If is an irreducible curve, pass to its normalization . At least one coordinate projection is nonconstant, since otherwise would be a point. For that projection, Riemann--Hurwitz gives
so the geometric genus of is at least three. Hence is the required surface; this is the product surface without low-genus curves construction.
Finally let be a smooth plane curve of degree and let . After a projective change of coordinates, take . Projection away from is
Its two homogeneous coordinate functions cannot vanish simultaneously on , because their common zero in is . The criterion for a morphism of algebraic varieties therefore shows that the restriction
is a morphism. A fibre is the intersection with a line through , and a general such line meets in points counted with multiplicity. Thus the projection of a plane curve from an exterior point has degree .
By the genus of a smooth plane curve, . Applying Riemann--Hurwitz to and its ramification divisor gives
Every ramification point contributes at least one to this degree, so