Let $a$ and $b$ be real numbers. We are to show that there exists a unique $2\times 2$ real symmetric matrix $A$ with $\operatorname{tr}(A)=a$ and $\det(A)=b$ if and only if $a^2=4b$.
Now I know that if $\lambda_1$ and $\lambda_2$ are eigenvalues of a real $2\times 2$ symmetric matrix $A$ with $\operatorname{tr}(A)=a$ and $\det(A)=b$ then $\lambda_1+\lambda_2=a$ and $\lambda_1\lambda_2=b$. But I am absolutely lost while proving uniqueness when $a^2=4b$. I am also unable to use the property that $A$ is symmetric. Please help. This is a Masters level entrance examination question.
We can use Cayley-Hamilton equation for checking uniqueness (is it really unique?) when $a^2=b/4$.
$A^2-\text{tr}(A)A+\det(A)I=0$
With $a^2=b/4$ we have
$A^2-a A+(a^2/4)I=0$
$4A^2- 4aA +a^2I=(2A-aI)^2=0$
Now we know that $A$ is symmetric so $2A-aI$.
Which symmetric matrix squared would give $0$ ?
Only $A=aI/2$ i.e. multiply of identity which is also constrained with determinant.
Solution is not unique.. there are plenty of such symmetric matrices type $cI$.
But if $a$ is specified there is of course only one matrix of type $cI$.