Alphabeta Math
Session-authored (Fable 5 assisted)
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

17 results · all verified · 0 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 17 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Determinants of Matrices over a Commutative Ring

1 · Prerequisites

2 · Summary

Commutative rings provide finite sums, products and units, while the earlier matrix interface supplies field-valued multiplication, transpose, invertibility and similarity. Finite permutations and their sign homomorphism license the Leibniz formula, and finite counting makes its index set explicit. Gaussian elimination supplies the real row-reduction criterion used at the field boundary, while the established finite multivariate-polynomial construction licenses the determinant polynomial in the matrix entries.

Ring-valued matrix arithmetic is developed first and reconciled with the field interface. Alternating multilinear functions then yield the Leibniz determinant and its uniqueness, followed by vanishing, transpose and row-operation laws. Triangular determinants and rigidity prove multiplicativity without assuming invertibility. Unit determinants, inverses and similarity follow over a commutative ring; specialization to real matrices proves that nonzero determinant is equivalent to invertibility, and the explicit Leibniz sum exhibits determinant as a polynomial in the entries.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-11Open item page →

Finite rectangular matrices over a commutative ring, their entries, rows and columns

Definition

Let RR be a commutative ring and let m,nNm,n\in\mathbb N. An m×nm\times n matrix over RR is a function A:m×nR.A:m\times n\longrightarrow R. Its value at (i,j)(i,j) is written aija_{ij}. The set of all such matrices is Mm×n(R)M_{m\times n}(R), and Mn(R):=Mn×n(R)M_n(R):=M_{n\times n}(R).

For i<mi<m, row ii is the function jaijj\mapsto a_{ij} on nn; for j<nj<n, column jj is the function iaiji\mapsto a_{ij} on mm. This includes zero-sized shapes: a matrix with empty index set is the unique function from that empty set.

DefinitionDefinition: AI-adaptedProof: Not applicableaudited 2026-08-11Open item page →

Entrywise ring-matrix operations, rectangular matrix products, identity matrices and transpose

Definition

Let RR be a commutative ring. Matrices of one shape are added and scaled entrywise. For AMm×n(R)A\in M_{m\times n}(R) and BMn×p(R)B\in M_{n\times p}(R), their product is ABMm×p(R)AB\in M_{m\times p}(R) with (AB)ik:=j<naijbjk.(AB)_{ik}:=\sum_{j<n}a_{ij}b_{jk}. The sum is the finite sum in the additive commutative monoid of RR, and is 00 when n=0n=0.

The identity matrix InI_n has entry 11 on the diagonal and 00 elsewhere. The transpose ATMn×m(R)A^{\mathsf T}\in M_{n\times m}(R) is defined by (AT)ji:=aij(A^{\mathsf T})_{ji}:=a_{ij}. The zero matrix has every entry 00.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

Matrix arithmetic over a commutative ring is associative, unital and distributive, and transpose reverses products

Statement

For matrices over a commutative ring, whenever the shapes are compatible, A(BC)=(AB)C,ImA=A=AIn,A(BC)=(AB)C,\qquad I_mA=A=AI_n, A(B+C)=AB+AC,(A+B)C=AC+BC,A(B+C)=AB+AC,\qquad (A+B)C=AC+BC, and (AB)T=BTAT,(AT)T=A. (AB)^{\mathsf T}=B^{\mathsf T}A^{\mathsf T},\qquad (A^{\mathsf T})^{\mathsf T}=A. The corresponding entrywise additive and scalar laws also hold, including all zero-sized shapes.

Facts & Assumptions

Given: A commutative ring RR and matrices of compatible finite shapes over RR.

[L1]

Matrix addition, multiplication, identity and transpose are given by their entrywise finite-sum formulas (Entrywise ring-matrix operations, rectangular matrix products, identity matrices and transpose).

[L2]

Finite sums in a commutative monoid may be reindexed and finite double sums may be taken in either order (Finite commutative-monoid sums are invariant under bijective reindexing, split over disjoint unions, and satisfy the finite Fubini rule).

Proof

technique · direct
1.1

