CotM
← archive

The derivative is nilpotent, and the shift is its exponential

Experimentspost2026-07-09

Differentiate a quintic six times and it is gone. Exponentiate that same dying operator and you get the shift by h, invertible forever. The sentence connecting them is Taylor's theorem.

Differentiation lowers degree by one. Do it n+1n+1 times to a polynomial of degree at most nn and there is nothing left. On the space P5\mathcal{P}_5 the operator DD satisfies D6=0D^6 = 0 exactly, not approximately, and an operator with that property is called nilpotent.

In the monomial basis DD is a single stripe. Since Dxj=jxj1D x^j = j x^{j-1}, the matrix has Dk,k+1=k+1D_{k,k+1} = k+1 and zeros everywhere else — strictly above the diagonal, nothing on it. Raising it to a power slides the stripe one step further out each time, and at the sixth power the stripe has slid off the edge of the matrix. That is all nilpotency is: a stripe with somewhere to fall off.

interactive · Dᵏ dies at k = 6; exp(hD) never doesopen ↗

Interactive demo: Dᵏ dies at k = 6; exp(hD) never does. Requires JavaScript to run — the source is at /interactive/funcspace/nilpotent-shift.html.

Turn the kk slider up and watch the left matrix empty itself. There is no drama, no eigenvalue crossing zero, no critical parameter. Every eigenvalue of DD was zero from the beginning — the diagonal is all zeros and DD is triangular, so its characteristic polynomial is λ6\lambda^6. A nilpotent operator is one whose entire spectrum is {0}\{0\} and which is nonetheless not the zero operator, and it is the standard example of a matrix that cannot be diagonalized. If it could, it would be conjugate to the diagonal matrix of its eigenvalues, which is 00, which would make DD itself zero, and constants are not the only polynomials.

Now build a different operator out of the same stripe. Take its exponential:

ehD  =  I+hD+h22!D2+h33!D3+e^{hD} \;=\; I + hD + \frac{h^2}{2!}D^2 + \frac{h^3}{3!}D^3 + \cdots

Ordinarily the exponential of an operator is a convergence question. Here it is not, because after the sixth term every summand is zero. The series is a finite sum, exact, for every real hh, with no radius of convergence to worry about. The right-hand matrix in the demo is that sum, computed term by term, and its entries are (jk)hjk\binom{j}{k}h^{\,j-k} — Pascal’s triangle scaled by powers of hh, which is precisely the matrix M(1,h)M(1,h) that the substitution article got out of the binomial theorem. The readout prints the largest disagreement between the two, and it is around 101610^{-16}, which is to say they are the same matrix and the difference is that the computer has to round.

So ehDe^{hD} is the shift, p(x)p(x+h)p(x) \mapsto p(x+h). Written out, that identity is

p(x+h)  =  k0hkk!p(k)(x),p(x+h) \;=\; \sum_{k \ge 0} \frac{h^k}{k!}\, p^{(k)}(x),

which is Taylor’s theorem. For polynomials the Taylor series is not an approximation and there is no remainder term; the sum simply stops. The usual statement of Taylor’s theorem, with its awkward remainder and its hypotheses about n+1n+1 continuous derivatives, is what you get when you try to write this same identity for functions on which DD is not nilpotent, and pay for the privilege.

The two matrices in the demo are both triangular, and the difference between them is entirely in the diagonal. DD has zeros there; it is nilpotent, it is not invertible, and it drops every polynomial one rung down the flag P5P4\mathcal{P}_5 \supset \mathcal{P}_4 \supset \cdots until they fall out the bottom. ehDe^{hD} has ones there; it is unipotent — identity plus nilpotent — its determinant is 11 for every hh, it is invertible with inverse ehDe^{-hD}, and it preserves degree exactly. The exponential map takes the first kind to the second kind. It takes an operator that destroys the grading to an operator that respects it, and it takes the additive structure to the multiplicative one, e(h1+h2)D=eh1Deh2De^{(h_1+h_2)D} = e^{h_1 D}e^{h_2 D}, which is just the observation that shifting by h1h_1 and then by h2h_2 shifts by h1+h2h_1 + h_2.

This is a Lie algebra and its Lie group, at the smallest scale where the words mean anything. The nilpotent DD is an infinitesimal generator; the one-parameter family ehDe^{hD} is the flow it generates; and the flow is the translation group of the line acting on functions. Differentiation is translation, infinitesimally, and the sentence “the derivative generates translations” — which in quantum mechanics gets written p^=ix\hat{p} = -i\hbar\,\partial_x and called the momentum operator being the generator of spatial translation — is on P5\mathcal{P}_5 a statement about a 6×66\times 6 matrix with five entries in it.

There is a companion generator worth meeting. Let E=xDE = xD, the Euler operator, Exk=kxkE x^k = k x^k. It is diagonal, the monomials are its eigenvectors, and its eigenvalue on xkx^k is the degree kk itself. Exponentiating it gives etExk=etkxke^{tE} x^k = e^{tk}x^k, so with a=eta = e^t the operator aEa^{E} is exactly the scaling map p(x)p(ax)p(x) \mapsto p(ax) from the substitution matrix — the diagonal factor M(a,0)M(a,0), whose diagonal was aka^k. Degree is not merely an index into a basis, then. It is an eigenvalue: the eigenvalue of the Euler operator, the number that says how the polynomial responds to a rescaling of its input.

The two generators do not commute. Computing [E,D]=EDDE[E,D] = ED - DE on xkx^k gives k(k1)xk1k2xk1=kxk1k(k-1)x^{k-1} - k^2 x^{k-1} = -k x^{k-1}, so

[E,D]=D.[E, D] = -D.

Two generators, one bracket relation, and that is the entire Lie algebra of the affine group of the line — the group of maps xax+bx \mapsto ax+b we have now met three times. Scaling and translation, degree and derivative. The relation says that conjugating a translation by a scaling gives you back a translation with its step size scaled, which you already knew from writing a(x+b/a)=ax+ba(x + b/a) = ax + b.

An operator that lowers degree, and its exponential, which cannot. Next, an operator that would like to raise the degree above nn and has no room: what happens when you divide.