Let R be a ring and let X be an indeterminate. By R[X] we denote the set of all polynomials in X with coefficients in R, compare Section 3.1.
Let
be two elements of R[X]. By adding, if necessary, some terms 0Xk we may assume n = m.
The sum of these polynomials is
a + b = (a0 + b0) + (a1 + b1)X + ··· + (an + bn)Xn.
The product of these polynomials is
a * b = c0 + c1X + ··· + cn + mX n+ m,
where ck = a0bk + a1bk - 1 + ··· + akb0.
The symbol * is often omitted.
The sum and product of polynomials define a ring structure on the set R[X] of all polynomials in X with coefficients in R. The zero element is the zero polynomial 0; the unit element is the polynomial 1.
The ring R[X] is called the polynomial ring over R in the indeterminate X. The ring R is called the coefficient ring of R[X].