Today Arun asked me the following question:

“Under what conditions will a set of polynomials be quadratically independent, in the sense that is a linearly independent set?”

I wasn’t able to make much progress on this general question, but in the specific setting where the are all polynomials in one variable, and we further restrict to just monomials, (i.e. for some ), the condition is just that there are no distinct unordered pairs such that . Arun was interested in the largest such a set could be for a given maximum degree , so we are left with the following interesting combinatorics problem:

“What is the largest subset of such that no two distinct pairs of elements of have the same sum?”

For convenience of notation let denote the size of . A simple upper bound is , since there are pairs to take a sum of, and all pairwise sums lie between and . We therefore have .

What about lower bounds on n? If we let S be the powers of 2 less than or equal to D, then we get a lower bound of ; we can do slightly better by taking the Fibonacci numbers instead, but this still only gives us logarithmic growth. So the question is, can we find sets that grow polynomially in D?

It turns out the answer is yes, and we can do so by choosing randomly. Let each element of be placed in S with probability p. Now consider any k, . If k is odd, then there are (k-1)/2 possible pairs that could add up to k: (1,k-1), (2,k-2),…,((k-1)/2,(k+1)/2). The probability of each such pair existing is . Note that each of these events is independent.

S is invalid if and only if there exists some k such that more than one of these pairs is active in S. The probability of any two given pairs being simultaneously active is , and there are such pairs for a given , hence such pairs total (since we were just looking at odd k). Therefore, the probability of an odd value of k invalidating S is at most .

For even we get much the same result except that the probability for a given value of comes out to the slightly more complicated formula , so that the total probability of an even value of k invalidating S is at most .

Putting this all together gives us a bound of . If we set p to be $\frac{1}{2}D^{-\frac{3}{4}}$ then the probability of S being invalid is then at most , so with probability at least a set S with elements chosen randomly with probability will be valid. On the other hand, such a set has elements in expectation, and asymptotically the probability of having at least this many elements is . Therefore, with probability at least a randomly chosen set will be both valid and have size greater than , which shows that the largest value of is at least .

We can actually do better: if all elements are chosen with probability , then one can show that the expected number of invalid pairs is at most , and hence we can pick randomly with probability , remove one element of each of the invalid pairs, and still be left with elements in S.

So, to recap: choosing elements randomly gives us S of size ; choosing randomly and then removing any offending pairs gives us S of size ; and we have an upper bound of . What is the actual asymptotic answer? I don’t actually know the answer to this, but I thought I’d share what I have so far because I think the techniques involved are pretty cool.