Entrywise ring addition gives its abelian-group laws. Substitution in the product formula gives ImA=A=AInI_mA=A=AI_n and both distributive laws, since all off-diagonal identity terms are zero and the diagonal term is one.

L1L3algebra
2.1

For compatible A,B,CA,B,C, the (i,)(i,\ell) entry of (AB)C(AB)C is k(jaijbjk)ck\sum_k(\sum_j a_{ij}b_{jk})c_{k\ell}, while that of A(BC)A(BC) is jaij(kbjkck)\sum_j a_{ij}(\sum_k b_{jk}c_{k\ell}). Distributivity and finite-sum Fubini turn both into j,kaijbjkck\sum_{j,k}a_{ij}b_{jk}c_{k\ell}.

step 1.1L2L3algebra
3.1

The (k,i)(k,i) entry of (AB)T(AB)^{\mathsf T} is jaijbjk=jbjkaij\sum_j a_{ij}b_{jk}=\sum_j b_{jk}a_{ij}, the (k,i)(k,i) entry of BTATB^{\mathsf T}A^{\mathsf T}; transposing twice restores each entry. Empty sums are zero, so every argument also covers zero-sized shapes.

step 2.1L1L2algebra
DefinitionDefinition: AI-adaptedProof: Not applicableaudited 2026-08-11Open item page →

Invertible square matrices and similarity over a commutative ring

Definition

Let RR be a commutative ring. A matrix AMn(R)A\in M_n(R) is invertible when there is BMn(R)B\in M_n(R) with AB=In=BAAB=I_n=BA. The inverse is unique and is denoted A1A^{-1}. The general linear group over RR is GLn(R):={AMn(R):A is invertible}.\operatorname{GL}_n(R):=\{A\in M_n(R):A\text{ is invertible}\}.

Matrices A,BMn(R)A,B\in M_n(R) are similar over RR when there is PGLn(R)P\in\operatorname{GL}_n(R) such that B=P1APB=P^{-1}AP. Associativity and the identity laws from Matrix arithmetic over a commutative ring is associative, unital and distributive, and transpose reverses products make these the usual units and conjugacy relation in the matrix monoid.

PropositionStatement: AI-adaptedProof: AI-generatedprecheck passaudited 2026-08-11Open item page →

For a field, the ring-matrix operations, invertibility and similarity agree exactly with the established field-matrix interface

Statement

Let FF be a field. Viewing FF as a commutative ring, the ring-valued matrix set, addition, multiplication, identity, transpose, invertibility, inverse and similarity defined here are exactly the corresponding established field-matrix notions.

Facts & Assumptions

Given: A field FF regarded as a commutative ring.

[L1]

A ring-valued m×nm\times n matrix is a function m×nFm\times n\to F (Finite rectangular matrices over a commutative ring, their entries, rows and columns).

[L2]

Ring-matrix operations, products, identities and transpose use the entrywise finite-sum formulas (Entrywise ring-matrix operations, rectangular matrix products, identity matrices and transpose).

[L4]
[L5]

Field-matrix transpose interchanges the same entries (The transpose ATA^{\mathsf T} of a matrix).

[L7]

Ring-matrix invertibility and similarity are defined by AB=BA=IAB=BA=I and B=P1APB=P^{-1}AP (Invertible square matrices and similarity over a commutative ring).

[L8]

Field-matrix invertibility uses the same two-sided inverse equations (Invertible matrices and the general linear group GLn(F)\operatorname{GL}_n(F)).

[L9]

Field-matrix similarity uses the same conjugation equation (Similar matrices: B=P1APB=P^{-1}AP for an invertible PP).

Proof

technique · direct
1.1

By [L1], [L3] and [L6], both matrix carriers are the same function set. The formulas in [L2], [L4] and [L5] agree entry for entry, including empty sums and zero-sized shapes.

L1L2L3L4L5L6
2.1

Since the products and identities agree, the two-sided inverse equations in [L7] and [L8] select the same matrices and the same unique inverses; then the conjugation formulas in [L7] and [L9] select the same similar pairs.

step 1.1L7L8L9
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-11Open item page →

Column-multilinear, alternating, normalized and antisymmetric functions on square matrices over a commutative ring

Definition

