
5.7. The Low Degree Test 149
We will show now that the reverse direction of this implication holds as well:
Suppose that there exist polynomials e' of degree at most a and q' of degree
at most a + d with
q'(t) = e'(t)f(x + th)
for all t E F, where
e'
is not the
zero polynomial. If furthermore e t divides q', we can obviously find a polynomial
p := q'/e'
satisfying the required conditions. On the other hand, if e' does not
divide q', we claim that such a polynomial p does not exist: Indeed, if there were
one, we could find q and e as above, and conclude that
q~(t)e(t)f(x + th) =
q(t)e'(t)f(x + th)
for all t E F, and since
f(x + th) = 0
implies
q(t) = q'(t) = 0
by choice of q and q', we have even
q'(t)e(t) = q(t)e'(t)
for all t E F. But since
q'(t)e(t)
and
q(t)e'(t)
are both polynomials of degree at most 2a + d, and they
agree at IF[ points, where IFI > 2a + d by definition of a, we conclude that
q'e
and
qe' are
the same polynomial. As q =
pe
by definition, we see that
qe'
and hence
q'e
is divisible by ee', and thus e' divides q', in contradiction to our
assumption.
Thus the required algorithm can proceed as follows: It first tries to find polyno-
mials q of degree at most
a+d
and e of degree at most a with
q(t) = e(t)f(x+th)
for all t E F, where e ~ 0. Note that this is equivalent to finding a nontrivial
solution to the system of IF[ linear equations
aWd a
q,t' =
+
th)
e,t' for all t 9 f
i=0 i=0
in the 2a+ d <
IFI
variables qi and ei. Obviously, if such a solution exists, it can
be found (using e.g. Gauss elimination) in time polynomial in
IFI.
If no solution
is found, or if the resulting polynomial e does not divide q, no polynomial p with
the required properties exists, as was shown above. Otherwise, the procedure
returns the polynomial p :=
q/e. 9
As in the bivariate case, we begin by stating the deterministic result that builds
the basis of the randomized version we will prove later: To check whether a
function f: F m ~ F can be described by a polynomial of degree d, it suffices
to test whether all restrictions of f to some line
lx,h
agree with some univariate
polynomial of degree at most d.
Lemma 5.67.
Let m, d E N be constants and F be a finite field with IFI > 2d.
A function f: F m --+ F is a polynomial of total degree at most d if and only if for
all x, h E F m the restriction f~,h defined by ]x,h(t)
:=
f(x + th) is a univariate
polynomial o.f degree at most d.
Proo].
One direction is obvious. We will prove the other direction by induction
on m. The case m = 1 is trivial, so let m > 1. Let
ao,... ,ad
be distinct points
in F. According to the induction hypothesis, for all i ~< d the function fi defined
by
fi(x2,..., xm) := f(ai, x2,..., xm)
is described by a (m - 1)-ary polynomial
of total degree d.