Abstract 1 Introduction 2 Notations and Tools 3 Arbitrary 𝟏-intersecting curves 4 Tangencies among 𝒙-monotone curves 5 An Erdős-Simonovits-type theorem References

On the Maximum Number of Tangencies Among 1-Intersecting Curves

Eyal Ackerman ORCID Department of Mathematics, Physics and Computer Science, University of Haifa at Oranim, Israel    Balázs Keszegh ORCID HUN-REN Alfréd Rényi Institute of Mathematics, Budapest, Hungary
ELTE Eötvös Loránd University, Budapest, Hungary
Abstract

According to a conjecture of Pach, there are O(n) tangent pairs among any family of n Jordan arcs in which every pair of arcs has precisely one common point and no three arcs share a common point. This conjecture was proved for two special cases, however, for the general case the currently best upper bound is only O(n7/4). This is also the best known bound on the number of tangencies in the relaxed case where every pair of arcs has at most one common point. We improve the bounds for the latter and former cases to O(n5/3) and O(n3/2), respectively. We also consider a few other variants of these questions, for example, we show that if the arcs are x-monotone, each pair intersects at most once and their left endpoints lie on a common vertical line, then the maximum number of tangencies is Θ(n4/3). Without this last condition the number of tangencies is O(n4/3(logn)1/3), improving a previous bound of Pach and Sharir. Along the way we prove a graph-theoretic theorem which extends a result of Erdős and Simonovits and may be of independent interest.

