[Math] Example of unitary matrix with complex determinant

linear algebra

I know that unitary matrix $A$ has $|\det A|=1$. Previously, I thought, it means only 2 options: $+1$ and $-1$. But googling makes me think that, actually, det may be equal any number on unit circle. My problem is that I don't understand, why it is so.

Below, my reasoning:
As solution to characteristic equation, complex eigenvalues should be in conjugate pair. By rule of multiplication of conjugate numbers, the product of such pair would be real number. Hence, determinant (equals the product of all eigenvalues) cannot be complex number.

Am I right? If not, could you provide an example of the matrix with complex determinant?

Best Answer

Characteristic equation will have roots occurring in conjugate pairs only if the co-efficient are real. In general, the co-efficient can be complex also. Thus, roots which do not come in conjugate pairs will come, thus determinant will be complex. Yet another one \begin{align} \begin{bmatrix}1 & 0 \\ 0 & i\end{bmatrix} \end{align}