プリンキピア

第22章付録:深層学習のための数学

22.2.3. Operations on Eigendecompositions22.2.3 固有値分解に対する演算

One nice thing about eigendecompositions (22.2.9) is that we can write many operations we usually encounter cleanly in terms of the eigendecomposition. As a first example, consider:
英語のヒント
固有値分解(式(22.2.9))のよいところの一つは、ふだん出会う多くの演算を固有値分解によってすっきり書けることである。最初の例として、次を考えよう。
𝐀n=𝐀⋯𝐀⏞n times=(𝐖𝚺𝐖−1)⋯(𝐖𝚺𝐖−1)⏞n times=𝐖𝚺⋯𝚺⏞n times𝐖−1=𝐖𝚺n𝐖−1.(22.2.10)
This tells us that for any positive power of a matrix, the eigendecomposition is obtained by just raising the eigenvalues to the same power. The same can be shown for negative powers, so if we want to invert a matrix we need only consider
英語のヒント
これは、行列の任意の正のべき乗について、固有値を同じべき乗にするだけで固有値分解が得られることを示している。負のべき乗についても同じことが示せるので、行列の逆行列を求めたいなら、次を考えるだけでよい。
𝐀−1=𝐖𝚺−1𝐖−1,(22.2.11)
or in other words, just invert each eigenvalue. This will work as long as each eigenvalue is non-zero, so we see that invertible is the same as having no zero eigenvalues.
英語のヒント
言い換えれば、各固有値の逆数をとるだけである。これは各固有値が0でないかぎりうまくいくので、可逆であることは0の固有値をもたないことと同じだとわかる。
Indeed, additional work can show that if λ1,…,λn are the eigenvalues of a matrix, then the determinant of that matrix is
英語のヒント
実際、さらに調べると、λ1,…,λnが行列の固有値なら、その行列の行列式は次のようになることを示せる。
det(𝐀)=λ1⋯λn,(22.2.12)
or the product of all the eigenvalues. This makes sense intuitively because whatever stretching 𝐖 does, W−1 undoes it, so in the end the only stretching that happens is by multiplication by the diagonal matrix 𝚺, which stretches volumes by the product of the diagonal elements.
英語のヒント
つまり、すべての固有値の積である。これは直観的にも理にかなっている。𝐖がどんな引き伸ばしをしてもW−1がそれを元に戻すので、結局起きる引き伸ばしは対角行列𝚺による掛け算だけであり、対角行列は対角成分の積の分だけ体積を引き伸ばすからである。
Finally, recall that the rank was the maximum number of linearly independent columns of your matrix. By examining the eigendecomposition closely, we can see that the rank is the same as the number of non-zero eigenvalues of 𝐀.
英語のヒント
最後に、ランクは行列の線形独立な列の最大の数だったことを思い出そう。固有値分解を詳しく調べると、ランクは𝐀の0でない固有値の数と同じであることがわかる。
The examples could continue, but hopefully the point is clear: eigendecomposition can simplify many linear-algebraic computations and is a fundamental operation underlying many numerical algorithms and much of the analysis that we do in linear algebra.
英語のヒント
例はまだ続けられるが、要点ははっきりしたことと思う。固有値分解は多くの線形代数の計算を単純にでき、多くの数値アルゴリズムと、線形代数で行う解析の多くを支える基本的な演算である。