1 Introduction

A classical problem in the theory of projective curves is the classification of all their possible genera in terms of the degree and the dimension of the space where they are embedded [2, 10, 13]. Fixed integers rds, Castelnuovo-Halphen’s theory states a sharp upper bound for the genus of a complex, non-degenerate, reduced and irreducible curve of degree d in \({\mathbb {P}}^r\), under the condition of being not contained in a surface of degree \(<s\) [2, 10, 11].

This theory leads naturally to the consideration of a more general problem, namely the determination of a sharp upper bound for the genus of curves verifying flag conditions. Fixed \(l+1\) integers \(r,d,s_2^{(i_2)}, s_3^{(i_3)},\dots ,s_l^{(i_l)}\), with \(2\le l\le r-1\), and \(2\le i_2< i_3< \dots <i_l\le r-1\), we say that a curve verifies the flag condition \(\left( r;d,s_2^{(i_2)}, s_3^{(i_3)},\dots ,s_l^{(i_l)}\right)\) if it is contained in \(\mathbb P^r\), it has degree d, and it is not contained in a subvariety of \({\mathbb {P}}^r\) of dimension \(i_j\) and degree \(<s_j^{(i_j)}\) for all \(j=2,\dots ,l\). This problem can be posed not only for curves, but also for the study of the genus of varieties of dimension \(>1\). We refer to [4, Introduction] and [6, Introduction] for a general discussion on this topic. In the case of curves, we refer to [3, 4, 7, 8] for some results, mostly asymptotic, when \(i_j=j\) for all \(j=2,\dots ,l\). In the same range, for varieties of dimension \(>1\), we refer to [5, 6, 12, 14].

As far as we know, in the general case, i.e. without the restriction \(i_j=j\) on the flag conditions, there are no results, except some remarks in the case \(l=2\) and \(i_2=r-1\) [4, p. 725, Remark 2.9], [6, p. 1130, Remark 2.6], [14, Section 5, p.179]. In this case, simplifying the notation, we may state the problem as follows (compare with [2, Introduction, lines 18-23 from above]).

Fixed integers rdi, one may ask for the maximal genus of a curve of degree d in \({\mathbb {P}}^r\), not contained in a hypersurface of degree \(\le i\). Apart from some rough estimates [4, p. 726, (2.10)], this problem has remained completely open until our recent paper [9]. In this paper we determined sharp results for \(4\le r\le 5\), \(i=2\) and \(d\gg 0\) [9, Theorem 1.1 and Theorem 1.2], and asymptotic sharp results for certain values of \(r\ge 5\), and for \(i=2\) and \(i=3\) [9, Proposition 1.3 and Proposition 1.4]. In these cases, we obtained also some initial information on the extremal curves, e.g. they should lie on surfaces of a certain degree s, depending on r and i (see definition (1) below), with sectional genus 0.

The aim of this note is to improve [9, Proposition 1.3 and Proposition 1.4], to say something more specific on the extremal curves, to simplify the proof of [9, Theorem 1.2], and to add some information in the case \(i>3\).  For a precise description of the results see the statement of Theorem 1.1 below. As well as the quoted results in [9], its proof relies on Castelnuovo-Halphen’s theory, in particular on [2, Main Theorem]. But also,and this is a little novelty, on Lemma 2.1 below, which, although elementary, seems to have escaped explicit notice. We think it may play a role in any subsequent developments.

From Theorem 1.1, taking into account [1, p. 478, Theorem 2], first we deduce sharp results (not only asymptotic sharp) for certain values of \(r\ge 5\), and for \(i=2\) and \(i=3\) (see Corollary 1.3 below, and compare with [9, Proposition 1.3 and Proposition 1.4]). In these cases, we are able to identify the extremal curves. In fact, they lie on isomorphic projections of smooth rational normal scrolls surfaces, and correspond to the Castelnuovo’s curves lying on such surfaces. Comparing with [9], this is completely new (although this phenomenon, in a certain sense, already appears for \(r=4\) and \(i=2\) in [9, Theorem 1.1]). Moreover, in the case \(r=5\), the proof of Theorem 1.1 simplifies the proof of [9, Theorem 1.2], because, relying on Lemma 2.1, it does not require the analysis of the arithmetic genus of a surface in \({\mathbb {P}}^5\). Theorem 1.1 states an upper bound also for \(i>3\). Unfortunately, in this case we cannot apply [1, p. 478, Theorem 2], and so we do not know whether the bound is sharp (compare with Remark 1.2, (v), below), as we expect at least in some cases.

