For a finite collection of distinct affine lines in a vector space in , , a joint is a point incident to lines whose direction vectors are linearly independent. The joints theorem asserts
In the customary three-dimensional formulation this is , with three noncoplanar incident lines at every joint. We prove the general form, which includes that formulation.
Let and . The conclusion is immediate when . Otherwise set . Suppose for contradiction that . Repeatedly delete any line incident to at most of the currently retained joints, deleting those joints at the same time. Each deleted line loses at most current joints, so even deleting all lines could lose at most joints. Therefore the process must stop with a nonempty set and a line collection such that each retained line contains more than retained joints. Every retained joint still has its original independent incident lines: if any line through it had been deleted, the joint would have been deleted too.
There is a nonzero multivariate polynomial of total degree at most vanishing on , because
Choose such a polynomial of smallest possible total degree . This is an application of the polynomial method in combinatorics. Every line of contains more than roots of a polynomial of its polynomial restriction to a line, so vanishes identically on every such line.
At a retained joint , differentiating along each of its independent line directions gives . Their linear independence therefore forces . Each partial derivative of vanishes on all of and has smaller total degree. Minimality of forces every partial derivative to be the zero polynomial. Over the real numbers, a polynomial with all partial derivatives zero is constant; a nonzero constant cannot vanish on the nonempty . This is the required contradiction.
It follows that . Since for ,
This proves the joints theorem by the pruning and minimal-degree polynomial argument.
The exponent is sharp. Take all axis-parallel lines passing through the grid . There are distinct lines and joints; the coordinate directions span at every grid point. Thus no smaller power of the number of lines can bound all joint configurations.
Let a line collection have joints of a line collection and put . If , deleting each line with at most current joints of a line collection, together with those joints of a line collection, leaves a nonempty configuration in which every line has more than joints of a line collection. A nonzero polynomial of degree at most vanishes on the retained joints of a line collection by rank-nullity theorem. Choose one of minimum degree. Its restriction vanishes identically on every retained line, so its gradient is orthogonal to a spanning set of directions at every joint of a line collection and hence vanishes there. Each nonzero partial derivative would be a lower-degree polynomial with the same zeros, contradicting minimality. In characteristic zero, all derivatives vanishing forces a constant polynomial, another contradiction. Therefore , giving the joints theorem. The argument's characteristic-zero assumption is essential to its derivative step.