The idea in plain words
Think of a polynomial as a smooth, rolling landscape. A root is where that landscape touches the ground — the x-axis. Now, the derivative is like a speedometer: it tells you how steep the slope is at any point.
So here's the question: when the curve meets the axis, is it charging across it, or just gently kissing it and bouncing back?
The derivative is your "repeated root detector" — if the slope is zero at a root, that root is repeated. The curve has flattened out there.
Why this works
If a root r appears m times (multiplicity m), the polynomial looks like:
P(x)=(x−r)m⋅Q(x)
where Q(r)=0 — meaning the rest of the polynomial doesn't vanish at r.
Now differentiate:
P′(x)=m(x−r)m−1Q(x)+(x−r)mQ′(x)
Every term has at least one factor of (x−r) when m≥2. So plugging x=r gives P′(r)=0. Each time you differentiate, you lose one factor of (x−r) — until the m-th derivative finally escapes the zero.
Step by step
-
Simple root (m=1): P(r)=0, but P′(r)=Q(r)=0. The curve crosses the axis with a non-zero slope.
-
Double root (m=2): P(r)=0, P′(r)=0, but P′′(r)=0. The curve touches the axis and turns back.
-
Triple root (m=3): P(r)=P′(r)=P′′(r)=0, but P′′′(r)=0. The curve flattens even more — an inflection point on the axis.
In general, for multiplicity m:
P(r)=P′(r)=P′′(r)=⋯=P(m−1)(r)=0,P(m)(r)=0
A concrete example
Take P(x)=(x−2)3(x+1) …