4.2  The Polynomial Ring

Section 4.1 made a polynomial a coefficient sequence, and the display ∑kpkxk only a way of writing it down. This section gives the sequences their sum and product, read off from what school algebra does with expressions, and proves that the result obeys every law of a commutative ring (Number Systems: From N to R, Definition 2.3.1). The obvious proof of associativity needs a theorem about reordering double sums that we have not proved. We avoid it with one device, check on monomials, extend by additivity, which returns in Sections 4.4 and 4.5.

Throughout, R is a commutative ring and R[x] is the set of polynomials over R (Definition 4.1.1).

4.2.1. Adding and multiplying coefficient sequences

At school, (3x2−x+2)(x+1) is computed by multiplying every term of the first factor by every term of the second, using aixi⋅bjxj=aibjxi+j, and then collecting the terms with the same power. The coefficient of xk in the result collects the products aibj over all pairs with i+j=k, that is, over i=0,…,k with j=k−i. Addition collects like powers too, so it adds coefficients position by position. We turn these two recipes into definitions.

Add position by position; multiply by collecting, in position k, every product of a coefficient from position i with one from position k−i.

Definition 4.2.1 (The Polynomial Ring)

Let R be a commutative ring. For p,q∈R[x] and k∈N define (p+q)k:=pk+qk,(−p)k:=−pk,(pq)k:=∑i=0kpiqk−i. The set R[x] with this addition and this multiplication is the polynomial ring over R.

In words: the sum and the negative act on each position separately. The product is the convolution of the two sequences: its entry in position k is a sum of k+1 products in R, and the two positions in each product add up to k. For i≤k, the index k−i lies in N, computed in Z⊇N (Number Systems: From N to R, Proposition 2.2.3); the sum is a finite sum in R (Lemma 4.1.1 (a)). The name “ring” is a promise: the theorem at the end of this section keeps it.

The operations stay inside R[x]. There is something to check: the three formulas produce sequences N→R, and we must see that only finitely many of their entries are non-zero. Let m be admissible for p and n admissible for q.

  • For k>max(m,n), (p+q)k=0+0=0 by (F3). So max(m,n) is admissible for p+q.
  • For k>m, (−p)k=−0=0, since 0+0=0 and negatives are unique (Number Systems: From N to R, Proposition 2.3.2 (a)). So m is admissible for −p.
  • Let k>m+n and 0≤i≤k. If i>m, then pi=0. If i≤m, then k−i≥k−m>n, so qk−i=0. Either way the term piqk−i is 0, by Number Systems: From N to R, Proposition 2.3.2 (b) with (F6). A sum whose terms are all 0 is 0 (Lemma 4.1.1 (b), (Σ3) with j=k+1), so (pq)k=0, and m+n is admissible for pq.

So + and ⋅ are functions R[x]×R[x]→R[x], and p↦−p is a function R[x]→R[x]. The bound m+n is the first hint of the degree of a product, the subject of Section 4.3.

Example (A product, coefficient by coefficient)

Compute (3x2−x+2)(x+1) from Definition 4.2.1 in Q[x], in F3[x] and in (Z/6Z)[x].

Solution. In Q[x], let p=3x2−x+2 and q=x+1, so (p0,p1,p2)=(2,−1,3) and (q0,q1)=(1,1), all other coefficients 0. Then 2 is admissible for p and 1 for q, so (pq)k=0 for k≥4 by the closure argument, and (pq)0=p0q0=2,(pq)1=p0q1+p1q0=2−1=1,(pq)2=p0q2+p1q1+p2q0=0−1+3=2,(pq)3=p0q3+p1q2+p2q1+p3q0=0+0+3+0=3. Hence pq=3x3+2x2+x+2, as expanding by hand gives.

In F3[x] the same display names other coefficients: 3=0 and −1=2 in F3, so (p0,p1,p2)=(2,2,0), and p=2x+2. The formula gives (pq)0=2, (pq)1=2+2=4=1, (pq)2=0+2+0=2, and (pq)3=0. So pq=2x2+x+2 in F3[x].

In (Z/6Z)[x], (p0,p1,p2)=([2],[5],[3]), since [−1]=[5]. The formula gives [2], [2]+[5]=[7]=[1], [5]+[3]=[8]=[2] and [3]. So pq=[3]x3+[2]x2+x+[2].

