Eigenvalues and characteristic polynomials

Click For Summary

Discussion Overview

The discussion revolves around the diagonalization of matrices, specifically focusing on eigenvalues, characteristic polynomials, and methods to construct matrices with certain properties. Participants explore the relationship between polynomials and matrices, particularly in the context of integer and rational entries.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant describes a method for diagonalizing an nxn matrix, emphasizing the importance of the sum of the dimensions of the eigenspaces equaling n.
  • Another participant suggests constructing a diagonal matrix with the roots of the characteristic polynomial to find a corresponding matrix A.
  • There is a query about how to find a matrix with integer elements whose inverse also has integer elements, leading to a discussion about determinants and row operations.
  • Further questions are raised about finding matrices with specific properties regarding integer and rational entries, including whether a rational matrix always has a rational inverse.
  • One participant introduces the concept of a companion matrix for a monic polynomial, noting its characteristic and minimal polynomial properties.
  • Confusion arises regarding the application of the companion matrix, particularly in relation to constructing a square matrix from a given polynomial.

Areas of Agreement / Disagreement

Participants express various viewpoints on the methods for constructing matrices and the properties of their inverses. There is no consensus on the best approach to find a matrix A corresponding to a polynomial, and some confusion persists regarding the use of the companion matrix.

Contextual Notes

Participants mention specific conditions for matrices, such as the need for determinants to be 1 or -1 for certain properties to hold. The discussion includes assumptions about the nature of matrices and their inverses, which may not be universally applicable.

Who May Find This Useful

This discussion may be useful for students and practitioners in linear algebra, particularly those interested in matrix theory, eigenvalues, and diagonalization techniques.

dobedobedo
Messages
28
Reaction score
0
Hello guise.

I am familiar to a method of diagonalizing an nxn-matrix which fulfills the following condition:
the sum of the dimensions of the eigenspaces is equal to n.

As to the algorithm itself, it says:

1. Find the characteristic polynomial.
2. Find the roots of the characteristic polynomial.
3. Let the eigenvectors v_{i} be the column vectors of some matrix S.
4. Let the eigenvalues \lambda_{i} be the elements of some diagonal matrix, ordered to CORRESPOND the order of the eigenvectors in S.
5. Our Diagonalization of A should be:
A = S \cdot A \cdot S^{-1} = (v_{1}...v_ {i}...v_ {n}) \cdot (\lambda_{1}...\lambda_{i}...\lambda_{n}) \cdot S^{-1}

My question is: how do I find at least one such matrix A Corresponding to some randomly created polynomial of degree m with integer roots? If it is too difficult to solve this for an arbitrary m, that's okay. But let's say for m = 5? Or for the much simpler case of m = 2?
Is this somehow related to the quadratic form?
 
Physics news on Phys.org
Given the m roots, construct the m by m diagonal matrix, D, having those roots on the main diagonal. For any invertible matrix, P, A= PDP^{-1} will have characteristic polynomial with those roots.
 
Jesus christ, I feel stupid. Thanks.
 
thats how people make up exercises and test problems.
 
A follow-up question: how do I find a matrix with integer elements whose inverse also has integer elements? ^^
 
You need its determinant to be 1 or -1.

Any integer matrix is a product of integer elementary matrices corresponding to the row operations:
  • Adding an integer multiple of one row to another
  • Swapping two rows
  • Multiplying a row by a constant

As long as you only use 1 or -1 for that last one, all three sorts are invertible.
 
Hahahaha! How brilliant. Okay. Now I can finally randomly create integer matrices A such that A = SDS^{-1} are integer matrices as well! Other questions:

-How do I find a matrix A with integer elements, which has an inverse with rational elements? I get the feeling that it always is that a "rational" matrix always has a "rational" inverse [but I do not know how to show it]?

-How do I find a matrix A with rational elements which has an inverse with integer elements?

-How do I prove that a real matrix never has an inverse with complex elements?
 
Last edited by a moderator:
dobedobedo said:
Hahahaha! How brilliant. Okay. Now I can finally randomly create integer matrices A such that A = SDS^{-1} are integer matrices as well!
You can't create a matrix A such that this will work for all S. You need both A and S having determinants 1 or -1.

Other questions:

