Try   HackMD

Characteristic polynomial

Problem

Let

A=[1111124813927141664].

Find the characteristic polynomial

pA(x) of
A
.

Thought

There are several ways to compute

pA(x)=det(AxI), including the Laplace expansion and the permutation expansion. They are doable, but it would be easier to compute
pA(x)
by the formula

pA(x)=(x)n+s1(x)n1++sn,

where

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

Sample answer

For

k=1, the set
α
can be
{1}
,
{2}
,
{3}
,
{4}
. The corresponding matrices
A[α]
are
[1]
,
[2]
,
[9]
,
[64]
with their determinant
1
,
2
,
9
,
64
, respectively. Therefore,

s1=tr(A)=1+2+9+64=76.

For

k=2, the set
α
can be

{1,2},{1,3},{1,4},{2,3},{2,4},{3,4}.

The corresponding matrices

A[α] are

[1112],[1119],[11164],[2439],[28464],[9271664]

with their determinant

1,
8
,
63
,
6
,
96
,
144
, respectively. Therefore,

s2=1+8+63+6+96+144=318.

For

k=3, the set
α
can be

{1,2,3},{1,2,4},{1,3,4},{2,3,4}.

The corresponding matrices

A[α] are

[111124139],[1111281464],[111192711664],[248392741664]

with their determinant

2,
42
,
114
,
48
, respectively. Therefore,

s3=2+42+114+48=206.

For

k=4, the only
α
is
{1,2,3,4}
and
A[α]=A
. Since
A
is a Vandermonde matrix, one may easily calculate its determinant

s4=det(A)=12.

In summary, the characteristic polynomial is

pA(x)=(x)4+s1(x)3+s2(x)2+s3(x)+s4=x476x3+318x2206x+12.

Note

With Sage, you may run the code below or simply click here to find the answer.

A = matrix([ [1,1,1,1], [1,2,4,8], [1,3,9,27], [1,4,16,64] ]) n = A.dimensions()[0] show((-1)**n * A.charpoly())

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