Each answer over F3 and Z/6Z is the answer over Q with every integer coefficient replaced by its class. Section 4.4 explains why this always happens.

Warning. The product is not taken position by position. The rule (pq)k=pkqk looks like the natural partner of the sum, but it is not the product of school algebra. For p=q=x=(0,1,0,…) it would give (0,1,0,…), that is, x⋅x=x. The convolution gives (x⋅x)2=x0x2+x1x1+x2x0=0+1+0=1 and (x⋅x)k=0 for k≠2, so x⋅x=x2, as it should be. Only the sum is coefficientwise.

4.2.2. Monomials do the work

The display ∑kpkxk of Section 4.1 can now be read as a genuine sum in R[x]. The sum is formed with the addition just defined, by Lemma 4.1.1 (a) with T=R[x]. That part of the lemma asks only for a function +:T×T→T and an element 0 with 0+u=u; in R[x] the zero polynomial is such an element, since (0+u)k=0+uk=uk by (F1) and (F3). We do not yet know any other law of R[x], and the next proposition needs none.

Proposition 4.2.1 (A Polynomial Is the Sum of Its Monomials)

Let p∈R[x] and N∈N. The sum ∑k=0Npkxk of the monomials pkxk, formed in (R[x],+), has coefficient pj in position j for every j≤N, and 0 in every position j>N. In particular, if N is admissible for p, then p=∑k=0Npkxk.

Proof. Write sN:=∑k=0Npkxk. We use Logic and Proof, Axiom 4.2.1 on N. For N=0, s0=p0x0, which has p0 in position 0 and 0 elsewhere (Definition 4.1.1). Suppose sN has the stated coefficients. By the recursion of Lemma 4.1.1 (a), sN+1=sN+pN+1xN+1, so by Definition 4.2.1 its j-th coefficient is (sN)j+(pN+1xN+1)j. This is pj+0=pj for j≤N; it is 0+pN+1=pN+1 for j=N+1; and it is 0+0=0 for j>N+1, by (F1) and (F3). These are the stated coefficients for N+1.

If N is admissible for p, then pj=0 for j>N, so p and sN agree in every position, and p=sN by Sets, Relations, and Cardinality, Proposition 1.4.1. This proves the proposition.

So the display of Definition 4.1.1 is now an honest sum: 3x2−x+2 is the sum, in (R[x],+), of the monomials 2x0, (−1)x1 and 3x2. Every polynomial is a finite sum of monomials.

Next we multiply by a monomial. Multiplying by axm should move every coefficient m places up and multiply it by a.

Lemma 4.2.2 (Multiplying by a Monomial)

Let a,b∈R, m,n∈N and q∈R[x].

  • (a) ((axm)q)k=aqk−m for k≥m, and ((axm)q)k=0 for k<m.
  • (b) (axm)(bxn)=(ab)xm+n.

Proof.

  • (a) By Definition 4.2.1, ((axm)q)k=∑i=0k(axm)iqk−i. For i≠m, (axm)i=0, so the i-th term is 0⋅qk−i=0 (Number Systems: From N to R, Proposition 2.3.2 (b) with (F6)). By (Σ3) of Lemma 4.1.1 (b) with j=m, the sum is the term with i=m, namely aqk−m, when m≤k, and 0 when m>k.

  • (b) Apply (a) with q=bxn. For k<m the coefficient is 0. For k≥m it is a(bxn)k−m, which is ab when k−m=n, that is, when k=m+n, and a⋅0=0 otherwise (Number Systems: From N to R, Proposition 2.3.2 (b)). Since k<m implies k≠m+n, the product has ab in position m+n and 0 elsewhere: it is the monomial (ab)xm+n.

Part (b) is the school rule axm⋅bxn=abxm+n, now a theorem about sequences. It contains everything multiplication does: the next lemma shows that a law which holds on monomials, and which survives sums in each argument, holds everywhere.

