If $\displaystyle A$ is a n-rowed square matrices with real entries and satisfies the equation $\displaystyle A^2+I=O$,then compute value of $\displaystyle det(A)$.

I tried it out like this in two ways:

1.If given equation in $\displaystyle A$ is its characterstic equation then $\displaystyle det(A)=(-1)^n$(Product of eigenvalues) which gives the value of $\displaystyle det(A)=1$,which is the answer.

2.But is there some elementary explanation which does not use the concept of characterstic equation.I tried to do like this:

$\displaystyle A^2=-I$

$\displaystyle det(A^2)=det(-I)$

$\displaystyle (det(A))^2=(-1)^n$

Thus,$\displaystyle n$ must be even since $\displaystyle A$ is a square matrix with real entries

$\displaystyle (det(A))^2=1$

$\displaystyle (det(A))^2-1=0$

$\displaystyle (det(A)-1)(det(A)+1)=0$

$\displaystyle det(A)-1=0$ or $\displaystyle det(A)+1=0$

$\displaystyle det(A)=1$ or $\displaystyle -1$

How do I rule out the possibility of $\displaystyle det(A)=-1$