Fix n1n\ge1 and a commutative ring RR. A function F:Mn(R)RF:M_n(R)\to R is column-multilinear when, with all other columns fixed, it is additive and compatible with scalar multiplication in each selected column.

It is alternating when F(A)=0F(A)=0 whenever two columns of AA are equal. It is antisymmetric when interchanging two columns negates its value. It is normalized when F(In)=1F(I_n)=1. These conditions are stated over the ring itself and do not assume that 22 is invertible.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

Every alternating multilinear matrix function is antisymmetric under a column swap

Statement

Let n1n\ge1 and let F:Mn(R)RF:M_n(R)\to R be column-multilinear and alternating. Interchanging any two columns of AA negates F(A)F(A). This holds over every commutative ring, including characteristic 22.

Facts & Assumptions

Given: An alternating column-multilinear function FF and two selected column positions containing uu and vv.

[L1]

Alternation makes FF vanish on equal columns, while multilinearity expands sums separately in each column (Column-multilinear, alternating, normalized and antisymmetric functions on square matrices over a commutative ring).

Proof

technique · direct
1.1

Put u+vu+v in both selected positions. Alternation gives 0=F(,u+v,,u+v,)0=F(\ldots,u+v,\ldots,u+v,\ldots).

L1
2.1

Expanding twice gives 0=F(,u,,v,)+F(,v,,u,)0=F(\ldots,u,\ldots,v,\ldots)+F(\ldots,v,\ldots,u,\ldots) because the two equal-column terms vanish. Adding the inverse of the first term yields the antisymmetry formula, without dividing by 22.

step 1.1L1L2algebra
LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

Every alternating multilinear FF satisfies F(A)=F(I)σSnsgn(σ)iaσ(i),iF(A)=F(I)\sum_{\sigma\in S_n}\operatorname{sgn}(\sigma)\prod_i a_{\sigma(i),i}

Statement

Let n1n\ge1, let RR be a commutative ring, and let F:Mn(R)RF:M_n(R)\to R be alternating and column-multilinear. Then for A=(ari)A=(a_{ri}), F(A)=F(In)σSnsgn(σ)i<naσ(i),i.F(A)=F(I_n)\sum_{\sigma\in S_n}\operatorname{sgn}(\sigma)\prod_{i<n}a_{\sigma(i),i}.

Facts & Assumptions

Given: A matrix A=(ari)Mn(R)A=(a_{ri})\in M_n(R) and an alternating column-multilinear function F:Mn(R)RF:M_n(R)\to R.

[L2]

Alternating multilinear functions are antisymmetric under swaps (Every alternating multilinear matrix function is antisymmetric under a column swap).

[L7]

Every transposition factorisation of a permutation has parity prescribed by its inversion sign (Every transposition factorisation of σ\sigma has parity (1)inv(σ)(-1)^{\operatorname{inv}(\sigma)}).

Proof

technique · direct
1.1

For r<nr<n, let ere_r be the column with entry 11 in row rr and 00 elsewhere. Since column ii is r<narier\sum_{r<n}a_{ri}e_r, repeated multilinearity expands F(A)F(A) as the finite sum over tuples (ri)i<n(r_i)_{i<n} of (i<narii)F(er0,,ern1)\bigl(\prod_{i<n}a_{r_i i}\bigr)F(e_{r_0},\ldots,e_{r_{n-1}}).

L1L5algebra
2.1

If a tuple repeats a row index, its FF-value is zero by alternation. The surviving tuples use every element of nn once, so they are precisely the permutations ri=σ(i)r_i=\sigma(i).

step 1.1L1
3.1

Factor σ\sigma into transpositions. Repeated antisymmetry changes F(In)F(I_n) by one minus sign per transposition. Each transposition has sign 1-1, so [L4] identifies the product of these signs with sgn(σ)\operatorname{sgn}(\sigma); equivalently [L3] and [L7] identify it with the factorisation-independent inversion parity. Substitution into step 2.1 gives the formula.

step 2.1L2L3L4L6L7algebra
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-11Open item page →

For n1n\ge1, the determinant over a commutative ring by the Leibniz formula, and detA|\det A| for a real matrix