Additivity in each argument. For all p,p′,q,q′∈R[x], (∗)(p+p′)q=pq+p′q (∗∗)p(q+q′)=pq+pq′. For (∗), the k-th coefficient of the left side is ∑i=0k(pi+pi′)qk−i=∑i=0k(piqk−i+pi′qk−i)=∑i=0kpiqk−i+∑i=0kpi′qk−i, where the first equality applies (F6), (F9) and (F6) again inside each term, and the second is (Σ1). The right side is the k-th coefficient of pq+p′q. For (∗∗) the same computation runs with pi(qk−i+qk−i′)=piqk−i+piqk−i′, which is (F9) itself. Each sum has a single index i, and no term is moved past another. So each distributive law is one line of algebra in R, with compare coefficients doing the rest.

A map of several polynomial arguments is additive in each argument if, whenever one argument is replaced by a sum u+u′ and the others are held fixed, the value is the sum of the two values. By (∗) and (∗∗), the product (p,q)↦pq is additive in each argument. Here is what that buys.

Lemma 4.2.3 (Check on Monomials)

Let R be a commutative ring, and let T be a set with a function +:T×T→T. Let Φ,Ψ be maps of one, two or three polynomial arguments to T, that is, both maps R[x]→T, both R[x]2→T or both R[x]3→T, that are additive in each argument: for each argument position and all fixed values of the other arguments, Φ(…,u+u′,…)=Φ(…,u,…)+Φ(…,u′,…) with u,u′ in that position, and the same for Ψ. If Φ and Ψ take the same value whenever every argument is a monomial, then Φ=Ψ.

Here R[x]2 and R[x]3 are the sets of pairs and triples. The proof uses no law of T at all, not even associativity of its addition, and no product on T. That is why it may be applied with T=R[x] inside the proof that R[x] is a ring.

Idea. Every polynomial is a finite sum of monomials (Proposition 4.2.1), so a map that is additive is fixed by what it does to monomials: peel off the top monomial and induct. With several arguments, unlock them one at a time: first let the last argument be arbitrary while the others stay monomials, then the one before, and so on.

Before reading on: why is additivity in each argument separately enough, and where would “additive in the pair”, Φ(p+p′,q+q′)=Φ(p,q)+Φ(p′,q′), fail?

Proof. One argument. We prove by Logic and Proof, Axiom 4.2.1 on N: for every p∈R[x] for which N is admissible, Φ(p)=Ψ(p). Every polynomial has an admissible N (Definition 4.1.1), so this gives Φ=Ψ (Sets, Relations, and Cardinality, Proposition 1.4.1). For N=0, p agrees in every position with the monomial p0x0, so p=p0x0 and Φ(p)=Ψ(p) by hypothesis. Suppose the statement holds for N, and let N+1 be admissible for p. Put p′:=∑k=0Npkxk. By Proposition 4.2.1, N is admissible for p′, and by the recursion of Lemma 4.1.1 (a) and the same proposition, p=∑k=0N+1pkxk=p′+pN+1xN+1. Hence Φ(p)=Φ(p′)+Φ(pN+1xN+1)=Ψ(p′)+Ψ(pN+1xN+1)=Ψ(p), by additivity of Φ, the induction hypothesis for p′ together with the hypothesis on monomials, and additivity of Ψ.

Two arguments. Fix a monomial u. The maps v↦Φ(u,v) and v↦Ψ(u,v) are additive and agree on monomials, so by the case of one argument they agree everywhere: Φ(u,q)=Ψ(u,q) for every monomial u and every q∈R[x]. Now fix any q. The maps u↦Φ(u,q) and u↦Ψ(u,q) are additive and, by what was just shown, agree on monomials; so they agree everywhere.

Three arguments. The same, one argument at a time. For monomials u1,u2, the case of one argument, applied to the third argument, gives Φ(u1,u2,r)=Ψ(u1,u2,r) for every r. For a monomial u1 and any r, the same case, applied to the second argument, then gives agreement for every q in the middle. Finally, for any q,r, the same case, applied to the first argument, gives Φ(p,q,r)=Ψ(p,q,r) for every p. This proves the lemma.

The answer to the prompt. Each step of the proof changes one argument from “a monomial” to “arbitrary” while the other arguments are held fixed, and it only ever splits that one argument into a sum. Additivity in each argument separately is exactly that. “Additive in the pair” is a different condition, and the product does not satisfy it: with p=q′=1 and p′=q=0, (p+p′)(q+q′)=1⋅1=1, while pq+p′q′=0+0=0 whenever 1≠0 in R. A proof that split both arguments at once would lose the cross terms pq′ and p′q.

