Given that $p, q$ are real numbers. Prove that if the equation $2x^2+2(p+q)x+p^2+q^2=0$ have real roots, $p$ must be equal to $q$.
What I tried:
If the equation has equal roots, then it can be rewritten as: $$2x^2 + 4px + 2p^2 = 0$$ Coefficients of the quadratic equation are: $a=2$, $b=4p$, $c=2p^2$. If the quadratic equation has equal roots than the determinant value must be zero. $$16p^2 - 16p^2 = 0 $$
Here I am coming to a dead end. What am I missing?