Suppose $A$ is a $2 \times 2$ matrix, $A^2=I$. If $A \ne I,-I$ , find $\mbox{tr}(A)$ and $\det(A)$.
My solution:
There are $3$ cases for the eigenvalues of A.
case(i) $1,1$.
case(ii) $-1,-1$.
case(iii) $1,-1$.
I guess only the case(iii) holds.
But I have no idea whether case(i) and (ii) hold.
I know that $tr(A)$ is the sum of the sum of eigenvalues and $det(A)$ is the product of eigenvalues.
So the answer is $tr(A)=0$ , $det(A)=-1$ ?
Thanks.
For diagonalisable $A$, you always have $$ A=UDU^{-1} $$ for a diagonal matrix $D$.
If $\lambda_1=\lambda_2=1$, then $$ D=1 $$ which would imply $A=1$.
By a similar line of reasoning, if $\lambda_1=\lambda_2=-1$, then $$ D=-1 $$ which would imply $A=-1$.
As you know that $1\neq A\neq -1$, the rest of the solution in the OP follows.