We call this move check on monomials, extend by additivity. To prove that two expressions in polynomials agree, check that both are additive in each argument, and check the identity when every argument is a monomial. The second check is a computation with a single coefficient in each argument.

4.2.3. The ring laws

Now the payoff: every law of a commutative ring holds in R[x]. The theorem also records how R sits inside R[x] and why the school notation axn means what it seems to mean.

Theorem 4.2.4 (The Polynomial Ring Is a Commutative Ring)

Let R be a commutative ring.

  • (a) R[x], with the operations of Definition 4.2.1, is a commutative ring (Number Systems: From N to R, Definition 2.3.1), with zero the zero polynomial, negative −p as defined there, and one 1:=1x0. Spelled out, for all p,q,r∈R[x]: (1) p+q=q+p and (p+q)+r=p+(q+r); (2) p+0=p and p+(−p)=0; (3) pq=qp and (pq)r=p(qr); (4) 1⋅p=p; (5) p(q+r)=pq+pr.
  • (b) The map R→R[x], a↦ax0, is injective and satisfies (a+b)x0=ax0+bx0, (ab)x0=(ax0)(bx0) and 1x0=1. If 1≠0 in R, then 1≠0 in R[x].
  • (c) For n∈N, the n-th power of x in the ring R[x] (Lemma 4.1.1 (c)) is the monomial 1xn, and the product of the constant a with it is the monomial axn. Hence p=∑k=0Npkxk, for admissible N, is a sum of products of constants and powers of x.
  • (d) For a constant a and p∈R[x], (ap)k=apk for every k.

In words: (a) says we may compute in R[x] by every rule of a commutative ring; (b) says that computing with constant polynomials is computing in R, which justifies calling ax0 “the constant a”; (c) says that the monomial axn of Section 4.1, a sequence, is the product a⋅x⋅x⋯x of school algebra; and (d) says that multiplying by a constant multiplies every coefficient.

Try it first (ten minutes): for p=a0+a1x, q=b0+b1x and r=c0+c1x, write the coefficient of x2 in (pq)r and in p(qr) from Definition 4.2.1. Which laws of R did you need to see that they are equal, and how would your argument scale to polynomials of degree 10?

Idea. The attempt gives pq=a0b0+(a0b1+a1b0)x+a1b1x2, and the coefficient of x2 in (pq)r is (a0b1+a1b0)c1+(a1b1)c0, while in p(qr) it is a0(b1c1)+a1(b0c1+b1c0). Both expand, by (F9), to the three products a0b1c1, a1b0c1, a1b1c0, grouped and ordered differently, so (F1), (F2), (F5), (F6) and (F9) all enter. In degree 10 the two coefficients of xk are double sums, ∑s(∑iaibs−i)ck−s and ∑iai(∑jbjck−i−j), and the plan “both are the sum of all aibjcl with i+j+l=k” needs a theorem on reordering finite double sums, which we have not proved.

Monomials avoid that theorem. When each of p, q, r has a single non-zero coefficient, every double sum collapses to one product, and the law becomes a law of R together with a law of N for the exponents. Both sides are additive in each argument, by (∗) and (∗∗), so Lemma 4.2.3 carries the monomial case to all polynomials. The additive laws need nothing new: they are the laws of R, position by position.

Before reading on: self-explain the monomial line for (F5) in the proof below. Which law of R does it use, and which law of N?

Proof. (a) By Definition 4.2.1 and the closure paragraph after it, + and ⋅ are functions R[x]×R[x]→R[x]. We check the clauses of Number Systems: From N to R, Definition 2.3.1.

(F1)–(F4), position by position. For every k, (p+q)k=pk+qk=qk+pk=(q+p)k by (F1) in R; ((p+q)+r)k=(pk+qk)+rk=pk+(qk+rk)=(p+(q+r))k by (F2); (p+0)k=pk+0=pk by (F3); and (p+(−p))k=pk+(−pk)=0 by (F4). So (F1)–(F4) hold in R[x], by compare coefficients (Sets, Relations, and Cardinality, Proposition 1.4.1), with the zero polynomial as 0 and −p as the negative of p.

