Chapter 5

Joints

Three Lemmas

This chapter uses the counting lemma (2.2(a)), the univariate zeros bound (Lemma 2.5(v)), and, in place of the Schwartz–Zippel lemma, a minimality argument on the degree of the vanishing polynomial. The bridge is the gradient of the polynomial at a joint.

5.1 The problem

Definition 5.1. Let L\mathcal L be a finite set of lines in Fn\mathbb F^n. A point xFn\mathbf x\in\mathbb F^n is a joint of L\mathcal L if it lies on nn lines of L\mathcal L whose direction vectors are linearly independent.

In R3\mathbb R^3 a joint is a point where three non-coplanar lines meet. The problem of bounding the number of joints of LL lines was raised by Chazelle and others (1992) in computational geometry. A grid of k3k^3 points with the 3k23k^2 axis-parallel lines through them has L=3k2L=3k^2 lines and k3=(L/3)3/2k^3=(L/3)^{3/2} joints, and it was conjectured that O(L3/2)O(L^{3/2}) is the truth. Sharir (1994) proved O(L7/4)O(L^{7/4}) and Feldman and Sharir (2005) improved the exponent slightly, by methods of combinatorial geometry. Guth and Katz (2010) proved O(L3/2)O(L^{3/2}) with the polynomial method, and Kaplan, Sharir, and Shustin (2010) and Quilodrán (2010) independently simplified the argument and extended it to Rn\mathbb R^n. Carbery and Iliopoulou (2014) extended it to arbitrary fields. The proof below follows the simplified argument.

5.2 Three lemmas

Lemma 5.2 (Pruning). Let L\mathcal L be a set of LL lines in Fn\mathbb F^n with a set JJ of joints, J=m1|J|=m\ge1. Then there are LL\mathcal L'\subseteq\mathcal L and JJJ'\subseteq J with Jm/2|J'|\ge m/2 such that every point of JJ' is a joint of L\mathcal L' and every line of L\mathcal L' contains at least m2L\dfrac{m}{2L} points of JJ'.

Proof. Start with L=L\mathcal L'=\mathcal L, J=JJ'=J. While some line L\ell\in\mathcal L' contains fewer than m/(2L)m/(2L) points of JJ', remove \ell from L\mathcal L' and remove the points of JJ' on \ell from JJ'. Each step removes fewer than m/(2L)m/(2L) points and there are at most LL steps, so fewer than m/2m/2 points are removed in all and J>m/2|J'|>m/2 at the end. A point that survives was never on a removed line, so all nn independent lines through it survive, and it is a joint of L\mathcal L'. When the process stops, every line of L\mathcal L' contains at least m/(2L)m/(2L) points of JJ'. ∎

Lemma 5.3 (Gradient at a joint). Let PF[x]P\in\mathbb F[\mathbf x] vanish identically on nn lines through x0\mathbf x_0 with linearly independent directions v1,,vn\mathbf v_1,\dots,\mathbf v_n. Then every partial derivative iP\partial_iP vanishes at x0\mathbf x_0.

Proof. For each jj, the polynomial P(x0+tvj)F[t]P(\mathbf x_0+t\mathbf v_j)\in\mathbb F[t] is identically zero, hence so is its coefficient of tt. By Definition 2.3 with y=tvj\mathbf y=t\mathbf v_j, that coefficient is iP(ei)(x0)vj,i=P(x0)vj\sum_{i}P^{(\mathbf e_i)}(\mathbf x_0)\,v_{j,i}=\nabla P(\mathbf x_0)\cdot\mathbf v_j, where P=(1P,,nP)\nabla P=(\partial_1P,\dots,\partial_nP) and P(ei)=iPP^{(\mathbf e_i)}=\partial_iP. So P(x0)\nabla P(\mathbf x_0) is orthogonal to nn linearly independent vectors, hence is zero. ∎

Lemma 5.4 (Vanishing gradient). Let 0PF[x]0\ne P\in\mathbb F[\mathbf x] with iP=0\partial_iP=0 for all ii. (a) If charF=0\operatorname{char}\mathbb F=0, then PP is a nonzero constant. (b) If charF=p>0\operatorname{char}\mathbb F=p>0 and F\mathbb F is perfect (for instance finite or algebraically closed), then P=QpP=Q^p for some QF[x]Q\in\mathbb F[\mathbf x] with degQ=degP/p\deg Q=\deg P/p.