Keywords and phrases:
tangency graph, forbidden subgraph, extremal graph
Funding:
Balázs Keszegh: Supported by the ERC Advanced Grant “ERMiD”, no. 101054936 and by the EXCELLENCE-24 project no. 151504 Combinatorics and Geometry of the NRDI Fund.
Copyright and License:
[Uncaptioned image] © Eyal Ackerman and Balázs Keszegh; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing Extremal graph theory
; Mathematics of computing Graphs and surfaces
Related Version:
Full version: https://arxiv.org/abs/2603.11885 [2]
Acknowledgements:
We are grateful to Rom Pinchasi for many helpful discussions on the problems studied in this paper. In particular he has suggested most of the ingredients of the proofs of Theorems 7 and 5 and later found out that similar results were already proved by Pach and Sharir [23]. We thank Balázs Patkós for his comments about Theorem 9. For the proof of Theorem 10 we used some back and forth interaction with Google’s Large Language Model “Gemini” (https://gemini.google.com/).
Editors:
Hee-Kap Ahn, Michael Hoffmann, and Amir Nayyeri

1 Introduction

Arrangements of curves play an important role in Computational and Combinatorial Geometry with applications in domains such as robotics, computer graphics, computer vision, and combinatorial optimization [24]. Many interesting problems in these areas can be phrased as determining the maximum number of tangencies among curves under various restrictions. For example, occasionally, analyzing the complexity of an arrangement of curves boils down to estimating the number of faces of size two [5]. Such faces can often be perturbed into tangency points. Another example is Erdős’s famous Unit Distance Problem which asks for the maximum number of pairs of points that are at unit distance from each other among n distinct points in the plane. This is equivalent to asking for the maximum number of tangencies among n unit circles in the plane.

Throughout this paper we consider planar curves, that is, Jordan arcs, and assume that every two curves intersect in a finite number of points. A family of curves is k-intersecting if every two curves in it intersect in at most k points. Two curves are said to be tangent or touching if they have precisely one common point and this point is not a crossing point.111Here we follow the definition in, e.g., [22]. In other papers, e.g., [9], two curves may cross and also touch each other (at different points). However, for 1-intersecting curves the two definitions coincide. We will mainly consider the maximum number of tangencies among families of 1-intersecting curves. Such families are sometimes called pseudo-segments.222However, the term “pseudo-segments” is somewhat ill-suited in the context of tangencies, since straight-line segments can only be tangent at an endpoint. A family of curves is precisely 1-intersecting if every pair of curves has precisely one common point (either a crossing or a tangency point). We will always assume that no three curves share a common point, for otherwise, it is possible to have one point at which every pair of curves is tangent. Therefore, the number of tangent pairs is equal to the number of tangency points.

János Pach proposed the following nice conjecture.

Conjecture 1 (Pach [20]).

Every family of n precisely 1-intersecting planar curves in which no three curves share a common point admits O(n) tangencies.

Györgyi et al. [14] proved this conjecture for the very special case where the endpoints of the curves lie within a constant number of cells of their arrangement. Conjecture 1 was also settled by the authors for x-monotone curves [4]. Recall that a curve is x-monotone (resp., bi-infinite x-monotone) if it is the graph of some continuous function over some closed interval (resp., over ). For arbitrary families of (precisely) 1-intersecting curves a non-trivial O(n7/4) bound on the number of tangencies follows from a result of Keszegh and Pálvölgyi [17]:

Theorem 2 ( [17]).

Every family of n k-intersecting planar curves admits Ok(n21k+3) tangencies.

We improve this bound for (precisely) 1-intersecting families as follows.

Theorem 3.

Every family of n 1-intersecting planar curves admits O(n5/3) tangencies.

Theorem 4.

Every family of n precisely 1-intersecting planar curves admits O(n3/2) tangencies.

Note that the maximum number of tangencies among n (x-monotone) 1-intersecting curves is Ω(n4/3). Indeed, it is not hard to construct a family admitting that many tangencies based on the famous construction of Erdős (see [21]) of n lines, n points and Θ(n4/3) point-line incidences (see the proof of Theorem 6).

For x-monotone 1-intersecting curves we have the following bound.

Theorem 5.

Every family of n 1-intersecting x-monotone planar curves admits O(n4/3(logn)1/3) tangencies.

This bound almost matches the above-mentioned Ω(n4/3) lower bound and improves by an O((logn)1/3) factor a previous bound that follows from a result of Pach and Sharir [23]. For so-called grounded x-monotone 1-intersecting curves we have an asymptotically tight bound.

Theorem 6.

The maximum number of tangencies among n x-monotone 1-intersecting planar curves whose left endpoints lie on a common vertical line is Θ(n4/3).

The proofs of Theorems 5 and 6 rely on the following bounds for bi-infinite curves.

Theorem 7.

The maximum number of tangencies among n bi-infinite x-monotone 1-intersecting curves is Θ(nlogn). In case of precisely 1-intersecting curves the maximum number of tangencies is n1.

The bound for bi-infinite x-monotone 1-intersecting curves was already proved by Pach and Sharir [23] using different and less elementary arguments. The following table summarizes all the above-mentioned results.

Table 1: Bounds on the maximum number of tangencies among n 1-intersecting curves.
x-monotone arbitrary
bi-infinite 1-intersecting Θ(nlogn) [23] (Thm 7)
bi-inf. precisely 1-inters. n1 (Thm 7)
grounded 1-intersecting Θ(n4/3) (Thm 6) Ω(n4/3), O(n3/2) (Cor 18)
1-intersecting Ω(n4/3) [23], O(n4/3(logn)1/3) (Thm 5) Ω(n4/3), O(n5/3) (Thm 3)
precisely 1-intersecting Θ(n) [4] Ω(n), O(n3/2) (Thm 4)

1.1 A graph-theoretic theorem

For a graph H let ex(n,H) denote the maximum number of edges in an n-vertex H-free graph, that is, a graph which does not contain H as a subgraph. For a bipartite graph H=(AB,E) we denote by H+ the graph we get by adding to H two new adjacent vertices a and b and connecting a to every vertex in B and b to every vertex in A. That is, H+=((A{a})(B{b}),E{(a,b)}{(a,b)bB}{(a,b)aA}). Erdős and Simonovits [10] proved the following result333We present a simplified version of their result from which the original version can be easily deduced. when studying ex(n,Q3), where Q3 is the graph with 8 vertices and 12 edges that corresponds to a three-dimensional cube.

Theorem 8 ([10, Theorem 2]).

Let H be a bipartite graph with at least one edge such that ex(n,H)=O(n2α) for some constant 0α1. Then ex(n,H+)=O(n2αα+1).

Observe that if G=(AB,E) is a bipartite H+-free graph, then for every adjacent vertices aA and bB it holds that G[(NG(a){b})(NG(b){a})] – the subgraph of G induced by their open bineighborhood – is H-free. Roughly speaking, if for every adjacent vertices in G the subgraph induced by their open bineighborhoods is not too dense because it is H-free, then it follows that G is also not too dense. We extend and refine Theorem 8 by showing that it holds whenever we have sparse subgraphs induced by open sub-bineighborhoods of pairs of (adjacent) vertices, be it for H-freeness or some other reason. To state the result we need the following definition: for a graph G and a nonnegative and nondecreasing function f: we say that two vertices u and v have f-sparse sub-bineighborhoods if for every two disjoint subsets UNG(u){v} and VNG(v){u} it holds that |E(G(U,V))|f(|UV|), where G(U,V) is the bipartite subgraph (UV,{(u,v)E(G)uU and vV}). For the proof of Theorem 3 we use the following theorem which extends Theorem 8 and may be of independent interest.

Theorem 9.

Let G be a graph and let f(n)=O(n2α) for some constant 0α<2. If every pair of vertices in G has f-sparse sub-bineighborhoods, then |E(G)|=O(|V(G)|2αα+1). Moreover, if α1, then it is enough that every pair of adjacent vertices has f-sparse sub-bineighborhoods for this bound to hold.

Clearly, Theorem 9 implies Theorem 8. Note that from Theorem 8 one can conclude by induction on t the classical Kővári-Sós-Turán Theorem [18] stating that an n-vertex Kt,t-free graph has Ot(n21t) edges. It is a major open question in extremal combinatorics whether this bound is tight with positive answers only known for t=2 and t=3. Thus, the upper bound in Theorem 8 is tight for α=1 and α=12, and, assuming that the bound of the Kővári-Sós-Turán Theorem is tight, for every α=1t where t is a positive integer. Remarkably, for Theorem 9 we do have a matching lower bound for every 0α1.

Theorem 10.

For every 0α1 there is a bipartite graph G=(V,E) with |E|=Ω(|V|2αα+1) edges such that every pair of vertices in G has f-sparse sub-bineighborhoods where f(n)=O(n2α).

1.2 Related work

Agarwal, Nevo, Pach, Pinchasi, Sharir and Smorodinsky [5] proved that any family of n pairwise intersecting x-monotone bi-infinite 2-intersecting curves admits at most 2n4 tangencies. Families of 2-intersecting closed curves are called pseudo-circles. Erdős and Grünbaum [11] (see also [8, §7.1, Problem 14]) asked for the maximum number of tangencies among n pseudo-circles. An Ω(n4/3) lower bound for this problem follows from the many point-line incidences construction. The best upper bound is O(n3/2) by a recent result of Janzer, Janzer, Methuku and Tardos [16]. As for pairwise intersecting pseudo-circles, a recent work with Damásdi, Pinchasi and Raffay [1] settled an old conjecture of Grünbaum [13] by showing that the maximum number of tangencies is 2n2 in this case. A worse linear upper bound was proved in [5].

Ellenberg, Solymosi and Zahl [9] proved that any family of n plane algebraic curves of degree at most d admits Od(n3/2) tangencies.444As mentioned before, their notion of tangency is a bit different and they actually bound the number of tangency points. If two curves may intersect an arbitrary number of times, then it is possible to have Ω(n2) tangencies among n curves. Solving a conjecture of Richter and Thomassen it was shown by Pach, Rubin and Tardos [22] that if every pair of n closed curves intersects, then there are many more crossing points than tangency points. Specifically, they showed that if X denotes the crossing points and T denotes the tangency points, then |X|=Ω(|T|(loglogn)1/8) and conjectured that |X|=Ω(|T|logn).

Another line of research studies the number of tangencies between two families each consisting of disjoint curves. This problem was introduced by Pach, Suk and Treml [25] who attributed it to Ben-Dan and Pinchasi [6]. An upper bound of O(n3/2) follows from an observation of Ben-Dan and Pinchasi and from the result of Janzer et al. [16], whereas a lower bound of Ω(n4/3) was shown by Keszegh and Pálvölgyi [17] using 2-intersecting curves. For two families of 1-intersecting curves a linear upper bound was proved by Pálvölgyi et nos [3]. For further related results on tangencies among curves and their applications see [5] and [22] and the references therein.

Organization

After introducing some notations and collecting a few useful lemmas in Section 2, we prove the results for arbitrary 1-intersecting curves in Section 3. Our results for x-monotone curves are presented and partially proved in Section 4. Finally, in Section 5 we prove Theorem 9 and discuss its further applications and connections to related graph theoretic results. Proofs that were omitted due to space limitation can be found in the full version of this paper [2].

2 Notations and Tools

Recall that we assume that every two curves intersect at finitely many points and that no three curves intersect at a single point. It follows from the former assumption that we may also assume that the curves are drawn as polygonal chains. Indeed, given a set of curves 𝒞, consider the plane graph G whose vertex set consists of the endpoints and intersection points of the curves in 𝒞 and whose edge set consists of subcurves between consecutive vertices along the curves. By Fáry’s Theorem [12] this planar graph can be embedded using straight-line edges and the same rotation system. Replacing every curve c𝒞 with the polygonal chain that consists of the edges in this embedding that correspond to edges of G that belong to c, we obtain a family of curves 𝒞 such that for every intersection (resp., tangency) point of two curves in 𝒞 there is a unique intersection (resp., tangency) point between their corresponding curves in 𝒞, and vice versa.

For a set of curves 𝒞 we denote by G𝒞 the tangency graph of 𝒞, that is, the graph whose vertex set is 𝒞 and whose edge set consists of the tangent pairs of curves. By abuse of notation we sometimes interchange curves in 𝒞 and their corresponding vertices in G𝒞.

Let c be a curve and let p and q be two points on c. We denote by c[p,q] the subcurve of c between these two points. For another curve c that intersects c at a single point, we may also write, e.g., c[c,q] instead of c[cc,q]. If c is oriented, then we denote by c (resp., c+) its starting (resp., terminating) point following its orientation. We also write c[,p] and c[p,+] instead of c[c,p] and c[p,c+], respectively. If c is an x-monotone curve and p is a point (not necessarily on c), then with some abuse of notation by writing, e.g., c[p,+], we mean c[pc,+), where p is the vertical line through p. As usual, a round bracket indicates that an endpoint does not belong to the subcurve.

A family of x-monotone curves induces a generalized trapezoidal partition of the plane in the following way. From every point p which is an endpoint of a curve or an intersection point of two curves we draw a maximal vertical segment (possibly a ray or a line) that contains p and does not cross any other curve but the ones containing p. This yields a partition of the plane into generalized trapezoids.

Theorem 11 (Cutting Lemma for x-monotone curves [15, Proposition 2.11]).

For every family 𝒞 of n x-monotone 1-intersecting curves and any r>1 there is a subset of curves in 𝒞 which induces a generalized trapezoidal partition of the plane into O(r2) generalized trapezoids each intersected by at most n/r curves from 𝒞.

We will also make use of the (asymmetric) Kővári-Sós-Turán Theorem and the recent tight bound of Janzer et al. [16] on the size of intersection-reverse sequences. The latter improves previous bounds by Marcus and Tardos [19] and by Pinchasi and Radoičić [26].

Theorem 12 (Kővári-Sós-Turán Theorem [18]).

For every m,n,s,t1 if G=(AB,E) is a bipartite graph such that |A|=m, |B|=n, and there are no s vertices in A and t vertices in B that form a complete bipartite subgraph Ks,t, then |E|(s1)1/tnm11/t+(t1)m. In particular, |E|=Os(n21/t) when m=n and st.

Theorem 13 ([16]).

Let A1,,An be linear orders on some subsets of a set of n symbols such that no three symbols appear in the same order in any two distinct linear orders. Then i=1n|Ai|=O(n3/2).

3 Arbitrary 𝟏-intersecting curves

In this section we consider 1-intersecting curves that are not necessarily x-monotone and prove Theorems 3 and 4. We begin with grounded curves. A family of curves 𝒞 is grounded at a curve c𝒞 if every curve in 𝒞 has an endpoint on c.

Theorem 14.

Let A be a family of curves grounded at a curve A and let B be a family of curves grounded at a curve B, such that all of these curves form a family of 1-intersecting curves, no curve in A{A} intersects B and no curve in B{B} intersects A. Then the number of tangent pairs {cAA,cBB} is O(|AB|3/2).

Proof.

We refer to the curves in A as red curves and to the curves in B as blue curves. If a pair of curves of the same color touch, then we may redraw them locally such that they are disjoint, since we only care about red-blue tangencies. Thus, every pair of curves of the same color are either crossing or disjoint. Orient each curve in A away from A and each curve in B away from B. Then, there are four types of red-blue tangencies since every curve has a “left” side and a “right” side with respect to its orientation.

Proposition 15.

Let c,c1,c2 and be four distinct curves such that: (1) {c,c1,c2,} is 1-intersecting; (2) c1 and c2 are grounded at and are oriented away from ; (3) c is oriented and touches c1 and c2 at tangency points of the same type; and (4) c and are disjoint. Then c1[c,+] and c2[c,+] do not cross.

Proof.

Suppose that c1[c,+] and c2[c,+] cross and let T denote the simple closed curve c[c1,c2]c1[c,c2]c2[c,c1], see Figure 1. Then c1 and c2 lie on different sides T.555Assuming some arbitrary orientation of T, disregarding the orientations of the other curves. However, this is impossible since both of these points are on which cannot cross T.

Figure 1: If c1 and c2 are grounded at and have the same tangency type with c, then c1[c,+] and c2[c,+] cannot cross.

Returning to the proof of the theorem, we consider each of the four tangency types separately. For a certain type t, we write for each curve bB the ordered list of curves from A that touch b at a touching point of the given type. The list, denote it by lt(b), is ordered according to the order of the corresponding touching points along b.

Proposition 16.

There are no three curves a1,a2,a3A and two curves b1,b2B such that a1,a2,a3 appear in this order both in lt(b1) and in lt(b2).

Proof.

Suppose for contradiction that there are such curves. Observe first that it follows from Proposition 15 that b1[a1,+] and b2[a1,+] do not cross. In particular b1[a1,a3] and b2[a1,a3] do not cross. Next, we claim that at least one pair of the three subcurves ai[b1,b2], i=1,2,3, is crossing. Suppose for contradiction that these curves are pairwise disjoint. Slightly “inflate” b1 and b2 and fix a point p(c) on each subcurve c{a1(b1,b2),a2(b1,b2),a3(b1,b2),b1(a1,a3),b2(a1,a3)}. Note that these subcurves are disjoint. Next, draw a crossing-free copy of K2,3 whose vertices are these five points and whose edges follow the corresponding subcurves, as suggested by Figure 2.

Figure 2: If the subcurves ai(b1,b2) were disjoint, then we could draw a crossing-free copy of K2,3.

Note that since a1,a2,a3 touch in this order both of b1 and b2, the counterclockwise cyclic order of p(a1),p(a2),p(a3) is the same for p(b1) and p(b2). However, this contradicts the following lemma of Pinchasi and Radoičić [26].

Lemma 17 ([26, Lemma 1]).

Let G be a topological graph with no two edges belonging to a 4-cycle that crosses itself an odd number of times. For each vertex v of G let Cv denote the counterclockwise cyclic order of the neighbors of v. Then for each pair of vertices u and v, if there are more than two common neighbors of u and v, then the order of these neighbors in Cv is reversed with respect to their order in Cu.

For the rest of the proof we will only consider the guaranteed pair of crossing subcurves among ai[b1,b2], i=1,2,3, therefore we may suppose without loss of generality that a1(b1,b2) and a2(b1,b2) are crossing. We may also assume that a1 meets b1 before meeting b2. Since a1[b1,+] cannot cross a2[b1,+] by Proposition 15, it follows that a1[b1,+] and a2[,b1] are crossing. Together with b1[a1,a2] and b2[a1,a2] they induce a partition of the plane into three connected regions. For each type of red-blue tangency, the points a1 and a2 lie on two different regions, see Figure 3 for an illustration.

Figure 3: Illustrations for the proof of Proposition 16: a1[b1,+] and a2[,b1] are crossing and together with b1[a1,a2] and b2[a1,a2] induce a partition of the plane. a1 and a2 lie on different regions of this partition for any red-blue tangency type.

However, this is impossible since both of these points lie on A which does not cross any of the curves a1,a2,b1,b2.

It follows from Proposition 16 and Theorem 13 that i|lt(bi)|=O(|AB|)3/2. Therefore, the number of red-blue tangencies is also O(|AB|)3/2.

Corollary 18.

Let 𝒞 be a family of n 1-intersecting curves grounded at a curve . Then the number of tangencies among 𝒞 is O(n3/2).

Proof.

Denote by t(n) the maximum number of tangencies among such a family of n curves. We prove that t(n)=O(n3/2) by induction on n. Split into two disjoint subcurves such that n/2 curves from 𝒞 are grounded at each subcurve. Using Theorem 14 and induction we get the recursive relation t(n)2t(n/2)+O(n3/2) which implies that t(n)=O(n3/2).

Corollary 19.

Let A be a family of curves grounded at a curve A and let B be a family of curves grounded at a curve B, such that AB{A,B} form a family of 1-intersecting curves. Then the number of tangent pairs {cAA,cBB} is O(|AB|3/2).

Proof.

If A and B cross at a point p, then we split each of them into two curves at p (such that p belongs to neither of them). Denote these subcurves by A1,A2,B1 and B2 and note that each pair of them are disjoint. Every curve in A (resp., B) that crosses B (resp., A) we cut into two subcurves, such that one of them is grounded at A1 or A2 (or at A if it was not cut) and the other is grounded at B1 or B2 (or at B if it was not cut). It remains to bound the number of tangencies among curves grounded at xi, for each x{A,B} and i{1,2}, and the number of tangencies of pairs of curves c and c such that c is grounded at xi and c is grounded at yj for each x,y{A,B} and i,j{1,2} such that xy or ij. It follows from Corollary 18 and Theorem 14 that the total number of all of these tangencies is O(|AB|3/2).

We can now deduce the main results of this section. See 4

Proof.

Follows immediately from Corollary 18.

Theorem 3. [Restated, see original statement.]

Every family of n 1-intersecting planar curves admits O(n5/3) tangencies.

Proof.

Let 𝒞 be a family of n 1-intersecting curves and let G𝒞 be the tangency graph of 𝒞. It follows from Corollary 19 that G𝒞 satisfies the f-sparse sub-bineighborhoods property for f(x)=O(x3/2). Indeed, let v0 and v1 be two adjacent vertices in G𝒞 and let ViNG𝒞(vi){v1i}, for i=0,1, be two disjoint subsets of their neighborhoods in G𝒞. We wish to bound t(V0,V1) – the number of tangent pairs {u0V0,u1V1}. For every i=0,1 and every curve uVi, we split u into two subcurves ui and ui′′ such that each of them is grounded at vi. Denote the resulting set of curves by V1,V1′′,V2 and V2′′, respectively. Thus, t(V0,V1)=t(V0,V1)+t(V0,V1′′)+t(V0′′,V1)+t(V0′′,V1′′). It follows from Corollary 19 that this sum is upper-bounded by O(|V0V1)|3/2). Therefore, by Theorem 9 we have that |E(G𝒞)|O(n5/3).

