Given equation: $x^2 - 2(p+1)x + p^2 = 0$
Here, $a = 1$, $b = -2(p+1)$, $c = p^2$
Condition for real roots: Discriminant $D \geq 0$
$$D = b^2 - 4ac = [-2(p+1)]^2 - 4(1)(p^2)$$
$$= 4(p+1)^2 - 4p^2$$
$$= 4(p^2 + 2p + 1) - 4p^2$$
$$= 4p^2 + 8p + 4 - 4p^2$$
$$= 8p + 4$$
For real roots: $8p + 4 \geq 0$
$$\Rightarrow p \geq -\frac{1}{2}$$
Smallest value of $p$ = $-\dfrac{1}{2}$
Finding roots when $p = -\dfrac{1}{2}$:
The equation becomes:
$$x^2 - 2\left(-\frac{1}{2}+1\right)x + \left(-\frac{1}{2}\right)^2 = 0$$
$$x^2 - 2\left(\frac{1}{2}\right)x + \frac{1}{4} = 0$$
$$x^2 - x + \frac{1}{4} = 0$$
$$\left(x - \frac{1}{2}\right)^2 = 0$$
$$\therefore x = \frac{1}{2}, \frac{1}{2}$$
The roots of the equation are $\dfrac{1}{2}$ and $\dfrac{1}{2}$ (equal roots).
Source: Chapter 4, Section 4.4 – Nature of Roots
---