(F9). This is (∗∗).

(F6). Let Φ(p,q):=pq and Ψ(p,q):=qp. Both are additive in each argument: for Φ this is (∗) and (∗∗), and for Ψ it is the same two laws with the roles of the factors exchanged, q(p+p′)=qp+qp′ and (q+q′)p=qp+q′p. On monomials, (axm)(bxn)=(ab)xm+n=(ba)xn+m=(bxn)(axm), by Lemma 4.2.2 (b), (F6) in R with m+n=n+m in N (Number Systems: From N to R, Theorem 1.5.3 (b)), and Lemma 4.2.2 (b) again. By Lemma 4.2.3 with two arguments and T=R[x], whose addition is a function by the closure paragraph, pq=qp for all p,q.

(F7). By Lemma 4.2.2 (a) with a=1 and m=0, (1⋅p)k=1pk=pk for every k, by (F7) and (F6) in R. So 1⋅p=p, and p⋅1=1⋅p=p by (F6) in R[x].

(F5). Let Φ(p,q,r):=(pq)r and Ψ(p,q,r):=p(qr). Each is additive in each argument, by two applications of (∗) and (∗∗); for instance, in the middle argument, (p(q+q′))r=(pq+pq′)r=(pq)r+(pq′)r,p((q+q′)r)=p(qr+q′r)=p(qr)+p(q′r), and in the first and third arguments in the same way. On monomials axm, bxn, cxl, two applications of Lemma 4.2.2 (b) on each side give ((axm)(bxn))(cxl)=((ab)c)x(m+n)+l=(a(bc))xm+(n+l)=(axm)((bxn)(cxl)), where the middle equality is (F5) in R and (m+n)+l=m+(n+l) in N (Number Systems: From N to R, Theorem 1.5.3 (c)). By Lemma 4.2.3 with three arguments and T=R[x], (pq)r=p(qr) for all p,q,r. This proves (a); the rules (1)–(5) are (F1) with (F2), (F3) with (F4), (F6) with (F5), (F7) in the form 1⋅p=p, and (F9).

(b) If ax0=bx0, the entries in position 0 give a=b. The sum ax0+bx0 has a+b in position 0 and 0+0=0 elsewhere, so it is (a+b)x0. The product is (ab)x0+0=(ab)x0 by Lemma 4.2.2 (b), and 1x0=1 by the definition of 1 in (a). If 1≠0 in R, then by injectivity 1x0≠0x0, and 0x0 is the zero polynomial.

(c) By Lemma 4.1.1 (c) in the commutative ring R[x], x0=1=1x0 and xn+1=xnx. By Logic and Proof, Axiom 4.2.1 on n: if xn=1xn, then xn+1=(1xn)(1x1)=(1⋅1)xn+1=1xn+1, by Lemma 4.2.2 (b) and (F7) in R. For a constant a, (ax0)(1xn)=(a⋅1)x0+n=axn, by the same lemma. With Proposition 4.2.1, p=∑k=0Npkxk is the sum of the products of the constants pk with the powers xk.

(d) Lemma 4.2.2 (a) with m=0: (ax0p)k=apk−0=apk. This proves the theorem.

The answer to the prompt. The monomial line for (F5) uses associativity of multiplication in R, (ab)c=a(bc), for the coefficient, and associativity of addition in N, (m+n)+l=m+(n+l), for the exponent. Apart from Lemma 4.2.2, which it cites, nothing else: the regrouping that the direct route needed has been absorbed into Lemma 4.2.3, whose proof only peels off one monomial at a time.

The proof never reordered a double sum. Each of its sums has a single index: a coefficient sum of Definition 4.2.1 (in the closure paragraph, (∗), (∗∗) and Lemma 4.2.2), or a sum of monomials of Proposition 4.2.1 (inside Lemma 4.2.3 and in part (c)).

Remark. Part (a) makes the name “polynomial ring” honest, and everything proved for commutative rings now applies to R[x]. In particular, ideals and quotient rings (Number Systems: From N to R, Definition 3.4.1, Number Systems: From N to R, Theorem 3.4.1) are available in R[x]; Chapter 5 builds quotients of F[x] for a field F this way. Also, (R[x],+) is an abelian group in the sense of Chapter 3, by (F1)–(F4).

