maths.free › Linear Algebra › Geometry and spectra › Cayley-Hamilton theorem
Cayley-Hamilton theorem
In linear algebra, the Cayley-Hamilton theorem (named after the mathematicians Arthur Cayley and William Rowan Hamilton) states that every square matrix over a commutative ring (such as the real or complex numbers or…
Cayley-Hamilton theorem
In linear algebra, the Cayley-Hamilton theorem (named after the mathematicians Arthur Cayley and William Rowan Hamilton) states that every square matrix over a commutative ring (such as the real or complex numbers or the integers) satisfies its own characteristic equation.
The characteristic polynomial of an \(n \times n\) matrix A is defined as \(p_A(\lambda)=\det(\lambda I_n-A)\), where det is the determinant operation, λ is a variable scalar element of the base ring, and In is the \(n \times n\) identity matrix. Since each entry of the matrix \((\lambda I_n-A)\) is either constant or linear in λ, the determinant of \((\lambda I_n-A)\) is a degree-n monic polynomial in λ, so it can be written as \[p_A(\lambda) = \lambda^n + c_{n-1}\lambda^{n-1} + \cdots + c_1\lambda + c_0.\] By replacing the scalar variable λ with the matrix A, one can define an analogous matrix polynomial expression, \[p_A(A) = A^n + c_{n-1}A^{n-1} + \cdots + c_1A + c_0I_n.\] (Here, \(A\) is the given matrix, not a variable, unlike \(\lambda\), so \(p_A(A)\) is a constant rather than a function.) The Cayley-Hamilton theorem states that this polynomial expression is equal to the zero matrix, which is to say that \(p_A(A) = 0;\) that is, the characteristic polynomial \(p_A\) is an annihilating polynomial for \(A.\)
One use for the Cayley-Hamilton theorem is that it allows A to be expressed as a linear combination of the lower matrix powers of A: \[A^n = -c_{n-1}A^{n-1} - \cdots - c_1A - c_0I_n.\] When the ring is a field, the Cayley-Hamilton theorem is equivalent to the statement that the minimal polynomial of a square matrix divides its characteristic polynomial.
A special case of the theorem was first proved by Hamilton in 1853 in terms of inverses of linear functions of quaternions. This corresponds to the special case of certain \(4 \times 4\) real or \(2 \times 2\) complex matrices. Cayley in 1858 stated the result for \(3 \times 3\) and smaller matrices, but only published a proof for the \(2 \times 2\) case. As for \(n \times n\) matrices, Cayley stated “..., I have not thought it necessary to undertake the labor of a formal proof of the theorem in the general case of a matrix of any degree”. The general case was first proved by Ferdinand Frobenius in 1878.
2 × 2 matrices
As a concrete example, let \[A = \begin{pmatrix}1&2\\3&4\end{pmatrix}.\] Its characteristic polynomial is given by \[\begin{aligned} p(\lambda) &= \det(\lambda I_2-A) = \det\!\begin{pmatrix}\lambda-1&-2\\-3&\lambda-4\end{pmatrix} \\ &=(\lambda-1)(\lambda-4)-(-2)(-3)=\lambda^2-5\lambda-2. \end{aligned}\]
The Cayley-Hamilton theorem claims that, if we define \[p(X) = X^2 - 5X - 2I_2,\] then \[p(A) = A^2-5A-2I_2 = \begin{pmatrix}0&0\\0&0\\\end{pmatrix}.\] We can verify by computation that indeed, \[A^2-5A-2I_2 = \begin{pmatrix}7&10\\15&22\\\end{pmatrix} - \begin{pmatrix}5&10\\15&20\\\end{pmatrix} - \begin{pmatrix}2&0\\0&2\\\end{pmatrix} = \begin{pmatrix}0&0\\0&0\\\end{pmatrix}.\]
For a generic \(2 \times 2\) matrix, \[A=\begin{pmatrix}a&b\\c&d\\\end{pmatrix} ,\]
the characteristic polynomial is given by p(λ) = λ − (a + d)λ + (ad − bc), so the Cayley-Hamilton theorem states that \[p(A) = A^2-(a+d)A+(ad-bc)I_2 = \begin{pmatrix}0&0\\0&0\end{pmatrix};\] which is indeed always the case, evident by working out the entries of A.
Proof\[\begin{aligned} &{} A^2-(a+d)A+(ad-bc)I_2 \\[1ex] &= \begin{pmatrix}a^2+bc&ab+bd\\ac+cd&bc+d^2\\\end{pmatrix} - \begin{pmatrix}a(a+d)&b(a+d)\\c(a+d)&d(a+d) \end{pmatrix}+(ad-bc)I_2 \\[1ex] &= \begin{pmatrix}bc-ad&0\\0&bc-ad\\\end{pmatrix}+(ad-bc)I_2 \\[1ex] &= \begin{pmatrix}0&0\\0&0 \end{pmatrix} \end{aligned}\]
Determinant and inverse matrix
For a general \(n \times n\) invertible matrix A, i.e., one with nonzero determinant, A can thus be written as an \((n-1)\) order polynomial expression in A: As indicated, the Cayley-Hamilton theorem amounts to the identity
\(p(A)=A^n+c_{n-1}A^{n-1}+\cdots+c_1A+(-1)^n\det(A)I_n =0.\)
The coefficients ci are given by the elementary symmetric polynomials of the eigenvalues of A. Using Newton identities, the elementary symmetric polynomials can in turn be expressed in terms of power sum symmetric polynomials of the eigenvalues: \[s_k = \sum_{i=1}^n \lambda_i^k = \operatorname{tr}(A^k),\] where tr(A) is the trace of the matrix A. Thus, we can express ci in terms of the trace of powers of A.
In general, the formula for the coefficients ci is given in terms of complete exponential Bell polynomials as \[c_{n-k} = \frac{(-1)^{k}}{k!} B_k(s_1, -1! s_2, 2! s_3, \ldots, (-1)^{k-1}(k-1)! s_k).\]
In particular, the determinant of A equals (−1)c0. Thus, the determinant can be written as the trace identity: \[\det(A) = \frac{1}{n!} B_n(s_1, -1! s_2, 2! s_3, \ldots, (-1)^{n-1}(n-1)! s_n).\]
Likewise, the characteristic polynomial can be written as \[-(-1)^n\det(A)I_n = A(A^{n-1}+c_{n-1}A^{n-2}+\cdots+c_{1}I_n),\] and, by multiplying both sides by A (note −(−1) = (−1)), one is led to an expression for the inverse of A as a trace identity, \[\begin{aligned} A^{-1} & = \frac{(-1)^{n-1}}{\det A}(A^{n-1}+c_{n-1}A^{n-2}+\cdots+c_{1}I_n), \\[5pt] & = \frac{1}{\det A}\sum_{k=0}^{n-1} (-1)^{n+k-1}\frac{A^{n-k-1}}{k!} B_k(s_1, -1! s_2, 2! s_3, \ldots, (-1)^{k-1}(k-1)! s_k). \end{aligned}\]
Another method for obtaining these coefficients ck for a general \(n \times n\) matrix, provided no root be zero, relies on the following alternative expression for the determinant, \[p(\lambda)= \det (\lambda I_n -A) = \lambda^n \exp (\operatorname{tr} (\log (I_n - A/\lambda))).\] Hence, by virtue of the Mercator series, \[p(\lambda)= \lambda^n \exp \left( -\operatorname{tr} \sum_{m=1}^\infty {({A\over\lambda})^m \over m} \right),\] where the exponential only needs be expanded to order λ, since p(λ) is of order n, the net negative powers of λ automatically vanishing by the C-H theorem. (Again, this requires a ring containing the rational numbers.) Differentiation of this expression with respect to λ allows one to express the coefficients of the characteristic polynomial for general n as determinants of m × m matrices, \[c_{n-m} = \frac{(-1)^m}{m!} \begin{vmatrix} \operatorname{tr}A & m-1 & 0 & \cdots \\ \operatorname{tr}A^2 &\operatorname{tr}A & m-2 &\cdots \\ \vdots & \vdots & & & \vdots \\ \operatorname{tr}A^{m-1} &\operatorname{tr}A^{m-2}& \cdots & \cdots & 1 \\ \operatorname{tr}A^m &\operatorname{tr}A^{m-1}& \cdots & \cdots & \operatorname{tr}A \end{vmatrix} ~.\]
Examples
For instance, the first few Bell polynomials are B0 = 1, B1(x1) = x1, B2(x1, x2) = x
1 + x2, and B3(x1, x2, x3) = x
1 + 3 x1x2 + x3.
Condensed: the full section is in Wikipedia.
n-th power of matrix
The Cayley-Hamilton theorem always provides a relationship between the powers of A (though not always the simplest one), which allows one to simplify expressions involving such powers, and evaluate them without having to compute the power A or any higher powers of A.
As an example, for \(A = \begin{pmatrix}1&2\\3&4\end{pmatrix}\) the theorem gives \[A^2=5A+2I_2\, .\]
Then, to calculate A, observe \[\begin{aligned} A^3&=(5A+2I_2)A=5A^2+2A=5(5A+2I_2)+2A=27A+10I_2, \\[1ex] A^4&=A^3A=(27A+10I_2)A=27A^2+10A=27(5A+2I_2)+10A=145A+54I_2\, . \end{aligned}\] Likewise, \[\begin{aligned} A^{-1} &= \frac{1}{2}\left(A-5I_2\right)~. \\[1ex] A^{-2} &= A^{-1} A^{-1} = \frac{1}{4} \left(A^2-10A+25I_2\right) = \frac{1}{4} \left((5A+2I_2)-10A+25I_2\right) = \frac{1}{4} \left(-5A+27I_2\right)~. \end{aligned}\]
Notice that we have been able to write the matrix power as the sum of two terms. In fact, matrix power of any order k can be written as a matrix polynomial of degree at most n − 1, where n is the size of a square matrix. This is an instance where Cayley-Hamilton theorem can be used to express a matrix function, which we will discuss below systematically.
Matrix functions
Given an analytic function \[f(x) = \sum_{k=0}^\infty a_k x^k\] and the characteristic polynomial p(x) of degree n of an n × n matrix A, the function can be expressed using long division as \[f(x) = q(x) p(x) + r(x),\] where q(x) is some quotient polynomial and r(x) is a remainder polynomial such that 0 ≤ deg r(x) < n.
By the Cayley-Hamilton theorem, replacing x by the matrix A gives p(A) = 0, so one has \[f(A) = r(A).\]
Thus, the analytic function of the matrix A can be expressed as a matrix polynomial of degree less than n.
Let the remainder polynomial be \[r(x) = c_0 + c_1 x + \cdots + c_{n-1} x^{n-1}.\] Since p(λ) = 0, evaluating the function f(x) at the n eigenvalues of A yields \[f(\lambda_i) = r(\lambda_i) = c_0 + c_1 \lambda_i + \cdots + c_{n-1} \lambda_i^{n-1}, \qquad \text{for } i=1,2,...,n.\] This amounts to a system of n linear equations, which can be solved to determine the coefficients ci. Thus, one has \[f(A) = \sum_{k=0}^{n-1} c_k A^k.\]
When the eigenvalues are repeated, that is λi = λj for some i ≠ j, two or more equations are identical; and hence the linear equations cannot be solved uniquely. For such cases, for an eigenvalue λ with multiplicity m, the first m − 1 derivatives of p(x) vanish at the eigenvalue. This leads to the extra m − 1 linearly independent solutions \[\left.\frac{\mathrm{d}^k f(x)}{\mathrm{d}x^k}\right|_{x=\lambda} = \left.\frac{\mathrm{d}^k r(x)}{\mathrm{d}x^k}\right|_{x=\lambda}\qquad \text{for } k = 1, 2, \ldots, m-1,\] which, combined with others, yield the required n equations to solve for ci.
Finding a polynomial that passes through the points (λi, f (λi)) is essentially an interpolation problem, and can be solved using Lagrange or Newton interpolation techniques, leading to Sylvester's formula.
For example, suppose the task is to find the polynomial representation of \[f(A) = e^{At} \qquad \mathrm{where} \qquad A = \begin{pmatrix}1&2\\0&3\end{pmatrix}.\]
Condensed: the full section is in Wikipedia.
Algebraic number theory
The Cayley-Hamilton theorem is an effective tool for computing the minimal polynomial of algebraic integers. For example, given a finite extension \(\mathbb{Q}[\alpha_1,\ldots,\alpha_k]\) of \(\mathbb{Q}\) and an algebraic integer \(\alpha \in \mathbb{Q}[\alpha_1,\ldots,\alpha_k]\) which is a non-zero linear combination of the \(\alpha_1^{n_1}\cdots\alpha_k^{n_k}\) we can compute the minimal polynomial of \(\alpha\) by finding a matrix representing the \(\mathbb{Q}\)-linear transformation \[\cdot \alpha : \mathbb{Q}[\alpha_1,\ldots,\alpha_k] \to \mathbb{Q}[\alpha_1,\ldots,\alpha_k]\] If we call this transformation matrix \(A\), then we can find the minimal polynomial by applying the Cayley-Hamilton theorem to \(A\).
Proofs
The Cayley-Hamilton theorem is an immediate consequence of the existence of the Jordan normal form for matrices over algebraically closed fields, see Jordan normal form § Cayley-Hamilton theorem. In this section, direct proofs are presented.
As the examples above show, obtaining the statement of the Cayley-Hamilton theorem for an \(n \times n\) matrix
\[A = \left(a_{ij}\right)_{i,j=1}^n\] requires two steps: first the coefficients ci of the characteristic polynomial are determined by development as a polynomial in t of the determinant
\[\begin{aligned} p(t) & = \det(t I_n - A) = \begin{vmatrix}t-a_{1,1}&-a_{1,2}&\cdots&-a_{1,n} \\ -a_{2,1}&t-a_{2,2}&\cdots&-a_{2,n} \\ \vdots & \vdots & \ddots & \vdots \\ -a_{n,1}&-a_{n,2}& \cdots& t-a_{n,n} \end{vmatrix} \\[5pt] & = t^n+c_{n-1}t^{n-1}+\cdots+c_1t+c_0, \end{aligned}\]
and then these coefficients are used in a linear combination of powers of A that is equated to the \(n \times n\) zero matrix: \[A^n+c_{n-1}A^{n-1} + \cdots + c_1 A + c_0 I_n = \begin{pmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{pmatrix}.\]
The left-hand side can be worked out to an \(n \times n\) matrix whose entries are (enormous) polynomial expressions in the set of entries ai,j of A, so the Cayley-Hamilton theorem states that each of these n expressions equals 0. For any fixed value of n, these identities can be obtained by tedious but straightforward algebraic manipulations. None of these computations, however, can show why the Cayley-Hamilton theorem should be valid for matrices of all possible sizes n, so a uniform proof for all n is needed.
Preliminaries
If a vector v of size n is an eigenvector of A with eigenvalue λ, in other words if A⋅v = λv, then \[\begin{aligned} p(A)\cdot v & = A^n\cdot v+c_{n-1}A^{n-1}\cdot v+\cdots+c_1A\cdot v+c_0I_n\cdot v \\[6pt] & = \lambda^nv+c_{n-1}\lambda^{n-1}v+\cdots+c_1\lambda v+c_0 v=p(\lambda)v, \end{aligned}\] which is the zero vector since p(λ) = 0 (the eigenvalues of A are precisely the roots of p(t)). This holds for all possible eigenvalues λ, so the two matrices equated by the theorem certainly give the same (null) result when applied to any eigenvector. Now if A admits a basis of eigenvectors, in other words if A is diagonalizable, then the Cayley-Hamilton theorem must hold for A, since two matrices that give the same values when applied to each element of a basis must be equal. \[A=XDX^{-1}, \quad D=\operatorname{diag}(\lambda_i), \quad i=1,2,...,n\] \[p_A(\lambda)=|\lambda I-A|=\prod_{i=1}^n (\lambda-\lambda_i)\equiv \sum_{k=0}^n c_k\lambda^k\] \[p_A(A)=\sum c_k A^k=X p_A(D)X^{-1}=X C X^{-1}\] \[C_{ii}=\sum_{k=0}^n c_k\lambda_i^k=\prod_{j=1}^n(\lambda_i-\lambda_j)=0, \qquad C_{i,j\neq i}=0\] \[\therefore p_A(A)=XCX^{-1}=O .\]
Consider now the function \(e\colon M_n \to M_n\) which maps \(n \times n\) matrices to \(n \times n\) matrices given by the formula \(e(A)=p_A(A)\), i.e. which takes a matrix \(A\) and plugs it into its own characteristic polynomial. Not all matrices are diagonalizable, but for matrices with complex coefficients many of them are: the set \(D\) of diagonalizable complex square matrices of a given size is dense in the set of all such square matrices (for a matrix to be diagonalizable it suffices for instance that its characteristic polynomial not have any multiple roots). Now viewed as a function \(e\colon \C^{n^2}\to \C ^{n^2}\)(since matrices have \(n^2\) entries) we see that this function is continuous. This is true because the entries of the image of a matrix are given by polynomials in the entries of the matrix. Since \[e(D) = \left\{\begin{pmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{pmatrix}\right\}\]
and since the set \(D\) is dense, by continuity this function must map the entire set of \(n \times n\) matrices to the zero matrix. Therefore, the Cayley-Hamilton theorem is true for complex numbers, and must therefore also hold for \(\Q\)- or \(\R\)-valued matrices.
While this provides a valid proof, the argument is not very satisfactory, since the identities represented by the theorem do not in any way depend on the nature of the matrix (diagonalizable or not), nor on the kind of entries allowed (for matrices with real entries the diagonalizable ones do not form a dense set, and it seems strange one would have to consider complex matrices to see that the Cayley-Hamilton theorem holds for them). We shall therefore now consider only arguments that prove the theorem directly for any matrix using algebraic manipulations only; these also have the benefit of working for matrices with entries in any commutative ring.
Condensed: the full section is in Wikipedia.
A direct algebraic proof
This proof uses just the kind of objects needed to formulate the Cayley-Hamilton theorem: matrices with polynomials as entries. The matrix \(tI_n-A\) whose determinant is the characteristic polynomial of A is such a matrix, and since polynomials form a commutative ring, it has an adjugate \[B=\operatorname{adj}(tI_n-A).\] Then, according to the right-hand fundamental relation of the adjugate, one has \[(t I_n - A)B = \det(t I_n - A) I_n = p(t) I_n.\]
Since B is also a matrix with polynomials in t as entries, one can, for each i, collect the coefficients of \(t^i\) in each entry to form a matrix Bi of numbers, such that one has \[B = \sum_{i = 0}^{n - 1} t^i B_i.\] (The way the entries of B are defined makes clear that no powers higher than t occur). While this looks like a polynomial with matrices as coefficients, we shall not consider such a notion; it is just a way to write a matrix with polynomial entries as a linear combination of n constant matrices, and the coefficient \(t^i\) has been written to the left of the matrix to stress this point of view.
Now, one can expand the matrix product in our equation: \[\begin{aligned} p(t) I_n &= (t I_n - A)B \\ &=(t I_n - A)\sum_{i = 0}^{n - 1} t^i B_i \\ &=\sum_{i = 0}^{n - 1} tI_n\cdot t^i B_i - \sum_{i = 0}^{n - 1} A\cdot t^i B_i \\ &=\sum_{i = 0}^{n - 1} t^{i + 1} B_i- \sum_{i = 0}^{n - 1} t^i AB_i \\ &=t^n B_{n - 1} + \sum_{i = 1}^{n - 1} t^i(B_{i - 1} - AB_i) - AB_0. \end{aligned}\]
Writing \[p(t)I_n=t^nI_n+t^{n-1}c_{n-1}I_n+\cdots+tc_1I_n+c_0I_n,\] one obtains an equality of two matrices with polynomial entries, written as linear combinations of constant matrices with powers of t as coefficients.
Such an equality can hold only if in any matrix position the entry that is multiplied by a given power \(t^i\) is the same on both sides; it follows that the constant matrices with coefficient \(t^i\) in both expressions must be equal. Writing these equations then for i from n down to 0, one finds \[B_{n - 1} = I_n, \qquad B_{i - 1} - AB_i = c_i I_n\quad \text{for }1 \leq i \leq n-1, \qquad -A B_0 = c_0 I_n.\]
Finally, multiply the equation of the coefficients of \(t^i\) from the left by \(A^i\), and sum up:
\[A^n B_{n-1} + \sum\limits_{i=1}^{n-1}\left( A^i B_{i-1} - A^{i+1}B_i\right) -A B_0 = A^n+c_{n-1} A^{n-1} + \cdots + c_1A + c_0I_n.\]
Condensed: the full section is in Wikipedia.
A proof using polynomials with matrix coefficients
This proof is similar to the first one, but tries to give meaning to the notion of polynomial with matrix coefficients that was suggested by the expressions occurring in that proof. This requires considerable care, since it is somewhat unusual to consider polynomials with coefficients in a non-commutative ring, and not all reasoning that is valid for commutative polynomials can be applied in this setting.
Notably, while arithmetic of polynomials over a commutative ring models the arithmetic of polynomial functions, this is not the case over a non-commutative ring (in fact there is no obvious notion of polynomial function in this case that is closed under multiplication). So when considering polynomials in t with matrix coefficients, the variable t must not be thought of as an "unknown", but as a formal symbol that is to be manipulated according to given rules; in particular one cannot just set t to a specific value. \[(f+g)(x) = \sum_i \left (f_i+g_i \right )x^i = \sum_i{f_i x^i} + \sum_i{g_i x^i} = f(x) + g(x).\]
Let \(M(n,R)\) be the ring of n × n matrices with entries in some ring R (such as the real or complex numbers) that has A as an element. Matrices with as coefficients polynomials in t, such as \(t I_n - A\) or its adjugate B in the first proof, are elements of \(M(n,R[t])\).
By collecting like powers of t, such matrices can be written as "polynomials" in t with constant matrices as coefficients; write \(M(n,R)[t]\) for the set of such polynomials. Since this set is in bijection with \(M(n,R[t])\), one defines arithmetic operations on it correspondingly, in particular multiplication is given by \[\left( \sum_i M_i t^i \right) \!\!\left( \sum_j N_j t^j \right) = \sum_{i,j} (M_i N_j) t^{i+j},\] respecting the order of the coefficient matrices from the two operands; obviously this gives a non-commutative multiplication.
Thus, the identity \[(t I_n - A)B = p(t) I_n.\] from the first proof can be viewed as one involving a multiplication of elements in \(M(n,R)[t]\).
At this point, it is tempting to simply set t equal to the matrix A, which makes the first factor on the left equal to the zero matrix, and the right hand side equal to p(A); however, this is not an allowed operation when coefficients do not commute. It is possible to define a "right-evaluation map" evA : M[t ] → M, which replaces each t by the matrix power A of A, where one stipulates that the power is always to be multiplied on the right to the corresponding coefficient. But this map is not a ring homomorphism: the right-evaluation of a product differs in general from the product of the right-evaluations. This is so because multiplication of polynomials with matrix coefficients does not model multiplication of expressions containing unknowns: a product \(Mt^i Nt^j = (M\cdot N) t^{i+j}\) is defined assuming that t commutes with N, but this may fail if t is replaced by the matrix A.
Condensed: the full section is in Wikipedia.
A synthesis of the first two proofs
In the first proof, one was able to determine the coefficients Bi of B based on the right-hand fundamental relation for the adjugate only. In fact the first n equations derived can be interpreted as determining the quotient B of the Euclidean division of the polynomial p(t)In on the left by the monic polynomial Int − A, while the final equation expresses the fact that the remainder is zero. This division is performed in the ring of polynomials with matrix coefficients. Indeed, even over a non-commutative ring, Euclidean division by a monic polynomial P is defined, and always produces a unique quotient and remainder with the same degree condition as in the commutative case, provided it is specified at which side one wishes P to be a factor (here that is to the left).
To see that quotient and remainder are unique (which is the important part of the statement here), it suffices to write \(PQ+r = PQ'+r'\) as \(P(Q-Q') = r'-r\) and observe that since P is monic, P(Q−Q′) cannot have a degree less than that of P, unless Q = Q′.
But the dividend p(t)In and divisor Int − A used here both lie in the subring (R[A])[t], where R[A] is the subring of the matrix ring M(n, R) generated by A: the R-linear span of all powers of A. Therefore, the Euclidean division can in fact be performed within that commutative polynomial ring, and of course it then gives the same quotient B and remainder 0 as in the larger ring; in particular this shows that B in fact lies in (R[A])[t].
But, in this commutative setting, it is valid to set t to A in the equation
\[p(t)I_n=(tI_n-A)B;\]
in other words, to apply the evaluation map
\[\operatorname{ev}_A:(R[A])[t]\to R[A]\]
\(\operatorname{adj}(-A)=\sum_{i=1}^nc_iA^{i-1},\)
Condensed: the full section is in Wikipedia.
A proof using matrices of endomorphisms
As was mentioned above, the matrix p(A) in statement of the theorem is obtained by first evaluating the determinant and then substituting the matrix A for t; doing that substitution into the matrix \(t I_n - A\) before evaluating the determinant is not meaningful. Nevertheless, it is possible to give an interpretation where p(A) is obtained directly as the value of a certain determinant, but this requires a more complicated setting, one of matrices over a ring in which one can interpret both the entries \(A_{i,j}\) of A, and all of A itself. One could take for this the ring M(n, R) of n × n matrices over R, where the entry \(A_{i,j}\) is realised as \(A_{i,j} I_n\), and A as itself. But considering matrices with matrices as entries might cause confusion with block matrices, which is not intended, as that gives the wrong notion of determinant (recall that the determinant of a matrix is defined as a sum of products of its entries, and in the case of a block matrix this is generally not the same as the corresponding sum of products of its blocks!). It is clearer to distinguish A from the endomorphism φ of an n-dimensional vector space V (or free R-module if R is not a field) defined by it in a basis \(e_1, \ldots, e_n\), and to take matrices over the ring End(V) of all such endomorphisms. Then φ ∈ End(V) is a possible matrix entry, while A designates the element of M(n, End(V)) whose i, j entry is endomorphism of scalar multiplication by \(A_{i,j}\); similarly \(I_n\) will be interpreted as element of M(n, End(V)). However, since End(V) is not a commutative ring, no determinant is defined on M(n, End(V)); this can only be done for matrices over a commutative subring of End(V). Now the entries of the matrix \(\varphi I_n-A\) all lie in the subring R[φ] generated by the identity and φ, which is commutative. Then a determinant map M(n, R[φ]) → R[φ] is defined, and \(\det(\varphi I_n - A)\) evaluates to the value p(φ) of the characteristic polynomial of A at φ (this holds independently of the relation between A and φ); the Cayley-Hamilton theorem states that p(φ) is the null endomorphism.
One additional fact that follows from this proof is that the matrix A whose characteristic polynomial is taken need not be identical to the value φ substituted into that polynomial; it suffices that φ be an endomorphism of V satisfying the initial equations
\[\varphi(e_i) = \sum_j A_{j,i} e_j\] for some sequence of elements e1, ..., en that generate V (which space might have smaller dimension than n, or in case the ring R is not a field it might not be a free module at all).
Condensed: the full section is in Wikipedia.
A bogus "proof": p(A) = det(AIn − A) = det(A − A) = 0
One persistent elementary but incorrect argument for the theorem is to "simply" take the definition \[p(\lambda) = \det(\lambda I_n - A)\] and substitute A for λ, obtaining \[p(A)=\det(A I_n - A) = \det(A - A) = \det(\mathbf{0}) = 0.\]
There are many ways to see why this argument is wrong. First, in the Cayley-Hamilton theorem, p(A) is an n × n matrix. However, the right hand side of the above equation is the value of a determinant, which is a scalar. So they cannot be equated unless n = 1 (i.e. A is just a scalar). Second, in the expression \(\det(\lambda I_n - A)\), the variable λ actually occurs at the diagonal entries of the matrix \(\lambda I_n - A\). To illustrate, consider the characteristic polynomial in the previous example again:
\[\det\!\begin{pmatrix}\lambda-1&-2\\-3&\lambda-4\end{pmatrix}.\]
If one substitutes the entire matrix A for λ in those positions, one obtains
\[\det\!\begin{pmatrix} \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} - 1 & -2 \\ -3 &\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} - 4\end{pmatrix},\]
in which the "matrix" expression is simply not a valid one. Note, however, that if scalar multiples of identity matrices instead of scalars are subtracted in the above, i.e. if the substitution is performed as
\[\det\!\begin{pmatrix} \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} - I_2 & -2I_2 \\ -3I_2 & \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} - 4I_2 \end{pmatrix},\]
Condensed: the full section is in Wikipedia.
Proofs using methods of abstract algebra
Basic properties of Hasse-Schmidt derivations on the exterior algebra \(A = \bigwedge M\) of some B-module M (supposed to be free and of finite rank) have been used by Gatto & Salehyan (2016, §4) to prove the Cayley-Hamilton theorem. See also Gatto & Scherbak (2015).
Zdaj pa ti. Noben kalkulator ne poravna tega, vendar kosov tega je kompakten. Poskusite enega spodaj, ali vpišite svoje.
Brezplačen račun dodaja opombe o vsaki lekciji, zapis o tem, kar ste končali, vaše rešene težave na enem mestu, in tutor lahko vprašate o tej strani. Sama matematika je odprta za vse, prijavljena ali ne.
Registriraj se PrijavaSimboli, ki se uporabljajo tukaj
Tapnite vsak simbol za popolno opredelitev, sliko in kaj pomeni vsaka črka v njej.
Vprašanja, ki jih ljudje sprašujejo
What does a determinant mean geometrically?
It is the factor by which the matrix scales area (2×2) or volume (3×3), with a negative sign if orientation flips. Zero means the matrix flattens space and cannot be undone.
What is an eigenvector?
A direction the matrix does not turn: it only stretches it by the eigenvalue. Along eigenvectors a complicated matrix acts like multiplication by a number.
Why is matrix multiplication not commutative?
Because a matrix is a transformation and AB means "do B, then A". Rotating then reflecting is not the same as reflecting then rotating.
Deli te strani so prilagojeni od Wikipedia (CC BY-SA 4.0). Tu je zbrano in razjasnjeno. Napake so naše.
Več v Linear Algebra
DeterminantsMatrix inverseEigenvalues and eigenvectorsMatrix multiplicationRow reductionVector spaces, span and linear independenceOrthogonality, projections and least squaresDiagonalisation and matrix powersLinear transformations and change of basis