Expressing adj(A) as a polynomial in A? - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-20T01:59:59Z http://mathoverflow.net/feeds/question/32133 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/32133/expressing-adja-as-a-polynomial-in-a Expressing adj(A) as a polynomial in A? Laurent Lessard 2010-07-16T08:44:12Z 2011-11-07T14:44:59Z <p>Suppose $A\in R^{n\times n}$, where $R$ is a commutative ring. Let $p_i \in R$ be the coefficients of the characteristic polynomial of $A$: $\mathop{\mathrm{det}}(A-xI) = p_0 + p_1x + \dots + p_n x^n$. <br><br> I am looking for a proof that: $-\mathop{\mathrm{adj}}(A) = p_1 I + p_2 A + \dots + p_n A^{n-1}$. <br> In the case where $\mathop{\mathrm{det}}(A)$ is a unit, $A$ is invertible, and the proof follows from the Cayley-Hamilton theorem. But what about the case where $A$ is not invertible?</p> http://mathoverflow.net/questions/32133/expressing-adja-as-a-polynomial-in-a/32303#32303 Answer by Victor Protsak for Expressing adj(A) as a polynomial in A? Victor Protsak 2010-07-17T18:47:10Z 2010-07-18T08:48:48Z <p>Here is a direct proof along the lines of the standard proof of the Cayley&ndash;Hamilton theorem. [<em>This works universally, i.e. over the commutative ring $R=\mathbb{Z}[a_{ij}]$ generated by the entries of a generic matrix $A$.</em>]</p> <p>The following lemma combining Abel's summation and Bezout's polynomial remainder theorem is immediate.</p> <p><b>Lemma</b> Let $A(\lambda)$ and $B(\lambda)$ be matrix polynomials over a (noncommutative) ring $S.$ Then $A(\lambda)B(\lambda)-A(0)B(0)=\lambda q(\lambda)$ for a polynomial $q(\lambda)\in S[\lambda]$ that can be expressed as</p> <p>$$q(\lambda)=A(\lambda)\frac{B(\lambda)-B(0)}{\lambda}+\frac{A(\lambda)-A(0)}{\lambda}B(0)=A(\lambda)b(\lambda)+a(\lambda)B(0) \qquad (*)$$</p> <p>with $a(\lambda),b(\lambda)\in S[\lambda].$</p> <p><br> Let <code>$A(\lambda)=A-\lambda I_n$ and $B(\lambda)=\operatorname{adj} A(\lambda)$</code> [<em>viewed as elements of $S[\lambda]$ with $S=M_n(R)$</em>], then </p> <p>$$A(\lambda)B(\lambda)=\det A(\lambda)=p_A(\lambda)=p_0+p_1\lambda+\ldots+p_n\lambda^n$$ is the characteristic polynomial of $A$ and $$A(0)B(0)=p_0 \text{ and } q(\lambda)=p_1+\ldots+p_n\lambda^{n-1}$$ </p> <p>Applying $(*),$ we get</p> <p>$$q(\lambda)=(A-\lambda I)b(\lambda)-\operatorname{adj} A \qquad (**)$$</p> <p>for some matrix polynomial $b(\lambda)$ commuting with $A.$ Specializing $\lambda$ to $A$ in $(**),$ we conclude that</p> <p>$$q(A)=-\operatorname{adj} A\qquad \square$$</p> http://mathoverflow.net/questions/32133/expressing-adja-as-a-polynomial-in-a/32343#32343 Answer by Bill Dubuque for Expressing adj(A) as a polynomial in A? Bill Dubuque 2010-07-18T06:42:02Z 2010-07-26T19:34:42Z <p><strong>HINT</strong> $\;$ Work "<strong>generically</strong>", i.e. let the entries $\;\rm a_{i,j}$ of $\rm A\;$ be <strong>indeterminates</strong> and work in the matrix ring $\rm M = M_n(R)\;$ over $\;\rm R = {\mathbb Z}[a_{i,j}\:]. \;$ We wish to prove $\rm B = C$ from $\rm d\: B = d\: C$ for $\rm d = det\: A \in R, \;\; B,C \in M.$ But this is equivalent to $\rm d\: b_{i,j} = d\: c_{i,j}$ in the <em>domain</em> $\rm R = {\mathbb Z}[a_{i,j}\:]$ where $\;\rm d = det\: A \ne 0$, so $\rm d$ is cancelable, yielding $\;\rm b_{i,j} = c_{i,j}\;$ hence $\rm B = C$. This identity remains true over every commutative ring $\rm S$ since, by the <strong>universality</strong> of polynomial rings, there exists an eval homomorphism that evaluates $\;\rm a_{i,j}\;$ at any $\;\rm s_{i,j}\in S$. </p> <p>Notice that the crucial insight is that $\;\rm b_{i,j}\:, \; c_{i,j}\:,\; d\;$ have <em>polynomial form</em> in $\;\rm a_{i,j}\:$, i.e. they are elts of the polynomial ring $\;\rm R = {\mathbb Z}[a_{i,j}\:] = {\mathbb Z}[a_{1,1},\cdots,a_{n,n}\:]$ which, being a <em>domain</em>, enjoys cancelation of elts $\ne 0$. Working generically allows us to cancel $\rm d$ and deduce the identity <em>before</em> any evaluation where $\rm d\mapsto 0.$ </p> <p>Such proofs by way of <strong>universal polynomial identities</strong> emphasize the power of the abstraction of a <em>formal</em> polynomial (vs. polynomial <em>function</em>). Alas, many algebra textbooks fail to explicitly emphasize this universal viewpoint. As a result, many students cannot easily resist the obvious topological temptations and instead derive hairier proofs employing density arguments (e.g see elswhere in this thread).</p> <p>Analogously, the same <em>generic</em> method of proof works for many other polynomial identities, e.g.</p> <p>$\rm\quad\; det(I-AB) = det(I-BA)\;\:$ by taking $\;\rm det\;$ of $\;\;\rm (I-AB)\;A = A\;(I-BA)\;$ then canceling $\;\rm det \:A$</p> <p>$\rm\quad\quad det(adj \:A) = (det \:A)^{n-1}\quad$ by taking $\;\rm det\;$ of $\;\rm\quad A\;(adj\: A) = (det\: A) \;I\quad\;\;$ then canceling $\;\rm det \:A$</p> <p>Now, for our pièce de <em>résistance of topology</em>, we derive the polynomial derivative purely formally.</p> <p>For $\rm f(x) \in R[x]$ define $\rm D f(x) = f_0(x,x)$ where $\rm f_0(x,y) = \frac{f(x)-f(y)}{x-y}.$ Note that the existence and uniqueness of this derivative follows from the Factor Theorem, i.e. $\;\rm x-y \; | \; f(x)-f(y)\;$ in $\;\rm R[x,y],\;$ and, from the cancelation law $\;\rm (x-y) g = (x-y) h \implies g = h$ for $\rm g,h \in R[x,y].$ It's clear this agrees on polynomials with the analytic derivative definition since it is linear and it takes the same value on the basis monomials $\rm x^n$. <em>Resisting</em> limits again, we get the product rule rule for derivatives from the trivial difference product rule </p> <p>$$\rm f(x)g(x) - f(y)g(y)\; = \;(f(x)-f(y)) g(x) + f(y) (g(x)-g(y))$$</p> <p>$\quad\quad\quad\quad\rm\quad\quad\quad \Longrightarrow \quad\quad\quad\quad\quad\; D(fg)\quad = \quad (Df) \; g \; + \; f \; (Dg)$</p> <p>by canceling $\rm x-y$ in the first equation, then evaluating at $\rm y = x$, i.e. specialize the difference "quotient" from the product rule for differences. Here the <em>formal</em> cancelation of the factor $\;\rm x-y\;$ <em>before</em> evaluation at $\;\rm y = x\;$ is precisely analogous to the <em>formal</em> cancelation of $\;\rm det \:A\;$ in all of the examples given above.</p> http://mathoverflow.net/questions/32133/expressing-adja-as-a-polynomial-in-a/32383#32383 Answer by Qiaochu Yuan for Expressing adj(A) as a polynomial in A? Qiaochu Yuan 2010-07-18T18:13:09Z 2010-07-18T18:13:09Z <p>I guess it is worth giving a fuller answer, and then Victor can tell me more precisely where I am missing some subtlety. As I said, the definition I know of the adjugate is that it is a matrix whose entries are polynomials in the entries $a_{ij}$ of $A$ and which satisfies $A \text{ adj}(A) = I \det A$ identically, e.g. over $\mathbb{Z}[a_{ij}]$. Assuming Cayley-Hamilton, we know that $p_0 I + p_1 A + ... + p_n A^n = 0$ identically and that $p_0 = \det A$, where $p_k \in \mathbb{Z}[a_{ij}]$ as well.</p> <p>Specializing now to $a_{ij} \in \mathbb{C}$ and supposing that $A$ is invertible, we conclude that </p> <p>$$A \text{ adj}(A) = - p_1 A - p_2 A^2 - ... - p_n A^n$$</p> <p>implies</p> <p>$$\text{adj}(A) = - p_1 I - p_2 A - ... - p_n A^{n-1},$$</p> <p>as you say. </p> <p><strong>Lemma:</strong> The invertible $n \times n$ matrices are dense in the $n \times n$ matrices with the operator norm topology.</p> <p><em>Proof.</em> Let $A$ be a non-invertible $n \times n$ matrix, hence $\det A = 0$. The polynomial $\det(A - xI)$ has leading term $(-1)^n x^n$, hence cannot be identically zero, so in any neighborhood of $A$ there exists $x$ such that $A - xI$ is invertible. </p> <p>But everything in sight is continuous in the operator norm topology, so the conclusion follows identically over $\mathbb{C}$ and hence identically.</p> <p>(I should mention that this is not even my preferred method of proving matrix identities. Whenever possible, I try to prove them <em>combinatorially</em> by interpreting $A$ as the adjacency matrix of some graph. For example - confession time! - this is how I think about Cayley-Hamilton. This is far from the cleanest or the shortest way to do things, but my combinatorial intuition is better than my algebraic intuition and I think it's good to have as many different proofs of the basics as possible.)</p> http://mathoverflow.net/questions/32133/expressing-adja-as-a-polynomial-in-a/32390#32390 Answer by Pete L. Clark for Expressing adj(A) as a polynomial in A? Pete L. Clark 2010-07-18T19:39:00Z 2010-07-18T19:45:51Z <p>As an arithmetic geometer, I have no choice but to use topological methods hand in hand with algebraic methods. Very likely necessity has been the mother of aesthetics here, but I find proofs of linear algebra facts using genericity arguments to be beautiful and insightful. </p> <p>Qiaochu has shown how to answer the OP's question using these methods [he uses the "analytic" -- i.e., usual -- topology on $\mathbb{C}^n$, but close enough] assuming the Cayley-Hamilton theorem. Here I want to show that one can also prove the Cayley-Hamilton theorem quickly by these methods.</p> <p>Step 1: To prove C-H as a polynomial identity, it is enough to prove that it holds for all $n \times n$ matrices over $\mathbb{C}$.</p> <p>Proof: Indeed, to say C-H holds as a polynomial identity means that it holds for the generic matrix <code>$A = \{a_{ij}\}_{1 \leq i,j \leq n}$</code> whose entries are independent indeterminates over the ring $R = \mathbb{Z}[a_{ij}]$. But this ring embeds into $\mathbb{C}$ -- indeed into any field of characteristic zero and infinite absolute transcendence degree -- and two polynomials with coefficients in a domain $R$ are equal iff they are equal in some extension domain $S$.</p> <p>Step 2: C-H is easy to prove for complex matrices $A$ with $n$ distinct eigenvalues $\lambda_1,\ldots,\lambda_n$.</p> <p>Proof: The characteristic polynomial evaluated at $A$ is $P(A) = \prod_{i=1}^n(A-\lambda_i I_n)$. Let $e_1,\ldots,e_n$ be a basis of $\mathbb{C}^n$ such that each $e_i$ is an eigenvector for $A$ with eigenvalue $\lambda_i$. Then -- using the fact that the matrices $A - \lambda_i I_n$ all commute with each other -- we have that for all $e_i$, </p> <p>$P(A)e_i = \left(\prod_{j \neq i} (A-\lambda_j I_n)\right) (A-\lambda_i I_n) e_i = 0.$</p> <p>Since $P(A)$ kills each basis element, it is in fact identically zero.</p> <p>Step 3: The set of complex matrices with $n$ distinct eigenvalues is a Zariski-open subset of $\mathbb{C}^n$: indeed this is the locus of nonvanishing of the discriminant of the characteristic polynomial. Since we can write down diagonal matrices with distinct entries, it is certainly nonempty. Therefore it is Zariski dense, and any polynomial identity which holds on a Zariski dense subset of $\mathbb{C}^{n^2}$ holds on all of $\mathbb{C}^{n^2}$. </p> http://mathoverflow.net/questions/32133/expressing-adja-as-a-polynomial-in-a/32609#32609 Answer by Pierre-Yves Gaillard for Expressing adj(A) as a polynomial in A? Pierre-Yves Gaillard 2010-07-20T09:35:01Z 2010-12-11T11:19:08Z <p><strong>EDIT OF AUG. 31, 2010.</strong> The proof of the Cayley-Hamilton Theorem I like best (among the ones I know) is on <a href="http://www.iecn.u-nancy.fr/~gaillard/atiyah_macdonald_p_21.pdf" rel="nofollow">page 21</a> (proof of Proposition 2.4) of <em>Introduction to Commutative Algebra</em> by Atiyah and MacDonald. The argument can be phrased as follows.</p> <p>Let $K$ be a commutative ring; let $n$ be a positive integer; let $A=(a_{ij})\in M_n(K)$ be an $n$ by $n$ matrix with entries in $K$; let $\chi$ be its characteristic polynomial; define $B=(b_{ij})\in M_n(K[A])$ by $b_{ij}:=\delta_{ij}\,A-a_{ij}$; let $(e_i)$ be the canonical basis of $K^n$; observe $$\sum_i\ \ b_{ij}\ e_i=0,\quad\det B=\chi(A);$$ and write $(c_{ij})$ for the adjugate of $B$. Applying (a trivial case of) Fubini's Theorem to the double sum $\sum_{i,j}\ c_{jk}\ b_{ij}\ e_i$, we get $\chi(A)=0$. </p> <p>Thank you very much to <a href="http://mathoverflow.net/users/2530/darij-grinberg" rel="nofollow">darij grinberg</a>! [I'm leaving the previous edits "for the record".] <strong>END OF EDIT OF AUG. 31, 2010.</strong> </p> <p><strong>EDIT OF DEC. 11, 2010.</strong> For a nice application of the Cayley-Hamilton Theorem, see this <a href="http://mathoverflow.net/questions/136/atiyah-macdonald-exercise-2-11/47846#47846" rel="nofollow">answer</a> by <a href="http://mathoverflow.net/users/11214/balazs-strenner" rel="nofollow">Balazs Strenner</a>. </p> <p><strong>PREVIOUS EDITS:</strong></p> <p>Here is a proof of the Cayley-Hamilton Theorem. </p> <p>Let $K$ be a commutative ring, let $n$ be a positive integer, let $X$ be an indeterminate, let $A\in M_n(K)$ be an $n$ by $n$ matrix with coefficients in $K$, and let $\chi:=\det(X-A)$ be the characteristic polynomial. Equip $K^n$ with the $K[X]$-module structure induced by $A$. We must check $\chi K^n=0$. Form the right $M_n(K[X])$-module $$H:=\mathrm{Hom}_{K[X]}(K[X]^n,K^n).$$ Let $e\in H$ be the evaluation at $A$ (note $K[X]^n=K^n[X]$). As $e$ is surjective, it suffices to show $e\chi=0$. As $X-A$ divides $\chi$ on the left, it suffices to show $e(X-A)=0$. But this is obvious. </p> <p><strong>EDIT OF AUG. 1, 2010.</strong> <a href="http://www.iecn.u-nancy.fr/~gaillard/DIVERS/Diagrammatic.Cayley-Hamilton/diagrammatic.cayley.060906.pdf" rel="nofollow">Here</a> is a diagrammatic rewriting of the argument.</p> <p><strong>EDIT OF AUG. 30, 2010.</strong> Here is a coordinate version of the above argument. [Compare with the proof of Propositon 3 <a href="http://www.iecn.u-nancy.fr/~gaillard/weil_basic_number_theory_p_81.pdf" rel="nofollow">page 81</a> of Weil's <em>Basic Number Theory</em>, and with the proof of Propositon 2.4 <a href="http://www.iecn.u-nancy.fr/~gaillard/atiyah_macdonald_p_21.pdf" rel="nofollow">page 21</a> of <em>Introduction to Commutative Algebra</em> by Atiyah and MacDonald].</p> <p><strong>Weil's formulation.</strong> Put $$B(X)=(b_{ij}(X)):=X-A\in M_n(K[X]),$$ and let $C(X)=(c_{ij}(X))$ be the adjugate of $B(X)$. We have $$\sum_j\ c_{jk}(X)\ b_{ij}(X)=\delta_{ik}\ \chi(X)\in K[X].$$ Replacing $X$ with $A$, evaluating on $e_i$ (the $i$-th vector of the canonical basis of $K^n$), and summing over $i$ gives $$\sum_j\ c_{jk}(A)\ \sum_i\ b_{ij}(A)\ e_i=\chi(A)\ e_k\in K^n.$$ But the second sum is 0 by definition of $b_{ij}(X)$. </p> <p><strong>Atiyah-MacDonald's formulation.</strong> Put $A=(a_{ij})$ and define $B=(b_{ij})\in M_n(K[A])$ by $b_{ij}:=\delta_{ij}A-a_{ij}$; observe $$\sum_i\ b_{ij}\ e_i=0,\quad\det B=\chi(A);$$ and write $(c_{ij})$ for the adjugate of $B$. Computing $\sum_{i,j}\,c_{jk}\,b_{ij}\,e_i$ in two ways we get $\chi(A)=0$. </p> http://mathoverflow.net/questions/32133/expressing-adja-as-a-polynomial-in-a/80305#80305 Answer by Marc van Leeuwen for Expressing adj(A) as a polynomial in A? Marc van Leeuwen 2011-11-07T14:44:59Z 2011-11-07T14:44:59Z <p>This formula can be obtained during a proof of the Cayley-Hamilton theorem, as is indicated on its <a href="http://en.wikipedia.org/wiki/Cayley%25E2%2580%2593Hamilton_theorem#A_synthesis_of_the_first_two_proofs" rel="nofollow">Wikipedia article</a>. The essence of the argument is that Euclidean division by a monic polynomial (on the left, say), can be performed in the polynomial ring over any (unitary) ring, not necessarily commutative; this follows directly from consideration of what Euclidean division does, or by a simple inductive argument.</p> <p>Since I care about polynomials being monic, I'l define the characteristic polynomial of a matrix $A$ to be $\chi_A=\det(I_nX-A)=\sum_{i=0}^nc_iX^i$ where $c_n=1$ (and $c_0=\det(-A)$), so the result to prove becomes $\mathrm{adj}(-A)=c_1I_n+c_2A+\cdots+c_{n-1}A^{n-2}+A^{n-1}=\sum_{i=1}^nc_iA^{i-1}$</p> <p>Consider the noncommutative ring $M=\mathrm{Mat}_n(R)$, and using Euclidean division in $M[X]$ (in which $R[X]$ is embedded by mapping $r$ to $rI_n$) divide $\chi_A$ on the left by $X-A$; the quotient and remainder will be $\mathrm{adj}(X-A)$ and $0$ (by uniqueness). Writing the quotient $\mathrm{adj}(X-A)=\sum_{i=0}^{n-1}B_iX^i$, its coefficients $B_i\in M$ are determined in the division successively as $B_{n-1}=c_n=1$ and $B_{i-1}=c_i+AB_i$ for $i=n-1,\ldots,1$, which expands to $B_{i-1}=c_iA^0+c_{i+1}A^1+\cdots+c_nA^{n-i}$. In particular the constant coefficient of the quotient is $B_0=\sum_{i=1}^nc_iA^{i-1}$, but this is also $\mathrm{adj}(-A)$ (by substituting $X=0$ into $\mathrm{adj}(X-A)$).</p> <p>To retrieve the Cayley-Hamilton theorem from the formula found, multiply on the left or right by $A$ and move the left hand side to the right.</p>