-How do I find a matrix A with integer elements, which has an inverse with rational elements? I get the feeling that it always is that a "rational" matrix always has a "rational" inverse [but I do not know how to show it]?
The inverse of matrix A is the matrix of cofactors divided by the determinant of A so, yes, since the rational numbers is closed under addition, subtraction, multiplication, and division by non-zero numbers, the inverse of a matrix with rational entries (including integers) will always have rational entries.

-How do I find a matrix A with rational elements which has an inverse with integer elements?
An obvious way is to start with an invertible matrix with integer coefficients and let A be its inverse! More generally if the determinant of A is a common multiple of its denominators (and so an integer) then its inverse will have integer entries.

-How do I prove that a real matrix never has an inverse with complex elements?
Again, every element of A-1 is its cofactor divided by the matrix of A. Since the real numbers is closed under the four basic operations, that will always give real numbers.
 
dobedobedo said:
Hello guise.

I am familiar to a method of diagonalizing an nxn-matrix which fulfills the following condition:
the sum of the dimensions of the eigenspaces is equal to n.

As to the algorithm itself, it says:

1. Find the characteristic polynomial.
2. Find the roots of the characteristic polynomial.
3. Let the eigenvectors v_{i} be the column vectors of some matrix S.
4. Let the eigenvalues \lambda_{i} be the elements of some diagonal matrix, ordered to CORRESPOND the order of the eigenvectors in S.
5. Our Diagonalization of A should be:
A = S \cdot A \cdot S^{-1} = (v_{1}...v_ {i}...v_ {n}) \cdot (\lambda_{1}...\lambda_{i}...\lambda_{n}) \cdot S^{-1}

My question is: how do I find at least one such matrix A Corresponding to some randomly created polynomial of degree m with integer roots? If it is too difficult to solve this for an arbitrary m, that's okay. But let's say for m = 5? Or for the much simpler case of m = 2?
Is this somehow related to the quadratic form?



If you don't have the eigenvalues you use the companion matrix of a monic polynomial:
$${}$$
$$\left(\begin{array} {}0&1&0&0&...&0\\0&0&1&0&...&0\\...&...&...&...&...&...\\0&0&0&...&0&1\\\!\!-c_0&\!\!-c_1&\!\!-c_2&\!\!-c_3&...&\!\!-c_{n-1}\end{array}\right)$$

The coolest feature of the above matrix is that \,f(x)=c_0+c_1x+...+c_{n-1}x^{n-1}+x^n\, is not only its

characteristic but also its minimal polynomial...!

DonAntonio
 
  • #10
DonAntonio said:
If you don't have the eigenvalues you use the companion matrix of a monic polynomial:
$${}$$
$$\left(\begin{array} {}0&1&0&0&...&0\\0&0&1&0&...&0\\...&...&...&...&...&...\\0&0&0&...&0&1\\\!\!-c_0&\!\!-c_1&\!\!-c_2&\!\!-c_3&...&\!\!-c_{n-1}\end{array}\right)$$

The coolest feature of the above matrix is that \,f(x)=c_0+c_1x+...+c_{n-1}x^{n-1}+x^n\, is not only its

characteristic but also its minimal polynomial...!

DonAntonio

Very interesting! But I am somewhat confused. How do I actually use it? I was wondering how to find my matrix A out of some given polynomial - but that would require me to know it's roots, due to the design of the algorithm. For instance, if I have my matrix {{2,1},{1,2}} then it's characteristic polynomial is x^2-4x+3. If I use the formula you gave me, it's corresponding matrix would be {{0,1},{0,0},{-3,-2}}, which is non-square and therefore not a matrix A which fulfills the criteria of the algorithm? Or am I completely mistaken?
 
Last edited:
  • #11
dobedobedo said:
Very interesting! But I am somewhat confused. How do I actually use it? I was wondering how to find my matrix A out of some given polynomial - but that would require me to know it's roots, due to the design of the algorithm. For instance, if I have my matrix {{2,1},{1,2}} then it's characteristic polynomial is x^2-4x+3. If I use the formula you gave me, it's corresponding matrix would be {{0,1},{0,0},{-3,-2}}, which is non-square and therefore not a matrix A which fulfills the criteria of the algorithm? Or am I completely mistaken?

\left( \begin{array}{cc} <br /> 0 &amp; 1\\ -3 &amp; 4\\ \end{array} \right) ?<br />
 

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K