FindingMath

Two nearly equal chains give the fewest convex pentagons in point sets built from separated groups

Version 1 Published 2026-11-21 DOI 10.5281/zenodo.24419128

Importance (self-rated) Notable

The theorem excludes a whole family of Erdős–Szekeres constructions as counterexamples to the conjectured minimum at every size.

Why it matters

How can you place dots so that as few groups of five as possible are the corners of a pentagon? Among arrangements built by repeatedly placing one group high above and to one side of another, two curved rows of nearly equal size do best. Anyone looking for a placement with still fewer pentagons must look outside this family.

How few convex pentagons must appear among n points in the plane? Assume no three points lie on a line. Count a group of five whenever all five lie at corners of the smallest convex polygon enclosing them (their convex hull). Other points inside that polygon do not affect the count. One way to get very few pentagons is to arrange the points along two chains that bend in opposite directions, so that every pentagon lies entirely on one chain. The difficulty is to show that dividing the points into more groups cannot give fewer.

We prove that two chains of nearly equal size attain the minimum at every size among arrangements built by repeatedly placing one group high above and to one side of another. In large sets of this kind, the smallest fraction of five-point subsets that form convex pentagons tends to 1/16. The exact minimum count is

\binom{\lfloor n/2\rfloor}{5}+\binom{\lceil n/2\rceil}{5}.
The chain sizes are half of n, rounded down and up, respectively. Each binomial coefficient counts the ways to choose five points from that chain and is zero if the chain is too short.

The arrangements covered by the proof

Subercaseaux, Mackey, Heule and Martins conjectured that the same minimum holds for all point sets in general position (no three on a line) and certified equality through 16 points. At ten points, two chains of five give just two pentagons (Figure 1). Proving optimality requires showing that every allowed arrangement has at least two.

Two groups of five points. In the mixed selection the middle of the three low points lies inside the hull.

Figure 1. The ten-point construction. On the left, each shaded hull is a convex pentagon. On the right, the selection uses both chains, and only four of the five selected points are on its boundary.

Fix a horizontal axis and require the points to have distinct horizontal coordinates. A single point qualifies. A larger set qualifies if it can be split into two qualifying groups with disjoint horizontal ranges, one high above the other. Every point in the high group must lie above every line through two low points, and every low point must lie below every line through two high points. Either group may be on the left. Baek and Balko studied the size of the largest convex polygon under a related splitting rule. Here the quantity to minimize is the number of pentagons, and the horizontal ranges must be disjoint at every split.

Counting across a split

Think of the splits as a tree. The whole set is its root, the two groups at a split are its children, and the individual points are its leaves. At each split, list the low child before the high child. This gives the leaves a tree order, which can differ from their horizontal order.

To see which selections form a convex polygon, consider points in increasing horizontal order. Call such a chain a cup if the successive slopes between points increase and a cap if they decrease. Single points and pairs count as both. Reflect the group at a split from left to right if necessary so that its low child lies to the left. This preserves cups, caps and convexity. By the high-above condition, a line joining the two children has greater slope than any line within a child that shares its endpoint.

Now select points from both children. Trace the bottom edge of their hull from left to right: it follows the lower hull of the selected low points and then goes straight to the rightmost selected high point. The top edge runs from the leftmost selected low point to the upper hull of the selected high points. This gives two counting rules:

  • A selection from both children forms a convex polygon exactly when it takes a cup from the low child and a cap from the high child.
  • A selection from both children forms a cup exactly when it takes a cup from the low child and one high point. It forms a cap exactly when it takes one low point and a cap from the high child.

The polygon rule applies even when one child contributes only one point.

This rule explains Figure 1 at every size. Put a cap of m=\lfloor n/2\rfloor points low and a cup of n-m points high. Any mixed five-set takes at least three points from one child. Three low points bend the wrong way for a cup, and three high points bend the wrong way for a cap. Every five-set in a single child is convex, giving exactly the claimed count. Both chains admit recursive splits: to grow a cap, join a low singleton to the left of a cap; to grow a cup, join a high singleton to the right of a cup. Each join can be realized by placing the parts in disjoint horizontal intervals and translating the right part sufficiently far up. For n=1 the count is zero.

