Polynomials: a reasoned guide

From basic manipulations to the algebraic structure you will meet at university. The goal is not to memorize a bag of tricks, but to recognize which idea applies and why it works.

1. Essential language

A polynomial in one variable with coefficients in a set K has the form

P(x)= anxn +anβˆ’1xnβˆ’1 +β‹―+a1x +a0

where the exponents are non-negative integers and the coefficients belong to K, for example β„š, ℝ or β„‚.

Degree

If an≠0, its degree is n. We write deg(P)=n.

Special terms

an is the leading coefficient; a0 is the constant term. A polynomial whose leading coefficient is 1 is monic.

Zero polynomial

All its coefficients are zero. Its degree is not treated like that of other polynomials; a common convention is deg(0)=βˆ’βˆž.

Equality

Two polynomials are equal when the coefficients of corresponding powers are equal. Agreeing at one or a few values of x is not enough.

A polynomial and an expression are not the same thing. 1x, x and xβˆ’2 are not polynomials in x, because they respectively contain a variable in the denominator, a fractional exponent and a negative exponent.

2. Operations and degrees

Operation Rule Remark
Sum Add the coefficients of terms with the same power. deg(P+Q)≀max{deg(P),deg(Q)}; the degree may decrease through cancellation.
Product Use the distributive property and add the exponents of powers being multiplied. Over β„š, ℝ or β„‚, if P,Qβ‰ 0, then deg(PQ)=deg(P)+deg(Q).
Power Multiply the polynomial by itself repeatedly. deg(Pk)=k·deg(P) for P≠0 and k>0.
Composition Substitute Q(x) for x in P. deg(P∘Q)=deg(P)·deg(Q) if both have positive degree.
(2x2βˆ’3x+1) +(x2+5xβˆ’4) =3x2+2xβˆ’3

3. Algebraic identities

These are identities: they hold for every choice of the expressions A and B. You should be able to use them in both directions, to expand and to factor.

Name Identity Pattern to recognize
Square of a sum (A+B)2=A2+2AB+B2 Two squares and a positive twice-product.
Square of a difference (Aβˆ’B)2=A2βˆ’2AB+B2 Two squares and a negative twice-product.
Sum times difference (A+B)(Aβˆ’B)=A2βˆ’B2 A difference of squares.
Cube of a sum (A+B)3=A3+3A2B+3AB2+B3 Coefficients 1, 3, 3, 1 and complementary powers.
Cube of a difference (Aβˆ’B)3=A3βˆ’3A2B+3AB2βˆ’B3 Coefficients 1, 3, 3, 1 with alternating signs.
Sum of cubes A3+B3=(A+B)(A2βˆ’AB+B2) The binomial keeps the sign; in the trinomial the mixed term has the opposite sign.
Difference of cubes A3βˆ’B3=(Aβˆ’B)(A2+AB+B2) The binomial keeps the sign; every sign in the trinomial is positive.

The general formula: the binomial theorem

(A+B)n = βˆ‘k=0n (nk) Anβˆ’k Bk

The binomial coefficients (nk) give the rows of Pascal’s triangle. This formula reappears in combinatorics, probability, calculus and linear algebra.

4. Factoring techniques

Factoring means writing a polynomial as a product of lower-degree polynomials. The factorization depends on the allowed coefficient set.

Common-factor extraction

Extract the greatest common factor: 6x3βˆ’9x2=3x2(2xβˆ’3).

Factoring by grouping

Group terms that share a common factor: x3+x2+2x+2=(x+1)(x2+2).

Using identities in reverse

9x2βˆ’25=(3xβˆ’5)(3x+5).

Substitution

Recognize a simpler structure: letting t=x2, x4βˆ’5x2+4 becomes t2βˆ’5t+4.

Finding a root

If you find Ξ± such that P(Ξ±)=0, then (xβˆ’Ξ±) is a factor. Divide and continue with the quotient.

Completing the square

x2+6x+5=(x+3)2βˆ’4, then use the difference of squares.

First practical rule: always look for a common factor, including a numerical or negative one. It is the cheapest check and makes every later structure easier to see.

5. Quadratic trinomials

For the monic trinomial x2+sx+p, look for two numbers u and v whose sum is s and whose product is p:

x2+(u+v)x+uv =(x+u)(x+v) x2βˆ’5x+6 =(xβˆ’2)(xβˆ’3)

In the general case ax2+bx+c, calculate the discriminant Ξ”=b2βˆ’4ac. If the roots are x1 and x2, then

ax2+bx+c =a(xβˆ’x1)(xβˆ’x2)
  • If Ξ”>0, there are two distinct real roots.
  • If Ξ”=0, there is one repeated real root and the trinomial is a perfect square up to the factor a.
  • If Ξ”<0, it has no factorization into real linear factors, but it does factor over β„‚.

