I found a question in the very end of this video, which essentially is the following:
Let $n$ be some natural number. Suppose there is a function $f : \mathbb{R}^{n \times n} \rightarrow \mathbb{R}$ such that it satisfies the following 2 properties:
- $f(A\cdot B) = f(A)\cdot f(B),\ \forall A,B \in \mathbb{R}^{n \times n} $
- $f(\text{diag}(a_1,a_2,...,a_n)) = \prod_{i=1}^{n}a_i$, for any diagonal matrix $\text{diag}(a_1,a_2,...,a_n) \in \mathbb{R}^{n \times n}$ whose diagonal entries (from top-left to bottom-right) are $a_1, ... ,a_n$.
Show that $f(A) = det(A) \text{ (determinant of A)} \; \forall A \in \mathbb{R}^{n \times n}$, i.e., show that the above two properties characterize the determinant function for real square matrices.
My solution :
Suppose $A$ is not invertible. Then, we can find invertible matrices $P$ and $Q$ such that $Q^{-1} A P = A' $ is diagonal with ones or zeros on its diagonal. As $A$ is not invertible, $A'$ must have atleast one zero in the diagonal. Hence, $f(Q^{-1})f(A)f(P) = f(A') = 0$, as $A'$ is diagonal with a zero in the diagonal.
But, for any invertible matrix $C,$ $\ 1 = f(I) = f(CC^{-1}) = f(C)f(C^{-1}) \Rightarrow f(C) \neq 0$. So, $f(Q^{-1})\neq 0$ and $f(P) \neq 0$. Hence $f(A) = 0 = det(A)$ for any non-invertible $A$.
Next, we know that any invertible matrix $X$ can be written as a product of elementary matrices $X=E_1 ... E_n$, so if we can show that for an elementary matrix $E$, $f(E) = det(E)$, then $f(X) = f(E_1)...f(E_n) = det(E_1)...det(E_n) = det(E_1...E_n) = det(X)$, and hence we would be done.
Hence, it suffices to prove that for an elementary matrix $E$, $f(E) = det(E)$.
[One useful observation : Suppose $Y$ is a diagonalizable matrix, then $\ \exists$ invertible matrix $M$ such that $D = M^{-1} Y M$ is diagonal. Clearly, $f(D) = det(D) = $ product of diagonal entries, for any diagonal matrix $D$. So, $det(Y) = det(D) = f(D) = f(M^{-1})f(Y)f(M) = f(Y)f(M^{-1}M) = f(Y)f(I) = f(Y)$. So, $f(Y) = det(Y)$ for any diagonalizable $Y$.]
If $E$ is an elementary matrix corresponding to multiplication of a row by a non-zero constant $c$, then $E$ would be diagonal with one diagonal entry $c$ and all other diagonal entries being $1$, and hence $f(E) = c = det(E)$.
If $E$ is an elementary matrix corresponding to swapping row $i$ and row $j$ ($i\neq j$), then E is symmetric, hence diagonalizable by the spectral theorem for real symmetric matrices. Hence, $f(E) = det(E)$, by above observation.
If $E$ is an elementary matrix corresponding to adding $c$ times the ith row to the jth row ($i\neq j$), then it is the square of the matrix $E'$ which corresponds to adding $c/2$ times the ith row to the jth row. So, $f(E) = f(E')^2$. By taking $Z$ as the matrix which swaps row i and j (which is its own inverse), it can be shown that $Z^{-1} E Z$ = $E^T$, so $f(E) = f(E^T)$. As $EE^T$ is symmetric, by the spectral theorem for real symmetric matrices, it is diagonalizable, hence $f(EE^T) = det(EE^T)\Rightarrow f(E)^2 = det(E)^2 = 1^2 = 1.$ As $E'$ as defined before is an elementary matrix of the same type as $E$, $f(E')^2 = 1$ as well. So, $f(E) = f(E')^2 = 1 = det(E)$.
This finishes the proof for real square matrices.
Note that in the above proof, I never used the fact that the field is the field of real numbers, except for the part where I used the spectral theorem to conclude that a real symmetric matrix is diagonalizable. But this is not true in every field (Is symmetric matrix over a field F always diagonalizable?).
So my question is as follows :
Can we give a proof which works in every field, or can we find a field where the two above mentioned properties do not characterize the determinant?
I would be very grateful for any help.
Geometric interpretation (along similar lines of the video from which I picked this question) would be highly appreciated.
Note : For a field with just 2 elements (0 and 1), like $\mathbb{Z}/2\mathbb{Z}$, the solution is trivial, because for a non-invertible $A$, $f(A)=0=det(A)$, and for invertible $B$, $f(B)$ and $det(B)$ are each non-zero, so they must each be $=1$. And hence, we are done in this case.