4 Tangencies among 𝒙-monotone curves

Theorem 7 is proved in the full version of this paper [2]. Here we give a short summary of the ideas of the proof. First, in the case of exactly 1-intersecting bi-infinite x-monotone curves we prove that the tangency graph cannot contain a cycle, thus has at most n1 edges. Then we prove a linear bound for a bipartite variant of counting tangencies between two families of bi-infinite x-monotone curves that are separated in the infinity and apply this to get the O(nlogn) bound for the general 1-interesting case.

Next we show the main ideas needed to prove Theorem 5 and 6, the details are again in the full version of this paper [2].

Pach and Sharir [23] studied the following problem: What is the maximum number of pairs of disjoint line-segments that are vertically visible among a set of n segments in the plane? We say that two segments are vertically visible if there exists a vertical segment that intersects both of them and does not intersect any other segment in the set. The motivation for this problem came from analyzing the maximum size of the events queue in the original implementation of the Bentley-Ottmann line sweeping algorithm for enumerating all the intersections among a set of segments [7].

Pach and Sharir [23] proved that the maximum number of pairs of disjoint vertically visible line-segments within a set of n segments is O(n4/3(logn)2/3) and Ω(n4/3). They also mentioned these bounds hold also for x-monotone 1-intersecting curves.

It is easy to see that counting disjoint vertically visible pairs can be reduced to counting touching pairs of x-monotone 1-intersecting curves and vice versa. Indeed, vertically visible curves can become tangent by replacing a very narrow part of one curve by a “spike” that touches the other curve. On the other hand, a pair of touching curves can be easily “detached” and become vertically visible. Therefore, the result of Pach and Sharir [23] implies that the maximum number of tangencies among n x-monotone 1-intersecting curves is O(n4/3(logn)2/3) and Ω(n4/3).

