Coefficients of characteristic polynomial

Click For Summary
SUMMARY

The discussion focuses on deriving the coefficients of the characteristic polynomial for a given matrix A in real numbers, specifically detailing the cases for n=2 and n=3. For n=2, the coefficients are defined as a_2 = 1, a_1 = -tr(A), and a_0 = det(A). For n=3, the coefficients include a_3 = -1, a_2 = tr(A), a_0 = det(A), and a_1 is computed using a specific formula involving the elements of matrix A. The Leverrier-Faddeev algorithm is identified as a potential recursive method for calculating the coefficients a_{n-2},..., a_1.

PREREQUISITES
  • Understanding of characteristic polynomials
  • Familiarity with matrix operations and determinants
  • Knowledge of the trace function in linear algebra
  • Basic understanding of recursive algorithms
NEXT STEPS
  • Research the Leverrier-Faddeev algorithm for computing characteristic polynomials
  • Study the properties of matrix determinants and traces
  • Explore advanced topics in linear algebra related to eigenvalues and eigenvectors
  • Implement the Leverrier-Faddeev algorithm in a programming language of choice
USEFUL FOR

Mathematicians, computer scientists, and students studying linear algebra, particularly those interested in algorithms for matrix analysis and characteristic polynomial computation.

jostpuur
Messages
2,112
Reaction score
19
I want to write an algorithm that gives as output the numbers a_n,\ldots, a_1,a_0, when a matrix A\in\mathbb{R}^{n\times n} is given as input, such that

<br /> \det (A - \lambda) = a_n\lambda^n + \cdots + a_1\lambda + a_0,\quad\quad\forall\lambda\in\mathbb{C}<br />

If n=2,

<br /> a_2 = 1,\quad a_1 = -\textrm{tr}(A),\quad a_0 = \textrm{det}(A).<br />

If n=3,

<br /> a_3 = -1,\quad a_2 = \textrm{tr}(A),\quad a_0 = \textrm{det}(A)<br />
and
<br /> a_1 = -A_{11}A_{22} - A_{22}A_{33} - A_{33}A_{11} + A_{12}A_{21} + A_{23}A_{32} + A_{31}A_{13}<br />

So the coefficients a_n,a_{n-1},a_0 are easy, but a_{n-2},\ldots, a_1 get difficult. Is there any recursion formula for them?
 
Physics news on Phys.org

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K