The First Decomposition Theorem

We revisit diagonalization as splitting a space into invariant kernels, then state and prove the First Decomposition Theorem (coprime factors of a polynomial that kills A split the space into kernels) and try it on a 4 × 4 matrix.

Starting with this post, I’m going to dig into blocking and diagonalization in more detail. We’ll use the Decomposition Theorem to look at them more, more, more, more closely. That’s the whole reason we went and learned polynomials, with the integers as our toolkit.

So — that matrix from last time:

The matrix A = (5, −1; −1, 5)

I want to describe this guy in slightly different language, and in more detail. Going through the diagonalization, we can get the characteristic polynomial φ_A(t).

Characteristic polynomial: φ_A(t) = det(tI − A) = t² − 10t + 24 = (t − 4)(t − 6)

The roots of this characteristic polynomial are 4 and 6, so we know the eigenvalues of the matrix are 4 and 6, and calling them λ₁, λ₂, we find, one for each, the vectors that satisfy the equations

The eigenvalue equations AX₁ = λ₁X₁ and AX₂ = λ₂X₂

namely X₁, X₂.

The eigenvectors X₁ = (1, 1) and X₂ = (−1, 1)

We found them one by one like this and called them eigenvectors!!!! And then we stack X₁, X₂ neatly side by side to build

R = ((X₁), (X₂)): the eigenvectors stacked as columns

like this, so we get a matrix like

The matrix R = (1, −1; 1, 1)

and by hitting A with $R^{-1}$ and $R$ on both sides, bam bam, we managed to diagonalize A. The whole principle

The same equations AX₁ = λ₁X₁ and AX₂ = λ₂X₂

is packed in here.

So then: acting on A like this, R⁻¹AR, we made A’. And the upshot was that A’ is just A expressed in a different basis… that was the whole story from waaaay back.

OK, let’s go back over what those formulas actually mean.

The equation (A − λ₁I)X₁ = 0

Look at this formula. The vector $X_1$ is a solution of this equation, and since the right-hand side is zero (it’s a homogeneous equation), we can also say $X_1$ belongs to the kernel of the matrix A − λ₁I.

X₁ is in the kernel of A − λ₁I, written ker(A − λ₁I)

Same deal for $X_2$.

X₂ is in the kernel of A − λ₂I, written ker(A − λ₂I)

The dimension of each of these kernels was 1 (I’ll skip the proof here). So $X_1$ and $X_2$ each span their entire respective kernel all by themselves.

And so, taking X₁, X₂ as a basis for the 2-dimensional space, we built a new matrix

The diagonal matrix A′ = (4, 0; 0, 6)

like this!!!! (The linear map represented by A takes the form A’ when written in a different basis~)

So if you think hard about that formula,

R² = ker(A − λ₁I) ⊕ ker(A − λ₂I)

it’s also saying that the 2-dimensional space splits into two separate 1-dimensional spaces.

The symbol ⊕ means direct sum

Splitting it like this, a vector that lives inside ker(A − λ₁I) stays inside ker(A − λ₁I) no matter how many times you multiply it by A, and the same goes for the subscript-2 one. You can see this kind of thing in diagonalization or blocking in general.

Which is to say, diagonalization and blocking can be described as ‘decomposing’ some vector space…

Not sure what that means exactly, but it’s something to do with ‘decomposition.’

More general cases

OK, now let’s look at diagonalization more generally, in hairier cases.

A general n × n matrix A with entries a₁₁ … aₙₙ

Suppose we have an $n \times n$ matrix like this, and its characteristic polynomial… ※ Careful, assumption ※ Assume the characteristic polynomial factors completely into first-degree factors, all different.

The characteristic polynomial factored into n linear factors, one for each eigenvalue λ₁ … λₙ

In this case, we said before that ‘diagonalization always works.’ Hmm OK then,

The eigenvalue equation (A − λᵢI)Xᵢ = 0