For more specific comments on the claim of Theorem 1.1, we refer to Remark 1.2 and Remark 2.2 below.

Theorem 1.1

Fix integers \(r\ge 4\) and \(i\ge 2\) (for \(r=4\) assume \(i\ge 3\)). Assume that the rational number s defined by the equation

$$\begin{aligned} \left( {\begin{array}{c}i+1\\ 2\end{array}}\right) s+(i+1)=\left( {\begin{array}{c}r+i\\ i\end{array}}\right) \end{aligned}$$
(1)

is an integer. Let \(C\subset {\mathbb {P}}^r\) be a reduced and irreducible complex curve, of degree d and arithmetic genus \(p_a(C)\), not contained in a hypersurface of degree \(\le i\). Assume \(d\gg \max \{r,i\}\) (for a precise inequality see Remark 1.2, (vi), below), and divide \(d-1=ms+\epsilon\), \(0\le \epsilon \le s-1\). Then

$$\begin{aligned} p_a(C)\le \left( {\begin{array}{c}m\\ 2\end{array}}\right) s+m\epsilon =: G(r;d,i). \end{aligned}$$
(2)

Moreover, this bound G(rdi) is sharp if and only if there exists an integral surface in \({\mathbb {P}}^r\) of degree s, not contained in hypersurfaces of degree \(\le i\). In this case, every extremal curve D is not a.C.M., and it is contained in a flag \(S\subset T\subset {\mathbb {P}}^r\), where S is a surface of degree s, uniquely determined by D, not contained in hypersurfaces of degree i, and T is a hypersurface of \({\mathbb {P}}^r\) of degree \(i+1\). Furthermore, S is the isomorphic projection in \({\mathbb {P}}^r\) of a rational normal scroll surface \(S'\) of degree s in \({\mathbb {P}}^{s+1}\), and, via this isomorphism, D corresponds to a Castelnuovo’s curve of \(S'\) of degree d.

