markdown
対角化の基本md 007f9d1
lecture/math/linear-algebra/diagonalization-basics.lecture.n.md
Download PDF

対角化たいかくかdiagonalizationの基本きほん

Basics of diagonalization対角化たいかくか

1導入どうにゅう

この講義こうぎで中心ちゅうしんに置おく発想はっそうは、対角化たいかくかdiagonalizationは行列ぎょうれつmatrixをただ変形へんけいする技術ぎじゅつではなく、固有ベクトルeigenvectorを基底きていbasisに選択せんたくし直なおして線型変換せんけいへんかんlinear transformationの本質ほんしつを明示めいじすることである。

対角行列たいかくぎょうれつdiagonal matrixは、各座標方向かくざひょうほうこうに倍率ばいりつを掛かけるだけの単純たんじゅんな変換へんかんである。したがって複雑ふくざつな行列ぎょうれつmatrixであっても、適切てきせつな基底きていbasisを採用さいようすると対角行列たいかくぎょうれつdiagonal matrixになるなら、その変換へんかんの構造こうぞうstructureは理解りかいしやすくなる。

1Introduction

The key point of this lecture is that diagonalization対角化たいかくか is not merely a technique for rewriting a matrix行列ぎょうれつ. It is the process of choosing an eigenbasis固有基底こゆうきてい so that the essential action of a linear transformation線型変換せんけいへんかん becomes visible.

A diagonal matrix対角行列たいかくぎょうれつ only multiplies each coordinate direction by a scalar. Therefore, if a complicated matrix becomes diagonal after choosing a better basis基底きてい, the structure of the transformation becomes much easier to understand.

2用語ようごと定義ていぎ

対角化可能たいかくかかのうDiagonalizable とは、ある正則行列せいそくぎょうれつ P を用もちいて

P-1AP=D

と表示ひょうじでき、D が対角行列たいかくぎょうれつdiagonal matrixになることである。

この式しきで保存ほぞんされるのは、線型写像せんけいしゃぞうlinear mapそのものの作用さようである。変かわるのは、その作用さようを読よむための座標表示ざひょうひょうじである。A は標準基底ひょうじゅんきていstandard basisでの表示ひょうじ、D は固有基底こゆうきていでの表示ひょうじであり、P は固有基底こゆうきていの座標ざひょうから標準座標ひょうじゅんざひょうへ戻もどす行列ぎょうれつmatrixである。

固有基底こゆうきていEigenbasis とは、固有ベクトルeigenvectorだけからなる基底きていbasisである。

2Terms and definitions

A matrix A is diagonalizable対角化可能たいかくかかのう if there is an invertible matrix P such that

P-1AP=D

and D is diagonal.

This equation preserves the underlying linear map線型写像せんけいしゃぞう. What changes is the coordinate representation used to read that map. The matrix A is the representation in the standard basis, D is the representation in an eigenbasis, and P converts coordinates in the eigenbasis back to standard coordinates.

An eigenbasis固有基底こゆうきてい is a basis基底きてい consisting entirely of eigenvectors固有こゆうベクトル.

3方針ほうしん

まず、固有ベクトルeigenvectorが基底きていbasisを構成こうせいできると行列ぎょうれつmatrixが対角行列たいかくぎょうれつdiagonal matrixになることを確認かくにんする。対角化たいかくかdiagonalizationは基底変更きていへんこうの応用おうようであり、同おなじ線型写像せんけいしゃぞうlinear mapを固有基底こゆうきていで表示ひょうじし直なおす操作そうさoperationである。そのあと、対角化たいかくかdiagonalizationできるための条件じょうけんを幾何的重複度きかてきちょうふくどと代数的重複度だいすうてきちょうふくどで整理せいりし、冪べき・漸化式ぜんかしき・微分方程式びぶんほうていしきへの応用おうようへ接続せつぞくする。

data/lecture/math/linear-algebra/eigenvalues-and-eigenvectors.lecture.n.md data/lecture/math/linear-algebra/eigenvalue-problem-basics.lecture.n.md data/lecture/math/linear-algebra/linear-maps-and-matrices.lecture.n.md