we’ll find $n$ vectors Xᵢ that satisfy this. We already know each Xᵢ satisfies Xᵢ ∈ ker(A − λᵢI), right?!

And (since we said diagonalization works) we go grab all $n$ of the Xᵢ and bundle them up into a matrix R. Well… R is invertible, of course (we proved that earlier, too), so that means the Xᵢ are $n$ linearly independent vectors, which means they form a basis!!!!

So if you’ve got any vector Y in the $n$-dimensional space, it can be written as a linear combination of the $n$ Xᵢ, so we can write this:

Every Y in Rⁿ can be written as Y = c₁X₁ + ··· + cₙXₙ for some c₁, …, cₙ

Which is to say, the $n$-dimensional space Rⁿ decomposes into the $n$ pieces ker(A − λᵢI)!!

Rⁿ = ker(A − λ₁I) ⊕ ··· ⊕ ker(A − λₙI)

The reason we deliberately use the direct sum symbol here is to stress that the vectors of the space Rⁿ can be built as linear combinations of vectors in those pieces, and that the way of doing it is unique. What I mean by that:

R³ = R² + R²: (x, y, z) = (x, y − y′, 0) + (0, y′, z)

here the way of writing $(x, y, z)$ is not unique, right?! That’s why this one is written without the direct sum, with just a plain old +. That said, it’s not like you have to use the direct sum every time the way is unique, but apparently it’s better to use it when you want to stress uniqueness.

Anyway, so we call the diagonal matrix A’, and then we can write the eigenvectors again,

X₁′ = (1, 0, …, 0), …, Xₙ′ = (0, …, 0, 1), with the note: the prime means the basis has been changed

in the new basis!!!!!

Note: X′ᵢ = R⁻¹Xᵢ

When there’s multiplicity

OK now let’s think about the case where the characteristic polynomial doesn’t factor into all-different first-degree terms; instead it has ‘multiplicity.’

Characteristic polynomial with multiplicities: φ_A(t) = (t − λ₁)^(m₁) ··· (t − λ_k)^(m_k)

The multiplicities add up: m₁ + ··· + m_k = n

In this case, if A can still be diagonalized, then going by the principle from before, A’ would look like this:

A′ with diagonal blocks: λ₁ repeated m₁ times, …, λ_k repeated m_k times, zeros elsewhere

It’s got this structure where small square diagonal matrices gather to form one big diagonal matrix!!! — you could say!! If we think of splitting this $n$-dimensional space up by the eigenvalues of those diagonal matrices, splitting everything by them:

Rⁿ = ker(λ₁I − A) ⊕ ··· ⊕ ker(λ_kI − A)

and here, ker(λᵢI − A), I mean,

The span of Xᵢ^(1), …, Xᵢ^(mᵢ)

can be written as a span like this. Hmmm~ you may have forgotten this part.

Each eigenvalue with its eigenvectors: λ₁ with X₁^(1), …, X₁^(m₁), λ₂ with X₂^(1), …, X₂^(m₂), and so on

Each eigenvalue has to bring along as many linearly independent eigenvectors as its own multiplicity (that’s what lets A be diagonalized)!!! So ker(λᵢI − A) is also called an eigenspace, apparently. The dimension of each one would be its multiplicity: m₁ for the first one, and so on.

Let me sum this up one more time, with a slightly different reading.

Case 1: when λ₁ through λₙ are all different

In this case the characteristic polynomial is

Characteristic polynomial φ_A(t) = (t − λ₁)···(t − λₙ)

like this, and when we diagonalize, the $n$-dimensional space gets split into

Rⁿ = ker(A − λ₁I) ⊕ ··· ⊕ ker(A − λₙI)

$n$ spaces like that.

cf.) By the Cayley–Hamilton theorem, what happens if we plug A itself in for $t$?!

It became zero, right.

Cayley–Hamilton: φ_A(A) = (A − λ₁I)···(A − λₙI) = 0

We got this, didn’t we.