Remark 1.2

  1. (i)

    For instance, if \(i=2\), the number s defined by the equation (1) is an integer if and only if r is not divisible by 3 [1, p. 484, line 12 from below ]. If \(i=3\), the number s is an integer if and only if \(r=1,2,9,10,11,18,19,27,29\) modulo 36. When \(r=4\), the number s is an integer if and only if \(i=1,2,5,10\) modulo 12. When \(r=5\), the number s is an integer if and only if \(i=1,2,7,11,13,17,22,23,26,\) 31, 37, 38, 41, 43, 46, 47, 53, 58 modulo 60.

  2. (ii)

    For the case \(r=4\) and \(i=2\), we refer to [9, Theorem 1.1].

  3. (iii)

    The number G(rdi) defined in (2) is nothing but the Castelnuovo’s bound \(G(s+1;d)\) for the genus of a non-degenerate integral curve of degree d in \({\mathbb {P}}^{s+1}\) [10, p. 87, Theorem (3.7)]. Therefore, the number G(rdi) is both an upper bound for the genus of a degree d non-degenerate curve in \(\mathbb P^{s+1}\), and for the genus of a degree d curve in \({\mathbb {P}}^r\) not contained in hypersurfaces of degree \(\le i\) (recall that s is defined by (1)).

  4. (iv)

    Recall that \(h^0({\mathbb {P}}^r,{\mathcal {O}}_{\mathbb P^r}(i))=\left( {\begin{array}{c}r+i\\ i\end{array}}\right)\), and that, if \(S'\subseteq {\mathbb {P}}^{s+1}\) is a rational normal scroll surface of degree s, then \(h^0(S',{\mathcal {O}}_{S'}(i))=\left( {\begin{array}{c}i+1\\ 2\end{array}}\right) s+(i+1)\). Moreover, notice that for an integral surface in \({\mathbb {P}}^r\) (\(r\ge 4\)) of degree \(\sigma\), not contained in a hypersurface of degree \(\le i\), one has \(\left( {\begin{array}{c}i+1\\ 2\end{array}}\right) \sigma +(i+1)\ge \left( {\begin{array}{c}r+i\\ i\end{array}}\right)\) [9, inequality (11)]. When the number s defined by (1) is not an integer, then one may define s differently as the minimal integer such that \(\left( {\begin{array}{c}i+1\\ 2\end{array}}\right) s+(i+1)\ge \left( {\begin{array}{c}r+i\\ i\end{array}}\right)\) (compare with [9, inequality (11)]). For instance, when \(i=2\), we have \(3s+3=\left( {\begin{array}{c}r+2\\ 2\end{array}}\right)\) if r is not divisible by 3, and \(3s+1=\left( {\begin{array}{c}r+2\\ 2\end{array}}\right)\) otherwise. More generally, divide

    $$\begin{aligned} \left( {\begin{array}{c}r+i\\ i\end{array}}\right) -(i+1)=\alpha \left( {\begin{array}{c}i+1\\ 2\end{array}}\right) +\beta , \quad 0\le \beta \le \left( {\begin{array}{c}i+1\\ 2\end{array}}\right) -1. \end{aligned}$$

    Then one has \(s=\alpha\) if \(\beta =0\), and \(s=\alpha +1\) if \(\beta >0\). We hope to give some information in the case \(\beta >0\) in a forthcoming paper.

  5. (v)

    Let S be an integral surface in \({\mathbb {P}}^r\), not contained in hypersurfaces of degree \(\le i\), of degree s given by the equation (1). In view of Lemma 2.1 (see below), S is the isomorphic projection in \({\mathbb {P}}^r\) of a rational normal scroll surface \(S'\subset {\mathbb {P}}^{s+1}\) of degree s. Therefore, since \(h^0({\mathbb {P}}^r, {\mathcal {I}}_S(i))=0\), the restriction map \(h^0({\mathbb {P}}^r,{\mathcal {O}}_{{\mathbb {P}}^r}(i))\rightarrow h^0(S,{\mathcal {O}}_{S}(i))\) is bijective (compare with (iv) above). It follows that S is of maximal rank [1, p. 482, line 14 from below]. We deduce that  the existence of an integral surface in \({\mathbb {P}}^r\),not contained in hypersurfaces of degree \(\le i\),of degree given by the equation (1), is equivalent to the existence of a rational normal scroll surface of degree in \({\mathbb {P}}^{s+1}\)which can be projected isomorphically into \({\mathbb {P}}^r\)as a surface of maximal rank. By [1, p. 478, Theorem 2] one knows that, when \(r\ge 5\), and for \(2\le i \le 3\), a general projection in \({\mathbb {P}}^r\) of a smooth rational normal scroll surface of degree s is of maximal rank (our numbers r and s play the role of k and d in the claim of the quoted paper [1, p. 478, Theorem 2]). Therefore, at least for \(r\ge 5\), and \(i=2\) or \(i=3\), the bound (2) is sharp. We do not know whether there are other values of i for which this is true.

  6. (vi)

    Taking into account the proof of Theorem 1.1 (see below), one may explicit the assumption \(d\gg \max \{r,i\}\). In fact, an elementary computation, that we omit, proves that it suffices to assume \(d>179\) in the case \(i=2\) and \(r=5\), and

$$\begin{aligned} d>\max \left\{ \frac{2s}{r-2}\prod _{j=1}^{r-2}[(r-1)!s]^{\frac{1}{r-1-j}},\,\, \frac{4s}{r-2}(s+1)^3\right\} \end{aligned}$$

otherwise (compare with [9, Section 2, (v), (vi), (vii)]). Observe that the number s defined in (1) depends on r and i. Also, notice that, for \(r\ge 4\) and \(i\ge 2\), one has \(\frac{4\,s}{r-2}(s+1)^3\ge is\).

In view of previous Remark 1.2, (v), we have:

Corollary 1.3

When \(r\ge 5\), and \(i=2\) or \(i=3\), the bound (2) is sharp.

2 The proof of Theorem 1.1

Lemma 2.1

Fix integers \(r\ge 4\) and \(i\ge 2\) (for \(r=4\) assume \(i\ge 3\)). Assume that the rational number s defined by the equation (1) is an integer. Let \(S\subset {\mathbb {P}}^r\) be an integral surface of degree s, not contained in a hypersurface of \({\mathbb {P}}^r\) of degree \(\le i\). Then S is the isomorphic projection in \({\mathbb {P}}^r\) of a rational normal scroll surface \(S'\subset {\mathbb {P}}^{s+1}\) of degree s.

Proof

It suffices to prove that \(h^0(S,{\mathcal {O}}_S(1))=s+2\) (notice that \(s\ge 5\)).

Let \(\Sigma \subset {\mathbb {P}}^{r-1}\) be a general hyperplane section of S. For every \(j\ge 1\) one has \(h^0(\Sigma , \mathcal O_{\Sigma }(j))\le 1+js\) [9, inequality (10)]. Hence, from the natural exact sequence \(0\rightarrow {\mathcal {O}}_S(j-2)\rightarrow \mathcal O_S(j-1)\rightarrow {\mathcal {O}}_{\Sigma }(j-1)\rightarrow 0\), we obtain \(h^0(S,{\mathcal {O}}_S(1))\le s+2\), and:

$$\begin{aligned} h^0(S,{\mathcal {O}}_S(i-1))\le h^0(S,{\mathcal {O}}_S(1))+\sum _{j=2}^{i-1} [1+js]\le i+\left( {\begin{array}{c}i\\ 2\end{array}}\right) s. \end{aligned}$$

We deduce that if \(h^0(S,{\mathcal {O}}_S(i-1))= i+\left( {\begin{array}{c}i\\ 2\end{array}}\right) s\), then \(h^0(S,{\mathcal {O}}_S(1))=s+2\). Therefore, it suffices to prove that \(h^0(S,{\mathcal {O}}_S(i-1))= i+\left( {\begin{array}{c}i\\ 2\end{array}}\right) s\). Since \(h^0(\mathbb P^r,{\mathcal {I}}_S(i-1))=0\), from the natural exact sequence \(0\rightarrow {\mathcal {I}}_S(i-1)\rightarrow {\mathcal {O}}_{{\mathbb {P}}^r}(i-1)\rightarrow \mathcal O_{S}(i-1)\rightarrow 0\), we get:

$$\begin{aligned} h^1({\mathbb {P}}^r,{\mathcal {I}}_S(i-1))=h^0(S,\mathcal O_S(i-1))-\left( {\begin{array}{c}r+i-1\\ i-1\end{array}}\right) \le i+\left( {\begin{array}{c}i\\ 2\end{array}}\right) s-\left( {\begin{array}{c}r+i-1\\ i-1\end{array}}\right) . \end{aligned}$$

Hence, it suffices to prove that

$$\begin{aligned} h^1({\mathbb {P}}^r,\mathcal I_S(i-1))=i+\left( {\begin{array}{c}i\\ 2\end{array}}\right) s-\left( {\begin{array}{c}r+i-1\\ i-1\end{array}}\right) . \end{aligned}$$
(3)

To this purpose notice that, since \(h^0({\mathbb {P}}^r,\mathcal I_S(i))=0\), from the natural exact sequence \(0\rightarrow \mathcal I_S(i-1)\rightarrow {\mathcal {I}}_{S}(i)\rightarrow {\mathcal {I}}_{\Sigma ,\,\mathbb P^{r-1}}(i)\rightarrow 0\), we have:

$$\begin{aligned} h^0({\mathbb {P}}^{r-1},{\mathcal {I}}_{\Sigma ,\,{\mathbb {P}}^{r-1}}(i))\le h^1({\mathbb {P}}^{r},{\mathcal {I}}_{S}(i-1))\le i+\left( {\begin{array}{c}i\\ 2\end{array}}\right) s-\left( {\begin{array}{c}r+i-1\\ i-1\end{array}}\right) . \end{aligned}$$
(4)

Now, from the natural exact sequence \(0\rightarrow \mathcal I_{\Sigma ,\,{\mathbb {P}}^{r-1}}(i)\rightarrow {\mathcal {O}}_{\mathbb P^{r-1}}(i)\rightarrow {\mathcal {O}}_{\Sigma }(i)\rightarrow 0\), we get:

$$\begin{aligned}&h^1({\mathbb {P}}^{r-1},{\mathcal {I}}_{\Sigma ,\,{\mathbb {P}}^{r-1}}(i))= h^0({\mathbb {P}}^{r-1},{\mathcal {I}}_{\Sigma ,\,\mathbb P^{r-1}}(i))-\left( {\begin{array}{c}r+i-1\\ r-1\end{array}}\right) +h^0(\Sigma ,{\mathcal {O}}_{\Sigma }(i)) \\&\quad \le i+\left( {\begin{array}{c}i\\ 2\end{array}}\right) s-\left( {\begin{array}{c}r+i-1\\ i-1\end{array}}\right) -\left( {\begin{array}{c}r+i-1\\ r-1\end{array}}\right) +(1+is), \end{aligned}$$

and this number is equal to 0 in view of the equation (1). It follows that:

$$\begin{aligned} h^0({\mathbb {P}}^{r-1},{\mathcal {I}}_{\Sigma ,\,\mathbb P^{r-1}}(i))=i+\left( {\begin{array}{c}i\\ 2\end{array}}\right) s-\left( {\begin{array}{c}r+i-1\\ i-1\end{array}}\right) . \end{aligned}$$

And so from (4) we obtain (3). \(\square\)

Remark 2.2

Notice that the surface S in Lemma 2.1 is necessarily smooth. In fact, if \(S'\subset {\mathbb {P}}^{s+1}\) is a singular rational normal scroll, then it is a cone, and so it can not be projected isomorphically into a space of lower dimension. It follows that if \(S'\subset {\mathbb {P}}^{s+1}\)is a singular rational normal scroll surface of degree given by the equation (1), and is the projection of \(S'\)into \({\mathbb {P}}^r\)from a \({\mathbb {P}}^{s-r}\)disjoint from \(S'\)and \({\mathbb {P}}^r\),then S is contained in some hypersurface of degree i. This is completely in contrast with the smooth case [1, Theorem 2]. Another consequence of previous remark is that, when \(i\ge 3\)every integral surface of degree s given by the equation (1) in \({\mathbb {P}}^4\), is contained in some hypersurface of degree i. It follows that, in the case \(r=4\) and \(i\ge 3\), the bound (2) is not sharp. Hence, when studying curves in \({\mathbb {P}}^4\) in our setting, one only has to consider curves contained in surfaces of degree \(\ge s+1\). But we will not dwell further with the case \(r=4\) in this paper.

Proof of Theorem 1.1

First we notice that C cannot be contained in a surface of degree \(<s\), because every such a surface is contained in a hypersurface of degree i [9, inequality (11)]. On the other hand, if  C is not contained in a surface of degree \(<s+1\), since \(d\gg \max \{r,i\}\), by [2, Main Theorem] we have [9, Section 2, (v), (vi), (vii)]:

$$\begin{aligned} p_a(C)\le \frac{d^2}{2(s+1)}+O(d)< \frac{d^2}{2s}+O(d)=\left( {\begin{array}{c}m\\ 2\end{array}}\right) s+m\epsilon . \end{aligned}$$

Therefore, in order to prove Theorem 1.1, we may assume C is contained in a surface S of degree s, not contained in a hypersurface of degree \(\le i\). By the previous Lemma 2.1, we know that S is an isomorphic projection of a rational normal scroll surface \(S'\subset {\mathbb {P}}^{s+1}\). Hence, C is isomorphic to a curve \(C'\subseteq S'\) of degree d, in particular \(p_a(C)=p_a(C')\). Since \(d\gg \max \{r,i\}\), by Bezout’s theorem \(C'\) is non-degenerate. Therefore, the bound (2) for \(p_a(C)\) follows from Castelnuovo’s bound for \(p_a(C')\) [10, loc. cit.]. Observe that previous argument shows also that if the bound (2) is sharp, then every extremal curve \(D\subset \mathbb P^r\) is contained in a surface \(S\subset {\mathbb {P}}^r\) of of degree s, not contained in a hypersurface of degree \(\le i\). Conversely, if such a surface S exists, with notations as before, let \(D'\subset S'\) be a Castelnuovo’s curve of degree d. Let \(D\subset S\) be the projection of \(D'\) in S. Then D is an extremal curve, and so the bound (2) is sharp. In fact, \(p_a(D)=p_a(D')\). Moreover, since \(d>is\), D cannot be contained in a hypersurface of degree i by Bezout’s theorem (compare with Remark 1.2, (vi)). Now, let \(D\subset {\mathbb {P}}^r\) be an extremal curve. We just proved that D is contained in a surface S of degree s, a fortiori not contained in a hypersurface of degree \(\le i\). The surface S is an isomorphic projection of a rational normal scroll surface \(S'\subset {\mathbb {P}}^{s+1}\), and, as before, via this isomorphism, D corresponds to a Castelnuovo’s curve of \(S'\). Since \(d\gg \max \{r,i\}\), again by Bezout’s theorem, the surface S of degree s containing D is unique. By [9, inequality (11)] and the definition of  s, it follows that S is contained in a hypersurface T of degree \(i+1\). Moreover, D cannot be a.C.M., since it is an isomorphic projection. \(\square\)