I have a $ 2\times 2$ matrix $A$, where $A^2 = I$.
So the eigenvalues are $\lambda= \pm1$ .
I need to find its trace and determinant. There's no mention of upper or lower triangular matrix, therefore, the formulas for Trace and determinant := product of eigenvalues can't be used here.
The other part does give some specific information but I wonder is there any way to solve the first part because that's how it should be solved.
b) If the first row is (3,−1), what is the second row?
How can I solve this? Thanks in advance.
The fact that $A^2-I=0$ means precisely that $A$ is diagonalisable with its set of eigenvalues contained in the set $\{-1,1\}$ of (simple) roots of $X^2-1$. The multiset of roots for the characteristic polynomial $\chi_A$, which has size $2$, can then be one of $\{\!\{-1,-1\}\!\}$, $\{\!\{-1,1\}\!\}$, and $\{\!\{1,1\}\!\}$. The trace and determinant are respectively the sum and the product of that multiset, giving three possibilities $(-2,1)$, $(0,-1)$, $(2,1)$ for the pair $(\operatorname{tr}A,\det A)$.
Since being diagonalisable with a single eigenvalue$~\lambda$ means being equal to $\lambda I$, the outer two possibilities only occur for $-I$ respectively for $I$, and so they can be excluded for question b).