Definition

Let RR be a commutative ring, let n1n\ge1, and let A=(aij)Mn(R)A=(a_{ij})\in M_n(R). Its determinant is det(A):=σSnsgn(σ)i<naσ(i),i.\det(A):=\sum_{\sigma\in S_n}\operatorname{sgn}(\sigma)\prod_{i<n}a_{\sigma(i),i}. The sum is finite because SnS_n has n!n! elements. The product is taken in RR, so the signs 11 and 1-1 act through the ring identities. The formula uses columns indexed by i<ni<n and rows indexed by σ(i)\sigma(i).

When AA is real, detA|\det A| means the ordinary real absolute value of its real determinant. It is not alternate notation for the determinant itself.

CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

For every fixed finite size at least one, the determinant of a real square matrix is a polynomial in its matrix entries

Statement

For each fixed n1n\ge1, the function det:Mn(R)R\det:M_n(\mathbb R)\to\mathbb R is evaluation of the polynomial Pn:=σSnsgn(σ)i<nxσ(i),iP_n:=\sum_{\sigma\in S_n}\operatorname{sgn}(\sigma)\prod_{i<n}x_{\sigma(i),i} in the n2n^2 commuting variables xrix_{ri}.

Facts & Assumptions

Given: A fixed natural n1n\ge1 and commuting indeterminates xrix_{ri} for r,i<nr,i<n.

[L1]

The determinant is the finite Leibniz sum σsgn(σ)iaσ(i),i\sum_{\sigma}\operatorname{sgn}(\sigma)\prod_i a_{\sigma(i),i} (For n1n\ge1, the determinant over a commutative ring by the Leibniz formula, and detA|\det A| for a real matrix).

[L2]

Iteration constructs a polynomial ring in any finite list of commuting indeterminates over a commutative ring (Polynomial rings in finitely many commuting indeterminates by iteration).

[L3]

The real numbers form a field (The reals form a field).

[L5]

Evaluation at a ring element is a unital ring homomorphism, so it respects finite sums and products (Universal property of R[x]R[x]: a coefficient homomorphism and the image of xx determine a unique ring homomorphism).

Proof

technique · direct
1.1

By [L2]–[L4], the displayed finite sum of signed monomials is an element PnP_n of the real polynomial ring in the n2n^2 variables xrix_{ri}.

L2L3L4
2.1

Iterate [L5] through the finite list of variables, sending each xrix_{ri} to aria_{ri}. The resulting homomorphism sends each monomial to i<naσ(i),i\prod_{i<n}a_{\sigma(i),i} and therefore sends PnP_n to the Leibniz sum det(A)\det(A) from [L1].

step 1.1L1L2L5algebra
3.1

Hence determinant is the polynomial function given by this explicit finite sum of finite products in the matrix entries.

step 2.1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

The Leibniz determinant is column-multilinear, alternating and normalized over every commutative ring

Statement

For n1n\ge1 and every commutative ring RR, the Leibniz determinant det:Mn(R)R\det:M_n(R)\to R is column-multilinear, alternating and normalized.

Facts & Assumptions

Given: The Leibniz determinant of an n×nn\times n matrix over a commutative ring.

[L2]

Multilinear, alternating and normalized have the stated columnwise meanings (Column-multilinear, alternating, normalized and antisymmetric functions on square matrices over a commutative ring).

[L5]

Composing a permutation on either side with a transposition reverses its inversion sign (Composing with a transposition reverses (1)inv(σ)(-1)^{\operatorname{inv}(\sigma)}).

Proof

technique · direct
1.1

With every column but column qq fixed, each Leibniz monomial contains exactly one entry from column qq. Distributing finite sums therefore proves additivity and scalar compatibility in that column, and qq was arbitrary.

L1L2L4algebra
2.1

Suppose columns p,qp,q are equal. Pair each σ\sigma with σ(p q)\sigma\circ(p\ q). Commutativity makes the paired monomials equal, while [L5] makes their signs opposite, so every pair sums to zero and the determinant vanishes.

step 1.1L3L4L5algebra
3.1

At InI_n, every nonidentity permutation selects an off-diagonal zero, while the identity term is 11. Thus det(In)=1\det(I_n)=1. This also covers n=1n=1 and the zero ring, where the equality reads 0=00=0.

step 2.1L1L2algebra
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

The determinant is the unique normalized alternating multilinear function on the columns

Statement

For n1n\ge1 over a commutative ring, determinant is the unique function F:Mn(R)RF:M_n(R)\to R that is column-multilinear, alternating and normalized.

Facts & Assumptions

Given: A normalized alternating column-multilinear function F:Mn(R)RF:M_n(R)\to R.

[L2]

The Leibniz determinant itself is alternating, column-multilinear and normalized (The Leibniz determinant is column-multilinear, alternating and normalized over every commutative ring).

Proof

technique · direct
1.1

Fact [L2] proves existence of a function with the three properties.

L1L2
2.1

If FF has them, normalization gives F(In)=1F(I_n)=1, so [L1] gives F(A)=det(A)F(A)=\det(A) for every AA. Hence the function is unique.

step 1.1L1algebra
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

A square matrix with a zero column or two equal columns has determinant zero

Statement

Let n1n\ge1. If a matrix in Mn(R)M_n(R) over a commutative ring has a zero column or has two equal columns, then its determinant is zero.

Facts & Assumptions

Given: A square matrix AA over a commutative ring.

Proof

technique · direct
1.1

If one column is zero, multilinearity gives det(A)=det(A)+det(A)\det(A)=\det(A)+\det(A) by writing that column as 0+00+0; cancellation in the additive group gives det(A)=0\det(A)=0.

L1algebra
2.1

If two columns are equal, alternation in [L1] gives det(A)=0\det(A)=0 directly, regardless of whether the columns are adjacent.

step 1.1L1
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

For every square matrix over a commutative ring, det(AT)=det(A)\det(A^{\mathsf T})=\det(A)

Statement

For every n1n\ge1, every commutative ring RR, and every AMn(R)A\in M_n(R), det(AT)=det(A).\det(A^{\mathsf T})=\det(A).

Facts & Assumptions

Given: A square matrix A=(aij)A=(a_{ij}) over a commutative ring.

[L2]

Transpose satisfies (AT)ij=aji(A^{\mathsf T})_{ij}=a_{ji} (Entrywise ring-matrix operations, rectangular matrix products, identity matrices and transpose).

[L3]

Sign is a homomorphism into {1,1}\{1,-1\}, so sgn(σ1)=sgn(σ)\operatorname{sgn}(\sigma^{-1})=\operatorname{sgn}(\sigma) (The sign is a homomorphism Sn{+1,1}S_n\to\{+1,-1\}, surjective exactly when n2n\ge 2).

Proof

technique · direct
1.1

Substituting [L2] into [L1] gives det(AT)=σSnsgn(σ)i<nai,σ(i)\det(A^{\mathsf T})=\sum_{\sigma\in S_n}\operatorname{sgn}(\sigma)\prod_{i<n}a_{i,\sigma(i)}.

L1L2
2.1

Reindex the sum by τ=σ1\tau=\sigma^{-1} and the product by j=σ(i)j=\sigma(i). Commutativity and [L3] turn the expression into τSnsgn(τ)j<naτ(j),j=det(A)\sum_{\tau\in S_n}\operatorname{sgn}(\tau)\prod_{j<n}a_{\tau(j),j}=\det(A).

step 1.1L3L4algebra
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

The determinant is alternating and multilinear in the rows as well as in the columns

Statement

For n1n\ge1, determinant on Mn(R)M_n(R) over a commutative ring is multilinear and alternating in the rows. Interchanging two rows negates the determinant.

Facts & Assumptions

Given: A square matrix whose selected row is varied, or whose two selected rows are interchanged.

[L3]

Transpose is defined by (AT)ji=aij(A^{\mathsf T})_{ji}=a_{ij}, so it interchanges rows and columns (Entrywise ring-matrix operations, rectangular matrix products, identity matrices and transpose).

Proof

technique · direct
1.1

Transposition sends a selected row, a row sum, a row scaling or a row swap to the corresponding operation on a selected column, without changing determinant.

L1L3
2.1

Apply the column multilinearity and alternation of [L2] to the transpose, then apply [L1] again. The resulting identities are exactly row multilinearity and row alternation for the original matrix.

step 1.1L1L2
DefinitionDefinition: AI-adaptedProof: Not applicableaudited 2026-08-11Open item page →

Row swaps, arbitrary row scalings and row additions over a commutative ring, with reversible elementary cases distinguished

Definition

For a matrix over a commutative ring RR, a row transformation is one of: interchanging two rows; multiplying one row by any scalar cRc\in R; or adding cc times one row to a distinct row.

A swap is reversible, as is row addition with reverse coefficient c-c. A row scaling is reversible exactly when its scalar is a unit. These reversible transformations are the ring-level elementary row equivalences. When RR is a field, they are exactly the elementary row operations of Elementary row operations and row equivalence for finite matrices over a field, since every nonzero scalar is a unit. A scaling by a nonunit, including possibly 00, is still a row transformation but is not called a row equivalence.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

For every square matrix, including singular ones, a row swap negates the determinant, scaling a row by any scalar scales it, and row addition leaves it unchanged

Statement

Let n1n\ge1 and let AMn(R)A\in M_n(R) be a matrix over a commutative ring.

  1. Interchanging two rows changes det(A)\det(A) to det(A)-\det(A).
  2. Multiplying one row by any cRc\in R changes it to cdet(A)c\det(A).
  3. Adding cc times one row to a distinct row leaves it equal to det(A)\det(A).

No invertibility assumption is made on AA or on cc.

Facts & Assumptions

Given: A square matrix AA over a commutative ring and a row transformation.

[L1]

Determinant is alternating and multilinear in its rows (The determinant is alternating and multilinear in the rows as well as in the columns).

[L2]

Ring row transformations include swaps, scaling by any scalar, and addition of a multiple of a distinct row (Row swaps, arbitrary row scalings and row additions over a commutative ring, with reversible elementary cases distinguished).

Proof

technique · direct
1.1

Row multilinearity gives det(,cRp,)=cdet(A)\det(\ldots,cR_p,\ldots)=c\det(A) for every scalar cc, including c=0c=0 and zero divisors.

L1L2L3
2.1

Row antisymmetry gives det(A)=det(A)\det(A')=-\det(A) when AA' is obtained by a row swap.

step 1.1L1L2
3.1

Replacing RpR_p by Rp+cRqR_p+cR_q expands the new determinant as det(A)+cD\det(A)+cD, where DD has row RqR_q in both positions pp and qq; alternation gives D=0D=0, so the determinant is unchanged.

step 2.1L1L2algebra
4.1

The derivations used only row multilinearity and alternation, not cancellation, matrix invertibility or scalar invertibility. Hence all three formulas include singular matrices and arbitrary scalars.

step 3.1
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-11Open item page →

Upper triangular, lower triangular and diagonal square matrices over a commutative ring

Definition

Let RR be a commutative ring, let n1n\ge1, and let A=(aij)Mn(R)A=(a_{ij})\in M_n(R). It is upper triangular when aij=0a_{ij}=0 for i>ji>j, lower triangular when aij=0a_{ij}=0 for i<ji<j, and diagonal when aij=0a_{ij}=0 whenever iji\ne j.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

The determinant of a triangular matrix is the product of its diagonal entries

Statement

If A=(aij)Mn(R)A=(a_{ij})\in M_n(R) is upper or lower triangular over a commutative ring, with n1n\ge1, then det(A)=i<naii.\det(A)=\prod_{i<n}a_{ii}.

Facts & Assumptions

Given: A triangular n×nn\times n matrix AA over a commutative ring.

[L1]

Upper triangular means aij=0a_{ij}=0 for i>ji>j, while lower triangular means aij=0a_{ij}=0 for i<ji<j (Upper triangular, lower triangular and diagonal square matrices over a commutative ring).

[L2]

Determinant is the sum of the signed products iaσ(i),i\prod_i a_{\sigma(i),i} (For n1n\ge1, the determinant over a commutative ring by the Leibniz formula, and detA|\det A| for a real matrix).

Proof

technique · direct
1.1

For an upper triangular matrix, a nonzero Leibniz term requires σ(i)i\sigma(i)\le i for every ii. A permutation with these inequalities is the identity: starting at i=0i=0 and proceeding upward, bijectivity forces σ(i)=i\sigma(i)=i. Thus every nonidentity term contains a zero entry.

L1L2L3
2.1

The identity term has sign 11 and equals i<naii\prod_{i<n}a_{ii}, so it is the whole determinant.

step 1.1L2L3
3.1

For a lower triangular matrix the same argument uses σ(i)i\sigma(i)\ge i and proceeds downward, again forcing the identity. The argument includes n=1n=1 and makes no cancellation assumption, so zero divisors and the zero ring cause no exception.

step 2.1L1L2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

For same-sized finite square matrices over a commutative ring, det(AB)=det(A)det(B)\det(AB)=\det(A)\det(B)

Statement

For n1n\ge1 and A,BMn(R)A,B\in M_n(R) over a commutative ring, det(AB)=det(A)det(B).\det(AB)=\det(A)\det(B).

Facts & Assumptions

Given: A fixed matrix AMn(R)A\in M_n(R) and a variable matrix BMn(R)B\in M_n(R).

[L1]

Determinant is the unique normalized alternating column-multilinear matrix function (The determinant is the unique normalized alternating multilinear function on the columns).

Proof

technique · direct
1.1

Define F(B):=det(AB)F(B):=\det(AB). Each column of ABAB is AA times the corresponding column of BB, so distributivity makes FF column-multilinear; equal columns of BB give equal columns of ABAB, so FF is alternating.

L1L2L3L4
2.1

Since AIn=AAI_n=A, one has F(In)=det(A)F(I_n)=\det(A).

step 1.1L3L4
3.1

Apply [L2] to FF: det(AB)=F(B)=F(In)det(B)=det(A)det(B)\det(AB)=F(B)=F(I_n)\det(B)=\det(A)\det(B). Neither matrix was assumed invertible.

step 2.1L2algebra
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

An invertible square matrix over a commutative ring has unit determinant

Statement

Let n1n\ge1. If AMn(R)A\in M_n(R) is invertible over a commutative ring, then det(A)\det(A) is a unit of RR. More precisely, det(A1)\det(A^{-1}) is its inverse.

Facts & Assumptions

Given: An invertible matrix AA with inverse A1A^{-1}.

[L1]

Determinants multiply: det(XY)=det(X)det(Y)\det(XY)=\det(X)\det(Y) (For same-sized finite square matrices over a commutative ring, det(AB)=det(A)det(B)\det(AB)=\det(A)\det(B)).

[L4]

Matrix invertibility gives AA1=In=A1AAA^{-1}=I_n=A^{-1}A (Invertible square matrices and similarity over a commutative ring).

[L5]

The determinant is normalized: det(In)=1\det(I_n)=1 (The Leibniz determinant is column-multilinear, alternating and normalized over every commutative ring).

Proof

technique · direct
1.1

Apply [L1] to the two equations in [L4]: det(A)det(A1)=det(In)=1\det(A)\det(A^{-1})=\det(I_n)=1 and det(A1)det(A)=1\det(A^{-1})\det(A)=1.

L1L3L4L5
2.1

Thus det(A)\det(A) is a unit with inverse det(A1)\det(A^{-1}) by [L2]. In the zero ring, 0=10=1 and the same two-sided equation still gives the unit conclusion.

step 1.1L2
TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

A finite square real matrix is invertible if and only if its determinant is nonzero

Statement

For every n1n\ge1 and every real matrix AMn(R)A\in M_n(\mathbb R), A is invertibledet(A)0.A\text{ is invertible}\quad\Longleftrightarrow\quad\det(A)\ne0.

Facts & Assumptions

Given: A real square matrix AA of positive finite size.

[L2]

An n×nn\times n RREF with fewer than nn pivots has a zero row; its pivot columns increase from left to right (Row echelon form, reduced row echelon form, leading entries, pivots, pivot positions and pivot columns).

[L3]

A square matrix is invertible exactly when its RREF is the identity, equivalently when it has nn pivots (Invertible matrix theorem: invertibility, full pivot rank, RREF II, trivial nullspace and unique solvability are equivalent).

[L4]

A row swap negates determinant, nonzero real row scaling multiplies it by a nonzero scalar, and row addition leaves it unchanged (For every square matrix, including singular ones, a row swap negates the determinant, scaling a row by any scalar scales it, and row addition leaves it unchanged).

[L5]

The determinant of a triangular matrix is the product of its diagonal entries (The determinant of a triangular matrix is the product of its diagonal entries).

[L6]

An invertible matrix over a commutative ring has unit determinant (An invertible square matrix over a commutative ring has unit determinant).

[L7]

The real numbers form a field (The reals form a field).

Proof

technique · direct
1.1

If AA is invertible, [L1] and [L6] make det(A)\det(A) a unit of R\mathbb R, hence nonzero by [L7].

L1L6L7
1.2

Conversely suppose AA is not invertible and row reduce it to its RREF RR. By [L3], RR has fewer than nn pivots and hence a zero row. Its pivot in row ii, when present, lies in a column at least ii, so every entry below the diagonal is zero; thus RR is upper triangular.

L1L2L3
2.1

The zero row forces a zero diagonal entry, so [L5] gives det(R)=0\det(R)=0.

step 1.2L5algebra
3.1

Along the finite real row reduction, swaps and row additions preserve whether determinant is zero, and a scaling uses a nonzero scalar whose inverse gives the reverse implication. Hence det(A)=0\det(A)=0.

step 2.1L4L7algebra
4.1

Steps 1.2–3.1 prove the contrapositive det(A)0A\det(A)\ne0\Rightarrow A invertible; combining it with step 1.1 proves the equivalence.

step 1.1step 3.1
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

If AA is invertible over a commutative ring, then det(A1)=det(A)1\det(A^{-1})=\det(A)^{-1}

Statement

Let n1n\ge1. If AMn(R)A\in M_n(R) is invertible over a commutative ring, then det(A1)=det(A)1.\det(A^{-1})=\det(A)^{-1}.

Facts & Assumptions

Given: An invertible matrix AA over a commutative ring.

[L2]

det(AA1)=det(A)det(A1)\det(AA^{-1})=\det(A)\det(A^{-1}) (For same-sized finite square matrices over a commutative ring, det(AB)=det(A)det(B)\det(AB)=\det(A)\det(B)).

[L4]

Matrix invertibility gives AA1=InAA^{-1}=I_n (Invertible square matrices and similarity over a commutative ring).

[L5]

The determinant is normalized: det(In)=1\det(I_n)=1 (The Leibniz determinant is column-multilinear, alternating and normalized over every commutative ring).

Proof

technique · direct
1.1

By [L2], [L4] and [L5], det(A)det(A1)=det(In)=1\det(A)\det(A^{-1})=\det(I_n)=1, so det(A1)\det(A^{-1}) is an inverse of the unit det(A)\det(A).

L1L2L3L4L5
2.1

Uniqueness of the inverse in [L3] gives det(A1)=det(A)1\det(A^{-1})=\det(A)^{-1}.

step 1.1L3
CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-11Open item page →

Similar matrices over a commutative ring have the same determinant

Statement

Let n1n\ge1. If A,BMn(R)A,B\in M_n(R) are similar over a commutative ring, then det(B)=det(A)\det(B)=\det(A).

Facts & Assumptions

Given: An invertible PP with B=P1APB=P^{-1}AP.

[L1]

Similarity over RR means B=P1APB=P^{-1}AP for an invertible PP (Invertible square matrices and similarity over a commutative ring).

Proof

technique · direct
1.1

By [L1], [L2] and associativity, det(B)=det(P1)det(A)det(P)\det(B)=\det(P^{-1})\det(A)\det(P).

L1L2L3L4
2.1

Substitute [L3] and commute the scalar factors in RR: det(P)1det(P)=1\det(P)^{-1}\det(P)=1, leaving det(B)=det(A)\det(B)=\det(A).

step 1.1L3algebra

5 · Examples, counterexamples and false statements

None yet.

Sources