Given,
x2 – 2(k + 1)x + k2 = 0
It’s of the form of ax2 + bx + c = 0
Where, a =1, b = -2(k + 1), c = k2
For the given quadratic equation to have real roots D = b2 – 4ac = 0
D = (-2(k + 1))2 – 4(1)(k2) = 0
⇒ 4k2 + 8k + 4 – 4k2 = 0
⇒ 8k + 4 = 0
⇒ k = \(\frac{-4}{8}\)
⇒ k = \(\frac{-1}{2}\)
The value of k should \(\frac{-1}{2}\) to have real and equal roots.