Formal Polynomials

At school a polynomial is “an expression in x”, and x is a number not yet chosen. Over the field F2 of Chapter 2 this picture breaks at once: x2+x takes the value 0 at both elements, so as a function it is the zero function, yet we want it to have degree 2. This chapter therefore decides that a polynomial is its list of coefficients, a sequence with only finitely many non-zero entries, and that x is the name of a position, never a number. From that one decision it builds the polynomial ring R[x] over any commutative ring R of Number Systems: From N to R, Chapter 2, and proves its laws with one device, check on monomials, extend by additivity, so that no double sum is ever reordered. It then attaches the degree and the leading coefficient, recovers “plugging in” as a ring homomorphism, and defines the derivative by its coefficients, with no limit in sight.

Which school rules survive depends on R, and the chapter keeps count. Over Z/6Z the degree of a product can drop, because [2][3]=[0]. Over Z/4Z the polynomial 1+[2]x is its own inverse. Over every finite ring with 1≠0 some non-zero polynomial vanishes at every element, so a polynomial is not its function. Over Fp the derivative of xp is 0. Each result says what it needs from R: nothing at all, no zero divisors, a unit leading coefficient, finiteness with 1≠0, or, for the derivative, the characteristic of a field. The chapter ends where Chapter 5 begins, with R=F a field and division with remainder still to come.

One construction, many rings. The linear-algebra companion defines polynomials over a field F, and its later chapters cite this chapter’s results with F a field. Every such statement is the case R=F of the statement proved here for a commutative ring, since a field is a commutative ring. Where a result really needs more than a commutative ring, the hypothesis is named at the point of use: no zero divisors (Theorem 4.3.2 (b), Corollary 4.3.3, Proposition 4.3.4), a unit leading coefficient (Theorem 4.3.2 (b)), R finite with 1≠0 (Proposition 4.4.4 (d)), or the characteristic of a field (Proposition 4.5.2).

What you need. Number Systems: From N to R, Chapters 2 and 3 above all, with index arithmetic in N from its Chapter 1; Chapter 2 of this volume; Sets, Relations, and Cardinality, Chapters 1 and 3 and Section 2.3 (and Section 2.5 for R3); and induction from Logic and Proof, Chapter 4.

Chapters 1 and 3 enter only through the review exercises of Section 4.5: the complex numbers and their conjugate in R2, groups and their homomorphisms in R1. The countability results of Sets, Relations, and Cardinality, Chapter 3, and its quotient sets (Sets, Relations, and Cardinality, Definition 2.5.4, Section 2.5) enter only through R3. Sections 4.1 and 4.4 also compare two results with Chapter 1 (Proposition 1.1.3, Lemma 1.1.4) without using them. Outside R2, no proof in the chapter uses R or C.

Time. About 25 hours on the core track (all of A, one B and one C per section, the exit checks); about 35 hours for everything.

Roadmap

  • Polynomials as Coefficient Sequences. Why “an expression in x” fails over F2; a polynomial over a commutative ring as a sequence N→R with only finitely many non-zero entries, with monomials, x=(0,1,0,…), equality by comparing coefficients, the display ∑kpkxk as notation only, the zero ring, and the non-example (1,1,1,…); and a lemma collecting finite sums (which need only an addition), products of lists, powers and multiples, with the proofs of its new parts in a second-reading fold.
  • The Polynomial Ring. The sum taken position by position and the product as a convolution, closed in R[x] and computed over Q, F3 and Z/6Z; every polynomial an honest sum of its monomials; multiplication by a monomial as a shift and a scaling; the lemma that two maps additive in each argument and equal on monomials are equal; and the theorem that R[x] is a commutative ring containing R as its constants, with associativity proved on monomials instead of by reordering double sums.
  • Degree, Leading Coefficients, and Integral Domains. Degree with deg⁡0=−∞, the leading coefficient and monic polynomials; the degree of a sum; the degree of a product, whose top coefficient is lc(p)lc(q) in every commutative ring, so that degrees add exactly when that product is non-zero, as over a ring with no zero divisors or for a unit leading coefficient; integral domains, with R[x] an integral domain exactly when R is; the units of R[x] over an integral domain, and the non-constant unit 1+[2]x over Z/4Z; and the sets R[x]≤n and R[x]=n.
  • Evaluation, Substitution, and Polynomial Functions. The value p(c), roots, and evaluation respecting sums and products; ring homomorphisms and two impostors; the substitution principle, that one ring homomorphism R[x]→S extends a given φ:R→S and sends x to a given s, and only one; changing coefficients along φ, with reduction modulo n and the exact condition for the degree to drop, and the composition p∘q; and the ring RR of functions, with polynomial composition matching composition of functions and, over every finite ring with 1≠0, a non-zero polynomial whose function is 0.
  • The Formal Derivative. The derivative defined by (f′)k=(k+1)⋅fk+1, the role of the element n⋅1, and examples in five rings; the sum, product and power rules in every commutative ring, the product rule by checking on monomials; over a field, f′=0 exactly for the constants in characteristic 0 and exactly for the polynomials in xp in characteristic p; and review exercises that return to groups (Chapter 3), complex conjugation (Chapter 1) and countability (Sets, Relations, and Cardinality, Chapter 3).

Named moves

  • Compare coefficients. Two polynomials are equal if and only if their coefficients agree in every position, so an identity in R[x] is proved by computing the k-th coefficient of both sides for an arbitrary k. It is Number Systems: From N to R, Chapter 2’s “reduce to the level below”, now with sequences. Named in Section 4.1, it proves the additive laws and both distributive laws of R[x] in Section 4.2 and the linearity of the derivative in Section 4.5.
  • Check on monomials, extend by additivity. Two maps of up to three polynomial arguments that are additive in each argument, and agree when every argument is a monomial, agree everywhere (Lemma 4.2.3). It proves commutativity and associativity of the product in Section 4.2, evaluation and substitution respecting products in Section 4.4, and the product rule in Section 4.5. Exercise B2 of Section 4.2 leaves its last step to you, and Exercise C2 of Section 4.4 its second half.
  • Look at the top coefficient. The coefficient of xdeg⁡p+deg⁡q in pq is lc(p)lc(q), and nothing sits above it; every question about the degree of a product becomes the question whether that one element of R is 0. It proves the degree formula in Section 4.3 and, through it, the absence of zero divisors and the units of R[x]; in Section 4.4 it shows that the product of the factors x−c over a finite ring is monic, and Exercise B1 there uses it for the degree of a composition.
  • A homomorphism out of R[x] is fixed by the constants and x. To show that two ring homomorphisms out of R[x] agree, check that they agree on the constants and on x (Theorem 4.4.2 (b)). Named in Section 4.4, it proves there that composing polynomials matches composing their functions, and Exercise B3 of Section 4.4 uses it to invert the shift p↦p∘(x+c).