Is the determinant equal to the product of the secondary diagonal if the matrix is triangular by columns?

853 Views Asked by At

The determinant of a matrix A is by definition the product of the elements of its main diagonal if the matrix is triangular by rows, i.e., the elements are $0$ when $i>j$.

Would the determinant be the product of the secondary diagonal if all elements are $0$ when $i+j≤n$?

This is what I mean by a triangular by columns matrix $$ \begin{matrix} 0 & 0 & x^2 \\ 0 & y & y^2 \\ 1 & z & z^2 \\ \end{matrix} $$

2

There are 2 best solutions below

2
On

No. "Triangular by rows" is usually called "upper triangular", and "triangular by columns" is "lower triangular". In both cases the determinant is the product of the elements on the main diagonal.

2
On

The determinant would be equal to either the product of the secondary diagonal or negative the product of the secondary diagonal, depending on the dimension of the matrix: $$ \lvert A \rvert = \pm a_{n1} a_{(n-1)2} a_{(n-2)3} \cdots a_{1n}. $$

One way to show this is to reverse the order of the rows of your matrix, which is a permutation of rows (hence preserving the absolute value of the determinant) that converts your matrix into an upper triangular matrix. The main diagonal of this upper triangular matrix is composed of the elements on the secondary diagonal of your original matrix, and its product is the determinant of the upper triangular matrix.


The $\pm$ sign depends on the sign of the permutation of the rows, which you can determine by the minimum number of swaps required to move all rows to their final positions: the sign is positive if the number of swaps is even, negative if the number of swaps is odd.

For a $2\times 2$ matrix, you swap rows $1$ and $2$; one swap, so $\lvert A\rvert = -a_{21}a_{12}.$

For a $3\times 3$ matrix, you swap rows $1$ and $3$; one swap, so $\lvert A\rvert = -a_{31}a_{22}a_{13}.$

For a $4\times 4$ matrix, you swap rows $1$ and $4$ and swap rows $2$ and $3$; two swaps, so $\lvert A\rvert = a_{41}a_{32}a_{23}a_{14}.$

For a $5\times 5$ matrix, you swap rows $1$ and $5$ and swap rows $2$ and $4$; two swaps, so $\lvert A\rvert = a_{51}a_{42}a_{33}a_{24}a_{15}.$

Every time you increase the number of rows by $4$ you incur two more swaps, so the sign for an $(n+4)\times(n+4)$ matrix is the same as for an $n\times n$ matrix, and so the pattern repeats: $-,-,+,+,-,-,+,+,\ldots.$