If this cubic has two equal roots, what can p be?
Question
A polynomial f(x) has a factor (x−a)2. Show that (x−a) is a factor of f′(x).
The equation x3−4x2−3x+p=0 has two equal roots; find the two possible values of p.
Solution
If
f(x)
has a factor
(x−a)2
then by we can write
f(x)=(x−a)2g(x)
for a polynomial
g(x)
(which may be constant). Thus, by the
product rule
f′(x)=dxd((x−a)2)g(x)+(x−a)2dxd(g(x))=2(x−a)g(x)+(x−a)2g′(x)=(x−a)(2g(x)+(x−a)g′(x)).
Since g(x) and g′(x) are polynomials, we have shown that f′(x) has (x−a) as a factor.
We can understand this result graphically as follows. If (x−a)2 is a factor, then f(x)=0 has a repeated root at x=a and the graph of y=f(x) touches the x-axis here. The gradient of the graph must therefore be zero at this point, f′(a)=0 and therefore (x−a) is a factor of f′(x).
Let f(x)=x3−4x2−3x+p, and let’s assume the repeated root is at x=a. Then (x−a)2 is a factor of f(x).
From the result above,
(x−a)
is a factor of
f′(x)=3x2−8x−3=(3x+1)(x−3)
so that a=3 or a=−31.
If a=3, then substituting x=a into x3−4x2−3x+p=0, we have p=18.
If a=−31, then from x3−4x2−3x+p=0, we have p=−2714.
Thus p=18 and p=−2714 are the two possible values for p.