3

My professor asked us to prove that $P =\{1,x,x^2,\dots, x^n \dots \}$ is a basis for polynomials. This is pretty simple if you are working over $\mathbb{R}$, however he did not specify which field (though it was clear he meant $\mathbb{R}$).

In order for $P$ to be a basis, its elements must be linearly independent. This is easy to prove over an infinite field, by finitely many roots. However, $P$ is not necessarily linearly independent over finite fields. For instance, in $\mathbb{Z}_2$, $x^n + x = 0$ for all $x$.

My question is if there is a basis for all polynomials over a finite field? My abstract algebra is weak and this was just something I noticed in my introductory linear algebra course.

oernik
  • 354
  • 2
  • 9
  • What is your definition of a polynomial? Usually the fact that the $x^i$ are a basis follows directly from the definition. But if you think of polynomials as functions then you are right, they are not a basis (over a finite field). – Captain Lama Feb 03 '20 at 18:30
  • I don’t think that’s right, @CaptainLama, on ’counta any nonzero polynomial over a finite field will be nonzero as a function on some larger field. – Lubin Feb 03 '20 at 18:38
  • See also here for more discussion about why polynomials are defined as "formal" as opposed to "functions". – Jyrki Lahtonen Feb 03 '20 at 18:40
  • @Lubin That is if you interpret a polynomial function as a function on any field extension (kind of like a functorial definition), which seems very far from what the OP has in mind. – Captain Lama Feb 03 '20 at 18:40
  • @CaptainLama I was thinking more along the lines of a polynomial as a function, though the other definition makes sense in this context. I am still curious about the functional definition, however. –  Feb 03 '20 at 18:42
  • Yes, a polynomial gives you a function, in fact if it’s a $K$-polynomial, then for every commutative “$K$-algebra $A$”, you will get a function $A\to A$ defined by evaluating elements of $A$ at your polynomial. This is certainly a view taken in higher mathematics, without abandoning the recognition that the polynomial is still a formal sum of powers of the variable. Always best to keep different concepts separate, in the interest of precision and full understanding. – Lubin Feb 03 '20 at 23:32

4 Answers4

5

You’re confusing the function defined by a polynomial with the polynomial itself, which is just a formal sum of the powers of a variable. Even over the finite field $\Bbb F_p$, the polynomial $x^p-x$ , which is indeed identically zero on the field $\Bbb F_p$, is still a nonzero polynomial.

Lubin
  • 62,818
5

This is a frequent point of confusion.

It is true that, say, $x^3$ and $x$ take the same values $\pmod 3$ as $x$ runs through the residues $\pmod 3$. However, they are not the same polynomial. Two polynomials $\sum_{i=0}^na_ix^i$ and $\sum_{i=0}^{m}b_ix^i$ are said to be the same if and only if $a_i=b_i$ for all $i$. Note that this implies that the degrees are the same.

With this definition, the linear independence of the monomials $\{x^i\}$ is clear.

As a partial justification of this definition, note that, while $x^3$ and $x$ take the same values in the finite field $\mathbb F_3$, they take different values in extension fields, $\mathbb F_9$ for instance. Indeed, by the usual results from field theory, the polynomial $x^3-x$ could only have at most three roots in any field.

lulu
  • 70,402
  • Thank you, this clears it up. As an added point of curiosity, taking polynomials as the function definition (the way I was defining it), would a basis exist? –  Feb 03 '20 at 18:40
  • 1
    Sure. Sticking to $\mathbb F_3$, for example, the monomials $1, x, x^2$ are independent. Any polynomial of higher degree is "equivalent" to a quadratic using $x^3\sim x$. Thus, say, $x^7+2x^6+1\sim (x^3)(x^3)(x)+2(x^3)(x^3)+1=x^3+2x^2+1\sim 2x^2+x+1$. And no two quadratics are equivalent (since no non-zero quadratic can have three roots). – lulu Feb 03 '20 at 18:44
  • 3
    As a different way of thinking about it: over a finite field (or any finite set) there are only finitely many functions. If your field (set) has $n$ elements then there are $n^n$ functions. Given a field with $n$ elements, the finite set of functions over that field is a vector space of dimension $n$ over the field, and a natural basis for it would be the characteristic functions of the elements (for each element $i$ the function $\chi_i$ which is $1$ on $i$ and $0$ elsewhere). – lulu Feb 03 '20 at 19:12
  • Very clear. Thanks for this. – Lubin Feb 03 '20 at 23:27
3

There is a basis of the vector space of the polynomials (in one variable) over any field ... and it is $1, x, x^2, x^3, \ldots$

This is because polynomials are not functions - they are expressions (in a loose sense, e.g. see https://en.wikipedia.org/wiki/Polynomial_ring. This can be formalised in different ways). The main point is that two polynomials are considered equal if and only if all their corresponding coefficients are equal. Thus any finite subset of $\{1, x, x^2, x^3, \ldots\}$ is linearly independent - and obviously every polynomial is a (finite) linear combination of $1, x, x^2, x^3$ etc.

This is all valid regardless of what happens later if you try to substitute the "variable" (symbol) $x$ by elements from the field. In your example, the polynomial $x^2+x$ is nonzero in $\mathbb Z_2[x]$, even if the value of it is zero for each $x\in\mathbb Z_2$.

There is a different concept of a polynomial function, which is the function calculated by a (polynomial) expression. For example, $f(x)=x^2+x$ is a function $f:\mathbb Z_2\to\mathbb Z_2$ and, as a function, it is equal to the zero function. Two different polynomials, as you can see ($0$ and $x^2+x$ from $\mathbb Z_2[x]$) provide you with the same polynomial function.

However, this can happen precisely when the field is finite:

  • For a finite field $F$ with $q$ elements, the $q-1$ invertible elements make up a (commutative) group with respect to multiplication, so the order of every element divides the order of the group (Lagrange's theorem), i.e. for each $x\in F\setminus\{0\}$ we have $x^{q-1}=1$. By multiplying by $x$, one easily derives from this that, for each $x\in F$, $x^q=x$, so the polynomial $x^q-x$ has a zero function as its polynomial function, even if the polynomial itself is nonzero.

  • For an infinite field $F$, two different polynomials must provide for two different polynomial functions. Otherwise, their difference would vanish (i.e. have a zero) at every element of the field. Then it easily follows that the difference itself (as a polynomial) is zero. (A nonzero polynomial can have at most as many zeros as its degree!)

-3

The definition of an $n$-dimensional vector space, $V$ is that any vector $u \in V$ can be written as a linear combination of the space's basis vectors and that no linear combination of these basis vectors is in the nullspace of $V$.

Let the set of vectors $S = \{u_1, ..., u_n \}$, by definition of linear independence then $S \subset span\{U\}$ iff $U$ is at least $n$ dimensional.