We know that while finding the root of a quadratic equation
ax2+bx+c=0 by quadratic formula x=−b±√b2−4ac2a,
if b2−4ac>0, then the roots are real and distinct
if b2−4ac=0, then the roots are real and equal and
if b2−4ac<0, then the roots are imaginary.
Here, the given quadratic equation x2−px+9=0 is in the form ax2+bx+c=0 where a=1,b=−p and c=9.
It is given that the roots are equal, therefore b2−4ac=0 that is:
We have, b2−4ac=0
⇒(−p)2−(4×1×9)=0
⇒p2−36=0
⇒p2=36
⇒p=±√36
⇒p=±6
Hence, p=±6