Vieta's formula

Problem

Let

A=[123456789]

and

λ1,λ2,λ3 its eigenvalues. Find the values of

a=λ1+λ2+λ3,b=λ1λ2+λ1λ3+λ2λ3,c=λ1λ2λ3.

Thought

For any

n×n matrix
A
, its eigenvalues
λ1,,λn
are the roots of its characteristic polynomial
pA(x)=det(AxI)
. Therefore, we have

pA(x)=(x)n+s1(x)n1++sn=(λ1x)(λ2x)(λnx),

where

sk=α[n]|α|=kdet(A[α]).

Note that it is

(λix) instead of
(xλi)
since the leading term of
pA(x)
is
(x)n
.

By comparing the coefficients (also known as the Vieta's formula, we have

s1=λ1+λ2++λn,s2=λ1λ2+λ1λ3++λn1λn,=sn=λ1λ2λn.

Sample answer

By comparing the coefficients, we know that

a=λ1+λ2+λ3=s1, which is the trace of the matrix. Thus,
a=tr(A)=1+5+9=15
.

Next,

b=λ1λ2+λ1λ3+λ2λ3=s2. All the
α[3]
of order
2
are
{1,2}
,
{1,3}
, and
{2,3}
. The corresponding
A[α]
are

[1245],[1379],[5689]

with their determinans

3,
12
, and
3
. Thus,
b=s2=3123=18
.

Lastly,

c=λ1λ2λ3=s3, which is the determinant of
A
. Since
A
is singular,
c=det(A)=0
.

This note can be found at Course website > Learning resources.