Let F be a field and F[X] denote the ring of polynomials over F in a single variable X. For f(X),g(X)∈F[X] with g(X)=0, show that there exist q(X),r(X)∈F[X] such that deg(r(X))<deg(g(X)) and f(X)=q(X)⋅g(X)+r(X).
(Convention: deg0=−∞, so the inequality degr<degg also covers the case r=0.)
Technique
Strong induction on degf; each step subtracts anbm−1Xn−mg to cancel the leading term (this is polynomial long division). Field ⇒bm−1 exists; domain ⇒ degree additive (for uniqueness).
Solution
We prove existence of the quotient q and remainder r (the question asks only for existence; we add uniqueness as a bonus). The field hypothesis is used to divide by the leading coefficient of g, which is the one place invertibility is needed.
Step 1 — Set up; trivial case
Let g(X)=bmXm+⋯+b0 with leading coefficient bm=0, so degg=m≥0 and bm is invertible in F (field).
If f=0, take q=r=0: then degr=−∞<degg and f=qg+r. Likewise if degf<degg, take q=0,r=f; then degr=degf<degg and f=0⋅g+f. Both satisfy the requirement, so assume henceforth f=0 and degf≥degg.
Step 2 — Existence by strong induction on degf
We argue by strong induction on n=degf(≥m).
Inductive construction (one reduction step). Let f(X)=anXn+⋯+a0 with an=0, n≥m. Define the “leading-term cancelling” polynomial
f1(X)=f(X)−=:q1(X)anbm−1Xn−mg(X).
This uses bm−1∈F, available because F is a field. The term of degree n in q1g is (anbm−1Xn−m)(bmXm)=anXn, which exactly cancels the leading term of f. Hence
degf1<n=degf.
Base / induction hypothesis. Apply the statement to f1, which has strictly smaller degree:
If degf1<m=degg, we are done in one step: f=q1g+f1 with remainder r=f1, degr<degg.
Otherwise degf1≥m; by the strong induction hypothesis (degree strictly less than n) there exist q2,r∈F[X] with
f1=q2g+r,degr<degg.
Substitute back:
f=q1g+f1=q1g+q2g+r=(q1+q2)g+r.
Set q=q1+q2. Then f=qg+r with degr<degg. This completes the induction, establishing existence for all f.