3Plan

First we show that if eigenvectors form a basis, then the matrix representation becomes diagonal. Diagonalization is a change of basis applied to a linear map: the same transformation is rewritten in an eigenbasis. Then we express diagonalizability using geometric and algebraic multiplicities, and finally connect diagonalization to powers, recurrence relations, and differential equations.

data/lecture/math/linear-algebra/eigenvalues-and-eigenvectors.lecture.n.md data/lecture/math/linear-algebra/linear-maps-and-matrices.lecture.n.md

4直感的ちょっかんてきな説明せつめい

標準的ひょうじゅんてきな座標系ざひょうけいでは変換へんかんの構造こうぞうstructureが複雑ふくざつであっても、その変換へんかんが自然しぜんに伸縮しんしゅくさせる方向ほうこうへ座標軸ざひょうじくを調整ちょうせいすれば、変換へんかんは単純たんじゅんに記述きじゅつできる。この「座標軸ざひょうじくを固有方向こゆうほうこうに合あわせる」ことが対角化たいかくかdiagonalizationである。

4Intuitive explanation

In standard coordinates, a transformation may mix coordinate directions in a complicated way. If we rotate or change the coordinate axes so that they align with the natural directions of stretching, the transformation becomes simple. Aligning the coordinate axes with eigendirections固有方向こゆうほうこう is the idea of diagonalization対角化たいかくか.

5厳密げんみつな説明せつめい

5.11. 固有ベクトルeigenvectorを並ならべる

一次独立いちじどくりつlinear independenceな固有ベクトルeigenvector v1,[PARSE ERROR: Undefined("Command(\"dots\")")],vn があり、それぞれの固有値こゆうちeigenvalueを λ1,[PARSE ERROR: Undefined("Command(\"dots\")")],λn とする。

このとき

P=(v1⋯vn),D=diag(λ1,[PARSE ERROR: Undefined("Command(\"dots\")")],λn)

とおけば

AP=PD

である。なぜなら、P の第だい j 列れつcolumnは vj で、AP の第だい j 列れつcolumnは Avj=λjvj、また PD の第だい j 列れつcolumnも λjvj となるためである。したがって P が正則せいそくなら

P-1AP=D

となる。

たとえば

A=(3102)

では、λ=3 の固有ベクトルeigenvectorとして v1=(10)、λ=2 の固有ベクトルeigenvectorとして v2=(-11) を取とれる。したがって

P=(1-101),D=(3002)

と置おくと、

P-1AP=D

である。この具体例ぐたいれいで変かわっているのは座標軸ざひょうじくであり、線型変換せんけいへんかんlinear transformationそのものではない。固有方向こゆうほうこうを座標軸ざひょうじくに選えらぶと、変換へんかんは「第だい 1 軸じくを 3 倍ばい、第だい 2 軸じくを 2 倍ばい」という対角行列たいかくぎょうれつdiagonal matrixとして読よめる。

5.22. 対角化たいかくかdiagonalizationの条件じょうけん

行列ぎょうれつmatrix A が対角化可能たいかくかかのうであるためには、空間くうかんの次元じげんdimensionだけ一次独立いちじどくりつlinear independenceな固有ベクトルeigenvectorを確保かくほできることが必要ひつようである。

固有値こゆうちeigenvalueがすべて異ことなれば、その固有ベクトルeigenvectorは自動的じどうてきに一次独立いちじどくりつlinear independenceなので、対角化たいかくかdiagonalizationできる。

より本質的ほんしつてきには、

Aが対角化可能⟺Vが固有基底をもつ

である。特性多項式とくせいたこうしきcharacteristic polynomialが対象たいしょうの体たいの上うえで一次式いちじしきに分解ぶんかいするとき、各かく固有値こゆうちeigenvalue λ について

GM(λ)=AM(λ)

が全すべて成立せいりつすることと、A が対角化可能たいかくかかのうであることは同値どうちequivalentである。固有値こゆうちeigenvalueが全すべて異ことなることは十分条件じゅうぶんじょうけんであり、必要条件ひつようじょうけんではない。

