Throughout this chapter we shall assume that R is a commutative ring with identity. Any expression of the form
f(x)=i=0∑naixi=a0+a1x+a2x2+⋯+anxn,
where ai∈R and an=0, is called a with x. The elements a0,a1,…,an are called the of f. The coefficient an is called the . A polynomial is called if the leading coefficient is 1. If n is the largest nonnegative number for which an=0, we say that the of f is n and write degf(x)=n. If no such n exists—that is, if f=0 is the zero polynomial—then the degree of f is defined to be −∞. We will denote the set of all polynomials with coefficients in a ring R by R[x]. Two polynomials are equal exactly when their corresponding coefficients are equal; that is, if we let
p(x)q(x)=a0+a1x+⋯+anxn=b0+b1x+⋯+bmxm,
then p(x)=q(x) if and only if ai=bi for all i≥0.