ViΓ¨te’s formulas give x1+x2=βˆ’ba and x1x2=ca: they are useful far beyond factoring.

6. Euclidean division of polynomials

If A(x) and B(x)β‰ 0 have coefficients in a field, there are unique polynomials Q and R such that

A(x) =B(x)Q(x)+R(x) R=0  or  deg(R)<deg(B)

Long-division algorithm

  1. Order dividend and divisor by descending powers, inserting zero coefficients for missing terms.
  2. Divide the leading term of the current dividend by the leading term of the divisor to get the next quotient term.
  3. Multiply the divisor by that term and subtract.
  4. Repeat until the remainder has lower degree than the divisor.
(2x3+3x2βˆ’5x+6) :(x+2) Q(x)=2x2βˆ’xβˆ’3 , R=12

Check: (x+2)(2x2βˆ’xβˆ’3)+12 reconstructs the dividend.

7. Remainder theorem, factor theorem and roots

Remainder theorem

The remainder when dividing P(x) by xβˆ’Ξ± is the number P(Ξ±).

Factor theorem

P(Ξ±)=0 if and only if xβˆ’Ξ± divides P(x). In Italy this is often called Ruffini’s theorem.

Multiplicity

Ξ± has multiplicity m if (xβˆ’Ξ±)m divides P, but the next power does not.

The remainder theorem follows directly from division:

P(x)=(xβˆ’Ξ±)Q(x)+r P(Ξ±)=0Β·Q(Ξ±)+r=r
A nonzero polynomial of degree n has at most n distinct roots. Counting multiplicity, a complex polynomial of degree n has exactly n roots: this is the fundamental theorem of algebra.

8. Synthetic division

Ruffini’s rule is synthetic division: it shortens division by a monic linear divisor xβˆ’Ξ±. It does not apply directly to divisors such as x2+1 or 2xβˆ’3.

Example: divide 2x3βˆ’3x2βˆ’11x+6 by xβˆ’3.

Ξ±=3 2 βˆ’3 βˆ’11 6
products 6 9 βˆ’6
sums 2 3 βˆ’2 0
  1. Write every coefficient, including zeros for missing terms.
  2. Bring down the first coefficient.
  3. Multiply it by Ξ±, write the result under the next coefficient and add.
  4. Repeat. The last number is the remainder; the others are the quotient coefficients.

Here the quotient is 2x2+3xβˆ’2 and the remainder is zero. Therefore

2x3βˆ’3x2βˆ’11x+6 =(xβˆ’3)(2x2+3xβˆ’2) =(xβˆ’3)(2xβˆ’1)(x+2)

9. Rational root theorem

For a polynomial with integer coefficients

P(x)=anxn+β‹―+a0

If a reduced fraction pq is a rational root, then p divides the constant term a0 and q divides the leading coefficient an.

Monic polynomial

If the leading coefficient is 1, every possible rational root is an integer dividing the constant term.

The theorem narrows the search; it does not guarantee a root

Candidates must be checked by evaluating P(pq). A divisor of the constant term is not automatically a root.

Zero constant term

If a0=0, factor out x: zero is already a root.

For 2x3βˆ’3x2βˆ’11x+6, the only rational candidates are Β±1,Β±2,Β±3,Β±6,Β±12,Β±32. The search is now finite.

10. Factorization depends on the field

Polynomial Over β„š Over ℝ Over β„‚
x2βˆ’2 It has no factorization into rational linear factors. (xβˆ’2)(x+2) The same real factorization.
x2+1 Irreducible. Irreducible. (xβˆ’i)(x+i)
x4+4 (x2βˆ’2x+2)(x2+2x+2) Each quadratic factor splits further into linear factors.
  • Irreducible means that it cannot be factored into nonconstant polynomials over the chosen field.
  • Over β„‚ every nonconstant polynomial factors into linear factors.
  • Over ℝ the only irreducible factors have degree 1, or degree 2 with negative discriminant.
  • Over β„š irreducible factors may have any degree.
Gauss’s lemma, which you will meet in algebra, provides a controlled passage between primitive polynomials in β„€[x] and factorizations in β„š[x]. In practice, after extracting the greatest common divisor of the coefficients, looking for rational factors is equivalent to looking for suitable integer factors.

11. Polynomial GCD and the Euclidean algorithm

As with integers, the greatest common divisor of two polynomials is found through repeated division:

A=BQ1+R1 B=R1Q2+R2 , β€¦

The last nonzero remainder, made monic, is the GCD. This method is more fundamental than full factorization: it works even when the factors are not apparent.

Coprime polynomials

P and Q are coprime if their GCD is 1, up to nonzero constants.

BΓ©zout’s identity

There are polynomials U and V such that UP+VQ=GCD(P,Q).

Repeated roots

In characteristic zero, P has repeated roots if and only if GCD(P,Pβ€²)β‰ 1.

