If the equation x2+2(k+2)x+9k=0 has equal roots, then values of k are _____.
1, 4
Step 1:- For, x2+2(k+2)x+9k=0, value of discriminant D=4(k+2)2–4(9k)=k2+4−5k
Step 2:- The roots of quadratic equation are real and equal only when D=0.
k2+4−5k=0
⇒k2−5k+4=0
k2−k−4k+4=0
k(k−1)−4(k−1)=0
(k−1)(k−4)=0
Step 3:- k=4 or 1