Proof. Since ixα=αixαei\partial_i\mathbf x^{\boldsymbol\alpha}=\alpha_i\mathbf x^{\boldsymbol\alpha-\mathbf e_i} and distinct monomials remain distinct under i\partial_i, the condition iP=0\partial_iP=0 says that αi=0\alpha_i=0 in F\mathbb F for every monomial xα\mathbf x^{\boldsymbol\alpha} of PP. In characteristic 00 this means every αi=0\alpha_i=0, so PP is constant. In characteristic pp it means pαip\mid\alpha_i for all ii and all monomials, so P=βcβxpβP=\sum_{\boldsymbol\beta}c_{\boldsymbol\beta}\mathbf x^{p\boldsymbol\beta}. Since F\mathbb F is perfect, each cβ=bβpc_{\boldsymbol\beta}=b_{\boldsymbol\beta}^p for some bβFb_{\boldsymbol\beta}\in\mathbb F, and because the Frobenius map zzpz\mapsto z^p is a ring homomorphism of F[x]\mathbb F[\mathbf x] in characteristic pp,

P=βbβpxpβ=(βbβxβ)p=Qp.P=\sum_{\boldsymbol\beta}b_{\boldsymbol\beta}^p\,\mathbf x^{p\boldsymbol\beta}=\Big(\sum_{\boldsymbol\beta}b_{\boldsymbol\beta}\mathbf x^{\boldsymbol\beta}\Big)^p=Q^p.\qquad\blacksquare

5.3 The theorem

Theorem 5.5 (Guth and Katz 2010; Kaplan, Sharir, and Shustin 2010; Quilodrán 2010; Carbery and Iliopoulou 2014). Let F\mathbb F be any field and n2n\ge2. A set of LL lines in Fn\mathbb F^n has at most

CnLnn1,Cn=(2(n!)1/n)nn1,C_n\,L^{\frac{n}{n-1}},\qquad C_n=\big(2\,(n!)^{1/n}\big)^{\frac{n}{n-1}},

joints. In particular LL lines in 33-space have at most 48L3/2<6.93L3/2\sqrt{48}\,L^{3/2}<6.93\,L^{3/2} joints.

Proof. Replacing F\mathbb F by its algebraic closure changes neither the lines, nor which points are joints (linear independence over a field is preserved by extension), nor LL; so we may assume F\mathbb F is algebraically closed, hence perfect. Let JJ be the set of joints, J=m|J|=m; if m=0m=0 there is nothing to prove. Apply Lemma 5.2 to get L\mathcal L' and JJ' with Jm/2|J'|\ge m/2, every point of JJ' a joint of L\mathcal L', and every line of L\mathcal L' containing at least m/(2L)m/(2L) points of JJ'.

