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
if b2−4ac<0, then the roots are imaginary.
Here, the given quadratic equation 2y2−py+1=0 is in the form ax2+bx+c=0 where a=2,b=−p and c=1.
It is given that the roots are equal, therefore b2−4ac=0 that is:
b2−4ac=0⇒(−p)2−(4×2×1)=0⇒p2−8=0⇒p2=8⇒p=±√8⇒p=±2√2
Hence, p=±2√2