Why polynomials need their own arithmetic
Dividing by need not produce a polynomial quotient with no remainder. To imitate integer division, we need a condition that specifies when the remainder is small enough. For polynomials that condition concerns degree, not the value at a particular input: subtracting a suitable multiple of the divisor cancels the highest remaining power of .
Throughout this chapter, the coefficients are real unless another field is explicitly named. The same definitions work over any field , for example , , or .
Polynomials as finite formal sums
Definition
Polynomial over R
A polynomial with real coefficients is a formal sum
where each and all but finitely many coefficients are zero. The set of all such polynomials is denoted by .
The word "formal" matters. A polynomial is not merely a function value at one particular ; it is the whole list of coefficients, with only finitely many nonzero entries. Once the coefficients are fixed, the polynomial expression is fixed.
Concept lensStructural
Coefficients first, values after substitution
Two formal polynomials are equal precisely when every corresponding coefficient agrees, including omitted zero coefficients. Thus and are equal. Evaluating at a real number instead produces the number . The infinite summation notation involves no convergence question: only finitely many summands are nonzero.
An evaluated value contains less information than the coefficient list. For example, and both give at but have different coefficients. Over , agreement at every real input does imply polynomial equality; later in this note the root bound will justify that converse. Until then, coefficient equality is the definition, and evaluation is an operation applied to the already-defined object.
If at least one coefficient is nonzero, the degree of is the largest index for which . If every coefficient is zero, we call the zero polynomial and set
This convention lets degree formulas include the zero polynomial without many exceptional cases.
A nonzero constant has degree , since its constant coefficient is its highest nonzero coefficient. The zero polynomial has no such coefficient and is not a degree-zero polynomial. In degree comparisons is smaller than every nonnegative integer; use and , including . These are conventions for degree bookkeeping, not claims that a polynomial has a negative integer exponent. The zero polynomial has no leading coefficient and is not monic.
A polynomial is monic if its leading coefficient is . For instance, is monic, while is not.
Common mistake
Do not read the displayed last term as the degree
If a polynomial is written as
then only when . The notation by itself does not guarantee that the displayed final coefficient is nonzero.
Addition, multiplication, and degree
Let
Their sum is formed coefficient-by-coefficient:
Their product is given by the convolution rule:
Only finitely many terms contribute, so the product is again a polynomial.
Theorem
Degree rules
For ,
- ;
- .
The second identity uses the fact that the coefficient field has no zero divisors.
The inequality in the first rule can be strict because leading terms may cancel. For example,
The product rule is stronger: if and are nonzero with leading coefficients and , then the coefficient of in is , which is nonzero.
To see why no higher product term survives, let and . A contribution at an index must have either or , so one coefficient is zero. At index , only the pair , can contribute. Its product is nonzero because the coefficients belong to a field. Consequently a product of two nonzero polynomials cannot be the zero polynomial.
For addition, every coefficient above is zero. If the degrees are unequal, the higher leading term has no counterpart to cancel, so the bound is attained. With equal degrees, cancellation can continue through all coefficients: has degree . If either factor in a product is zero, the product is zero and the stated conventions give the same rule.
Division by leading-term cancellation
Worked example
Divide a quartic by a quadratic
Find the quotient and remainder when
is divided by
The first quotient term must cancel . Comparing leading terms gives
so subtract . Its leading term disappears, leaving a cubic. At each subsequent step, cancel the new leading term in the same way, retaining the entire remaining polynomial, including the constant term:
After the first subtraction, the next leading-term comparison is
and after the second it is
The remainder has degree , below the divisor's degree , so the process stops. The quotient accumulates the multipliers .
In the second step, subtracting changes the signs of all its terms, not only the leading one. Keeping the unchanged constant visible prevents a dropped term.
Long division gives
Therefore
Follow the division steps: cancel each leading term to build the quotient, keeping with as the current remainder.
Division identity
For nonzero , polynomial division writes with or .
Chapter example
Divide by , building and one leading term at a time.
Cancel
The leading ratio gives the first quotient term ; subtracting leaves .
Cancel
Repeating the rule gives the second quotient term and updates the current remainder to .
Stop by degree
The last quotient term is ; the remainder has degree , which is smaller than .
Invariant
The final identity is .
Polynomial long division repeatedly cancels the current leading term while preserving , where is the current remainder. The process stops when the remainder is zero or its degree is smaller than the divisor degree.
Read and try
Step through polynomial long division
Polynomial long division successively cancels the highest-degree term. Each subtraction preserves the identity f=gq+r, and the final remainder has degree smaller than the divisor.
Division step
Set up the division
Dividend: ; divisor: .
Quotient
No quotient term yet
Current remainder
What to notice
At each step, choose the quotient term that cancels the current leading term.
Existence and uniqueness of quotient and remainder
The calculation works because each subtraction lowers the degree. The same cancellation proves that division with remainder is possible for every nonzero divisor; the degree bound also makes its result unique.
Theorem
Division algorithm for polynomials
Let with . Then there exist unique polynomials such that
For existence, consider the nonempty set
It contains by taking . If , choose with and take ; the remainder condition follows from . Otherwise every element of has nonnegative integer degree, so well-ordering gives an element of least degree.
Suppose , with leading coefficients and respectively. Since , the field permits the coefficient . Form
The exponent is nonnegative, so the added expression is a polynomial and is still in . The two leading terms cancel and all remaining terms have degree below . If , it contradicts ; otherwise its smaller degree contradicts minimality. Therefore , and supply the required pair.
Uniqueness is just as important as existence. If
with both remainders of degree less than , then
The left side is either zero or has degree at least ; the right side has degree strictly less than . Thus both sides must be zero, so and .
Proof X-Ray
Where the uniqueness contradiction occurs
Assume the quotients differ. Their difference is then a nonzero polynomial, whose degree is at least . Multiplying by nonzero makes the left side have degree at least . On the right, subtraction may cancel terms, but cannot increase the degree beyond that of the larger remainder. Thus the two sides cannot be equal. The quotients must agree, and substituting back forces the remainders to agree too. This argument uses the degree bound and the nonzero-divisor hypothesis together.
What the degree condition permits
If and , the unique pair is . If but , the unique pair is , ; no cancellation step is required. If the divisor is a nonzero constant , the remainder must have degree below . Only the zero polynomial qualifies, so and . Calling the zero polynomial degree would incorrectly exclude this valid remainder.
During long division, every unfinished nonzero remainder has a nonnegative integer degree. Cancelling its leading term strictly decreases that degree, so the process terminates. The final remainder need not be positive: unlike integer remainders, polynomials here have no sign restriction. A smaller degree, rather than a smaller value at a chosen input, is the stopping criterion.
Remainders from evaluation
When the divisor is linear, the division algorithm becomes especially powerful.
Theorem
Remainder theorem
Let and . When is divided by , the remainder is .
Indeed, the remainder has degree less than , so it is a constant . Writing
and substituting gives .
Here is regarded as a constant polynomial in the division identity; it may be zero. We do not divide the identity by and then substitute , since that would divide by zero. Evaluation is legitimate directly in the polynomial identity.
Polynomial divisibility means that if for some polynomial in the same coefficient field. For nonzero , this is equivalent to having zero remainder. In particular, every polynomial divides the zero polynomial, although division with remainder requires a nonzero divisor.
Theorem
Factor theorem
For and ,
The factor theorem translates between algebraic factorization and roots. It is one of the main reasons roots become useful: a root supplies a linear factor, and a linear factor supplies a root.
Worked example
Remainder modulo
Suppose the remainders when is divided by and are and , respectively. Find the remainder when is divided by .
By the remainder theorem,
The remainder upon division by has degree less than , so write it as . Then
Solving gives and . The remainder is therefore
Worked example
Choose a parameter with the factor theorem
Find so that
divides
By the factor theorem, divides exactly when . Compute
Thus , so
The important point is that we did not divide the cubic by . The factor theorem converts the factor condition into a single evaluation equation.
Checkpoint
What is the remainder when is divided by ?
Use the remainder theorem.
Solution · Answer
The remainder is .
How many roots can a nonzero polynomial have?
The factor theorem gives a degree bound on roots.
Theorem
Root bound
A nonzero polynomial of degree over or has at most distinct roots.
The base case is degree : a nonzero constant never evaluates to zero. Assume the bound for degree , and let have degree . If it has no roots, the claim already holds. Otherwise choose a root . The factor theorem gives , where is nonzero and has degree by the product rule.
For any distinct root , evaluation gives . The scalar is nonzero in the coefficient field, so . By induction there are at most such distinct roots, plus the one value . This proves the bound for degree . The argument does not require : even if is also a root of , it is still only one value in the set of roots.
An immediate consequence is that a polynomial of degree at most with distinct roots must be the zero polynomial. This is a uniqueness theorem: too many zeros force every coefficient to vanish.
The root bound also needs its exact hypotheses. The zero polynomial vanishes at every input and is excluded. The word “distinct” counts values, rather than the number of times a factor occurs. Applying the bound to shows that polynomials of degree at most agreeing at distinct inputs are equal: otherwise their nonzero difference would have too many roots. Agreement at every real input is a special case, completing the connection between formal polynomials and their evaluated functions.
Common mistakes
Common mistake
Confusing equality of values with equality of polynomials
Checking that two polynomials agree at one value of does not prove they are the same polynomial. To prove equality of polynomials, either compare all coefficients or show that their difference has more roots than its degree allows.
Common mistake
Forgetting the degree condition on the remainder
An identity of the form is not yet the division algorithm unless . Without that condition, the quotient and remainder are not unique; one can move a multiple of back and forth between and .
Summary
A polynomial is a finite-support formal sum. Degree measures the leading nonzero coefficient, and it controls addition, multiplication, and division. The division algorithm gives unique and ; the remainder theorem turns division by into evaluation at ; the factor theorem identifies roots with linear factors; and the root bound explains why too many roots force a polynomial to be zero.
Choosing an argument
For a degree calculation, check whether leading terms cancel before using the sum rule: two fourth-degree polynomials can sum to a quadratic, a linear polynomial, a constant, or zero. The product rule is exact for nonzero factors because their leading coefficients have nonzero product.
For the roots-of-unity exercise, use the factor theorem at and , then use . The divisibility of becomes two linear equations in and , without expanding a large polynomial.
Quick checks
Checkpoint
Why is the degree of the zero polynomial set to ?
Think about formulas involving addition and multiplication.
Solution · Answer
The convention lets degree rules such as remain formally consistent.
Checkpoint
If a nonzero polynomial has degree at most , how many distinct roots can it have?
Use the root bound.
Solution · Answer
It can have at most distinct roots.
Exercises
- Let and . Find the upper bound for the degree of supplied by the degree rule, then compute its actual degree.
- Divide by .
- Use the remainder theorem to find the remainder when is divided by .
- Suppose and . Reconstruct the remainder of modulo .
- Prove that substitution preserves this divisibility relation: if , , and is divisible by , then both and are divisible by .
Solution · Model solution 1
The degree rule gives the upper bound , but the and terms cancel. Thus , whose degree is .
Solution · Model solution 2
The quotient is and the remainder is .
Solution · Model solution 3
Since the divisor is , the remainder is .
Solution · Model solution 4
Write the remainder as . Then and , so , , and the remainder is .
Solution · Model solution 5
Let . Since , the hypothesis gives and , because . Subtracting gives , and , hence , and then . By the factor theorem, divides both and .