Definition nw. Let \(h = \sum c_\alpha x^\alpha \in \mathbb{F}[\mathbf{x}] \setminus \{0\}\)h = c x \in \mathbbF[\mathbfx] \setminus \{0\} be a nonzero polynomial, \(F\)F a subset of \(\mathbb{F}[\mathbf{x}] \setminus \{0\}\)F[x] \{0\}, and let \(\succeq\) be a monomial order on \(\mathcal{M}\)M.
- The multidegree of \(h\)h is \(\mathrm{multideg}(h) = \max(\alpha \in \mathbb{N}_0^n \mid c_\alpha \neq 0)\)multideg(h) = ( \in \mathbbN 0 n \mid c_\alpha \neq 0). The maximum is taken with respect to \(\succeq\).
- The leading coefficient of \(h\)h is \(\mathrm{LC}(h) = c_{\mathrm{multideg}(h)} \in \mathbb{F}\)LC(h) = c multideg}(h)} \mathbb{F}.
- \(\mathrm{LC}(F) = \{\mathrm{LC}(f) \mid f \in F\}\)LC(F) = \\mathrmLC}(f) \mid f \in F\}.
- The leading monomial of \(h\)h is \(\mathrm{LM}(h) = x^{\mathrm{multideg}(h)}\)LM(h) = x multideg}(h)}.
- \(\mathrm{LM}(F) = \{\mathrm{LM}(f) \mid f \in F\}\)LM(F) = \\mathrmLM}(f) \mid f \in F\}.
- The leading term of \(h\)h is \(\mathrm{LT}(h) = \mathrm{LC}(h) \cdot \mathrm{LM}(h)\)LT(h) = LC(h) \mathrm{LM}(h).
- \(\mathrm{LT}(F) = \{\mathrm{LT}(f) \mid f \in F\}\)LT(F) = \\mathrmLT}(f) \mid f \in F\}.
- \(M(f)\)M(f) denotes the set of all monomials in \(f\)f, and \(M(F) = \bigcup_{f \in F} M(f)\)M(F) = f F M(f).
Example ni. Let \(f = xy^2z^3 + xy^3 \in \mathbb{F}[x, y, z]\)f = xy 2z 3 + xy^3 F[x, y, z] be a polynomial under the lexicographic order. Then \(\mathrm{multideg}(f) = (1, 3, 0)\)multideg(f) = (1, 3, 0), \(\mathrm{LC}(f) = 1\)LC(f) = 1, \(\mathrm{LM}(f) = xy^3\)LM(f) = xy 3, \(\mathrm{LT}(f) = xy^3\)LT(f) = xy 3, and \(M(f) = \{xy^2z^3, xy^3\}\)M(f) = \xy 2z 3, xy^3\.
Univariate division provides an introduction to multivariate division and is used in the construction of finite fields.
Theorem ns. (Univariate Division.) Let \(g(x) \in \mathbb{F}[x]\)g(x) F[x] be a univariate polynomial. Then every \(f(x) \in \mathbb{F}[x]\)f(x) F[x] can be written as \(f(x) = q(x) g(x) + r(x)\)f(x) = q(x) g(x) + r(x), where \(q(x), r(x) \in \mathbb{F}[x]\)q(x), r(x) F[x] are unique and either \(r(x) = 0\)r(x) = 0 or \(\deg(r(x)) < \deg(g(x))\)(r(x)) < (g(x)) (Cox 2015).
We can use the following algorithm for finding the polynomials \(q\)q and \(r\)r.
Algorithm d1. Univariate polynomial division.
Input: univariate polynomials \(g, f\)g, f.
Output: univariate polynomials \(q, r\)q, r.
- \(q \gets 0\)q 0, \(r \gets f\)r f.
- while \(r \neq 0\)r 0 and \(\mathrm{LT}(g)\)LT(g) divides \(\mathrm{LT}( r)\)LT( r):
- \(q \gets q + \mathrm{LT}( r) / \mathrm{LT}(g)\)q q + LT( r) / LT(g).
- \(r \gets r - (\mathrm{LT}( r) / \mathrm{LT}(g)) \cdot g\)r r - (LT( r) / LT(g)) \cdot g.
- return \(q, r\)q, r.
Example du. Let \(f(x) \in \mathbb{F}[x]\)f(x) F[x] be a univariate polynomial of degree \(d = \deg(f(x))\)d = (f(x)) and \(\langle f(x) \rangle\) f(x) the ideal generated by \(f(x)\)f(x). The elements of the quotient ring \(\mathbb{F}[x] / \langle f(x) \rangle\)F[x] / f(x) can be written as univariate polynomials \(c_{d-1} x^{d-1} + \ldots + c_1 x + c_0\)c d-1 x d-1 + + c_1 x + c_0 in \(\mathbb{F}[x]\)F[x] of degree less than \(d\)d. In this quotient ring, we use standard addition. However, we define multiplication by applying Theorem ns: given two univariate polynomials \(g(x), h(x)\)g(x), h(x), there exist \(q(x), r(x)\)q(x), r(x) such that \(g(x) h(x) = q(x) f(x) + r(x)\)g(x) h(x) = q(x) f(x) + r(x), where \(\deg(r(x)) < \deg(f(x)) = d\)(r(x)) < (f(x)) = d. We take \(r(x)\)r(x) as the product of \(g(x)\)g(x) and \(h(x)\)h(x).
Proposition nz. Let \(\mathbb{F}\)F be a finite field of order \(q = p^n\)q = p n and \(f(x) \in \mathbb{F}[x]\)f(x) F[x] a univariate polynomial of degree \(d\)d. The elements of the quotient ring \(\mathbb{F}[x] / \langle f(x) \rangle\)F[x] / f(x) can be written as polynomials of degree less than \(d\)d, with multiplication defined via the remainder on division by \(f(x)\)f(x). This quotient ring is a finite field of order \(q^d = p^{nd}\)q d = p nd if and only if \(f(x)\)f(x) is irreducible over \(\mathbb{F}[x]\)F[x] (Lidl and Niederreiter 1994).
Proposition na. Let \(f \in \mathbb{F}[\mathbf{x}]\)f F[x] be irreducible over the field \(\mathbb{F}\)F. Then there exists an extension of \(\mathbb{F}\)F containing a root of \(f\)f.
Proof. Consider the finite field \(\mathbb{E} = \mathbb{F}[\mathbf{x}] / \langle f \rangle\)E = F[{x}] / \langle f \rangle. The elements of \(\mathbb{E}\)E are the cosets \([r] = r + \langle f \rangle\)[r] = r + f with \(r \in \mathbb{F}[\mathbf{x}]\)r F[x]. For any \(a \in \mathbb{F}\)a F, we can obtain a coset \([a]\)[a] determined by the constant polynomial \(a\)a. The mapping \(a \mapsto [a]\)a [a] gives an isomorphism from \(\mathbb{F}\)F onto a subfield \(\mathbb{F}’\)F’ of \(\mathbb{E}\)E, so that \(\mathbb{F}’\)F’ may be identified with \(\mathbb{F}\)F. Particularly, \(\mathbb{E}\)E can be seen as an extension of \(\mathbb{F}\)F. Now, for every \(r(x) = a_0 + a_1 x + \cdots + a_m x^m \in \mathbb{F}[\mathbf{x}]\)r(x) = a 0 + a 1 x + + a_m x^m F[\mathbfx] we have \([r] = [a_0] + [a_1][x] + \cdots + [a_m][x]^m = a_0 + a_1[x] + \cdots + a_m[x]^m\)[r] = [a 0] + [a 1][x] + + [a_m][x]^m = a_0 + a_1[x] + + a_m[x]^m by the rules for operating with cosets and the identification \([a_i] = a_i\)[a i] = a i. Hence, every element of \(\mathbb{E}\)E can be written as a polynomial expression in \([x]\)[x] with coefficients in \(\mathbb{F}\)F. We say that the extension field \(\mathbb{E}\)E is obtained by adjoining \([x]\)[x] and denote it \(\mathbb{F}([x])\)F([x]). Note that if \(f(x) = b_0 + b_1 x + \cdots + b_n x^n\)f(x) = b 0 + b 1 x + + b_n x^n, then \(f([x]) = b_0 + b_1[x] + \cdots + b_n[x]^n = [f] = [0]\)f([x]) = b 0 + b 1[x] + + b_n[x]^n = [f] = [0], so that \([x]\)[x] is a root of \(f\)f.
We use multivariate division in the description of algorithms for computing Gröbner bases.
Theorem n3. (Multivariate Division.) Let \(\succeq\) be a monomial order on \(\mathcal{M}\)M and let \(F = (f_1, \ldots, f_m)\)F = (f 1, , f m) be an ordered \(m\)m-tuple of polynomials in \(\mathbb{F}[\mathbf{x}]\)F[x]. Then every \(f \in \mathbb{F}[\mathbf{x}]\)f F[x] can be written as \[f = q_1 f_1 + \cdots + q_m f_m + r,\] where \(q_i, r \in \mathbb{F}[\mathbf{x}]\)q i, r F[x], and either \(r = 0\)r = 0 or \(r\)r is a linear combination, with coefficients in \(\mathbb{F}\)F, of monomials, none of which is divisible by any of \(\mathrm{LT}(f_1), \ldots, \mathrm{LT}(f_m)\)LT(f 1), , LT(f m). We call \(r\)r a remainder of \(f\)f on division by \(F\)F and denote it \(\overline{f}^F\)f F. Furthermore, if \(q_i f_i \neq 0\)q i f i 0, then \(\mathrm{LM}(f) \succeq \mathrm{LM}(q_i f_i)\)LM(f) LM(q i f i) (Cox 2015).
We can use the following algorithm for finding the polynomials \(q_i\)q i and \(r\)r.
Algorithm dw. Multivariate polynomial division.
Input: polynomials \(f_1, \ldots, f_m, f\)f 1, , f m, f.
Output: polynomials \(q_1, \ldots, q_m, r\)q 1, , q m, r.
- \(q_i \gets 0\)q i 0 for all \(i\)i, \(r \gets 0\)r 0, \(p \gets f\)p f.
- while \(p \neq 0\)p 0:
- \(i \gets 1\)i 1, \(\mathit{divisionoccured} \gets \mathit{False}\)divisionoccured False.
- while \(i \le m\)i m and \(\mathit{divisionoccured} = \mathit{False}\)divisionoccured = False:
- if \(\mathrm{LT}(f_i)\)LT(f i) divides \(\mathrm{LT}(p)\)LT(p):
- \(q_i \gets q_i + \mathrm{LT}(p) / \mathrm{LT}(f_i)\)q i q i + LT(p) / LT(f_i).
- \(p \gets p - (\mathrm{LT}(p) / \mathrm{LT}(f_i)) \cdot f_i\)p p - (LT(p) / LT(f i)) \cdot f i.
- \(\mathit{divisionoccured} \gets \mathit{True}\)divisionoccured True.
- else \(i \gets i + 1\)i i + 1.
- if \(\mathrm{LT}(f_i)\)LT(f i) divides \(\mathrm{LT}(p)\)LT(p):
- if \(\mathit{divisionoccured} = \mathit{False}\)divisionoccured = False:
- \(r \gets r + \mathrm{LT}(p)\)r r + LT(p), \(p \gets p - \mathrm{LT}(p)\)p p - LT(p).
- return \(q_1, \ldots, q_m, r\)q 1, , q m, r.