Let d0d_0 be the least integer with (d0+nn)>J\binom{d_0+n}{n}>|J'|; since J1|J'|\ge1, d01d_0\ge1. By Lemma 2.2(a) some nonzero polynomial of degree at most d0d_0 vanishes on JJ'. Among all nonzero polynomials vanishing on JJ' choose PP of least degree dd^*; then 1dd01\le d^*\le d_0 (d1d^*\ge1 because a nonzero constant does not vanish on the nonempty set JJ').

Claim: dm/(2L)d^*\ge m/(2L). Suppose d<m/(2L)d^*<m/(2L). Every line L\ell\in\mathcal L' contains at least m/(2L)>dm/(2L)>d^* points of JJ', at which PP vanishes; the restriction of PP to \ell is a univariate polynomial of degree at most dd^* with more than dd^* roots, hence identically zero (Lemma 2.5(v)). So PP vanishes identically on every line of L\mathcal L'. At each x0J\mathbf x_0\in J' there are nn lines of L\mathcal L' through x0\mathbf x_0 with independent directions, so by Lemma 5.3 every iP\partial_iP vanishes at x0\mathbf x_0. Thus each iP\partial_iP vanishes on JJ' and has degree at most d1d^*-1; by the minimality of dd^*, each iP=0\partial_iP=0. By Lemma 5.4, either PP is a nonzero constant, which is impossible, or charF=p>0\operatorname{char}\mathbb F=p>0 and P=QpP=Q^p with degQ=d/p<d\deg Q=d^*/p<d^*; but then QQ vanishes on JJ' (as Q(x)p=P(x)=0Q(\mathbf x)^p=P(\mathbf x)=0 implies Q(x)=0Q(\mathbf x)=0), again contradicting minimality. This proves the claim.

Bounding d0d_0. By minimality of d0d_0, (d01+nn)Jm\binom{d_0-1+n}{n}\le|J'|\le m, and

(d01+nn)=(d0+n1)(d0+n2)d0n!d0nn!,\binom{d_0-1+n}{n}=\frac{(d_0+n-1)(d_0+n-2)\cdots d_0}{n!}\ge\frac{d_0^{\,n}}{n!},

so d0(n!m)1/nd_0\le(n!\,m)^{1/n}.

Combining, m2Ldd0(n!m)1/n\dfrac{m}{2L}\le d^*\le d_0\le(n!\,m)^{1/n}, i.e. m11/n2(n!)1/nLm^{1-1/n}\le2(n!)^{1/n}L, i.e. m(2(n!)1/n)n/(n1)Ln/(n1)m\le\big(2(n!)^{1/n}\big)^{n/(n-1)}L^{n/(n-1)}. For n=3n=3, C3=(261/3)3/2=23/261/2=48C_3=(2\cdot6^{1/3})^{3/2}=2^{3/2}\cdot6^{1/2}=\sqrt{48}. ∎

Remark 5.6. The argument differs from the Kakeya argument of Chapter 4 in one structural respect. There, the contradiction came from the Schwartz–Zippel lemma: the top homogeneous part was shown to vanish on all of Fqn\mathbb F_q^n. Here there is no grid to vanish on, since the field may be infinite, and the contradiction comes instead from minimality of degree: the derivatives of the vanishing polynomial vanish on the same set with lower degree. The minimality trick is available whenever the set of vanishing polynomials is closed under an operation that lowers degree, and it is the second of the two ways in which the zeros principle enters the method (the Schwartz–Zippel bound being the first).

Remark 5.7. The pruning step is essential: without it, a line containing only one joint would not force PP to vanish on the line. The factor 22 in CnC_n comes from the pruning, and the factor (n!)1/n(n!)^{1/n} from the dimension count. Guth and Katz's original constant and those in the literature since are of the same order; the best constants have been the subject of subsequent work (see Tidor, Yu, and Zhao 2022 for the generalisation from lines to varieties), which I do not pursue.

5.4 Sharpness

The exponent n/(n1)n/(n-1) is sharp. Take the grid [k]nFn[k]^n\subseteq\mathbb F^n (any field with at least kk elements) and the nkn1nk^{n-1} axis-parallel lines through its points. Every grid point is a joint, so L=nkn1L=nk^{n-1} lines have kn=(L/n)n/(n1)k^n=(L/n)^{n/(n-1)} joints, and the ratio of upper to lower bound is

Cnnn/(n1)=(2n(n!)1/n)n/(n1),C_n\,n^{n/(n-1)}=\big(2\,n\,(n!)^{1/n}\big)^{n/(n-1)},

which for n=3n=3 is 4833/236\sqrt{48}\cdot3^{3/2}\approx36. The exponent is right; the constant obtained from this argument is not.

Over a finite field the same example with k=qk=q gives L=nqn1L=nq^{n-1} lines and qnq^n joints, and the theorem is not vacuous there: it bounds the number of joints of any LL lines in Fqn\mathbb F_q^n by CnLn/(n1)C_nL^{n/(n-1)} regardless of qq. This is a genuinely different situation from the Kakeya problem, where the field size qq is the parameter and the polynomial's degree is compared with qq. In the joints problem the degree is compared with the number of joints per line, and the field plays no role beyond supplying Lemma 5.4.