Wait, but the matrices in those kernels and the matrices we’re multiplying in Cayley–Hamilton are the same thing!!! To say it again: if there’s a polynomial that becomes 0 when you plug A in for $t$, that polynomial is showing you how the $n$-dimensional space decomposes.

Can’t we say that?????

We’ll come back to this later.

Case 2: when λ₁ through λ_k have multiplicities

For this case, let’s now write the polynomial

The polynomial f(t) = (t − λ₁)···(t − λ_k)

like this. Since it’s the characteristic polynomial with all the multiplicities stripped off, it’s a different polynomial, and that’s why I wrote it as $f(t)$.

Going back to how we split everything into eigenspaces, the $n$-dimensional space gets split into

Rⁿ = ker(λ₁I − A) ⊕ ··· ⊕ ker(λ_kI − A)

$k$ spaces like that, and if we plug A into $f(t)$, then $f(A) = $….. 0. (It’s just the characteristic polynomial with the exponents (multiplicities) stripped, and since those eigenspaces fill the whole space and each factor kills its own eigenspace, I think you can buy that it hits 0 without much trouble.)

In other words, if a polynomial evaluated at A gives the zero matrix, then the way $f(t)$ factors is what determines the ‘decomposition’ of the $n$-dimensional space.

Remember earlier when we defined that set called I_A!? It was the set of all~ the polynomials that hit 0 when you plug A in for the variable.

If f(t) ∈ I_A, then the decomposition of the matrix A is determined by how $f(t)$ factors!!

Reading this, a question probably popped up in your head:

“Hey -_- couldn’t there be a factor that doesn’t break down into first-degree pieces?” (Like, what are you gonna do if you’ve got something like t² + 1?)

The First Decomposition Theorem

OK, that’s where we have to start talking about the “First Decomposition Theorem.” Let me spoil the First Decomposition Theorem real quick and then prove it.

Setup: f(t) = g(t)·h(t) and f(t) ∈ I_A, i.e. f(A) = 0

And if gcd(g(t), h(t)) = 1 ($\gcd(g(t), h(t))$ being 1 means the two polynomials $g(t)$ and $h(t)$ have no common factor except constants like 1. In other words, the two are ‘coprime’: no common factor!!), then the $n$-dimensional space decomposes into kernels like

Fⁿ = ker(g(A)) ⊕ ker(h(A))

— and that’s the ‘First Decomposition Theorem.’

A general n × n matrix A with entries a₁₁ … aₙₙ

When you have a matrix like this, picking a suitable basis

The block form (G, 0; 0, H)

turns it into this. That’s the claim.

Fⁿ split as the span of one set of basis vectors ⊕ the span of another

It splits like this…. spoiler over. Now let me prove it.

Proof of the First Decomposition Theorem

$f(A) = 0$. $g(t)$ and $h(t)$ are coprime. If $g(t)$ and $h(t)$ are coprime, then there exist $x(t), y(t)$ satisfying

Bézout’s identity: g(t)x(t) + h(t)y(t) = 1

!! (Take a peek at the earlier post. It’s the same statement as: if integers $a, b$ are coprime then there exist $x, y$ with $ax + by = 1$.)

Take any vector X in the $n$-dimensional space, multiply it by 1, and write that ‘1’ all dramatically:

X·1 = X(g(t)x(t) + h(t)y(t)) = X, i.e. g(t)x(t)X + h(t)y(t)X = X

Now let’s plug A in for $t$.

With A in for t: g(A)x(A)X + h(A)y(A)X = X, the first term in red and the second in blue

Written this way, since $f(A) = g(A)h(A) = 0$, the red vector out front is a vector that becomes 0 when you multiply it by $h(A)$, and the blue vector behind is a vector that becomes 0 when you multiply it by $g(A)$!!!! So the front one dies under $h(A)$, meaning it lives in $\ker(h(A))$, and the back one dies under $g(A)$, meaning it lives in $\ker(g(A))$. Therefore,

Fⁿ = ker(g(A)) ⊕ ker(h(A))

