$M$ is a $2\times2$ matrix. $M$ is diagonalizable over $\mathbb{R}$. $M$ has the values $1$ and $2$ in the main diagonal.
What are the possible values of $\det M$?
(The solution is $\det M \leq \frac{9}{4}$.)
Can someone explain me how to solve this?
For a $2\times2$ matrix, its characteristic polynomial is $\chi_M = X^2 - \mathrm{trace}(M)X + \det (M)$. Suppose $M$ is diagonalisable, so it has two real eigenvalues. Here, they are distinct. Otherwise, $M$ would be a diagonalisable matrix with one eigenvalue, that is a multiple of $I_2$. But as it has two distinct diagonal coefficients, it is not. Thus, $\chi_M$ has two distinct real roots! It then has a positive discriminant. Compute it: \begin{align} \Delta = \mathrm{trace}(M)^2 - 4 \det(M) >0 \end{align}
That is $\det(M) < \dfrac{\mathrm{trace}(M)^2}{4}=\dfrac{9}{4}$