From now on we compute in R[x] as at school: expand brackets, collect terms, and move terms across equations, citing (a) and (c). The two things school algebra does not give us are any rule that needs division, and any rule about the degree of a product; the second depends on R, and Section 4.3 finds out how.

Quick check. In Q[x] and in F2[x]: is (x+1)2 equal to x2+2x+1? Is it equal to x2+1?

Solution. By Lemma 4.1.1 (c) and Theorem 4.2.4 (a), rule (4), (x+1)2=(1⋅(x+1))(x+1)=(x+1)(x+1), and by Definition 4.2.1 this product has coefficients 1⋅1=1, 1⋅1+1⋅1=2 and 1⋅1=1 in positions 0,1,2, and 0 beyond, where 2=1+1. Over Q, (x+1)2=x2+2x+1, and it is not x2+1, since 2≠0 in position 1. Over F2, 2=1+1=0, so the sequence is (1,0,1,0,…): (x+1)2=x2+1, and also (x+1)2=x2+2x+1, because over F2 the display x2+2x+1 names the same sequence. The same three-term display means different things over different rings.

4.2.4. Exercises

A. Check your understanding

Exercise (A1)

These questions are about the proof of Theorem 4.2.4.

  • (a) Where is the commutativity of R, ab=ba, used?
  • (b) Run the monomial check of (F5) on (2x)(3x2)(x) in Z[x]: compute both groupings.
  • (c) In the proof of (F5), which additivity does Lemma 4.2.3 need for the third argument? Write out both identities.
  • (d) Give the idea of the proof of (F5) in two sentences.

Solution.

  • (a) In the monomial line of (F6), where ab=ba in R gives (ab)xm+n=(ba)xn+m. In the additivity law (∗), where (pi+pi′)qk−i=piqk−i+pi′qk−i is (F9) only after (F6) has moved qk−i to the left. And in small ways, wherever 0⋅b=0 is obtained from b⋅0=0 (Number Systems: From N to R, Proposition 2.3.2 (b)), as in Lemma 4.2.2 (a), and in (F7), where 1pk=pk⋅1. The monomial line of (F5) uses it only through Lemma 4.2.2 (a); its own coefficient step (ab)c=a(bc) does not.

  • (b) With a=2,m=1, b=3,n=2, c=1,l=1: ((2x)(3x2))x=(6x3)x=6x4, using 2⋅3=6, 1+2=3, then 6⋅1=6, 3+1=4; and (2x)((3x2)x)=(2x)(3x3)=6x4, using 3⋅1=3, 2+1=3, then 2⋅3=6, 1+3=4. Both are 6x4.

  • (c) For Φ: (pq)(r+r′)=(pq)r+(pq)r′, which is (∗∗) with pq in place of p. For Ψ: p(q(r+r′))=p(qr+qr′)=p(qr)+p(qr′), which is (∗∗) twice.

  • (d) On monomials, associativity is a single product: (ab)c=a(bc) in R and (m+n)+l=m+(n+l) in N. Both sides of (pq)r=p(qr) are additive in each argument and every polynomial is a finite sum of monomials, so the monomial case extends to all polynomials, one argument at a time.

B. Practice

Exercise (B1: A product over two rings)

Compute (2x3−x+4)(−2x3+x2+3) in Z[x] and in F2[x], from Definition 4.2.1.

Solution. In Z[x], (p0,p1,p2,p3)=(4,−1,0,2) and (q0,q1,q2,q3)=(3,0,1,−2), with 3 admissible for both; so (pq)k=0 for k>6, and (pq)0=4⋅3=12,(pq)1=4⋅0+(−1)⋅3=−3,(pq)2=4⋅1+(−1)⋅0+0⋅3=4,(pq)3=4⋅(−2)+(−1)⋅1+0⋅0+2⋅3=−3,(pq)4=(−1)(−2)+0⋅1+2⋅0=2,(pq)5=0⋅(−2)+2⋅1=2,(pq)6=2⋅(−2)=−4, where in positions 4,5,6 the terms with an index above 3 are 0 and have been left out. Hence pq=−4x6+2x5+2x4−3x3+4x2−3x+12. In F2[x] the displays name other sequences: 2=0, 4=0, −1=1, −2=0 and 3=1 in F2, so the first factor is x and the second is x2+1. By Lemma 4.2.2 (a) with a=1, m=1, the product shifts (1,0,1,0,…) one place up: x(x2+1)=x3+x. This agrees with reducing the integer coefficients 12,−3,4,−3,2,2,−4 modulo 2, which gives 0,1,0,1,0,0,0.

