a) In the forward direction (⇒), suppose that a is a double root of f. Then a is a root of f′ since f(x)=(x−a)2g(x). Furthermore,
f′(x)=2(x−a)g(x)+(x−a)2g′(x).
So f′(a)=0, and therefore a is also a root of f′.
In the backward direction (⇐), suppose that a is a root of both f and f′. We can therefore write f(x)=(x−a)q(x) for some polynomial function q. Differentiating this function gives
f′(x)=q(x)+(x−a)q′(x).
But since a is a root of f′, q(a) must have a as a root. Hence, q can be written as q(x)=(x−a)h(x) for some polynomial function h, and thus f(x)=(x−a)2h(x), thereby proving that a is a double root of f.