Skip to main content
OlympiadHQ

Browse · MathNet

Print

Seventeenth ROMANIAN MASTER OF MATHEMATICS

Romania counting and probability

Problem

Fix an integer . Determine the smallest positive integer satisfying the following condition: For any tree with vertices and any pairwise distinct complex numbers , there is a polynomial with complex coefficients of total degree at most such that for all satisfying , we have if and only if there is an edge in joining to .

Note, for example, that the total degree of the polynomial is 7 because .
Solution
First solution. First we provide a proof that . Let be the path where and are adjacent for all . Let be a primitive root of unity of order and let for all . If , then for all we have . Since , is non-zero and has at least roots. This means that , proving .

It remains to prove that is sufficient i.e. for any tree and any we can find a polynomial of degree at most . For brevity, we call a two-variable polynomial symmetric if . We begin with the following observation. Suppose that and are two variable polynomials of degree at most . Then we can find such that for any , if and only if . This means that we can "merge" two conditions of degree at most into a condition of degree at most (note that this produces a symmetric polynomial if the initial polynomials are symmetric). For any integer , let a star of size be a collection of edges for which there is a vertex which belongs to all edges. We will prove the following claims.

Claim 1. Let be a graph with vertices and edges. Suppose that we can partition the edges of into a number of stars. Then for any distinct complex numbers we can find a symmetric polynomial of degree at most such that for all , if and only if there is an edge between and in . Proof. We will first prove the claim when consists of a star of size and some isolated vertices. Without loss of generality, let be the edges of . Also let . Consider merging the polynomials and into a polynomial of degree at most (which is of course symmetric). They both vanish at a pair if and only if and . These two happen if and only if and are adjacent, so this produces a valid polynomial. For the general case, let be the partition of the edges of . For each , we can find a two variable polynomial of degree at most which vanishes only at the edges of . Then we can let , which satisfies the claim as , as desired.

Claim 2. Any tree with odd number of vertices can be partitioned into stars of size 2. Proof. We prove this by induction on the number of the vertices of . The base case is clear, since is a star of size 2 when has three vertices. For the inductive step, let be a tree with vertices, where . Let be a path of maximal length in (of course, ). Then any neighbour of except for maybe must have degree 1, otherwise we can delete and insert two edges, contradicting the maximality of . If , we can form the star and apply the inductive hypothesis on . If , let be a neighbour of . Then create the star and apply the inductive hypothesis on . This proves the claim.

The case where is odd becomes trivial, since has edges. Assume that is even. Without loss of generality, let and let be adjacent to . Consider the graph formed by deleting the edge from (but not permuting the vertices). Clearly, consists of and a tree on . As is odd, the edges of can be partitioned into stars of size 2 from Claim 2. From Claim 1 it follows that there is a symmetric polynomial of degree at most such that if and only if and are adjacent in . Let be the polynomial of degree such that and . Let be the polynomial of degree at most obtained by merging and , where . It is easy to see that vanishes at each for which are adjacent in . Suppose that and are not adjacent in . If , then . If , then and , so . Hence . This proves that satisfies the required conditions, as desired.

---

Alternative solution.

Second solution. Establish the lower bound as in Solution 1. We now address the upper bound differently. Let be a graph on vertices . Say that a polynomial is -good if it satisfies the conditions in the statement of the problem. We prove the more general fact below:

Claim. Let be the degree of . Assume that these degrees satisfy for all , and . Then there is a -admissible polynomial of degree at most . Notice here that, if is a tree with vertices ordered so that , then it satisfies the conditions in the Claim. Indeed, we have , and if for some , then we have , which is a contradiction. So, it suffices to prove the Claim.

Proof of the Claim. Let be the sought polynomial; set . Denote So, we will seek for the sequences such that there exists a polynomial with such that . Notice that the first terms of such a sequence determine it uniquely; in particular, there are no restrictions on the sequence . We know that the polynomial has prescribed roots. For every , augment this list by some numbers not from the set to the list . Also, denote by the unique prescribed root of . Thus, we should have where is a monic polynomial with for and . The only extra conditions we have are that each should achieve non-zero values at the prescribed finite subset of (containing no prescribed roots of ). The polynomial is uniquely determined by (1). Assume that the polynomials have already been determined, for some . This means that the sequences are also determined. This determines the polynomial up to the constant term. So we may choose this constant term so that has no prohibited roots, thus defining .

---

Alternative solution.

Third solution. The answer is . Use the same argument as Solution 1 for the lower bound. We can construct such a polynomial via a method that uses no graph theory other than the fact that has edges.

Lemma 1. Let be a positive integer and let be two disjoint finite sets. Suppose and no line intersects in more than points. Then there exists a polynomial of degree that vanishes on and is non-zero on . Proof. We first argue that we may reduce to the case when . This is since if and are polynomials that are zero on and nonzero on and , then a generic linear combination of and is nonzero on and nonzero on . Now suppose . For , write if are collinear. This is an equivalence relation, and each equivalence class has at most elements. Thus we may pair up the elements of such that no two paired elements are collinear with . Now let be the polynomial vanishing on the union of the lines determined by the pairs, which is nonzero at by construction.

Lemma 2. Let be distinct complex numbers. Then a line can intersect at most points of the form . Proof. If not, then by the pigeonhole principle such a line must contain two points with the same -coordinate. But then it is vertical and thus can only contain points. We are done by applying Lemma 1 with
Final answer
n - 1

Techniques

Graph TheoryPolynomialsRoots of unitySymmetric functionsPigeonhole principleInduction / smoothingCombinatorial Geometry