To prove the matching lower bound we need to count pentagons in an arbitrary splitting tree, including those completed at a later split. For the group represented by any subtree, let P count its convex pentagons and let U_j,V_j count its cups and caps of j points, respectively. Its leaves occupy a consecutive interval in tree order. Let A count the leaves before the interval and B those after it. To track the contribution of shorter chains as well as pentagons, give the subtree the weighted count

F(A,B)=P+B U_4+A V_4+\binom B2 U_3+\binom A2 V_3.
The weights use only the numbers of exterior leaves. At the root both exterior counts vanish, so F=P. Write L for the low child and R for the high child, of sizes a and b respectively. Their weighted counts satisfy
F(A,B)=F_L(A,B+b)+F_R(A+a,B) +\binom A2 a\binom b2+\binom B2 b\binom a2. \tag{1}
For example, four low points forming a cup can join any one of the b high points. Counting each possible division of five points between the two children gives the mixed pentagon count bU_{4,L}+\binom b2 U_{3,L}+aV_{4,R}+\binom a2 V_{3,R}. The mixed four-cups contribute b U_{3,L} to the four-cup count, and the mixed triples contribute b\binom a2 cups and a\binom b2 caps. Together with the reflected four-cap rule these give (1).

We computed the minimum by working from short intervals to long ones. For each interval we tried every split in (1), using the minima already computed for its children. This gave the two-chain count at all 255 sizes from 2 through 256 and at 2,048 points, where it was 18,582,371,985,408. Choosing the split by a shortcut could give a different answer. At 256 points we tried splitting off one leaf from whichever end had fewer exterior leaves (the left end in a tie). Even with an optimal continuation, this choice missed the minimum in 7,011 of 32,640 nonsingleton intervals. The proof below avoids having to choose the best split at each interval.

Following the middle of the tree

Instead of finding the best split, consider any splitting tree. Follow its middle down from the root and give each branch that falls away a lower bound. Adding these bounds will give a minimum count that applies to every tree. Write n=2m+e, e\in\{0,1\}, so each half has m leaves after setting aside the middle leaf if there is one. Mark the middle leaf if e=1, or the gap between the two middle leaves if e=0, always in tree order. Follow the mark down the tree. At a split, remove the child that misses the mark; it is a block wholly within the first m or the last m leaves. For an even size, when the split is at the marked gap, remove one child and then the other. Stop at the central singleton or the empty interval. Thus A,B, initially zero, end at m,m.

First consider a block of x leaves removed on the left. If all its points form a cap, its weighted count is

K(A,x)=\binom x5+A\binom x4+\binom A2\binom x3.
Any other shape contributes at least as much. To see why, consider what the block loses and gains relative to a cap. Its right exterior count is B'=n-A-x. Every five-set which is not convex contains a cup triple, since an all-cap chain is convex. Every four-set which is not a cap likewise contains a cup triple. For x\ge3, count how many selections each cup triple can spoil. To extend the triple to five points, choose two more points from the rest of the block; to extend it to four, choose one more. The combined losses in P and A V_4 are therefore at most \big[\binom{x-3}2+A(x-3)\big]U_3. The loss in \binom A2 V_3 is exactly \binom A2 U_3, since each triple is one kind of chain. In all, the loss per cup triple is at most \binom{A+x-3}2. Each such triple contributes \binom{B'}2, enough because A+x\le m\le B'. The remaining B'U_4 is nonnegative. For x<3 both sides are zero. Exchanging left with right and cup with cap gives the corresponding bound for a block removed on the right.

Now let A,B be the counts before a left removal of size x, and h=2m+e-A-B-x the size left after it. Add the bound for the removed block to the two terms in (1) for the split itself. This gives a lower bound on the contribution of the move:

W(A,B,x)=K(A,x)+\binom A2 x\binom h2+\binom B2 h\binom x2. \tag{2}
For a right removal interchange A,B. Formula (2) works for the last whole block as well: then h=0 and there is no split cost. The central singleton has F=0. Adding the contributions along the path gives a sum no larger than P.

