The general form of a quadratic equation is:
x2-(sum of roots) = 0
For equal roots it's:x2−2α+α2=0
3x2+px+12=0
Divide through by 3
= x2+3px+4=0
=x2−(−3p)x+4=0
So,α2=4
= α = √4 = ±2
Also,-3p=2α
When α = 2
-3p=2(2)=4
=p=-12
When α =-2
-3p=2(−2)=−4
= p = 12
∴ values of p = ±12