And the reason we deliberately wrote direct sum is to stress that it’s determined uniquely. Since they’re coprime: for a vector sitting in both kernels, the red part and the blue part both come out 0, and they add up to the vector itself, so it can only be 0. That’s what pins the split down uniquely…..

An actual example

Let’s run an actual example to see whether this First Decomposition Theorem still works for matrices that can’t be diagonalized.

The 4 × 4 example matrix A

For this matrix A, let’s find an $f(t)$ with $f(A) = 0$. We can just use the characteristic polynomial (easiest path), so let’s go that route.

Characteristic polynomial φ_A(t) = t⁴ + 5t² + 4 = (t² + 1)(t² + 4)

(Over the real numbers) you can’t factor it any further. OK so now let’s follow the First Decomposition Theorem.

R⁴ = ker(A² + I) ⊕ ker(A² + 4I)

This formula is supposed to hold, so let’s check it. Since

A² = (−1, 3, 0, −3; 3, 2, −3, −3; 3, 3, −4, −3; 3, 6, −3, −7)

we get

A² + I = (0, 3, 0, −3; 3, 3, −3, −3; 3, 3, −3, −3; 3, 6, −3, −6)

A² + 4I = (3, 3, 0, −3; 3, 6, −3, −3; 3, 3, 0, −3; 3, 6, −3, −3)

like this. To think about each kernel, let’s find the vectors that become 0 when you multiply them on the right.

For A² + I we can find (1, 0, 1, 0) and (0, 1, 0, 1); for A² + 4I, (1, 0, 0, 1) and (0, 1, 1, 1)

They’re linearly independent, see!~ Confirmed, so now let’s span.

R⁴ = span((1, 0, 1, 0), (0, 1, 0, 1)) ⊕ span((1, 0, 0, 1), (0, 1, 1, 1))

Just like in diagonalization, we gather those vectors into R, and when we act on A like this, R⁻¹AR,

A′ = R⁻¹AR in block form: a 2 × 2 block for each kernel, zeros elsewhere

we can confirm it does in fact end up like that.

Apparently that’s the power of blocking: like above, it can cut a quest in 4-dimensional space down to two 2-dimensional ones!!


Heads-up. The figures here are the original notes, slips and all. A few things to watch for:

  • In the first characteristic-polynomial picture, $\det(\lambda I - A)$ should read $\det(tI - A)$, and in the general case $\phi_A(t) = (t - \lambda_1)\cdots(t - \lambda_n)$, not $(\lambda_1 - t)\cdots(\lambda_n - t)$ (they differ by $(-1)^n$).
  • In the $4 \times 4$ example, the entry in row 4, column 2 of $A$ should be $-4$, not $4$; with $-4$, $\phi_A(t) = t^4 + 5t^2 + 4 = (t^2 + 1)(t^2 + 4)$ and $A^2$ come out exactly as shown.
  • For $A^2 + 4I$, the first vector should be $(1, 0, 0, 1)$, not $(1, 0, 0, 0)$: $(A^2 + 4I)(1, 0, 0, 0) = (3, 3, 3, 3)$, while $\ker(A^2 + 4I) = \mathrm{span}\{(1, 0, 0, 1), (0, 1, 1, 1)\}$. The same vector appears in the $\mathbb{R}^4 = \mathrm{span} \oplus \mathrm{span}$ picture.
  • In the final $A' = R^{-1}AR$, the lower block should be $\begin{pmatrix} 1 & 5 \\ -1 & -1 \end{pmatrix}$ (with $R$ built from $(1, 0, 1, 0)$, $(0, 1, 0, 1)$, $(1, 0, 0, 1)$, $(0, 1, 1, 1)$); on $\ker(A^2 + 4I)$ the matrix has to square to $-4I$. The upper block $\begin{pmatrix} 1 & -1 \\ 2 & -1 \end{pmatrix}$ is right.

Comments

Discussion happens via GitHub Discussions. You'll need a GitHub account to comment.