We outline the proof of the upper bound of Pach and Sharir [23] and point out the modifications which lead to the better bounds of Theorem 5 and 6. First, the cutting lemma (Theorem 11) is used to partition the plane into generalized trapezoids such that every trapezoid is cut by not too many curves. Then, the number of tangencies within every trapezoid Ti is estimated and finally the sum over all the trapezoids is bounded. Regarding tangencies within Ti, one considers two subsets of curves that cut Ti: “short” curves that have at least one endpoint inside Ti and “long” curves that have no endpoint inside Ti. Therefore, the long curves behave like bi-infinite curves with respect to Ti. Thus, the number of long-long tangencies can be bounded using the O(nlogn) bound of Theorem 7. In order to obtain the tight upper bound of Theorem 6 we use for this case the linear bound for the case of counting tangencies between two families of bi-infinite x-monotone curves that are separated in the infinity, see Lemma 2 in the full version of this paper [2]. The number of short-long tangencies is bounded using Kővári-Sós-Turán Theorem and a technical lemma (see the full version of this paper [2]). Finally, the number of short-short tangencies is bounded in [23] by further subdividing Ti into vertical slabs. However, we observe that one can instead use induction and this simplifies the proof and leads to a better upper bound.

4.1 Bi-infinite 𝒌-intersecting 𝒙-monotone curves