5.33. 対角化たいかくかdiagonalizationの利点りてん

対角化たいかくかdiagonalizationできると

An=PDnP-1

となり、行列ぎょうれつmatrixの冪べきや反復はんぷくが扱あつかいやすくなる。Dn は対角成分たいかくせいぶんを各自かくじ n 乗じょうするだけで済すむためである。

さらに、連立れんりつ微分方程式びぶんほうていしき

x′(t)=Ax(t)

では

x(t)=etAx(0)

を考察こうさつする。A=PDP-1 なら

etA=PetDP-1

となり、etD は対角成分たいかくせいぶん etλi を並ならべるだけで計算けいさんできる。したがって対角化たいかくかdiagonalizationは、高たかい冪べきだけでなく連立微分方程式れんりつびぶんほうていしきの解析かいせきにも有効ゆうこうである。

5Precise explanation

5.11. Put eigenvectors into a matrix

Suppose v1,…,vn are linearly independent eigenvectors of A, with corresponding eigenvalues λ1,…,λn. Define

P=(v1⋯vn),D=diag(λ1,…,λn).

Then

AP=PD.

Indeed, the j-th column of AP is Avj=λjvj, and the j-th column of PD is also λjvj. Since the vj are linearly independent, P is invertible, so

P-1AP=D.

For example, let

A=(3102).

We may take

v1=(10)(λ=3),v2=(-11)(λ=2).

Then

P=(1-101),D=(3002),

and P-1AP=D. The linear transformation itself has not changed; only the axes used to describe it have changed. In the eigenbasis, the first axis is scaled by 3 and the second by 2.

5.22. Conditions for diagonalization対角化たいかくか

For an n-dimensional space, A is diagonalizable exactly when there are n linearly independent eigenvectors.

If all eigenvalues are distinct, their eigenvectors are automatically linearly independent, so A is diagonalizable. This is a sufficient condition, not a necessary one.

More fundamentally,

Aisdiagonalizable⟺VhasaneigenbasisforA.

When the characteristic polynomial splits over the field, A is diagonalizable exactly when every eigenvalue λ satisfies

GM(λ)=AM(λ).

Here GM is geometric multiplicity and AM is algebraic multiplicity.

5.33. Why diagonalization is useful

If A=PDP-1, then

An=PDnP-1.

This makes high powers and repeated applications much easier to compute, because Dn is obtained by raising each diagonal entry to the n-th power.

For a system of differential equations

x′(t)=Ax(t),

one studies

x(t)=etAx(0).

If A=PDP-1, then

etA=PetDP-1,

and etD is the diagonal matrix whose entries are etλi. Thus diagonalization is useful not only for powers of matrices but also for differential equations.

6判定基準はんていきじゅん

  • 固有値こゆうちeigenvalueと固有ベクトルeigenvectorを求もとめたあと、「対角化たいかくかdiagonalizationできるか」と問とわれたら、一次独立いちじどくりつlinear independenceな固有ベクトルeigenvectorが十分じゅうぶんに存在そんざいするかを確認かくにんする。
  • 行列ぎょうれつmatrixの高たかい冪べきや漸化式ぜんかしきが表あらわれたら、対角化たいかくかdiagonalizationの適用てきようを検討けんとうする。
  • 固有値こゆうちeigenvalueがすべて異ことなるなら、対角化可能たいかくかかのうである。ただし重複ちょうふくがある場合ばあいにおいても、GM = AM が成立せいりつすれば対角化可能たいかくかかのうである。

6Criteria

  • After finding eigenvalues固有値こゆうち and eigenvectors固有こゆうベクトル, ask whether enough linearly independent eigenvectors exist.
  • When large powers of a matrix or recurrence relations appear, consider diagonalization.
  • Distinct eigenvalues guarantee diagonalizability. Repeated eigenvalues require checking whether GM equals AM.

7どこまで成立せいりつするか

固有値こゆうちeigenvalueが求もとまっても、固有ベクトルeigenvectorが十分じゅうぶんに確保かくほできなければ対角化たいかくかdiagonalizationはできない。たとえば