Exercise (B2: Changing the sign of x)

Define σ:R[x]→R[x] by σ(p)k:=(−1)kpk, where (−1)k is the power in R (Lemma 4.1.1 (c)). Then σ(p) is a polynomial, since (−1)k⋅0=0. We want to prove that σ(pq)=σ(p)σ(q) for all p,q∈R[x].

You may use the following, without proof. The map σ is additive: σ(p+q)=σ(p)+σ(q), position by position by (F9). Hence, with (∗) and (∗∗), the maps Φ(p,q):=σ(pq) and Ψ(p,q):=σ(p)σ(q) are additive in each argument.

The last step is blank. Name the move, then complete it.

Solution. The move is check on monomials, extend by additivity.

Let a,b∈R and m,n∈N. The monomial axm has only position m possibly non-zero, so σ(axm)=((−1)ma)xm. By Lemma 4.2.2 (b), Φ(axm,bxn)=σ((ab)xm+n)=((−1)m+nab)xm+n, Ψ(axm,bxn)=((−1)ma)xm⋅((−1)nb)xn=((−1)ma(−1)nb)xm+n. The two coefficients agree: (−1)ma(−1)nb=((−1)m(−1)n)(ab)=(−1)m+nab, by (F5) and (F6) in R and the first power law of Lemma 4.1.1 (c). So Φ and Ψ agree on monomials, and by Lemma 4.2.3 with two arguments and T=R[x], σ(pq)=σ(p)σ(q) for all p,q.

Also σ(1)=1, since (−1)0=1. Section 4.4 writes σ(p) as p(−x).

C. Going deeper

Exercise (C1: Exit check: the ring laws)

Let R be a commutative ring. Prove, from Definition 4.2.1, that the multiplication of R[x] is commutative and associative. You may use the laws of R, Lemma 4.1.1, Logic and Proof, Axiom 4.2.1 and Sets, Relations, and Cardinality, Proposition 1.4.1, but no result of this section after Definition 4.2.1.

Solution. Distributivity. For p,p′,q,q′∈R[x], the k-th coefficient of (p+p′)q is ∑i=0k(pi+pi′)qk−i. Inside each term, (F6), (F9), (F6) give piqk−i+pi′qk−i, and (Σ1) splits the sum into (pq)k+(p′q)k. So (p+p′)q=pq+p′q, and in the same way, with (F9) directly, p(q+q′)=pq+pq′. Hence (p,q)↦pq and (p,q)↦qp are additive in each argument, and so are (p,q,r)↦(pq)r and (p,q,r)↦p(qr), by applying the two laws twice.

Monomials. For a,b∈R and m,n∈N, the k-th coefficient of (axm)(bxn) is ∑i=0k(axm)i(bxn)k−i. Every term with i≠m is 0, and the term with i=m (present when m≤k) is a(bxn)k−m, which is ab if k=m+n and 0 otherwise. By (Σ3), (axm)(bxn)=(ab)xm+n.

Reduction. (i) For p∈R[x], the sum sN:=∑k=0Npkxk in (R[x],+) (Lemma 4.1.1 (a)) has pj in position j≤N and 0 beyond, by Logic and Proof, Axiom 4.2.1 on N: s0=p0x0, and sN+1=sN+pN+1xN+1 has coefficients pj+0, 0+pN+1 and 0+0 for j≤N, j=N+1 and j>N+1, by (F1) and (F3). So p=sN for admissible N (Sets, Relations, and Cardinality, Proposition 1.4.1).

  • (ii) Let Φ,Ψ:R[x]→R[x] be additive and agree on monomials. By Logic and Proof, Axiom 4.2.1 on N, Φ(p)=Ψ(p) for every p for which N is admissible: for N=0, p=p0x0 by (i); if N+1 is admissible for p, then p=sN+pN+1xN+1 with N admissible for sN, by (i), and Φ(p)=Φ(sN)+Φ(pN+1xN+1)=Ψ(sN)+Ψ(pN+1xN+1)=Ψ(p) by additivity, the induction hypothesis with the monomial case, and additivity. Every polynomial has an admissible N, so Φ=Ψ.

  • (iii) With two arguments, fix a monomial u and apply (ii) to v↦Φ(u,v) and v↦Ψ(u,v); then fix any q and apply (ii) to the first argument. With three, treat the third, the second and the first argument in turn.