In light of the second part of Theorem 7 and [5, Theorem 2.4] it is tempting to suggest that a similar statement holds for every fixed k.

Conjecture 20.

Every set of n pairwise intersecting bi-infinite x-monotone k-intersecting curves admits Ok(n) tangencies.

We were unable to settle this conjecture. Still, we mention a simple and weak polynomial upper bound and two observations regarding the conjecture. For the upper bound we use the following observation.

Observation 21.

Let r and r be two bi-infinite x-monotone curves touching from below an x-monotone curve b. Then r and r cross at a point whose x-coordinate is between br and br.

By Theorem 2 we have Ok(n21k+3) tangencies among any n k-intersecting curves. One can slightly improve upon this bound in case of bi-infinite x-monotone curves.

Proposition 22.

Let be a family of k-intersecting bi-infinite x-monotone curves. Then admits Ok(n21k+1) tangencies.

Proof.

Note that the curves in are not necessarily pairwise intersecting. Consider the tangency graph G and flip a fair coin for every curve c. If the outcome is “heads”, delete all the edges that correspond to tangencies in which c touches another curve from below. Otherwise, if the outcome is “tails” do the same for tangencies in which c touches a curve from above. Clearly, every edge in G survives with probability 1/4. Therefore, there is a bipartite subgraph (BR,E) with at least |E(G)|/4 edges in which every curve that corresponds to a vertex rR touches from below the curves corresponding to its neighbors in B. It suffices to bound the size of this subgraph.

