Curious Minds

Clear answers to science and history questions

What Polynomial Has Equal Roots?

· 6 min read · Science

A polynomial has equal roots when two or more of its roots — the values that make the polynomial equal zero — coincide. Put most simply, the polynomial with equal roots is one that can be written as a repeated factor, such as (x − 3)² for the quadratic x² − 6x + 9, whose only root is x = 3 but which, counted with multiplicity, has two roots. The key fact is that equal roots appear precisely when the polynomial and its derivative share a common factor, which means the polynomial and its derivative vanish at the same point. That single condition is what algebraists and anyone solving equations looks for, because it marks a multiple root.

What "Equal Roots" Actually Means

Every degree-n polynomial with real or complex coefficients has exactly n roots in the complex numbers, counted with multiplicity — this is the fundamental theorem of algebra. A root is said to be equal or repeated when the same value occurs more than once in that list. In the factorization

a·(x − r₁)(x − r₂)···(x − rₙ)

a root r appears with multiplicity m if the factor (x − r) occurs m times. If m = 1 the root is simple; if m ≥ 2 the root is equal to itself, so to speak — a multiple root.

Two related but distinct ideas are often confused here:

  • Equal roots within one polynomial: a single equation with a repeated solution, such as (x − 2)³ = 0.
  • Two polynomials sharing roots: different equations that happen to have a root in common, which is measured by the resultant or the greatest common divisor of the polynomials.

The phrase "polynomial with equal roots" usually refers to the first case.

The Discriminant and the Derivative Test

The most reliable algebraic test for equal roots is the discriminant. For a quadratic ax² + bx + c, the discriminant is Δ = b² − 4ac. When Δ = 0, the two roots coincide and the quadratic factors as a perfect square. When Δ > 0 the roots are distinct and real; when Δ < 0 they are distinct and complex conjugates.

For higher degrees no single formula covers everything, but the underlying principle does. A polynomial p(x) has a multiple root r if and only if both p(r) = 0 and p′(r) = 0. That is because near a multiple root the graph only touches the axis and turns back rather than crossing it, which flattens the slope to zero. Equivalently, the greatest common divisor of p(x) and p′(x) has degree at least one.

The more general invariant is the resultant or discriminant of p, which is a single number assembled from the coefficients. It vanishes exactly when p has at least one repeated root. For the cubic x³ + px + q it equals −4p³ − 27q², and this appears in the cubic formula: a zero discriminant signals repeated roots.

An Example

  • x² − 6x + 9 factors as (x − 3)², so the single root x = 3 has multiplicity 2. Here b² − 4ac = 36 − 36 = 0.
  • x³ − 3x² + 3x − 1 is (x − 1)³, so x = 1 has multiplicity 3 and the graph has a flat inflection there.
  • x⁴ − 4x³ + 6x² − 4x + 1 is (x − 1)⁴, a root of multiplicity 4.
  • (x − 2)²(x + 5) = x³ + x² − 16x + 20 has one double root at 2 and one simple root at −5 — a mixed case worth noting, since a polynomial does not have to be a perfect power to contain equal roots.
  • x³ − 3x + 2 factors as (x − 1)²(x + 2), so x = 1 is double.

A useful check: if you differentiate (x − r)² you get 2(x − r), which is also zero at r. That is the derivative test in an example.

How to Find Equal Roots in Practice

  1. Write p(x) in standard form.
  2. Compute its derivative p′(x) term by term.
  3. Find any common roots of p and p′ — often by dividing p by p′ or finding their gcd using the Euclidean algorithm on polynomials.
  4. Factor out the repeated part. If d(x) is the gcd of p and p′, then p(x)/d(x) has only simple roots, and this quotient is sometimes called the square-free part of p.

Example: p(x) = x³ − 3x + 2 and p′(x) = 3x² − 3. The gcd is x − 1, so x − 1 is a repeated factor and p is divisible by (x − 1)².

The square-free part idea also matters in computer algebra, where algorithms manipulate polynomials symbolically and need to remove repeated factors before integration or factoring. A polynomial is called square-free when it has no repeated roots.

Geometric and Conceptual Meaning

A repeated real root means the graph of the polynomial is tangent to the x-axis at that point instead of cutting across it. A double root is a minimum or maximum touching point; a triple root is a point of inflection that still crosses the axis. Visually, equal roots look like the curve kissing the axis.

There is a deeper algebraic view too. Over the complex numbers every polynomial splits completely, so repeated roots are the rule if you build them deliberately — you simply multiply a factor by itself. The interesting fact is that a generic polynomial has distinct roots; equal roots require a special relationship among coefficients, one that forces the discriminant to vanish. This is why repeated roots are often described as "measure zero" in the simplest intuitive reading: a tiny change of coefficients usually removes the coincidence.

Common Misconceptions

  • "Equal roots means all roots are the same." Not always. A polynomial can have just one pair of equal roots among several distinct ones, as in (x − 2)²(x + 5).
  • "A multiple root can't be counted twice." It must be, if you want the count of roots to equal the degree. Multiplicity is the standard accounting.
  • "No real solutions but equal complex roots." Repeated roots can be complex too; a repeated complex root has multiplicity ≥ 2 and appears in its conjugate as well if coefficients are real. A real-coefficient polynomial cannot have an odd multiplicity complex root without its conjugate duplication, so complex repeats come in pairs.

Frequently Asked Questions

What is a polynomial with equal roots called?

It is often described as having a multiple root or repeated root, and the polynomial itself can be called degenerate in the sense that its discriminant is zero. It is not a standard single word, but "polynomial with a multiple root" is the usual phrasing.

How do you know if a polynomial has equal roots without solving it?

Compute the discriminant or check whether the polynomial and its derivative share a factor using the polynomial gcd. If their gcd has degree at least one, the polynomial has a repeated root.

Can a polynomial have three equal roots?

Yes. Something like (x + 2)³ gives a triple root at x = −2. The factorization shows the multiplicity directly.

Do equal roots only happen with real numbers?

No. Root equality is meaningful over the complex numbers and in other number systems, and the discriminant test works over any field, though the behavior of solutions depends on the coefficients and the underlying field.

Is (x − r)² always a perfect-square quadratic?

Yes, up to a constant factor. Expanding gives x² − 2rx + r², whose discriminant is 4r² − 4r² = 0, the exact discriminant condition for equal roots.

What does an equal root look like on a graph?

The curve touches the horizontal axis at that point and turns back, rather than crossing. At a double root it is a tangent contact; at a triple root the curve crosses while flattening.

In this article
  1. What "Equal Roots" Actually Means
  2. The Discriminant and the Derivative Test
  3. An Example
  4. How to Find Equal Roots in Practice
  5. Geometric and Conceptual Meaning
  6. Common Misconceptions
  7. Frequently Asked Questions