CotM
← archive

Degree is a coordinate

Experimentspost2026-07-09

Substituting ax + b into a polynomial is a linear map with a triangular matrix. The diagonal is the powers of a, which is the whole reason an affine change of variable can never change a degree.

Take a polynomial and slide its variable: replace xx by ax+bax + b. Nothing about the graph is destroyed, it is stretched by aa and slid by bb, and it seems obvious that a quintic stays a quintic. It is obvious. But the reason is worth extracting, because the same reason will fail spectacularly in a later article when we allow ourselves to divide.

The map Ta,b:p(x)p(ax+b)T_{a,b} : p(x) \mapsto p(ax+b) is linear in pp. Two polynomials substituted and then added give the same thing as added and then substituted, so Ta,bT_{a,b} has a matrix on the space of polynomials of degree at most nn. Getting it is one application of the binomial theorem. Write p=jcjxjp = \sum_j c_j x^j; then

p(ax+b)=jcj(ax+b)j=jcjk=0j(jk)akbjkxk,p(ax+b) = \sum_j c_j (ax+b)^j = \sum_j c_j \sum_{k=0}^{j} \binom{j}{k} a^k b^{\,j-k} x^k,

so the coefficient of xkx^k in the image is jk(jk)akbjkcj\sum_{j \geq k} \binom{j}{k} a^k b^{\,j-k} c_j, and the matrix is

M(a,b)kj=(jk)akbjk.M(a,b)_{kj} = \binom{j}{k}\, a^k b^{\,j-k}.

Everything below the diagonal is zero, because a jj-th power cannot produce an xkx^k with k>jk > j. Every entry on the diagonal is (kk)akb0=ak\binom{k}{k} a^k b^0 = a^k.

interactive · p(x) ↦ p(ax + b) on the monomial basisopen ↗

Interactive demo: p(x) ↦ p(ax + b) on the monomial basis. Requires JavaScript to run — the source is at /interactive/funcspace/substitution.html.

Drag aa and bb and watch three things move together. The bottom-right entry, boxed, is a5a^5. It is the only thing the leading coefficient of the image depends on: the top coefficient of p(ax+b)p(ax+b) is a5c5a^5 c_5, with no contribution from any other cjc_j and no contribution from bb at all. The determinant is the product of the diagonal, a0a1an=an(n+1)/2a^{0}a^{1}\cdots a^{n} = a^{n(n+1)/2}, which for n=5n = 5 is a15a^{15}. And the coefficient bars redistribute wildly while the highest one refuses to vanish.

So the statement “an affine substitution preserves degree” is the statement “a triangular matrix with no zero on its diagonal is invertible”, plus the observation that the diagonal here is aka^k and vanishes only when aa does. Push aa to zero in the demo. The matrix collapses to a single row, its rank drops to one, the determinant drops to zero, and the quintic becomes the constant p(b)p(b). That is not degree preservation failing under stress. It is the map no longer being a change of variable, because xbx \mapsto b is not a change of anything.

The triangularity says more than degree preservation. A triangular matrix preserves the whole flag of subspaces P0P1Pn\mathcal{P}_0 \subset \mathcal{P}_1 \subset \cdots \subset \mathcal{P}_n: if pp has degree at most 3, so does p(ax+b)p(ax+b), for every aa and bb at once. Degree is which step of the flag you first appear on, and Ta,bT_{a,b} moves nobody between steps. Sliding and stretching the variable cannot smuggle a cubic into the quadratics.

There is a decomposition hiding in the matrix that is worth naming, because the next two articles are about its two halves. Scaling and shifting compose:

Ta,b=Ta,0T1,b,M(a,b)=M(a,0)M(1,b),T_{a,b} = T_{a,0} \circ T_{1,b}, \qquad M(a,b) = M(a,0)\, M(1,b),

since applying T1,bT_{1,b} and then Ta,0T_{a,0} sends p(x)p(x) to p(x+b)p(x+b) to p(ax+b)p(ax+b). The first factor M(a,0)M(a,0) is diagonal, diag(1,a,a2,,an)\operatorname{diag}(1, a, a^2, \ldots, a^n): the monomials are its eigenvectors and aka^k are its eigenvalues, which is a fact we will lean on hard when we get to log paper. The second factor M(1,b)M(1,b) is Pascal’s triangle, ones on the diagonal, everything interesting strictly above it. It is unipotent: the identity plus something that is nothing but a nilpotent shadow, and that shadow is the derivative.

A diagonalizable part and a unipotent part, multiplied together. Anyone who has met the Jordan decomposition will recognize the shape of it, and it is not a coincidence that it appears here: the maps xax+bx \mapsto ax + b with a0a \neq 0 form a group under composition — the affine group of the line — and MM is a representation of that group on Pn\mathcal{P}_n. The scalings are the semisimple part, the translations are the unipotent part, and the semidirect product structure of the group is visible in the matrices.

The geometric reading is about roots. If rr is a root of pp, then p(ar+b)=0p(a r' + b) = 0 exactly when ar+b=rar' + b = r, so the roots of p(ax+b)p(ax+b) are the roots of pp pulled back by the same affine map, r=(rb)/ar' = (r - b)/a. There are nn of them counted with multiplicity, before and after, in the complex plane. Nothing is created, nothing is destroyed, everything is slid and stretched. The affine maps of the line are exactly the transformations that permute the roots of every polynomial without ever losing one — and the reason they cannot lose one, which will only become clear once we have somewhere for a root to be lost to, is that they fix the point at infinity.

The affine maps in this article are the same affine maps that drive the fractal designer, where each control point is one contractive map xAx+bx \mapsto Ax + b of the plane rather than the line. Same group, one dimension up, and the same triangular bookkeeping. There it is doing something more dramatic than preserving a degree; see what an affine IFS actually is.