if 2 is the root of the equation x2+kx+12=0 and the equation x2+kx+q=0.has equal roots.find the value of q.
Given 2 is the root of x2 + kx + 12 = 0 , hence substituting the value of x as 2 gives us zero
(2)2 + 2k + 12 = 0
k = -16/2 = -8
Now given x2 + kx + q has equal roots , so discriminant = 0 .... substituting k value in second equation
D = b2 - 4ac = 0
(-8)2 - 4(1)(q) = 0
4q = 64 , q = 64/4 = 16
Hence the value of q is 16