We claim that this subgraph does not contain Kk+1,ck as a subgraph, for some large enough ck to be determined later. Indeed, suppose without loss of generality that there is a subset of ck curves R={r1,r2,,rck}R each of which touches from below each of the k+1 curves in a subset B={b1,b2,,bk+1}B. Let be the lower envelope of the curves in B. Then consists of at most λk+2(k+1) curve-segments, where λs(n) denotes that maximum length of an (n,s)-Davenport-Schinzel sequence [27].666A sequence of letters over an n-element alphabet is an (n,s)-Davenport-Schinzel sequence if it does not contain two consecutive identical letters and no alternating sub-sequence of two letters whose length is s+2. In fact a trivial bound of O(k3) on the size of the lower envelope also suffices for our purpose. Note that each curve rR touches k+1 of these curve-segments (which belong to k+1 different curves in B). Therefore, there are at most (λk+2(k+1)k+1) possibilities for the (k+1)-subset of curve-segments of that a curve in R touches. Setting ck=1+(λk+2(k+1)k+1) implies that there are two curves r,r′′R that touch the same k+1 curve-segments of . Consider one of these curve-segments s. Then it follows from Observation 21 that r and r′′ cross at a point whose x-coordinate is between sr and sr′′. Since the k+1 curve-segments that r and r′′ touch have distinct x-projections, it follows that r and r′′ cross at least k+1 times, which is impossible. Thus, (BR,E) is a Kk+1,ck-free graph and it follows from Kővári-Sós-Turán Theorem that it has at most Ok(n21k+1) edges.

The next observation says that if Conjecture 20 is true, then the same statement holds without requiring the curves to be bi-infinite.

Proposition 23.

Suppose that Conjecture 20 holds for some k>2. Then every set of n pairwise intersecting x-monotone (k2)-intersecting curves admits Ok(n) tangencies.

Proof.

Let be a set of curves as in the proposition. We assume without loss of generality that no two endpoints of two curves share the same x-coordinate. There are four types of tangencies: the curve touching from above starts before/after the curve touching from below and ends before/after it. We consider each type separately and observe that the set of curves touching from above and the set of curves touching from below are disjoint sets. Call the curves in the first set red and the curves in the other set blue. Next, we extend each red curve into a bi-infinite curve by shooting a very steep ray leftwards (resp., rightwards) and upwards at its left (resp., right) endpoint. Similarly, we extend each blue curve into a bi-infinite curve by shooting a very steep ray leftwards (resp., rightwards) and downwards at its left (resp., right) endpoint. The rays going leftward and upwards and the rays going rightwards and downwards have opposite slopes. Similarly, the rays going leftward and downwards and the rays going rightwards and upwards have opposite slopes. Note that this introduces at most two new intersection points between two curves while for touching curves (of the considered type) no new intersection point is introduced.

According to the following observation for an even k we may assume that every non-tangent pair of curve intersects at exactly k points.

Proposition 24.

Let be a set of n bi-infinite x-monotone curves such that every pair of curves in intersect at at least one and at most k points for some even k. Then there is a set of n bi-infinite x-monotone curves such that every pair of curves in is either touching at a single point or crossing at exactly k points and the number of touching pairs in and is the same.

Proof.

We may assume without loss of generality that all the curves are parallel to the x-axis at and + and denote them by 1,2,,n according to their order from top to bottom at . Let f:{1,2,,n}{1,2,,n} denote their order at +, that is, f(i) is the location of i in the order of the curves from top to bottom at +.

If f is the identity function, then every pair of curves either touch or cross at an even number of points. In such a case, every two curves that cross at k<k points, can be redrawn very close to one of their crossing points such that they cross at kk new crossing points. This way we get exactly k crossing points between every pair of non-touching curves. Otherwise, if f is not the identity function, then we can redraw two curves that cross an odd number of times such that they cross an even number of times and repeat this process until f becomes the identity function. Indeed, let i and j be two curves such that i<j and f(i)>f(j). If there are several such pairs we choose a “closest” one, that is, one which minimizes the difference f(i)f(j). Note that there is no curve l such that f(i)>f(l)>f(j), for otherwise we must have both l<i and j<l (or else (i,l) or (l,j) would be a “reversed” pair closer than (i,j)) which is impossible since i<j. Therefore, f(i)=f(j)+1 and it follows that we can redraw i and j such that they cross at an additional point.

5 An Erdős-Simonovits-type theorem

In this section we prove Theorems 9 and 10 and discuss some of their applications and connections to other graph theoretic results. For a graph G=(V,E) we denote by d¯(G)=2|E|/|V| the average degree in G. The subgraph induced by a subset of vertices UV is denoted by G[U]. For a vertex vV we denote by NG(v) (or simply N(v) when the context is clear) the neighbors of v in G. The (open) bineighborhood of two vertices v and u is equal to (NG(v)NG(u)){u,v}. Assume henceforth that G is bipartite and recall that for a nonnegative and nondecreasing function f: we say that two vertices u and v have f-sparse sub-bineighborhoods if for every two disjoint subsets UNG(u){v} and VNG(v){u} it holds that |E(G(U,V))|f(|UV|), where G(U,V) is the bipartite subgraph (UV,{(u,v)E(G)uU and vV}). Theorem 9 will follow from the next result.

Theorem 25.

Let f: be a nonnegative and nondecreasing function and let G=(AB,E) be an n-vertex bipartite graph with d¯(G)16.

  1. (i)

    If every pair of vertices in G has f-sparse sub-bineighborhoods, then (d¯(G))3211nf(2d¯(G)).

  2. (ii)

    If every pair of adjacent vertices has f-sparse sub-bineighborhoods and |E|25n3/2, then (d¯(G))3220nf(2d¯(G)).

Proof.

Set m=|E| and let d=d¯(G)=2m/n be the average degree of G. We first replace G with a graph G in which the degree of every vertex is roughly the average degree (while maintaining the f-sparseness property): Go over the vertices of G in an arbitrary order and replace each vertex v such that deg(v)>d by deg(v)/d vertices of degree d and possibly one vertex of a smaller degree. The neighbors of v are connected to the vertices that replace v in an arbitrary manner which satisfies this property. Observe that the resulting graph still has f-sparse sub-bineighborhoods for every pair of (adjacent) vertices, since each sub-neighborhood of a vertex in the new graph cannot contain two vertices that correspond to the same original vertex. Thus, every sub-neighborhood in the new graph corresponds to a sub-neighborhood in G. Furthermore, since d=2m/n, the number of vertices in the new graph is at most vAB(degG(v)/d+1)2n. Because the number of edges remains the same, the average degree of this graph is at least d/2.

