For equal roots, b2−4ac=0
From the equation, a=P,b=(P+1),c=P
(P+1)2−4(P)(P)=P2+2P+1−4P2=0
−3P2+2P+1=0implies3P2−2P−1=0
3P2−3P+P−1=0
3P(P−1)+1(P−1)=0
P=1 or −13