Commutativity. (axm)(bxn)=(ab)xm+n=(ba)xn+m=(bxn)(axm), by (F6) in R and m+n=n+m in N; the reduction gives pq=qp.

Associativity. ((axm)(bxn))(cxl)=((ab)c)x(m+n)+l and (axm)((bxn)(cxl))=(a(bc))xm+(n+l), equal by (F5) in R and associativity of + in N; the reduction with three arguments gives (pq)r=p(qr).

Marking scheme. (10 points) - 2: both distributive laws from the coefficient formula, naming the rule for a single-index sum ((Σ1)) and the law of R used inside each term. - 2: the product of two monomials, (axm)(bxn)=(ab)xm+n, with the vanishing of the other terms shown. - 3: the reduction to monomials, with additivity in each argument stated and used one argument at a time (both inductions proved in the answer; citing Lemma 4.2.3 earns none of these points). - 1: commutativity on monomials, naming (F6) in R. - 2: associativity on monomials, naming (F5) in R and the law of N used for the exponents.

Fatal errors (0 for the step): treating polynomials as functions on R and citing the laws of R “pointwise”; checking only on xm and xn, with no account of the coefficients (the coefficients are where (F5) and (F6) of R are needed).

A direct route works with coefficients throughout: commutativity by (F6) and the reversal i↦k−i of a finite sum, associativity by rewriting both triple products as one sum over all (i,j,l) with i+j+l=k. Each needs a lemma that (Σ1)–(Σ4) do not contain, proved by induction. Commutativity with the reversal proved earns 3 points (the monomial product and commutativity on monomials); associativity with the reindexing proved earns the other 7. An unproved reversal or reindexing earns 0 for that step.

Exercise (C2: Formal power series)

Let RN be the set of all sequences N→R, with sum and product given by the formulas of Definition 4.2.1.

  • (a) Show that the formulas define functions RN×RN→RN.
  • (b) Show that R[x]⊆RN is closed under the sum and the product.
  • (c) Let s:=(1,1,1,…). Show that (1−x)s=1.
  • (d) Which step of the proof of Lemma 4.2.3 (with one argument) does not reach the elements of RN?

Solution.

  • (a) For p,q∈RN and k∈N, pk+qk∈R, and ∑i=0kpiqk−i is a sum of k+1 elements of R, defined by Lemma 4.1.1 (a). No finiteness of p or q is needed: each coefficient of the product only looks at positions 0,…,k. So both formulas give sequences N→R.

  • (b) This is the closure paragraph after Definition 4.2.1: if m and n are admissible for p and q, then max(m,n) is admissible for p+q and m+n for pq.

  • (c) 1−x=(1,−1,0,0,…). In position 0, ((1−x)s)0=1⋅1=1. In position k≥1, write the i-th term as vi+wi (by (F1) and (F3)), with v0=1⋅1, w1=(−1)⋅1 and every other vi, wi equal to 0, since for i≥2 the term is 0⋅1=0 (Number Systems: From N to R, Proposition 2.3.2 (b) with (F6)). By (Σ1) and (Σ3), the sum is 1⋅1+(−1)⋅1=1+(−1)=0, by (F7) and (F4). So (1−x)s=(1,0,0,…)=1.

  • (d) The induction proves Φ(p)=Ψ(p) only for sequences p that have an admissible N; the step from it to Φ=Ψ uses that every polynomial has one. The sequence s has none, and it is not a finite sum of monomials either, since by (b) such a sum is a polynomial. So Lemma 4.2.3 says nothing about s, and the proof of Theorem 4.2.4 does not apply to RN. The ring laws do hold in RN, the ring of formal power series, though we do not prove this here; nothing in this book depends on it.

So (1−x)s=1 among all sequences, while Section 4.3 shows that over Z, 1−x is not a unit of Z[x].