Next, we repeatedly remove vertices of degree smaller than d/8 until no such vertices remain. We claim that at least m/2 edges remain after this step. Indeed, suppose for contradiction that less than m/2 edges remain and denote by x the number of vertices that were removed. Then at most xd/8 edges were removed, therefore xd/8>m/2=2nd/8 which is impossible since x2n. Denote by G=(AB,E) the resulting graph and note that |AB|2n, |E|m/2 and the degree of every vertex in G is at least d/8 and at most d. Observe also that |AB|2|E|/dm/d=n/2. Furthermore, G still has the f-sparse sub-bineighborhoods property, since this property is maintained when deleting a vertex.

Considering (i), for each pair of vertices aA and bB the number of edges in the subgraph of G induced by the union of their open bineighborhoods is at most f(2d). Therefore we have aA,bB|E(G[(NG(a){b})(NG(b){a}])|(2n2)f(2d)2n2f(2d). Note that every edge (a,b)E is counted in this sum for every pair aA and bB such that aNG(b){a} and bNG(a){b}. Since a (resp., b) has at least d81d16 neighbors different from b (resp., a), it follows that (a,b) is counted at least d2/256 times in the above sum (here we used the assumption d16). Therefore, nd/2=m=|E|2|E|210n2f(2d)/d2 and thus d3211nf(2d).

Considering (ii), we have d50n1/2 since m25n3/2. Assume w.l.o.g. that |B||A| and therefore |B|n/4 and |A|n. Let #K2,1 be the number of K2,1’s in G with two vertices in A and let #K2,2 be the number of K2,2’s in G. Then,

#K2,2=14aA,bB,(a,b)E|E(G[(NG(a){b})(NG(b){a}])|m4f(2d)=dn8f(2d).

On the other hand, denoting sa,a=|NG(a)NG(a)| for two distinct vertices a,aA we have #K2,1=aaAsa,a and:

#K2,2 =aaA(sa,a2)=12aaA(sa,a2sa,a)
(#K2,1)22(|A|2)#K2,12(#K2,1)22(n2)#K2,12,

where the second to last inequality follows from Cauchy’s inequality. For #K2,1 we have the following lower bound:

#K2,1=aaAsa,a=bB(deg(b)2)n4(d/82)nd2/211n2,

where we used double-counting by the vertex from B for the K2,1’s and the inequalities |B|n/4 and d50n1/2. Combining the inequalities above we get:

dnf(2d)8 #K2,2(#K2,1)2n2#K2,12(#K2,1)2n2(#K2,1)22n2=(#K2,1)22n2
n2d42222n2=d4223.

This implies that d3220nf(2d), as claimed.

Using Theorem 25 we can now prove Theorem 9 which we restate for convenience. See 9

Proof.

Recall that every graph contains a bipartite subgraph whose size is at least half of the size of the graph. Let G=(AB,E) be such a bipartite subgraph of G, where |E||E(G)|/2, and let n=|V(G)| and d=d¯(G). If every pair of vertices in G has f-sparse sub-bineighborhoods, then the same holds for G and it follows from Theorem 25 that d3211nf(2d)=O(nd2α). Thus, dO(n1/(α+1)) and the upper bound follows.

If 0<α1 and every pair of adjacent vertices has f-sparse sub-bineighborhoods, then we may assume that |E|25n3/2 for otherwise the theorem trivially holds. Therefore, by Theorem 25 we have d3220nf(2d)=O(nd2α) and dO(n1/(α+1)) as before.

For the lower bound we show that an appropriate random bipartite graph meets the criteria with positive probability, the proof can be found in the full version of this paper [2].

Remarks

  • The proof of Theorem 9 is quite similar to the proof of Theorem 8 in [10]. In both cases, one first makes the graph close to being regular and then uses double-counting, however, in the case of Theorem 8 the first part requires more effort. Chronologically, we first proved the first part of Theorem 9 which was needed for the proof of Theorem 3, only later did we learn about Theorem 8 and used it to prove the second part of Theorem 9.

  • It would be interesting to determine whether Theorem 9 holds when one assumes sparsity of the subgraph induced by the bineighborhood of every pair of (adjacent) vertices instead of assuming sparsity of subgraphs induced by each of their sub-bineighborhoods. We note that the first part of the proof of Theorem 9 does not go through in such a case. Also, f-sparse bineighborhoods do not imply f-sparse sub-bineighborhoods.

  • Theorem 9 might find other applications, e.g., in other scenarios where it can be combined with Theorem 13. Here is one example. For a graph H let excr(n,H) be the maximum number of edges in a topological graph on n vertices with no self-intersecting copy H. Note that ex(n,H)excr(n,H) and if H is non-planar then ex(n,H)=excr(n,H). In [16] Theorem 13 is used to show that excr(n,C4)=O(n3/2) (and this is tight). Using Theorem 9 this immediately implies:

    Corollary 26.

    excr(K2,3)=O(n5/3) and excr(n,K3,3)=O(n5/3) where K3,3 is the complete bipartite graph on 3+3 vertices minus one edge.

References

  • [1] Eyal Ackerman, Gábor Damásdi, Balázs Keszegh, Rom Pinchasi, and Rebeka Raffay. The Maximum Number of Digons Formed by Pairwise Intersecting Pseudocircles. In Oswin Aichholzer and Haitao Wang, editors, 41st International Symposium on Computational Geometry (SoCG 2025), volume 332 of Leibniz International Proceedings in Informatics (LIPIcs), pages 2:1–2:14, Dagstuhl, Germany, 2025. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.SoCG.2025.2.
  • [2] Eyal Ackerman and Balázs Keszegh. On the maximum number of tangencies among 1-intersecting curves, 2026. arXiv:2603.11885.
  • [3] Eyal Ackerman, Balázs Keszegh, and Dömötör Pálvölgyi. On tangencies among planar curves with an application to coloring L-shapes. European Journal of Combinatorics, 121:103837, 2024. doi:10.1016/j.ejc.2023.103837.
  • [4] Eyal Ackerman and Balázs Keszegh. On the number of tangencies among 1-intersecting x-monotone curves. European Journal of Combinatorics, 118:103929, 2024. doi:10.1016/j.ejc.2024.103929.
  • [5] Pankaj K. Agarwal, Eran Nevo, János Pach, Rom Pinchasi, Micha Sharir, and Shakhar Smorodinsky. Lenses in arrangements of pseudo-circles and their applications. J. ACM, 51(2):139–186, 2004. doi:10.1145/972639.972641.
  • [6] Itay Ben-Dan and Rom Pinchasi. personal communication.
  • [7] Jon Bentley and Thomas Ottmann. Algorithms for reporting and counting geometric intersections. IEEE Transactions on Computers, C-28(9):643–647, 1979. doi:10.1109/TC.1979.1675432.
  • [8] Peter Brass, William O. J. Moser, and János Pach. Research problems in discrete geometry. Springer, 2005.
  • [9] Jordan S. Ellenberg, Jozsef Solymosi, and Joshua Zahl. New bounds on curve tangencies and orthogonalities. Discrete Analysis, November 4 2016. doi:10.19086/da.990.
  • [10] P. Erdős and M. Simonovits. Some extremal problems in graph theory. In P. Erdős, A. Rényi, and V. T. Sós, editors, Combinatorial Theory and its Applications, I, volume 4 of Colloquia Mathematica Societatis János Bolyai, pages 377–390. North-Holland, Amsterdam, 1970. Proc. Colloq., Balatonfüred (Hungary), 1969. URL: https://users.renyi.hu/˜miki/1970-22ErdSimCube.pdf.
  • [11] Pál Erdős and Branko Grünbaum. Osculation vertices in arrangements of curves. Geometriae Dedicata, 1(4):322–333, 1973. doi:10.1007/BF00147765.
  • [12] István Fáry. On straight line-representations of planar graphs. Acta Scientiarum Mathematicarum, 12(182-192):229, 1948.
  • [13] Branko Grünbaum. Arrangements and spreads. Conference Board of the Mathematical Sciences Regional Conference Series in Mathematics, No. 10. American Mathematical Society, Providence, R.I., 1972.
  • [14] Péter Györgyi, Bálint Hujter, and Sándor Kisfaludi-Bak. On the number of touching pairs in a set of planar curves. Computational Geometry, 67:29–37, 2018. doi:10.1016/j.comgeo.2017.10.004.
  • [15] Sariel Har-Peled. Constructing planar cuttings in theory and practice. SIAM Journal on Computing, 29(6):2016–2039, 2000. doi:10.1137/S0097539799350232.
  • [16] Barnabás Janzer, Oliver Janzer, Abhishek Methuku, and Gábor Tardos. Tight bounds for intersection-reverse sequences, edge-ordered graphs and applications. Journal of the London Mathematical Society, 112(4), October 2025. doi:10.1112/jlms.70324.
  • [17] Balázs Keszegh and Dömötör Pálvölgyi. The number of tangencies between two families of curves. Combinatorica, 43(5):939–952, October 2023. doi:10.1007/s00493-023-00041-8.
  • [18] T. Kővári, V. Sós, and P. Turán. On a problem of K. Zarankiewicz. Colloquium Mathematicae, 3(1):50–57, 1954. URL: http://eudml.org/doc/210011.
  • [19] Adam Marcus and Gábor Tardos. Intersection reverse sequences and geometric applications. J. Comb. Theory, Ser. A, 113(4):675–691, 2006. doi:10.1016/j.jcta.2005.07.002.
  • [20] János Pach. personal communication.
  • [21] János Pach and Pankaj K. Agarwal. Combinatorial Geometry, chapter 11, pages 177–178. John Wiley and Sons Ltd, 1995. doi:10.1002/9781118033203.ch11.
  • [22] János Pach, Natan Rubin, and Gábor Tardos. A crossing lemma for Jordan curves. Advances in Mathematics, 331:908–940, 2018. doi:10.1016/j.aim.2018.03.015.
  • [23] János Pach and Micha Sharir. On vertical visibility in arrangements of segments and the queue size in the Bentley-Ottmann line sweeping algorithm. SIAM Journal on Computing, 20(3):460–470, 1991. doi:10.1137/0220029.
  • [24] János Pach and Micha Sharir. Combinatorial Geometry and Its Algorithmic Applications: The Alcalá Lectures, volume 152 of Mathematical Surveys and Monographs. American Mathematical Society, Providence, RI, 2009. doi:10.1090/surv/152.
  • [25] János Pach, Andrew Suk, and Miroslav Treml. Tangencies between families of disjoint regions in the plane. Comput. Geom., 45(3):131–138, 2012. doi:10.1016/j.comgeo.2011.10.002.
  • [26] Rom Pinchasi and Radoš Radoičić. On the number of edges in a topological graph with no self-intersecting cycle of length 4. In János Pach, editor, Towards a Theory of Geometric Graphs, volume 342 of Contemporary Mathematics, pages 233–234. American Mathematical Society, 2004.
  • [27] Micha Sharir and Pankaj K. Agarwal. Davenport–Schinzel Sequences and Their Geometric Applications. Cambridge University Press, New York, 1995.