(1101)

は固有値こゆうちeigenvalue 1 を持もつが、一次独立いちじどくりつlinear independenceな固有ベクトルeigenvectorが 1 本ほんしか確保かくほできないので対角化たいかくかdiagonalizationできない。つまり「固有値こゆうちeigenvalueがある」ことと「対角化たいかくかdiagonalizationできる」ことは別べつである。

7Scope and limitations

Having eigenvalues is not the same as being diagonalizable. For example,

(1101)

has the eigenvalue 1, but only one linearly independent eigenvector. It cannot be diagonalized.

8最終形さいしゅうけい

[PARSE ERROR: Undefined("Command(\"boxed\")")]P-1AP=D
[PARSE ERROR: Undefined("Command(\"boxed\")")]Aが対角化可能⟺Aは固有基底をもつ
[PARSE ERROR: Undefined("Command(\"boxed\")")]GM(λ)=AM(λ)forallλ
[PARSE ERROR: Undefined("Command(\"boxed\")")]An=PDnP-1
[PARSE ERROR: Undefined("Command(\"boxed\")")]etA=PetDP-1

8Final forms

[PARSE ERROR: Undefined("Command(\"boxed\")")]P-1AP=D
[PARSE ERROR: Undefined("Command(\"boxed\")")]Aisdiagonalizable⟺Ahasaneigenbasis
[PARSE ERROR: Undefined("Command(\"boxed\")")]GM(λ)=AM(λ)forallλ
[PARSE ERROR: Undefined("Command(\"boxed\")")]An=PDnP-1
[PARSE ERROR: Undefined("Command(\"boxed\")")]etA=PetDP-1

9一言ひとことでいうと

  • 対角化たいかくかdiagonalizationは、固有ベクトルeigenvectorを基底きていbasisに選択せんたくし直なおして、線型変換せんけいへんかんlinear transformationを「方向ほうこうごとの倍率ばいりつ」として再記述さいきじゅつすることである。

9In one sentence

Diagonalization対角化たいかくか means choosing eigenvectors固有こゆうベクトル as a basis基底きてい so that a linear transformation線型変換せんけいへんかん is rewritten as one scale factor per direction.

10定理ていりと証明しょうめい:対角化たいかくかできることと固有ベクトルeigenvector基底きてい

n×n 行列ぎょうれつ A が対角化たいかくかできることと、Fn が A の固有ベクトルeigenvectorからなる基底きていを持もつことは同値どうちである。

まず A=PDP-1 とする。P の列れつを p1,…,pn、D の対角成分たいかくせいぶんを λ1,…,λn とする。AP=PD なので、列れつを比くらべると

Api=λipi

である。P は可逆かぎゃくなので、その列れつは基底きていである。よって固有ベクトルeigenvectorの基底きていがある。

逆ぎゃくに、v1,…,vn が固有ベクトルeigenvectorの基底きていで、Avi=λivi とする。P=[v1⋯vn]、D=diag(λ1,…,λn) とおくと、列れつごとに

AP=PD

である。P は基底きていを列れつに持もつので可逆かぎゃくであり、A=PDP-1 である。

この定理ていりは、対角化たいかくかが「座標軸ざひょうじくを固有方向こゆうほうこうに取とり替かえる操作そうさ」であることを示しめしている。

10Theorem and proof: diagonalizability and eigenvector bases

For an n×n matrix A, A is diagonalizable if and only if Fn has a basis consisting of eigenvectors of A.

First suppose A=PDP-1. Let the columns of P be p1,…,pn, and let the diagonal entries of D be λ1,…,λn. Since AP=PD, comparing columns gives

Api=λipi.

Because P is invertible, its columns form a basis. Hence there is an eigenvector basis.

Conversely, suppose v1,…,vn is an eigenvector basis and Avi=λivi. Let

P=[v1⋯vn],D=diag(λ1,…,λn).

Then AP=PD column by column. Since P is invertible, A=PDP-1.

This theorem shows that diagonalization is exactly the operation of replacing coordinate axes by eigendirections.

raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる