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.
Matrices, the Matrix of a Linear Map, and Change of Basis
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Countability and Uncountability
- Finite Counting, Factorials and Binomial Coefficients
- Foundations of the Real Numbers for Analysis
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- The ZFC Axioms and the Basic Set Constructions
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
Finite sums in the scalar field and the published matrix-space structure make row-by-column multiplication meaningful, including empty index sets. Linear maps, finite-dimensional vector spaces, ordered bases, and unique coordinates supply the coordinate language, while composition, kernels, images, and dimension provide the structural setting in which matrices represent maps.
Matrix multiplication first yields matrix rings, units, matrix units, transpose, and noncommutativity. Pointwise operations make linear maps a vector space, and ordered bases turn matrix representation into a vector-space and ring isomorphism that respects composition and invertibility. Change-of-basis matrices then give the two-sided transformation law and similarity. Finally trace is defined, proved cyclic on rectangular products, shown invariant under similarity, and transferred to endomorphisms independently of basis.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Rectangular matrix multiplication and the identity matrix , including zero-sized shapes
Definition
Let be a field, let , and let and . Their matrix product is the matrix whose entries are
The sum is the finite sum in the additive commutative monoid of . If , it is the empty sum, so is the zero matrix of shape by .
The identity matrix has entry when and entry when . In particular, is the unique empty matrix in .
Matrix multiplication is associative, unital, distributive, and compatible with scalar multiplication
Statement
Matrix multiplication over a field is associative and unital, distributes over entrywise addition on both sides, and is compatible with scalar multiplication. Precisely, whenever the displayed products have compatible shapes,
These identities include every zero-sized shape.
Facts & Assumptions
Given: A field ; matrices , , and ; conformable matrices ; and a scalar .
Matrix products and identity matrices are defined entrywise by finite row-by-column sums (Rectangular matrix multiplication and the identity matrix , including zero-sized shapes).
A finite double sum may be evaluated in either order (Finite commutative-monoid sums are invariant under bijective reindexing, split over disjoint unions, and satisfy the finite Fubini rule).
Proof
For and , expansion by [L1] gives and .
Associativity and distributivity in , followed by [L2], identify the two sums in step 1.1, so .
The entry formulas also give ; splitting sums gives both distributive laws; pulling out gives scalar compatibility; and a sum of zero summands gives each zero law. Thus all stated identities hold entrywise.
If any indexing dimension is zero, every asserted matrix equality either has no entries to compare or reduces to an empty sum, whose value is . Hence the same calculations cover all zero-sized shapes, including .
is a ring under entrywise addition and matrix multiplication, including the zero ring
Statement
For every field and natural , is a ring under entrywise addition and matrix multiplication, with zero matrix as additive identity and as multiplicative identity. For , this is the one-element zero ring .
Facts & Assumptions
Given: A field and a natural .
Matrix multiplication is associative and unital and distributes over entrywise addition on both sides (Matrix multiplication is associative, unital, distributive, and compatible with scalar multiplication).
Proof
The published pointwise vector-space structure on makes entrywise addition an abelian group operation, with the zero matrix and entrywise negatives.
By [L1], matrix multiplication is associative, has identity , and satisfies both distributive laws over that addition.
These are exactly the ring axioms. If , there is one empty matrix, so its zero and identity coincide; the ring convention permits , making the zero ring.
Matrix units and the Kronecker delta
Definition
For indices in the same finite index set, the Kronecker delta is
Let and . The matrix unit is the matrix whose -entry is
Thus has entry in position and entry everywhere else. When a dimension is zero, no index of that dimension exists and there are no matrix units of the corresponding shape.
Statement
For and ,
Facts & Assumptions
Given: A field and indices , , and .
The matrix unit has entry in position (Matrix units and the Kronecker delta).
Proof
For and , the product entry is .
If , every summand is zero. If , only can contribute and the value is .
The two cases combine as for every entry, proving the matrix identity.
is noncommutative for every
Statement
For every field and every natural , the ring is not commutative.
Proof
By [L1], while ; these products differ at entry because in a field.
Thus two elements of fail to commute, so the matrix ring is noncommutative.
The transpose of a matrix
Definition
For , the transpose of is the matrix defined by
Thus transposition interchanges rows and columns. The transpose of a zero-sized matrix is the unique matrix of the transposed zero-sized shape.
Transpose is linear and involutive, and
Statement
For matrices of the appropriate shapes and a scalar ,
and
Thus transpose is linear and involutive and reverses products.
Facts & Assumptions
Given: A field , matrices of the same shape, conformable matrices , and a scalar .
Transposition swaps the two entry indices (The transpose of a matrix).
Proof
Swapping indices in the entrywise sum and scalar product gives the two linearity identities, and swapping twice gives .
For conformable and , one has .
Commutativity in rewrites the sum in step 2.1 as , proving the product law entrywise.
The space of linear maps with pointwise addition and scalar multiplication
Definition
Let and be vector spaces over the same field . Write
For and , define pointwise operations by
The zero function is denoted by . Closure and the vector-space axioms for these operations are proved in is a vector space over the common scalar field ↗.
is a vector space over the common scalar field
Statement
If and are vector spaces over a field , then is a vector space over under pointwise addition and scalar multiplication.
Facts & Assumptions
Given: Vector spaces over the same field and the pointwise operations on .
is the set of linear maps, with pointwise addition and scalar multiplication (The space of linear maps with pointwise addition and scalar multiplication).
Proof
If are linear, then , and if , then ; hence the pointwise operations remain inside .
Evaluating at an arbitrary reduces associativity, commutativity, both distributive laws, scalar associativity, and the scalar identity law to the corresponding vector-space laws in .
The zero function is the additive identity and is the additive inverse of . The same formulas cover the zero domain and zero codomain, so all vector-space axioms hold.
Invertible linear maps, linear isomorphisms, and inverse linear maps
Definition
Let be linear. It is invertible when there is a linear map such that
Such an is the inverse linear map of , denoted . The two inverse equations make bijective and determine uniquely. An invertible linear map is also called a linear isomorphism, and and are linearly isomorphic, written , when such a map exists.
Identity maps and composites of linear maps are linear
Statement
The identity map of a vector space is linear. If and are linear maps over the same field, then is linear.
Facts & Assumptions
Given: Vector spaces over a field , scalars , vectors , and linear maps and .
A map is linear when for all scalars and vectors (Linear map between vector spaces over the same field).
Proof
The identity satisfies , so it is linear.
Linearity of and then of gives .
The equality in step 2.1 is the defining linearity equation for , so the composite is linear.
Coordinate columns and matrices of linear maps relative to ordered bases
Definition
Let be an ordered basis of . The unique coordinates form the coordinate column , whose -th entry is .
Let be an ordered basis of and let be linear. The matrix of relative to and is the matrix whose -th column is . Equivalently, if , then .
For an empty ordered basis, these definitions give the unique coordinate column or matrix of the corresponding zero-sized shape.
Statement
Let be linear, let be an ordered basis of , and let be an ordered basis of . Then for every ,
Facts & Assumptions
Given: Ordered bases and , a linear map , and a vector .
The coordinate column contains the unique coefficients in the ordered-basis expansion, and the -th column of is (Coordinate columns and matrices of linear maps relative to ordered bases).
Proof
Write , so [L1] gives .
By linearity, ; writing gives .
The inner sum is the -th row-by-column entry of , and uniqueness of -coordinates identifies this column with .
is a vector-space isomorphism
Statement
Let be finite-dimensional vector spaces over , with ordered bases and . The map
is a vector-space isomorphism.
Facts & Assumptions
Given: The finite-dimensional spaces and ordered bases in the Statement.
is a vector space under pointwise operations ( is a vector space over the common scalar field).
An ordered basis gives every vector a unique coordinate list (A finite list is an ordered basis if and only if every equals for exactly one ; those scalars are the coordinates of in that ordered basis).
A linear isomorphism is a linear map with a two-sided linear inverse (Invertible linear maps, linear isomorphisms, and inverse linear maps).
Proof
For every basis vector , coordinate uniqueness in [L2] gives and , so is linear column by column.
If , then [L2] gives for every ; linearity and the unique expansion of every vector in give , so is injective.
Given , prescribe and, for the unique expansion from [L2], define . This is well defined and linear, and the -th matrix column is the -th column of ; hence . Together with steps 1.1 and 2.1, is a linear bijection. Its set-theoretic inverse is linear: if and , then injectivity and linearity give and . Thus is a linear isomorphism by [L3].
If , then is the zero space and both sides contain only their zero element; if , then and are zero spaces and the only map is the zero map. Thus the construction also proves the isomorphism in every zero-dimensional case.
and for finite-dimensional
Statement
For a field and naturals , . Consequently, for finite-dimensional -vector spaces ,
Facts & Assumptions
Given: A field , naturals , and finite-dimensional spaces with and .
The matrix units have one entry equal to and all other entries equal to (Matrix units and the Kronecker delta).
A Cartesian product of finite sets has cardinality equal to the product of their cardinalities (The product rule: , and ).
Relative to ordered bases, matrix representation is a vector-space isomorphism ( is a vector-space isomorphism ).
Proof
Every matrix has the expansion , and a linear relation among the has each coefficient zero when its corresponding entry is read. Thus the matrix units form a basis.
By [L2], the index set has cardinality , so this basis has elements; if either dimension is zero, it is the empty basis of the zero matrix space. Hence .
The isomorphism in [L3] transports a basis and preserves dimension; substituting and gives the second formula.
Statement
Let and be linear, with ordered bases of , of , and of . Then
Facts & Assumptions
Given: The composable linear maps and ordered bases in the Statement, and a vector .
A composite of linear maps is linear (Identity maps and composites of linear maps are linear).
Matrix multiplication is associative whenever the shapes are compatible (Matrix multiplication is associative, unital, distributive, and compatible with scalar multiplication).
Proof
Apply [L2] to and then to : .
Associativity from [L3] rewrites step 1.1 as for every .
Evaluating at each vector of makes a standard coordinate column, so the columns of equal those of the displayed product. Therefore the matrices are equal.
is a ring and matrix representation is a ring isomorphism
Statement
Let be an -dimensional vector space over . Then is a ring under pointwise addition and composition, and for every ordered basis the map
is a ring isomorphism .
Facts & Assumptions
Given: A finite-dimensional -vector space and an ordered basis of length .
is a vector space under pointwise operations ( is a vector space over the common scalar field).
Matrix representation is a vector-space isomorphism and sends composition to matrix multiplication ( is a vector-space isomorphism , ).
Proof
Composition of endomorphisms is associative, has as identity, and distributes over pointwise addition; together with the additive group from [L1], this makes a ring.
By [L2], matrix representation is a bijective linear map, so it preserves addition and zero.
It preserves products by the composition formula in [L2], and by coordinate action. Thus it is a bijective unital ring homomorphism and hence a ring isomorphism.
Invertible matrices and the general linear group
Definition
A matrix is invertible when there is a matrix such that
Such a is unique and is denoted . The general linear set is
It is the set of units of the ring . The fact that it is a group under matrix multiplication is is a group under matrix multiplication, including the trivial group ↗. For , the unique empty matrix is and is its own inverse.
A square matrix is invertible exactly when its multiplication map is a linear isomorphism; matrices preserve inverses of linear isomorphisms
Statement
For , let be . Then is invertible if and only if is a linear isomorphism.
More generally, if is a linear isomorphism between finite-dimensional spaces and are ordered bases, then is invertible and
Facts & Assumptions
Given: A field , a natural , and the matrix multiplication map ; for the general claim, an isomorphism and ordered bases .
An invertible matrix has a two-sided matrix inverse, and a linear isomorphism has a two-sided linear inverse (Invertible matrices and the general linear group , Invertible linear maps, linear isomorphisms, and inverse linear maps).
Matrix multiplication distributes over addition and is compatible with scalar multiplication (Matrix multiplication is associative, unital, distributive, and compatible with scalar multiplication).
Every linear map between finite-dimensional coordinate spaces has a matrix in chosen ordered bases ( is a vector-space isomorphism ).
The dimension of a finite-dimensional vector space is the common size of its finite bases (Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis).
Proof
By [L3], and are linear. If , then and , so is a linear isomorphism with inverse . This includes , where the unique empty matrix and the unique zero-space map are their own inverses.
Conversely, if has a linear inverse , [L4] represents by a matrix in the standard coordinate basis. The two identity composites and [L2] give , so is invertible.
For a general linear isomorphism , the list is an ordered basis of : transfers both linear independence and spanning back to . Hence [L5] shows that and have the same length, so the two displayed representation matrices are square. Representing and in the chosen bases, [L2] gives both inverse equations for and .
Two finite-dimensional vector spaces over are linearly isomorphic if and only if they have the same dimension
Statement
Two finite-dimensional vector spaces over the same field are linearly isomorphic if and only if they have the same dimension.
Facts & Assumptions
Given: Finite-dimensional -vector spaces .
A linear isomorphism has a linear inverse, and finite dimension is the size of a finite basis (Invertible linear maps, linear isomorphisms, and inverse linear maps, Finite-dimensional vector space, and its dimension ; infinite-dimensional means having no finite basis).
Proof
If is an isomorphism and is a basis of , then is independent because applying to a vanishing linear combination makes every coefficient zero, and it spans because every equals and expands in the . Thus it is a basis of , so the dimensions agree.
Conversely, if the dimensions agree, choose ordered bases of and of and define . Unique coordinates make this a linear map with .
Defining gives a linear inverse to . For , both bases are empty and both spaces are zero, so the same formulas give the unique isomorphism.
is a group under matrix multiplication, including the trivial group
Statement
For every field and natural , is a group under matrix multiplication. For , it is the trivial group containing the unique empty matrix.
Facts & Assumptions
Given: A field and a natural .
is the set of invertible matrices, equivalently the units of (Invertible matrices and the general linear group ).
The units of a ring contain the identity and are closed under multiplication and inversion, and they form a group (The units of a ring are the invertible elements of its multiplicative monoid, and is a group under multiplication; only in the zero ring).
Proof
By [L1], is exactly the unit set of the ring .
Applying [L2] gives closure, associativity inherited from the ring, identity , and inverse for every element, so is a group.
If , has one element, the empty matrix , which is its own inverse; hence its unit group is the trivial group.
The change-of-basis matrix
Definition
Let and be ordered bases of the same finite-dimensional vector space . The change-of-basis matrix from -coordinates to -coordinates is
Its -th column is . The arrow records the direction in which coordinate columns are converted.
and
Statement
For ordered bases of a finite-dimensional vector space and every ,
Moreover,
Facts & Assumptions
Given: Ordered bases of and a vector .
is the matrix of from -coordinates to -coordinates (The change-of-basis matrix ).
Proof
Applying coordinate action from [L2] to and using [L1] gives .
Represent the identity composition first from through back to , and then from through back to .
The composite-matrix formula in [L2] gives and , so the two matrices are inverses. Empty ordered bases give the same two equations in .
Statement
Let be linear. If are ordered bases of and are ordered bases of , then
Facts & Assumptions
Given: The linear map and four ordered bases in the Statement.
is the matrix of the identity map converting -coordinates to -coordinates (The change-of-basis matrix ).
Proof
Regard from to as the composite of the identity on from to , then from to , then the identity on from to .
Applying [L2] twice, with the matrix of the last-applied map on the left, gives
The right factor is square of size , the middle factor has shape , and the left factor is square of size , so the product is defined and has the asserted shape, proving the formula.
Similar matrices: for an invertible
Definition
Two matrices are similar when there is an invertible matrix such that
The matrix is a change-of-basis matrix or conjugating matrix for this similarity. Replacing by its inverse exchanges the roles of and .
Similarity is an equivalence relation, and two matrices represent the same endomorphism in two bases exactly when they are similar
Statement
Similarity is an equivalence relation on . Moreover, matrices are similar if and only if there are an -dimensional -vector space , an endomorphism , and ordered bases such that and .
Facts & Assumptions
Given: A field , a natural , and matrices .
and are similar when for some invertible (Similar matrices: for an invertible ).
The matrices are the standard coordinate columns in (Matrix units and the Kronecker delta).
Matrix multiplication is associative, unital, distributive, and compatible with scalar multiplication (Matrix multiplication is associative, unital, distributive, and compatible with scalar multiplication).
A finite ordered list is an ordered basis exactly when it is linearly independent and spans the space (Basis of a vector space: a linearly independent spanning subset; and ordered basis: an injective finite list whose image is a basis).
Proof
Taking proves reflexivity. If , then , proving symmetry. If also , then associativity in [L4] gives , proving transitivity. Thus similarity is an equivalence relation.
If and represent the same endomorphism in bases and , [L2] gives with , so they are similar.
Conversely, suppose . On let , which is linear by [L4], and let . By [L3], every column has the unique expansion , so [L5] makes the standard ordered basis. The columns of invertible form an ordered basis : independence follows by multiplying by , and every column vector equals , so [L5] applies. Moreover, because is the -th column of . The change matrix is , so [L2] gives .
Steps 2.1 and 3.1 prove both directions of the characterisation, including , where the unique empty matrix represents the unique endomorphism of the zero space.
The trace as the sum of the diagonal entries
Definition
For a square matrix , its trace is the sum of its diagonal entries,
For , this is the empty sum, so the unique empty matrix has trace .
Trace is a linear functional on
Statement
For every natural , the map is linear:
Facts & Assumptions
Given: Matrices and a scalar .
The trace is the finite sum of the diagonal entries (The trace as the sum of the diagonal entries).
Proof
Entrywise addition and the finite-sum law give .
Likewise, .
If , every displayed sum is empty and has value , so trace is the zero linear functional on the zero matrix space.
For and ,
Statement
For and ,
The two products may have different sizes, and the equality includes or .
Facts & Assumptions
Given: A field and the rectangular matrices in the Statement.
Trace is the sum of diagonal entries, and matrix products are row-by-column finite sums (The trace as the sum of the diagonal entries, Rectangular matrix multiplication and the identity matrix , including zero-sized shapes).
A finite double sum may be evaluated in either order (Finite commutative-monoid sums are invariant under bijective reindexing, split over disjoint unions, and satisfy the finite Fubini rule).
Proof
Expanding by [L1] gives .
By [L2] and commutativity of multiplication in , this equals .
The final double sum is by [L1]. If or , both sides are empty double sums and equal .
Similar matrices have the same trace
Statement
If square matrices and over are similar, then .
Facts & Assumptions
Given: Similar matrices .
Similarity means for an invertible matrix (Similar matrices: for an invertible ).
For conformable rectangular matrices , one has (For and , ).
Matrix multiplication is associative and unital (Matrix multiplication is associative, unital, distributive, and compatible with scalar multiplication).
Proof
Choose invertible with as in [L1].
Apply [L2] to and to obtain .
By associativity and unitality from [L3], , so .
The basis-independent trace of an endomorphism of a finite-dimensional vector space
Definition
Let be a finite-dimensional vector space over and let be linear. Choose any ordered basis of and define the trace of the endomorphism by
This is independent of the chosen basis: matrices of the same endomorphism in two ordered bases are similar, and similar matrices have equal trace. When is the zero space, the empty basis gives trace .
5 · Examples, counterexamples and false statements
None yet.
Sources
Standard references
Recommended treatments; not extraction sources.
- S. Axler, Linear Algebra Done Right, 4th ed., §3C
- P. E. Leonard, Linear Algebra Notes, §3.4
- S. Axler, Linear Algebra Done Right, 4th ed., §3C, Exercises 14–15
- S. Schiavone, MIT 18.700 Day 9, §II.3.1
- S. Schiavone, MIT 18.700 Day 9, Proposition 26
- S. Schiavone, MIT 18.700 Day 9, Definition 21
- S. Axler, Linear Algebra Done Right, 4th ed., §3D
- S. Axler, Linear Algebra Done Right, 4th ed., Chapter 3
- S. Axler, Linear Algebra Done Right, 4th ed., §3C, Definition 3.31
- S. Axler, Linear Algebra Done Right, 4th ed., §3C, Matrix multiplication as composition
- S. Schiavone, MIT 18.700 Day 9, Proposition 29
- S. Axler, Linear Algebra Done Right, 4th ed., §3C, Dimension of matrix spaces
- S. Schiavone, MIT 18.700 Day 9, Corollary 27
- S. Axler, Linear Algebra Done Right, 4th ed., §3C, Definition 3.43 and Theorem 3.81
- S. Schiavone, MIT 18.700 Day 9, Theorem 35
- S. Axler, Linear Algebra Done Right, 4th ed., Definition 3.80
- S. Schiavone, MIT 18.700 Day 9, Definition 33
- S. Axler, Linear Algebra Done Right, 4th ed., Theorem 3.86
- S. Schiavone, MIT 18.700 Day 9, invertibility section
- S. Schiavone, MIT 18.700 Day 9, Theorem 22
- S. Axler, Linear Algebra Done Right, 4th ed., §3D, result 3.82
- S. Schiavone, MIT 18.700 Day 9, Corollary 36
- S. Axler, Linear Algebra Done Right, 4th ed., §3D, results 3.81 and 3.84
- S. Schiavone, MIT 18.700 Day 9, change of basis
- S. Schiavone, MIT 18.700 Day 9, Definition 38
- S. Axler, Linear Algebra Done Right, 4th ed., §3D, result 3.84
- S. Schiavone, MIT 18.700 Day 9, similarity section
- S. Axler, Linear Algebra Done Right, 4th ed., Definition 8.47
- S. Axler, Linear Algebra Done Right, 4th ed., §8D
- S. Axler, Linear Algebra Done Right, 4th ed., Theorem 8.49
- S. Axler, Linear Algebra Done Right, 4th ed., Theorem 8.50
- S. Axler, Linear Algebra Done Right, 4th ed., Definition 8.51