Products add, composition multiplies
Two ways to combine polynomials, two different laws for the degree. One of them proves in a single line that the only invertible polynomials are the affine ones.
There are two ways to put two polynomials together. Multiply them, , or compose them, . Both give you a polynomial back. Both are older than algebra. And they do completely different things to the degree.
The demo lets you set and independently and watch the two answers come out of the coefficient array. The bars are aligned by power of : the grey series is , which stops at , and the orange is , which runs all the way out to . Set both degrees to 4 and the product ends at while the composition ends at .
Neither law is deep, but both have the same load-bearing hypothesis, and it is easy to miss. For the product, the top coefficient is , the two leading coefficients multiplied. For the composition, plugging into the highest term gives , whose top coefficient is . In both cases the answer is a product of nonzero numbers, and the laws hold because a product of nonzero numbers is nonzero. Over the reals that is invisible. Over the integers mod 6, where , it fails: and both have degree 1, and their product is the zero polynomial, of degree . The degree laws are a statement about the coefficient ring being an integral domain, dressed up as a statement about polynomials.
Look at the product from the coefficient side and it is a convolution. If has coefficients and has , then
which is exactly the operation you perform when you multiply two integers in long form without carrying, and exactly the operation two probability distributions undergo when you add independent random variables. The length of the result is , one less than the sum of the lengths, which is the coefficient-counting version of degrees adding. Multiplication of polynomials, convolution of sequences, and addition of degrees are three views of one thing.
Composition has no such formula. There is no tidy expression for the -th coefficient of in terms of the coefficients of and — you get one by summing over all the ways to choose a term from each of copies of , which is the multinomial expansion, and it is a mess. What is tidy is the degree, precisely because the mess cannot cancel at the top.
Here is the part worth the price of admission. Suppose and are polynomials with , the identity: is a genuine inverse function for , and it is itself a polynomial. Take degrees. Then , a product of two non-negative integers equal to one, so . Both are affine. There is no cubic whose inverse is a polynomial, no quintic, nothing. The cube root of is a perfectly good function and it is not a polynomial, and the reason is a fact about the integer 1 having only one factorization. That is the whole proof. Nothing about calculus, nothing about the graph, nothing about — just the degree law, which is a homomorphism from composition of polynomials to multiplication of integers, and a homomorphism carries invertible things to invertible things. The only invertible element of is 1, and so the only invertible polynomials under composition are the degree-one ones, which is to say the affine group of the previous article, arrived at from a completely different direction.
It is worth being precise about what kind of maps these two operations are. Multiplication by a fixed is linear in , and it has a matrix — a banded, lower-triangular-ish one, the convolution matrix, with ‘s coefficients repeated down each diagonal. Composition is linear in the outer argument and violently nonlinear in the inner one:
The first is why substituting a fixed map into a polynomial has a matrix at all, which is what made the whole of the previous article possible. The second is why composition is the hard operation, and why iterating a map — , degrees multiplying, — leaves linear algebra behind almost immediately. A quadratic iterated twenty times has degree , more than a million, with a million-odd coefficients you will never write down and roots you cannot solve for. That object is the Mandelbrot set’s twentieth-level structure, and the reason it is worth looking at rather than computing is that its degree grew exponentially while its definition did not grow at all.
Both operations are associative, both have an identity ( for the product, for composition), and the two distribute over each other in exactly one direction, , which says that substituting into a product is the product of substitutions. Sitting on the same set are a commutative monoid whose grading adds and a non-commutative monoid whose grading multiplies, glued by that one distributive law. Degree is the only map that sees both structures, sending one to and the other to , and it is not an accident that those two are the same set: the exponential takes one to the other, and that exchange is the last article in this series.