A lower bound for every removal order

Every removal order starts and ends with the same exterior counts. Assign a value E to each pair of exterior counts. If the contribution of each move is at least the increase in E, adding over the path leaves just the final value minus the initial value as a lower bound.

Put u=\min(A,B), v=|A-B|, and z=m-\max(A,B). Use the symmetric potential

\begin{aligned} E(A,B)={}&\sum_{i=0}^2\binom ui\binom v{5-i} +2\sum_{i=3}^5\binom ui\binom{m-u}{5-i} -\binom u2\binom z3\\ &+e\left[\binom u3(m-u)+\binom u4\right]. \end{aligned}
Binomial coefficients vanish if the upper argument is smaller than the lower one. For fixed n, the potential depends only on the number of leaves removed from each end.

For all nonnegative integers A,B,x,m with A+x\le m, B\le m,

f=W(A,B,x)+E(A,B)-E(A+x,B) \ge 0. \tag{3}
To check (3) at every size, we split it into polynomial inequalities. Once we know the order of A,B,A+x, we can evaluate the minima, maxima and absolute values in both occurrences of E without further cases. Let a,b,c,d be the gaps from 0 through the sorted breakpoints to m; write p=a, q=a+b, r=a+b+c. There are three assignments:
(A,B,A+x)=(q,p,r),\quad (p,q,r),\quad (p,r,q).
For the first use the four gaps as independent nonnegative variables. For each of the other two, use two parameterizations (charts): replace d by d+b, or b by b+d, with the new variables nonnegative. This covers both orders of the second and last gaps. Boundaries can be covered twice.

In each chart let y denote the four nonnegative integer variables. The difference f(y) in (3) is a polynomial of total degree at most five. Expand it in products of binomial coefficients, each of which is nonnegative for these inputs. The coefficient of \prod_s\binom{y_s}{i_s} is

c_i=\sum_{0\le j\le i}(-1)^{|i|-|j|}\prod_s\binom{i_s}{j_s} f(j).
Here i,j are four-tuples, j\le i is componentwise, and |i| is the sum of its entries. The formula is binomial inversion in each variable; terms with |i|>5 vanish by degree. It suffices to check the \binom94=126 coefficients per chart. The table summarizes the coefficients obtained by substituting (2) and the displayed potential into the finite sum; it is their signs, rather than the signs of the sampled values, that certify the inequality.

e coefficients across five charts negative zero positive largest
0 630 0 383 247 76
1 630 0 370 260 77

In both rows every coefficient is nonnegative. Each product it multiplies is also nonnegative for every allowed choice of gaps, which proves (3). We found E by using the coefficients of an unknown degree-five polynomial as the variables in a linear program, a search subject to linear constraints. The displayed finite sum verifies the resulting formula with exact arithmetic.

Exchanging A and B gives the same inequality for right removals. Summing along the path cancels all intermediate potentials. The endpoints give

P \ge E(m,m)-E(0,0) =2\binom m5+e\binom m4 =\binom m5+\binom{m+e}5 .

This equals the count attained by the two chains. Dividing by \binom n5 gives the limiting fraction 2(1/2)^5=1/16.

Independent geometric check

Direct counts on integer point sets agreed with the split identity on every one of the 6,909 ordered trees with 5 through 10 leaves. For every split of the required size, we paired each possible low subtree with each possible high subtree. We placed the leaves at consecutive integer horizontal coordinates and shifted the right child up until the lines through pairs of points met the high-above condition. Reflecting selected groups horizontally let us check both orientations. For each five-set we tested whether any point lay inside a triangle formed by three others. We used signed triangle areas to determine which side of each triangle edge the point lay on. This happens exactly when the five-set is not convex. At sizes 9 and 10 the respective minima were 1 and 2, over 1,430 and 4,862 trees. Agreement on each tree checks the counting rule even for arrangements far from the minimum; the move inequality supplies the lower bound for arbitrary size.

The restriction that matters is geometric: every split must separate the horizontal ranges as well as put one group high above the other. Any counterexample to the unrestricted conjecture must fail this recursive separation condition.