kx(x−2)+6=0
or kx2−2kx+6=0
Comparing this equation with ax2+bx+c=0, we get
a = k, b = - 2k and c = 6
Discriminant=b2−4ac
=(−2k)2−4(k) (6)
=4k2−24k
For equal roots,
b2−4ac=0
4k2−24k=0
4k(k−6)=0
Either 4k=0 or k=6
However, if k = 0, then the equation will not have the terms 'x2' and 'x'. Therefore, for this equation to has two equal roots, k should be 6.