12. Rational expressions

A rational expression is a quotient P(x)Q(x) with Q(x)β‰ 0. Factoring numerator and denominator allows simplification, but does not erase the original domain restrictions.

x2βˆ’1 x2βˆ’x = (xβˆ’1)(x+1) x(xβˆ’1) = x+1x

The simplified form is equivalent only for x≠0,1.

Cancel factors, not terms in a sum. In x+1x you cannot β€œcancel the x”.

13. Working strategy

  1. Normalize. Order by degree, combine like terms and explicitly include any zero coefficients.
  2. Extract common factors. Extract the greatest numerical and algebraic common factor.
  3. Look at the form. Count the terms and look for identities, grouping or a substitution such as t=x2.
  4. Use the degree. For degree 2, use the discriminant and roots; for higher degrees, look for possible rational roots.
  5. Divide. Once you find a root, use synthetic or long division and repeat on the quotient.
  6. Decide where to stop. A factor may be irreducible over β„š but not over ℝ or β„‚: always state the field.
  7. Check. Multiply the factors back out, compare the degree and leading coefficient, then check the constant term.

14. Common mistakes

The β€œdistributed” square

(A+B)2β‰ A2+B2: the term 2AB is missing.

Sign before parentheses

βˆ’(Aβˆ’B)=βˆ’A+B. The sign changes for every term.

Missing terms in synthetic division

In x3βˆ’4x+1 the coefficients are 1,0,βˆ’4,1, not three numbers.

Sign of the divisor

To divide by x+3 with synthetic division, use Ξ±=βˆ’3.

Mistaking a candidate for a root

The rational root theorem only produces a list of candidates; each one must be checked.

Stopping division too early

The remainder is valid only when its degree is strictly less than the divisor’s degree.

Lost domain restrictions

Canceling a denominator factor does not restore the values that made it zero to the domain.

Factorization without a field

Saying that a polynomial β€œdoes not factor” is incomplete: specify whether you are working over β„š, ℝ or β„‚.

15. Graded exercises

Try to justify every step and reveal the solution only at the end.

1. Common factor and difference of squares

Factor 3x3βˆ’12x.

Show solution

First factor out 3x, then recognize a difference of squares:

3x(x2βˆ’4)=3x(xβˆ’2)(x+2).

2. Non-monic trinomial

Factor 6x2+xβˆ’2.

Show solution

The roots are 12 and βˆ’23. Therefore

6x2+xβˆ’2=(2xβˆ’1)(3x+2).

3. Substitution

Factor over ℝ x4βˆ’5x2+4.

Show solution

With t=x2 you get t2βˆ’5t+4=(tβˆ’1)(tβˆ’4).

Therefore (xβˆ’1)(x+1)(xβˆ’2)(x+2).

4. Remainder without division

Find the remainder when dividing x5βˆ’2x2+7 by xβˆ’2.

Show solution

By the remainder theorem, it is enough to calculate P(2)=32βˆ’8+7=31.

5. Synthetic division and complete factorization

Factor over β„š x3βˆ’4x2+x+6.

Show solution

The integer candidates are Β±1,Β±2,Β±3,Β±6. Since P(2)=0, synthetic division gives the quotient x2βˆ’2xβˆ’3.

Result: (xβˆ’2)(xβˆ’3)(x+1).

6. Multiplicity

Find the roots and their multiplicities for x4βˆ’2x3+x2.

Show solution

x2(x2βˆ’2x+1)=x2(xβˆ’1)2.

The roots 0 and 1 both have multiplicity 2.

7. Field of factorization

Factor x4βˆ’2 over β„š and over ℝ.

Show solution

It is irreducible over β„š. Over ℝ, letting a=24, we have x4βˆ’2=(xβˆ’a)(x+a)(x2+a2).

The last factor, x2+2, is irreducible over ℝ.

8. Rational expression

Simplify x2βˆ’4x2βˆ’3x+2 and state the restrictions.

Show solution

(xβˆ’2)(x+2)(xβˆ’1)(xβˆ’2)=x+2xβˆ’1, with xβ‰ 1,2.

What you should know before university

  • Move confidently between expanded and factored form.
  • Use algebraic identities and the distributive property without losing signs or terms.
  • Perform polynomial division and check it with A=BQ+R.
  • Connect roots, factors, remainders, signs and multiplicities.
  • Factor low-degree polynomials using common factors, substitutions, the discriminant and synthetic division.
  • Simplify rational expressions while preserving domain restrictions.
  • Distinguish examples, conjectures and proofs, and justify why each technique applies.
  • Remember that β€œirreducible” and β€œfully factored” depend on the coefficient field.
In algebra courses these objects become the ring K[x]; in calculus you will use factorizations and multiplicities for limits, signs and expansions; in linear algebra polynomials enter through eigenvalues, characteristic polynomials and diagonalization.