In this question $A$ and $B$ are non-zero $2\times 2$ real matrices. Prove, or find a counter example to the statement: For any $A$ and $B$ there is at most two matrices $X$ such that $X^2+AX+B=0$.
I have the impression that it should be false and so I've been searching for counter examples by letting $A$ and $B$ be particularly simple matrices (like all entries zero except one) but every thing I've tried so far has made $X$ have only one solution. If it were true I'm not sure you'd go about proving it in a relatively simple way. Any hints would be great!