Proof of the finite real matrix product laws
Let be positive integers, let , , and . All the following arguments use the row-by-column definition and finite real sums. For any output position ,
The middle equality only reorders two finite sums and uses real distributivity. Both products are , so equality at every position proves associativity. No factor has changed its order.
For , the same definition gives
For , it gives
Thus both distributive laws hold with the displayed matching sizes. For every real scalar ,
proving by entrywise equality. In particular, for and real ,
This proves the matrix-vector linearity used when comparing solutions of the same linear system. All identities concern compatible finite real matrices; they do not assert commutativity or cancellation of arbitrary matrix factors.
Real inner products, their norms and the needed inequalities
An inner product on a real vector space is a map that is symmetric, linear in each argument, and positive definite: for . Linearity gives . Define . It is zero exactly at zero and satisfies . The standard example on is . Vectors are orthogonal when their inner product is zero, and a list is orthonormal when distinct members are orthogonal and each member has norm one.
If , insert into the nonnegative square . Expanding by bilinearity gives , hence . If the same inequality holds directly. Equality for means , equivalently ; the zero-vector cases also give equality. Finally expand and apply the bound to its cross term to obtain . Both sides to be square-rooted are nonnegative, so the triangle inequality follows. Thus this is a norm, and normalization of any nonzero vector divides by a positive real number. No complex bilinear convention is being used.
Finite basis existence and extension, without a counting assumption
Let be a real vector space supplied with a finite spanning list . First prove that every independent list has length at most . After insertions, maintain a spanning list consisting of and surviving old vectors. Expand in this list. Some coefficient on a surviving old vector is nonzero; otherwise would be in the span of the earlier , contradicting independence. Solve for that old vector and replace it by . The new list spans the same space and keeps every earlier insertion. If , after steps the first independent vectors already span , contradicting independence of . This proves the bound, including .
Every subspace has a finite basis. Start with the empty independent list. If its current span is not , choose one vector of outside that span. A relation with nonzero coefficient on the new vector would express it in the old span, so the enlarged list remains independent. The proved bound permits at most additions; therefore the process stops with an independent spanning list for . If , it stops immediately with the empty basis. Starting instead with any given independent list in proves that list extends to a basis of . Only a bounded finite selection is used. Finally, if two bases have sizes , use each as the finite spanning list in the bound to obtain and . Thus basis size, called dimension, is well-defined. This supplies the existence, extension and dimension facts used in rank–nullity.
Build the determinant from smaller matrices
Definition
Submatrix, minor, and cofactor
Let be an matrix with . For indices , delete row and column simultaneously. The resulting matrix is the submatrix .
The minor belonging to is the scalar
The cofactor belonging to is the signed scalar
The signs form a checkerboard whose upper-left sign is positive:
The notation names a matrix, is a determinant of that matrix, and is that scalar after the sign has been attached. Keeping these three objects distinct prevents a common double-sign error.
Definition
Recursive definition of the determinant
For a matrix , define
For an matrix with , define its determinant by expansion along the first row:
This is a definition, not yet a theorem about other rows or columns. Each minor in the sum has size , so repeated use of the definition eventually reaches the base case. No determinant convention is needed: the submatrix and minor definitions are used only for .
Arbitrary cofactor expansion from the recursive determinant
Let be real , , with determinant defined by the one-by-one base case and first-row recursion. Let be the permutations of . Define the inversion number as the number of pairs with , and put .
Suppose and delete position and value , keeping the relative orders of the remaining positions and values; the resulting permutation is . If entries before position are smaller than , the inversions removed are . Consequently
Define . For , it is the recursive determinant. For , grouping by and using the sign identity gives . Induction therefore proves .
Now fix any row and group the same finite permutation sum by . Deletion is a bijection to all permutations of the corresponding minor, so
For a fixed column , each permutation has a unique position with . Grouping by that position gives
Both expansion formulas concern , so no empty determinant convention was introduced. This proves the general expansion theorem without assuming alternating row rules or the determinant product theorem.
Why the structural rules follow
Zero rows and zero columns
Theorem
A zero row or zero column gives determinant zero
If every entry in one row or one column of a square matrix is zero, then its determinant is zero.
Theorem
A row or column with one possible nonzero entry
For a square matrix of size , suppose all entries in row are zero except possibly . Then
The same formula holds when all entries in column are zero except possibly . The formula includes the case .
For , a matrix with a zero row is , whose determinant is by the base definition. For , expand along that row using the arbitrary-row theorem. Every term has a zero entry as its factor, so every term is zero and hence .
The zero-column statement can be proved directly by induction, which makes the inheritance of the zero column explicit. For , the only matrix with a zero column is , and its determinant is . Assume the statement for . Let be a matrix with zero column . Expand along the first row. The term from column is zero. In every other term, delete row and a column ; the original zero column survives as a zero column of the resulting submatrix (with its index shifted when ). By the induction hypothesis each such submatrix has determinant zero. Hence every term is zero, proving .
For the one-support theorem, the row case follows by expanding along row : all terms except the -term vanish. For the column case, expand along row . The -term remains. For each , the submatrix inherits a zero column from column of , so its determinant is zero by the zero-column result. Therefore only remains. This is the precise reason that a sparse row or column collapses the calculation to one minor.
Triangular matrices
Theorem
Triangular determinant theorem
If is upper triangular or lower triangular, then
We prove the upper-triangular statement by induction on . For , it is the determinant definition. Suppose it holds for upper-triangular matrices, and let be upper triangular of size . Its last row has zero entries except possibly . Expanding along that last row gives
because the sign is . The retained submatrix is still upper triangular, with diagonal . By induction its determinant is , giving the required product through . For a lower-triangular matrix, expand along the first row, whose only possible nonzero entry is ; the retained submatrix is lower triangular with diagonal , and the same induction proves the result.
Multilinearity in one fixed row
Theorem
Multilinearity in one fixed row
Fix every row except row . If the new row is , then
For , the base definition gives
For , fix every row except row . Let matrices agree in all those fixed rows, and suppose their th rows satisfy . For each column , deleting row gives the same submatrix:
Expanding along row and using the entrywise relation gives
The equality works precisely because every other row is held fixed; changing two rows at once is a different statement.
Adjacent swaps and repeated rows
Theorem
Repeated rows force determinant zero
If a square matrix has two identical rows, then its determinant is .
Let have adjacent rows , and let be obtained by swapping those two physical rows. Expand along row . Expand along row , where the row has moved. For each column , the retained submatrix in the two expansions is the same matrix: deleting the position occupied by leaves the other row in the same order. However, the signs differ:
The entries and minors therefore match term by term with the opposite sign, so . Swapping rows in positions can be realised by adjacent swaps, an odd number, and hence also changes the sign.
If rows and of are identical, the matrix obtained by swapping them is still . The swap result then gives . Since the entries are real, this implies and therefore . This proof does not rely on a later row-replacement rule.
Indexing and strategy
For each term, keep three objects visible: the selected entry, its submatrix after deleting one row and one column, and the minor obtained by taking that submatrix determinant. Write the checkerboard sign from the original row and column positions before evaluating the minor. When a minor is expanded again, its local indices guide the inner sign; they do not replace the outer sign.
The arbitrary-row and arbitrary-column theorem makes the choice of expansion line strategic. Choose a line with many zeros or simple surviving minors, and state that choice before calculating. A zero entry removes a branch immediately, whereas a zero minor must be established by its own calculation. The recursive first-row formula defines the determinant; arbitrary-line expansion is the theorem that permits this computational choice.
The case in which the eigenspace is the whole space
Let be an integer, let , and let be an eigenvalue. Write . In the multiplicity proof, first separate . A basis of is then a basis of . For , linearity gives , so . Its monic characteristic polynomial is , by the recursive determinant formula for a diagonal matrix. Consequently . For , the block in the existing proof has positive size , and that proof applies. No determinant of a matrix is required.
Preparation and learning goals
You should be able to multiply matrices, calculate a determinant by elimination or cofactors, solve a homogeneous system, and find a basis of a null space. You should also know that a basis of contains independent vectors. All matrices and vectors are real unless a different field is explicitly stated.
An eigenvalue calculation has two distinct stages. Factoring a characteristic polynomial finds possible scaling factors. Solving the associated homogeneous systems finds the directions on which those factors act. A repeated factor does not complete the second stage for us. This chapter develops a complete decision procedure, including repeated eigenvalues, parameter values where roots collide, singular matrices, and exact repeated-action formulas.
After studying it, you should be able to justify a diagonalization rather than merely display one, diagnose exactly why a proposed diagonalization fails, and interpret powers using the components of an initial vector in an eigenbasis. No Jordan canonical form is assumed.
1. Eigenvectors, eigenspaces, and two kinds of multiplicity
For a square matrix , an eigenvector for a scalar is a nonzero vector such that . The associated eigenspace is
The eigenspace is a subspace and includes zero; zero itself is not an eigenvector. The scalar is an eigenvalue exactly when this null space is nonzero. By the determinant criterion for invertibility, that occurs exactly when
We use the monic characteristic polynomial throughout. Using instead changes the polynomial by , but not its roots or their multiplicities.
The algebraic multiplicity is the multiplicity of as a root of . The geometric multiplicity is . The first comes from a polynomial; the second comes from a homogeneous system. For every eigenvalue,
Here is a proof of the upper bound. Choose a basis of and extend it to a basis of the whole space. Let have that basis as columns. Because for , the matrix in the new coordinates has block form
The characteristic determinant of this block triangular matrix is . Similarity preserves the characteristic polynomial, since
and determinant multiplicativity cancels . Thus divides , proving . The lower bound follows from the definition of an eigenvalue.
This argument does not say a repeated root has too few eigenvectors. It says that a root of multiplicity three can contribute at most three independent eigenvectors. It may contribute one, two, or three; the null-space calculation decides.
2. Why eigenvectors for different eigenvalues fit together
There is an important independence statement for whole eigenspaces. Suppose are distinct and . If
then every is zero. We prove this by induction on . The case is immediate. Apply to a relation with terms. This gives
Each term still belongs to its corresponding eigenspace. By the induction hypothesis each is zero. Because the eigenvalues are distinct, for , and the original relation then gives .
Consequently, combining a basis from each distinct eigenspace produces an independent list. To see this explicitly, group any proposed linear dependence by eigenspace. The displayed result first makes each group vector zero; independence within each chosen basis then makes every coefficient zero. In particular,
This is the reason we can count independent eigenvectors by adding eigenspace dimensions. We must not add the dimensions of arbitrary overlapping subspaces in the same way.
3. The complete diagonalization criterion
A real matrix is diagonalizable over if for an invertible real matrix and a real diagonal matrix . This is equivalent to having a basis of real eigenvectors.
For the forward direction, multiply by . In , column says that column of is an eigenvector with eigenvalue . Those columns form a basis because is invertible. Conversely, put any eigenbasis into the columns of , with the corresponding eigenvalues in the same order down . Columnwise multiplication gives , and multiplying by gives the diagonalization.
The criterion can therefore be stated in two equivalent ways:
- The sum of the dimensions of the real eigenspaces is .
- The characteristic polynomial splits into real linear factors, and for every distinct eigenvalue.
To justify the equivalence, the independent-list result shows that the first condition supplies an eigenbasis. If the polynomial splits, its algebraic multiplicities sum to . Since each , their sum equals exactly when every individual inequality is equality. If an eigenbasis exists, similarity to a real diagonal matrix also shows that the characteristic polynomial splits and has precisely those diagonal entries as roots.
Three useful consequences follow. First, distinct real eigenvalues are sufficient for diagonalization. Second, distinctness is not necessary: is already diagonal, with one eigenvalue and an -dimensional eigenspace. Third, invertibility is a different issue. A diagonal matrix may have zero entries; diagonalization does not require all eigenvalues to be nonzero.
A dependable calculation procedure
Compute and factor . For each distinct real root, solve and record a basis and its dimension. If there are fewer than independent vectors in total, stop: there is no real diagonalization. Otherwise form and , preserving the pairing between columns and eigenvalues. Verify and check that is invertible. Calculate only after those checks. An incorrect inverse cannot repair an incorrect eigenbasis.
When parameters occur, isolate exceptional values before dividing by a parameter expression. A formula for a generic eigenspace can lose valid directions at a special value.
4. A repeated root that supplies a full eigenbasis
Worked example 1. Consider
It is triangular, so . For the system is
with free. Thus and . For , the equations are and , giving
There are three independent eigenvectors. A suitable choice is
The determinant of is one. Multiplying its three columns by verifies , and multiplying by the displayed inverse gives . The repeated eigenvalue is no obstacle because its eigenspace has the required dimension.
For every integer , cancellation of consecutive factors gives . Therefore
At this is ; at it is . Those checks are necessary but do not replace the derivation for all .
For an initial vector , its eigenbasis coordinates are . Thus
The coordinate coefficients are not generally the original coordinates. Here the third eigenvector has a nonzero first component, which is why the first component receives both growth factors.
5. The same characteristic polynomial without diagonalization
Worked example 2. Now let
Again . But requires , so has dimension one. Also . The combined dimension is only two. No real diagonalization exists, even though all roots are real and .
Failure of diagonalization does not mean that powers cannot be found. The upper-left block is , where
Since commutes with , expanding a product of copies leaves only terms containing zero or one copy of : a term with two copies vanishes. There are ways to choose the single copy. For ,
Set separately. The additional factor is consistent with the missing eigenvector; it cannot be obtained by pretending there are two independent eigenvectors for the repeated root. This direct block calculation requires no general canonical-form theorem.
The matrices and have the same characteristic polynomial and determinant, but different eigenspace dimensions. Polynomial data alone do not determine diagonalizability.
6. Parameter values and colliding eigenvalues
Worked example 3. For real , study
Its characteristic polynomial is . If , its three eigenvalues are distinct, so it is diagonalizable. We must still inspect both collision values.
At , the eigenvalue two has multiplicity two. Solving gives , with free. Thus has dimension two. Along with this gives an eigenbasis.
At , solving gives . The repeated eigenvalue one has only one independent eigenvector. The remaining eigenvalue two supplies , so diagonalization fails.
Hence is diagonalizable exactly when . For all those values, one formula works, including :
The second column is an -eigenvector because . Moreover , so the only excluded value is precisely the defective one. At this displayed second column becomes , not a second independent vector. Counting columns without checking independence would conceal the failure.
For and integers ,
The quotient is . Thus its value at extends to , giving the correct direct formula for . A diagonalizing matrix can become singular at a parameter value even though the power matrix itself has a perfectly finite limit. At , every is , including ; no convention about is needed.
7. Symmetry and the scalar field
If , , and , then
Distinct eigenvalues therefore give orthogonal eigenspaces. Within a repeated eigenspace, however, arbitrary independent eigenvectors need not be orthogonal. If , then every linear combination of them remains in . Gram–Schmidt applied within that eigenspace therefore preserves the eigenvector property while making a chosen basis orthonormal.
Worked example 4. For
the vectors and form a basis of , while spans . Normalize them to obtain
With , direct dot products give , and . In contrast, and are two independent four-eigenvectors whose dot product is two, not zero. Repeated-eigenvalue directions are not automatically mutually perpendicular. We have constructed a complete basis in this example; a proof of the general real spectral theorem is not assumed here.
Finally, real and complex diagonalization are different assertions. The real rotation
has characteristic polynomial , so it has no real eigenbasis. Over , the eigenvalues are , with eigenvectors respectively, and distinctness gives a complex eigenbasis. This is a field distinction, not a failure of the criterion. Complex arithmetic is not needed for the real calculations above.
8. Exercises
- A real matrix has characteristic polynomial . Its five-eigenspace is a line. Can it be diagonalizable? State the missing dimension and explain whether zero may be listed as a second eigenvector.
- Find every eigenspace of . Construct and verify a diagonalization.
- Decide whether is diagonalizable. Explain why the number of displayed diagonal entries is not the relevant eigenvector count.
- For , find an eigenbasis, rank, determinant, and a diagonalization. Does singularity prevent your answer?
- Let and . Compute and . Find the whole five-eigenspace, not only one vector.
- Reconsider from Worked example 3. Write explicit bases at and , and explain why the two repeated-root cases have different outcomes.
- Derive the power formula for for and . Use the finite geometric sum to extend it to . Explain why this does not give a diagonalization at .
- Suppose with invertible. Prove that gives an isomorphism from to . Deduce that diagonalizability is preserved by similarity, but need not be shared by matrices with the same characteristic polynomial.
- For in Worked example 4, calculate explicitly for every integer . Check its action on and at .
- Let . Decompose an arbitrary initial vector into eigenvectors, find for , and prove convergence to zero. State whether negative powers exist.
9. Complete solutions
1. The five-eigenspace has dimension one, whereas its algebraic multiplicity is two. The minus-one eigenspace has dimension at most one, so the total is at most two, short of the required three. The matrix is not diagonalizable. Zero belongs to each eigenspace but cannot be an eigenvector or increase the span of a list. A second independent five-eigenvector is what is missing.
2. The triangular characteristic polynomial is . For one, the second and third equations of give , hence . For three, the only nonzero equation is , giving . Set
The columns are scaled by under , so . Also and the displayed inverse multiplies to , proving .
3. The only eigenvalue is four, of algebraic multiplicity three. The equation is , so has dimension two. The matrix is not diagonalizable. Diagonal entries of a triangular matrix identify eigenvalues with multiplicity; they are not automatically three independent eigenvectors.
4. For zero, the equations give , so use . For one, they give , so use . For two, they give , so use . These three vectors form the columns of the same as in Solution 2, now with . Their direct images verify , and is invertible. The original columns are zero, , and , so rank is two. The determinant is zero. Singularity prevents an inverse for , not an eigenbasis.
5. Reversing the shear gives . Multiplication yields
The equation is , hence . Its basis can be . The one repeated root contributes two independent directions, exactly as required by .
6. At , and , giving only two independent eigenvectors. At , and , giving three. The differing null-space dimensions, not the mere presence of a repeated factor, explain the differing outcomes.
7. For ,
Multiplying gives diagonal entries and upper-right entry of the two-by-two block , with all other off-diagonal entries zero. The identity shows that this entry extends to at . Direct multiplication, or the square-zero calculation from §5, gives exactly that power of . The power formula does not create a missing eigenvector: remains singular and remains one-dimensional.
8. If , then . Thus the map sends the first eigenspace into the second. Its inverse is , which gives the reverse implication. Both are linear and invertible, so the eigenspace dimensions agree for every eigenvalue. Transporting an eigenbasis through preserves independence and spanning, proving similarity invariance of diagonalizability. Worked examples 1 and 2 have the same characteristic polynomial but different eigenspace dimensions and opposite outcomes, so equality of characteristic polynomials is not enough.
9. In the first two coordinates, and have eigenvalues four and two. The third coordinate has eigenvalue four. Thus
This follows by multiplying the orthogonal diagonalization, not by guessing entries from initial powers. It maps to , as required. At the two-by-two block is the identity and the final diagonal entry is one, so the full matrix is .
10. The vector has eigenvalue , while and both have eigenvalue . These form a basis: their column matrix is triangular with diagonal entries one. The decomposition is
Consequently
At this returns the initial vector. Both geometric factors tend to zero, so each coordinate tends to zero for every fixed initial vector. All eigenvalues are nonzero, so is invertible and negative integer powers exist as well; they do not share the stated forward-time convergence.
Summary
Factorization locates eigenvalues; null spaces determine whether they supply a basis. Repeated roots require dimension checks, while different eigenspaces combine independently. A valid diagonalization pairs each column with the matching diagonal entry and permits exact power formulas. Singularity, repeated roots, and lack of real roots are separate issues. Parameter collisions must be examined without dividing away the exceptional case.
An explicit decay bound for the final repeated-action exercise
For the exercise matrix
the already verified eigenbasis calculation gives, for every integer ,
Here is a direct justification of the claimed limit. For , induction gives : the step follows from . Thus
The triangle inequality and the norms of the three displayed directions give
For any fixed real and any , the Archimedean property permits large enough that each term with nonzero numerator is smaller than ; a zero numerator already contributes zero. Hence the norm tends to zero. This proves the stated convergence for this matrix and all initial vectors without assuming an unproved general theorem about matrix powers.