If one root of the equation $x^2+px+1=0$ be the square root of the other then find the value of $p$.
My Attempt:
Let $\alpha $ and $\beta $ be the two roots of the given equation. Then,
$$\alpha =\dfrac {-p + \sqrt {p^2-4}}{2}$$ $$\beta =\dfrac {-p-\sqrt {p^2-4}}{2}$$.
According to Question: $$\alpha =\sqrt {\beta}$$ $$2p^2-2p\sqrt {p^2-4} - 4=-2p-2\sqrt {p^2-4}$$
How do I proceed further?
The roots are $a$ and $a^2$ so $$a^3=1$$ and $$a+a^2=-p$$ so either $a=1$ and $p=-2$ or $$a^2+a+1=0$$ in which case $p=1$.