M Mathematics Notes← Browse the course libraryOriginal PDF ↗
ALGEBRA

Linear Algebra II

Determinants, spectral theory and canonical forms.
A browser-readable edition of PMATH 245.

INSTRUCTORChe Tat Ng
NOTES BYBenjamin Smith
TERMFall 2004

Reading edition · Original wording retained, including known source typos; see conversion notes. Some typography and page layout differ; consult the PDF for the authoritative typeset version.

This is based on a course by Che Tat Ng (Fall semester 2004). All errors are the responsibility of the author.

1 The determinant function

Let A=(aij)∈Mn(𝔽)A = (a_{ij})\in M_n({\mathbb {F}}) (be an n×nn\times n matrix with entries from a field 𝔽{\mathbb {F}}). If AA is 1×11\times 1 then det⁡A=a11\det A = a_{11}, the entry of AA. For n≥2n\geq 2 for each (i,j)(i,j) write Ãij\tilde{A}_{ij} for the matrix obtained from AA by deleting row ii and column jj. Now, for A∈Mn(𝔽)A\in M_n({\mathbb {F}}) then Ãij∈Mn−1(𝔽)\tilde{A}_{ij} \in M_{n-1}({\mathbb {F}}) and we inductively define det⁡A=∑j=1n(−1)j+1a1jdet⁡Ã1j.\begin{equation} \label{cofactorexpansion} \det A = \sum_{j=1}^n (-1)^{j+1} a_{1j}\det \tilde{A}_{1j}. \end{equation}(1.1) This formula is known as the cofactor expansion of the determinant of AA along row 1.

Example 1.0.1.

  1. det⁡(a11a12a21a22)=(−1)1+1a11det⁡(a22)+(−1)2+1a12det⁡(a21)=a11a22−a12a21\begin{align*} \det \left(\begin{matrix}a_{11}& a_{12}\\ a_{21}& a_{22} \end{matrix}\right) & = (-1)^{1+1}a_{11} \det (a_{22}) + (-1)^{2+1}a_{12}\det (a_{21})\\ &=a_{11}a_{22}-a_{12}a_{21} \end{align*}

  2. det⁡(a11a12a13a21a22a23a31a32a33)=(−1)1+1a11det⁡(a22a23a32a33)+(−1)2+1a21det⁡(a21a23a31a33)+(−1)3+1a31det⁡(a21a22a31a32)=a11(a22a33−a23a32)−a12(a21a33−a23a31)+a13(a21a32−a22a31)\begin{align*} \det \left(\begin{smallmatrix}a_{11}& a_{12} & a_{13}\\ a_{21}& a_{22} & a_{23}\\ a_{31}& a_{32}& a_{33}\end{smallmatrix}\right)&= (-1)^{1+1}a_{11} \det \left(\begin{smallmatrix}a_{22}& a_{23}\\ a_{32}& a_{33}\end{smallmatrix}\right) + (-1)^{2+1}a_{21} \det \left(\begin{smallmatrix}a_{21}& a_{23}\\ a_{31}& a_{33}\end{smallmatrix}\right) + (-1)^{3+1}a_{31} \det \left(\begin{smallmatrix}a_{21}& a_{22}\\ a_{31}& a_{32}\end{smallmatrix}\right)\\ &= a_{11}(a_{22}a_{33} - a_{23}a_{32})- a_{12}(a_{21}a_{33} - a_{23}a_{31}) +a_{13}(a_{21}a_{32} - a_{22}a_{31}) \end{align*} Note that this 3×33\times 3 determinant is often used to compute cross products of vectors a,b∈𝔽3a, b\in {\mathbb {F}}^3 as follows; det⁡(𝒊𝒋𝒌a1a2a3b1b2b3)=𝒊(a2b3−a3b2)−𝒋(a1b3−a3b1)+𝒌(a1b2−a2b1)\det\left(\begin{smallmatrix}\mathbf{i} & {\mathbf{j}}& {\mathbf{k}}\\ a_1 & a_2& a_3\\ b_1& b_2 & b_3\end{smallmatrix}\right) = {\mathbf{i}}(a_2b_3 - a_3b_2) - {\mathbf{j}}(a_1b_3 - a_3b_1) + {\mathbf{k}}(a_1b_2 - a_2b_1)

  3. If AA is 4×44\times 4 we proceed with the definition and write out the determinant of AA to get 4⋅6=244\cdot 6 = 24 terms; 12 positive and 12 negative.

Example 1.0.2. Evaluate the following determinant in ℤ/5{\mathbb {Z}}/5; det⁡(1230111110112010)=1det⁡(111011010)−2det⁡(111111210)+3det⁡(111101200)−0=1(−1)−2(1+2−2−1)+3(2)=5≡0mod⁡5\begin{align*} \det\left(\begin{smallmatrix}1& 2& 3& 0\\ 1& 1& 1& 1\\ 1& 0 & 1 & 1\\ 2& 0 & 1& 0\end{smallmatrix}\right)&=1\det\left(\begin{smallmatrix}1& 1& 1\\ 0 & 1 & 1\\ 0 & 1& 0\end{smallmatrix}\right) -2\det \left(\begin{smallmatrix}1& 1& 1\\ 1& 1 & 1\\ 2& 1& 0\end{smallmatrix}\right)+ 3\det\left(\begin{smallmatrix}1& 1& 1\\ 1& 0 & 1\\ 2& 0 & 0\end{smallmatrix}\right)- 0\\ &=1(-1) - 2(1+2-2-1) + 3(2)\\ & = 5\equiv 0 \mod 5 \end{align*}

The development of the theory of the determinant function has a long history (read about it).

An alternative definition to the cofactor expansion for determinant is det⁡A=∑σ∈𝔖nsgn⁡(σ)a1σ(1)a2σ(2)⋯anσ(n)\begin{equation} \det A = \sum_{{\sigma}\in {\mathfrak{S}}_n}\mathop{\mathrm{sgn}}({\sigma}) a_{1{\sigma}(1)} a_{2{\sigma}(2)}\cdots a_{n{\sigma}(n)} \end{equation} where 𝔖n{\mathfrak{S}}_n is the set of all bijective maps σ:{1,2,…,n}→{1,2,…,n}{\sigma}:\{1,2, \dots, n\}\to \{1,2,\dots, n\} (i.e. permutations of [n]={1,2,…,n}[n] = \{1,2,\dots, n\}) and sgn\mathop{\mathrm{sgn}}, the signature, is a map from 𝔖n{\mathfrak{S}}_n to {±1}\{\pm 1\} which is the unique morphism on the group 𝔖n{\mathfrak{S}}_n satisfying that signature of the identity is 1 and sgn⁡(12)=−1\mathop{\mathrm{sgn}}(1\,2) = -1. Furthermore, sgn⁡(σ1σ2)=sgn⁡(σ1)⋅sgn⁡(σ2)\mathop{\mathrm{sgn}}({\sigma}_1{\sigma}_2) = \mathop{\mathrm{sgn}}({\sigma}_1)\cdot \mathop{\mathrm{sgn}}({\sigma}_2) for any σ1,σ2∈𝔖n{\sigma}_1,{\sigma}_2\in {\mathfrak{S}}_n.

1.0.0.1 Explicit determination of signature by example

Let n=9n=9, there are 9!9! elements in 𝔖9{\mathfrak{S}}_9. Examples, in disjoint cycle notation, are

σ1=(1234)(5)(6)(7)(8)(9){\sigma}_1 =(1\, 2\,3\,4)(5) (6)(7)(8)(9) and σ2=(19)(28)(37)(465){\sigma}_2 = (1\,9)(2\,8)(3\,7)(4\,6\,5) where we assign positive signature to cycles of odd length and negative otherwise. Now, sgn⁡(σ1)=sgn⁡(1234)sgn⁡(5)sgn⁡(6)sgn⁡(7)sgn⁡(8)sgn⁡(9)=−1\mathop{\mathrm{sgn}}({\sigma}_1) =\mathop{\mathrm{sgn}}(1\, 2\,3\,4)\mathop{\mathrm{sgn}}(5) \mathop{\mathrm{sgn}}(6)\mathop{\mathrm{sgn}}(7)\mathop{\mathrm{sgn}}(8)\mathop{\mathrm{sgn}}(9) = -1 and sgn⁡(σ2)=sgn⁡(19)sgn⁡(28)sgn⁡(37)sgn⁡(465)=(−1)(−1)(−1)(1)=−1.\mathop{\mathrm{sgn}}({\sigma}_2) = \mathop{\mathrm{sgn}}(1\,9)\mathop{\mathrm{sgn}}(2\,8)\mathop{\mathrm{sgn}}(3\,7)\mathop{\mathrm{sgn}}(4\,6\,5) = (-1)(-1)(-1)(1) = -1. In our alternate definition of determinant for a 9×99\times 9 matrix, of of the 9! terms is +a17a21a35a42a56a68a79a84a93+a_{17}a_{21}a_{35}a_{42}a_{56}a_{68}a_{79}a_{84}a_{93} where the signature was determined by (179356842)(1\, 7\,9\,3\,5\, 6\,8\,4\, 2).

1.1 Properties of determinants

Theorem 1.1.1 (4.3 from book). The determinant is a linear function is each row when the remaining rows are held fixed.

Sketch:. This is seen immediately by induction using the cofactor expansion (equation (1.1)) where we have swapped the desired row into the first and taken note of the effect of determinants under elementary row operations (see soon 1.2). ◻

Lemma 1.1.2. If AA has its ithi^{th} row equal to the standard basis vector eke_k, then det⁡A=(−1)i+kdet⁡Ãik.\det A = (-1)^{i+k}\det \tilde{A}_{ik}.

Theorem 1.1.3 (4.4 from book). Cofactor expansion can be performed along any row. That is det⁡A=∑j=1n(−1)i+jaijdet⁡Ãij.\det A = \sum_{j=1}^n (-1)^{i+j} a_{ij} \det \tilde{A}_{ij}.

Theorem 1.1.4. det⁡A=det⁡AT\det A = \det A^T.

Proof. Let A=(aij)A = (a_{ij}) and B=ATB=A^T so that aij=bjia_{ij} = b_{ji}. A term sgn⁡σa1σ(1)a2σ(2)⋯anσ(n)\mathop{\mathrm{sgn}}{\sigma}a_{1{\sigma}(1)}a_{2{\sigma}(2)}\cdots a_{n{\sigma}(n)} in the determinant of AA will be equal to a corresponding term in det⁡B\det B given by sgn⁡(σ−1)bσ(1)1⋯bσ(n)n=sgn⁡σ−1b1σ−1(1)⋯bnσ−1(n).\mathop{\mathrm{sgn}}({\sigma}^{-1}) b_{{\sigma}(1)1}\cdots b_{{\sigma}(n)n} =\mathop{\mathrm{sgn}}{\sigma}^{-1} b_{1{\sigma}^{-1}(1)}\cdots b_{n{\sigma}^{-1}(n)}. Thus det⁡A=det⁡B\det A = \det B once we see that sgn⁡σ=sgn⁡σ−1\mathop{\mathrm{sgn}}{\sigma}= \mathop{\mathrm{sgn}}{\sigma}^{-1} which is easy to observe since their disjoint cycle decompositions are of the same shape. ◻

Corollary 1.1.5. Every theorem about determinant stated about rows of AA remains true for the columns as well.

1.2 Effect of row operations on evaluation of determinant

1. If BB is obtained from AA by the ERO Ri↦cRiR_i \mapsto c R_i, then det⁡B=c⋅det⁡A\det B = c\cdot \det A.
2. If BB is obtained from AA by interchanging rows, then det⁡B=−det⁡A\det B = -\det A.
3. If BB is obtained from AA by adding to a row, a scalar multiple of another row, then det⁡B=det⁡A\det B = \det A.

Example 1.2.1. Evaluate det⁡(1234134201311121)\det \left(\begin{smallmatrix}1& 2& 3& 4\\ 1& 3& 4& 2\\ 0& 1& 3& 1\\ 1& 1& 2& 1\end{smallmatrix}\right) in ℤ/5{\mathbb {Z}}/5.

Solution: First, subtracting the second column from the fourth we have (1234134201311121)→(1232134−101301120)\left(\begin{smallmatrix}1& 2& 3& 4\\ 1& 3& 4& 2\\ 0& 1& 3& 1\\ 1& 1& 2& 1\end{smallmatrix}\right)\to \left(\begin{smallmatrix}1& 2& 3& 2\\ 1& 3& 4& -1\\ 0& 1& 3& 0\\ 1& 1& 2& 0\end{smallmatrix}\right) which does not affect the determinant. So evaluating (by expansion along the fourth column)

det⁡(1232134−101301120)=(−1)1+42det⁡(134013112)+(−1)2+4(−1)det⁡(123013112)=−2det⁡(022013112)−det⁡(011013112)=−2(6−2)−(3−1)=−10≡0mod⁡5.\begin{align*} \det\left(\begin{smallmatrix}1& 2& 3& 2\\ 1& 3& 4& -1\\ 0& 1& 3& 0\\ 1& 1& 2& 0\end{smallmatrix}\right) &= (-1)^{1+4}2\det\left(\begin{smallmatrix}1& 3& 4\\ 0& 1& 3\\ 1& 1& 2\end{smallmatrix}\right) + (-1)^{2+4}(-1) \det\left(\begin{smallmatrix}1& 2& 3\\ 0& 1& 3\\ 1& 1& 2\end{smallmatrix}\right)\\ &= -2\det\left(\begin{smallmatrix}0& 2& 2\\ 0& 1& 3\\ 1& 1& 2\end{smallmatrix}\right) - \det\left(\begin{smallmatrix}0& 1& 1\\ 0& 1& 3\\ 1& 1& 2\end{smallmatrix}\right)\\ &= -2(6-2) - (3-1) = -10\equiv 0\mod 5. \end{align*}

Theorem 1.2.2. For an upper-triangular1 matrix AA, det⁡A=∏i=1naii.\det A = \prod_{i=1}^n a_{ii}.

Proof. A matrix AA can be upper triangularized using only the third ERO listed above and this operation is known to have no effect on the determinant of AA. ◻

Corollary 1.2.3. A is singular if and only if det⁡A≠0\det A \neq 0.

Theorem 1.2.4. Determinant is multiplicative. That is det⁡(AB)=det⁡(A)⋅det⁡(B).\det(AB) = \det(A) \cdot \det(B).

Proof. It suffices to show this identity holds for elementary matrices and diagonal AA (i.e. the Row Echelon form of AA). This is because every AA is expressible as A=E1E2⋯Ek⋅CA = E_1E_2\cdots E_k\cdot C where EiE_i’s are elementary and CC is a RREF2 of AA. Thus, det⁡(AB)=det⁡(E1E2⋯Ek⋅CB)=∏i=1kdet⁡(Ei)det⁡Cdet⁡B=det⁡(A)⋅det⁡(B)\begin{align*} \det(AB) &= \det (E_1E_2\cdots E_k\cdot CB) \\ %&= \det(E_1)\cdot \det (E_2\cdots E_k\cdot CB)\\ &=\prod_{i=1}^k\det(E_i)\det C \det B\\ &= \det(A)\cdot \det(B) \end{align*}

Now, for each of the three types of elementary matrices the identity det⁡(EB)=det⁡E⋅det⁡B\det(EB) = \det E\cdot \det B is easily verified to hold. For example if EE denotes scalar multiplication of a row by λ{\lambda}, then both sides of this equation are seen to have determinant equal to λdet⁡B{\lambda}\det B.

Finally, the RREF of AA will either be InI_n or have a row consisting entirely of 0’s. When C=InC = I_n then det⁡(CB)=det⁡C⋅det⁡B\det(CB) = \det C\cdot \det B is clear and when CC has a last row consisting of 0’s, so doe stye product CBCB. Hence 0=det⁡(CB)=det⁡C=det⁡C⋅det⁡B0 = \det(CB) = \det C = \det C\cdot \det B as required. ◻

Background motivation for det⁡AB=det⁡Adet⁡B\det AB = \det A \det B

Let A,B∈M3(ℝ)A, B\in M_3({\mathbb {R}}). They can be conceived as linear maps ℝ3→ℝ3{\mathbb {R}}^3\to {\mathbb {R}}^3. The absolute value of the determinant is called the magnification power. That is, the region in ℝ3{\mathbb {R}}^3 having volume VV will have a new volume, under the image of AA, given by |det⁡A|⋅V|\det A|\cdot V.

1.3 Cramer’s rule

The equation Ax→=b→A\vec x=\vec b where A∈MnA\in M_n is invertible can be solved by xi=det⁡[a→1|⋯|a→i−1|b→|a→i+1|⋯|a→n]det⁡Ax_i = \frac{\det\left[\vec{a}_1|\cdots |\vec{a}_{i-1}|\vec{b}|\vec{a}_{i+1}|\cdots |\vec{a}_n\right]}{\det A} where x→=(x1x2⋮xn)\vec x = \left(\begin{smallmatrix}x_1\\x_2\\\vdots \\ x_n\end{smallmatrix}\right) and a→i\vec a_i denote the columns of AA.

Definition 1.3.1. Let A∈MnA\in M_n and let cij=(−1)i+jdet⁡Ãijc_{ij} = (-1)^{i+j} \det \tilde{A}_{ij}. These are called the (i,j)(i,j)-cofactors of AA and the transpose of the matrix formed by the cofactors is called the adjugate of AA, denoted adj⁡(A)\mathop{\mathrm{adj}}(A). That is adj⁡A=(cij)T\mathop{\mathrm{adj}}A = (c_{ij})^T.

Theorem 1.3.2. A⋅adj⁡A=det⁡A⋅In.A\cdot \mathop{\mathrm{adj}}A = \det A \cdot I_n.

Proof. Examining the (i,j)(i,j)-entry of this product reveals, (A⋅adj⁡A)ij=∑k=1naikckj=∑k=1naik(−1)k+jdet⁡Ãjk.(A\cdot \mathop{\mathrm{adj}}A)_{ij} = \sum_{k=1}^n a_{ik} c_{kj} =\sum_{k=1}^n a_{ik} (-1)^{k+j}\det \tilde{A}_{jk}. When i=ji=j this is exactly the cofactor expansion for the determinant of AA along the ithi^{th} row. However, when i≠ji\neq j, this is equivalent to the cofactor expansion along the jthj^{th} row of a matrix constructed from AA by replacing the jthj^{th} row with the ithi^{th} row of AA. Hence, this matrix has two identical rows so is singular. That is to say, (A⋅adj⁡A)ij=det⁡A⋅δij(A\cdot \mathop{\mathrm{adj}}A)_{ij} = \det A\cdot \delta_{ij} as claimed. ◻

Corollary 1.3.3. If AA is invertible then, A−1=1det⁡Aadj⁡A.A^{-1} = \frac{1}{\det A} \mathop{\mathrm{adj}}A.

Characterization of the determinant function

The determinant is the unique function f:Mn(𝔽)→𝔽f:M_n({\mathbb {F}}) \to {\mathbb {F}} with the following properties;

  1. multi linearity; It is linear in each of the nn rows. That is, for all X,Y∈𝔽n,λ∈𝔽X,Y \in {\mathbb {F}}^n, {\lambda}\in {\mathbb {F}} f(R1,R2,…,Ri−1,λX+Y,Ri+1,…,Rn)=λf(R1,…,X,…,Rn)+f(R1,…,Y,…,Rn).f(R_1, R_2, \dots, R_{i-1}, {\lambda}X + Y, R_{i+1},\dots, R_n) = {\lambda}f(R_1,\dots, X ,\dots, R_n)+f(R_1, \dots, Y, \dots, R_n).

  2. Alternating; If two adjacent rows are equal, then f=0f = 0.

  3. f(In)=1f(I_n) = 1.

and these three properties characterize the determinant function.

2 Eigen values & eigen vectors

Throughout this chapter we will be concerned with the structure of a linear operator3 T:V→VT:V\to V.

Definition 2.0.4. An eigenvalue of a linear operator T:V→VT:V\to V is a scalar λ∈ℂ{\lambda}\in {\mathbb {C}} such that there exists non-zero eigenvector v∈Vv\in V satisfying that Tv=λv.Tv = {\lambda}v.

Example 2.0.5. If T:ℝ2→ℝ2T:{\mathbb {R}}^2\to {\mathbb {R}}^2 denotes the counter clockwise rotation about the origin by 30∘30^\circ, there is no real eigen vector and hence no eigen value. However if T:ℝ3→ℝ3T:{\mathbb {R}}^3\to {\mathbb {R}}^3 denotes the same rotation about the zz-axis then the zz-axis is an eigen vector with eigen value 1 and there are no others.

Theorem 2.0.6 (For operators on finite dimensional vector spaces). Let A|inMn(𝔽)A|in M_n({\mathbb {F}}) (representing an operator). A scalar λ∈𝔽{\lambda}\in {\mathbb {F}} is an eigen value for AA if and only if det⁡(A−λIn)=0\det (A-{\lambda}I_n) = 0.

Proof. λ{\lambda} is an eigen value for AA if and only if there exists non-zero x∈𝔽nx\in {\mathbb {F}}^n such that Ax=λxAx = {\lambda}x which is equivalent to (A−λ⋅In)x=0(A - {\lambda}\cdot I_n)x = 0. This is equivalent to the fact that ker⁡A−λ⋅In≠{0}\mathop{\mathrm{ker}}\nolimits A-{\lambda}\cdot I_n \neq \{0\} so that A−λ⋅InA-{\lambda}\cdot I_n is not invertible which, according to Lemma 1.2.3, means det⁡(A−λ⋅In)=0\det (A- {\lambda}\cdot I_n) = 0. ◻

Definition 2.0.7. The characteristic polynomial of a matrix A∈MnA\in M_n is defined as χA(λ)=det⁡(A−λid⁡n).\chi_A({\lambda}) = \det(A - {\lambda}\mathop{\mathrm{id}}_n).

Note now that the previous theorem can be restated as "the eigen values of AA are the roots of its characteristic polynomial". Observe that the characteristic polynomial of an n×nn\times n matrix is a degree nn polynomial with leading coefficient (−1)n(-1)^n.

Example 2.0.8. Find all eigen values for the linear map T:(ℤ/5)2→(ℤ/5)2;(x,y)↦(2x+y,3x−y)T:({\mathbb {Z}}/5)^2 \to ({\mathbb {Z}}/5)^2; (x,y)\mapsto (2x+ y, 3x-y).

Solution: Consider the matrix representation of TT with respect to the standard basis. That is A=[T]std=(213−1)A = [T]_{std} = \left(\begin{smallmatrix}2& 1\\3&-1\end{smallmatrix}\right). The characteristic polynomial is then det⁡(2−λ13−1−λ)=(2−λ)(−1−λ)−3=λ2−λ−5≡λ2−λ=λ(λ−1).\det \left(\begin{matrix}2-{\lambda}& 1\\3&-1-{\lambda} \end{matrix}\right) = (2-{\lambda})(-1-{\lambda}) - 3 = {\lambda}^2 - {\lambda}- 5 \equiv {\lambda}^2- {\lambda}= {\lambda}({\lambda}-1). So the eigen values of TT are 0,10, 1.

In order to be more general, it will be important to define everything in terms of linear operators rather than matrices.

Definition 2.0.9. The characteristic polynomial for an operator TT on finite dimensional VV is defined by χT(x)=det⁡(A−x⋅In)\chi_T(x) = \det (A-x\cdot I_n) for any matrix A=[T]ββA = [T]_{\beta}^{\beta} where β{\beta} is any basis of VV. In order for this to be well-defined, we must show that det⁡(A1−λIn)=det⁡(A2−λIn)\det(A_1-{\lambda}I_n) = \det(A_2-{\lambda}I_n) for Ai=[T]βiβiA_i = [T]_{{\beta}_i}^{{\beta}_i}.

That is, if A1∼A2A_1\sim A_2 (are similar), there there exists QQ, a matrix representation of the identity mapping between two different bases for VV, such that A2=QA1Q−1A_2 = QA_1Q^{-1}. Having this connection between AiA_i’s through QQ and that determinant is multiplicative implies det⁡(A2−λIn)=det⁡(QA1Q−1−λIn)=det⁡(QA1Q−1−λQQ−1)=det⁡Q(A1−λ)Q−1=det⁡Qdet⁡(A1−λ)det⁡Q−1=det⁡(A1−λ)det⁡QQ−1=det⁡(A1−λ)\begin{align*} \det (A_2-{\lambda}I_n) &= \det(QA_1Q^{-1} - {\lambda}I_n)\\ &= \det(QA_1Q^{-1} - {\lambda}QQ^{-1})\\ &= \det Q(A_1 - {\lambda})Q^{-1}\\ &= \det Q\det (A_1 - {\lambda})\det Q^{-1}\\ &= \det (A_1 - {\lambda})\det QQ^{-1}\\ &= \det (A_1 - {\lambda}) \end{align*}

Corollary 2.0.10. An operator TT on a finite dimensional vector space VV can have at most dim⁡V\dim V distinct eigen values.

Example 2.0.11 (Counter example for the above statement in infinite dimensions). Let VV be the space of smooth function on the real line (i.e. infinitely differentiable f:ℝ→ℝf:{\mathbb {R}}\to {\mathbb {R}}). Let T:V→VT:V\to V be the operation of differentiation (once). Given a scalar λ{\lambda}, we see that Tf=λfTf = {\lambda}f is satisfied by f(x)=eλxf(x) = e^{{\lambda}x}. Hence λ{\lambda} is an eigen value for every λ∈ℝ{\lambda}\in {\mathbb {R}}.

Definition 2.0.12. Let TT be an operator and λ{\lambda} an eigen value of TT. Consider Eλ(T)={v∈V:Tv=λv}E_{\lambda}(T) = \{v\in V:Tv = {\lambda}v\} whose non-zero vectors are the eigen vectors of TT having eigen value λ{\lambda}. This is a subspace4 of VV and is called an eigen space for TT (associated with the value λ{\lambda}).

2.1 Diagonalization of a matrix (or an operator)

Definition 2.1.1. A matrix A∈MnA\in M_n is diagonalizable if it is similar to a diagonal matrix. That is, if there exists a nonsingular (change of basis) matrix PP such that P−1APP^{-1}AP is a diagonal matrix.

More generally, as we will soon see, an operator T:𝒱→𝒱T:{\mathcal V}\to {\mathcal V} is said to be diagonalizable if there exists a basis of 𝒱{\mathcal V} consisting entirely of eigenvectors for TT.

Proposition 2.1.2. A necessary condition for a matrix AA to be diagonalizable is that its characteristic polynomial factors (completely) into linear factors.

Proof. Suppose AA is diagonalizable, then AA is similar to a diagonal matrix D=diag⁡(λ1,…,λn)D =\mathop{\mathrm{diag}}({\lambda}_1, \dots, {\lambda}_n) so that χA(λ)=χD(λ)\chi_A({\lambda}) = \chi_D({\lambda}). Now χD(λ)=det⁡diag⁡(λ1−λ,…,λn−λ)=∏i=1n(λi−λ)\chi_D({\lambda}) = \det \mathop{\mathrm{diag}}({\lambda}_1- {\lambda}, \dots, {\lambda}_n- {\lambda}) = \prod_{i=1}^n({\lambda}_i - {\lambda}) (a complete factorization into linear factors). ◻

Example 2.1.3. If A∈M2(ℝ)A\in M_2({\mathbb {R}}) and χA(λ)=λ2+1\chi_A({\lambda}) = {\lambda}^2+ 1 then AA is not diagonalizable (over ℝ{\mathbb {R}}) (e.g. A=(01−10)A = \left(\begin{smallmatrix}0& 1\\-1& 0\end{smallmatrix}\right)).

Are there other necessary conditions for AA to be diagonalizable? Let AA be diagonalizable, then this is equivalent to the statement that there exists an ordered basis β{\beta} for the operator T:𝔽n→𝔽nT:{\mathbb {F}}^n \to {\mathbb {F}}^n (given as left multiplication by AA) so that [A]ββ=D=diag⁡(λ1,…,λn)[A]_{\beta}^{\beta}= D = \mathop{\mathrm{diag}}({\lambda}_1, \dots, {\lambda}_n). If β={b1,b2,…,bn}{\beta}= \{b_1,b_2, \dots, b_n\} this requires that Abi=λibiAb_i = {\lambda}_i b_i for each ii. That is β{\beta} is a basis whose members are all eigen vectors of AA. Thus, whether AA is diagonalizable or not depends on wether it admits sufficiently many (n) linearly independent eigen vectors.

2.1.1 Algorithm for diagonalization

The following simple recipe can be applied to determine all aspects about the diagonalizability of any matrix.

Let AA be any n×nn\times n matrix.

  1. Find the eigenvalues λ1,…,λn{\lambda}_1, \dots, {\lambda}_n of AA. These are the roots of the characteristic polynomial χA(λ)=det⁡(A−λ⋅In)\chi_A({\lambda}) = \det(A - {\lambda}\cdot I_n)

  2. For each of the distinct, eigen values, find the eigenspaces EλiE_{{\lambda}_i} (for each λi{\lambda}_i). These are the null spaces Eλi=ker⁡(A−λi⋅In).E_{{\lambda}_i} = \mathop{\mathrm{ker}}\nolimits(A - {\lambda}_i\cdot I_n).

    At this point, you will be able to determine whether or not AA is diagonalizable. That is,

    - If you find nn linearly independent (i.e. a basis of) eigenvectors for AA, then AA is diagonalizable,

    - otherwise, AA is not diagonalizable.

  3. With our basis of eigenvectors v1,…,vnv_1, \dots, v_n we can construct the change of basis matrix as P=[v1|v2|⋯|vn]P = [v_1|v_2|\cdots |v_n] whose columns are the eigenvectors of AA.

    Note: the order in which you place the columns of PP determines the order in which the eigenvalues will appear on the diagonalized version of AA

  4. Finally, we will obtain the diagonalized version of AA as DA=P−1AP.D_A = P^{-1}A P.

Example 2.1.4. Determine wether A=(120230004)A = \left(\begin{smallmatrix}1& 2& 0 \\ 2& 3& 0\\ 0 & 0 & 4\end{smallmatrix}\right) is diagonalizable.

Solution: First, the characteristic polynomial is χA(λ)=det⁡(1−λ2023−λ0004−λ)=[(1−λ)(3−λ)−4](4−λ)=(λ2−4λ−1)(4−λ)=(λ−(2+5))(λ−(2−5))(4−λ)\begin{align*} \chi_A({\lambda}) = \det \left(\begin{smallmatrix}1-{\lambda}& 2& 0 \\ 2& 3-{\lambda}& 0\\ 0 & 0 & 4-{\lambda}\end{smallmatrix}\right)&= [(1-{\lambda})(3-{\lambda}) - 4](4-{\lambda})\\ &= ({\lambda}^2 - 4{\lambda}- 1)(4-{\lambda})\\ &= ({\lambda}- (2+ \sqrt 5))({\lambda}- (2-\sqrt 5))(4-{\lambda})\\ \end{align*} So the eigen values are distinct5!

To demonstrate the entire algorithm, compute the eigen spaces;

E2+5=ker⁡(1−2−52023−2−50004−2−5)=span⁡{(1,1+52,0}E_{2+\sqrt 5} = \mathop{\mathrm{ker}}\nolimits\left(\begin{smallmatrix}1-2- \sqrt 5& 2& 0 \\ 2& 3- 2- \sqrt 5& 0\\ 0 & 0 & 4-2-\sqrt 5\end{smallmatrix}\right) = \mathop{\mathrm{span}}\{(1, \tfrac{1+\sqrt 5}{2}, 0\} Similarly, E2−5=span⁡{1,1−52,0} and E4=span⁡{(0,0,1)}.E_{2- \sqrt 5} = \mathop{\mathrm{span}}\{1, \tfrac{1-\sqrt 5}{2}, 0\} \text{ and } E_{4} = \mathop{\mathrm{span}}\{(0,0,1)\}.

Now, to put AA in diagonal form, write P=(1101+521−520001)P = \left(\begin{smallmatrix}1& 1& 0\\ \tfrac{1+\sqrt 5}{2}& \tfrac{1-\sqrt 5}{2}&0\\ 0 & 0 & 1\end{smallmatrix}\right) then P−1AP=diag⁡(2+5,2−5,4).P^{-1}AP = \mathop{\mathrm{diag}}(2+\sqrt 5, 2-\sqrt 5, 4).

2.2 Geometric and algebraic multiplicity

For A∈Mn(𝔽)A\in M_n({\mathbb {F}}) with eigen value λ0{\lambda}_0. The geometric multiplicity of λ0{\lambda}_0 is defined as dim⁡(Eλ0)\dim(E_{{\lambda}_0}). The algebraic multiplicity of λ0{\lambda}_0 is defined as the highest power of (λ−λ0)({\lambda}-{\lambda}_0) appearing in the factorization of the characteristic polynomial of AA (note that this is always ≥1\geq 1).

Proposition 2.2.1. The geometric multiplicity less than or equal to the algebraic multiplicity.

Proof. Let {v1,…,vr}\{v_1, \dots, v_r\} be a basis for Eλ0E_{{\lambda}_0}. This is an independent family in 𝔽n{\mathbb {F}}^n and can be extended to a basis, say {v1,…,vr,ur+1,…,un}\{v_1, \dots, v_r, u_{r+1}, \dots, u_n\} Under this new basis AA is represented by A=(λ0…0⋱B0λ00…0C)A =\left( \begin{array}{ccc|c}{\lambda}_0 & \dots &0 & \\ & \ddots && B\\0 & & {\lambda}_0& \\ \hline 0& \dots & 0 & C\end{array}\right) where BB and CC are unknown. If we compute the characteristic polynomial using the above "partially diagonalized" matrix, we see that χA(λ)=det⁡diag⁡(λ−λ0,…λ−λ0⏟r times)⋅χC(λ)=(λ−λ0)r⋅χC(λ)\chi_A({\lambda}) = \det \mathop{\mathrm{diag}}(\underbrace{{\lambda}-{\lambda}_0, \dots {\lambda}-{\lambda}_0}_{r\text{ times}}) \cdot \chi_C({\lambda}) = ({\lambda}- {\lambda}_0)^r\cdot \chi_C({\lambda}) and χC(λ)\chi_C({\lambda}) may or may not contain additional factors of (λ−λ0)({\lambda}-{\lambda}_0). Hence implying that the algebraic multiplicity is at least as big as the geometric multiplicity. ◻

With all that we have seen so far, another condition for the diagonalizability of AA is that the geometric multiplicity of each distinct eigen value coincides with the algebraic multiplicity.

2.3 Primary decomposition theorem

Let us recall some material from Linear algebra I regarding the theory of subspaces; If W1,W1≤VW_1, W_1\leq V are subspaces then W1+W2={w1+w2:wi∈Wi}W_1+W_2 = \{w_1+w_2:w_i\in W_i\} is again a subspace. Furthermore, if W1∩W2={0}W_1\cap W_2 = \{0\} we say that the sum is direct and write W1⊕W2W_1\oplus W_2.

The following three statements are equivalent;

(i) W1∩W2={0}W_1\cap W_2 = \{0\},
(ii) if βi{\beta}_i is a basis for WiW_i, then β1∪β2{\beta}_1\cup {\beta}_2 is a basis for W1+W2W_1+ W_2
(iii) If v1,…,vnv_1, \dots, v_n is an independent family in W1W_1 and u1,…,umu_1, \dots, u_m is the same for W2W_2, then v1,…,vn,u1,…umv_1, \dots, v_n, u_1, \dots u_m is independent in VV.

Now,

Theorem 2.3.1. If VV is an 𝔽{\mathbb {F}}-vector space and T:V→VT:V\to V is an operator. Let p(x),q(x)∈F[x]p(x), q(x)\in F[x] be polynomials which are coprime (i.e. gcd⁡(p,q)=1\gcd(p,q) = 1) then ker⁡[p(T)⋅q(T)]=ker⁡p(T)⊕ker⁡q(T).\mathop{\mathrm{ker}}\nolimits[p(T)\cdot q(T)] = \mathop{\mathrm{ker}}\nolimits p(T) \oplus \mathop{\mathrm{ker}}\nolimits q(T).

Example 2.3.2. Let VV be the space of smooth functions from ℝ{\mathbb {R}} to ℝ{\mathbb {R}} and let DD denote the differentiation operator. ker⁡D={f:f(x)=c}− the constant functions\mathop{\mathrm{ker}}\nolimits D = \{f: f(x) = c\} - \text{ the constant functions} and ker⁡(D+5)={f:f′−5f=0}={f(t)=ke−5t}.\mathop{\mathrm{ker}}\nolimits(D+5) = \{f:f'-5f = 0 \} = \{f(t) = ke^{-5t}\}. Now, our job is to solve the differential equation f″−5f′+6=0f'' - 5f' + 6 = 0.

Solution: The solution set {f:f″−5f′+6=0}\{f: f'' - 5f' + 6 = 0\} is equal to ker⁡(D2−5D+6)=ker⁡(D−3)(D−2)=ker⁡(D−3)⊕ker⁡(D−2)={ke2t}⊕{ke3t}={f:f=ae2t+be3t}.\mathop{\mathrm{ker}}\nolimits(D^2 -5D + 6) = \mathop{\mathrm{ker}}\nolimits(D-3)(D-2) = \mathop{\mathrm{ker}}\nolimits(D-3)\oplus \mathop{\mathrm{ker}}\nolimits(D-2) = \{ke^{2t}\} \oplus \{ke^{3t}\} = \{f: f = ae^{2t} + be^{3t}\}.

Another application of this is to proof the following

Lemma 2.3.3. If λ1,…,λs{\lambda}_1, \dots, {\lambda}_s are distinct eigen values of A∈MnA\in M_n and if βi{\beta}_i is a basis for EλiE_{{\lambda}_i} then the union ⋃i=1sβi\bigcup_{i=1}^s{\beta}_i is always independent.

Proof. Indeed, using PDT, Eλi=ker⁡(A−λi)E_{{\lambda}_i} = \mathop{\mathrm{ker}}\nolimits(A-{\lambda}_i) and (λ−λ1),…,(λ−λs)({\lambda}-{\lambda}_1), \dots, ({\lambda}-{\lambda}_s) are all coprime (as the λi{\lambda}_i’s are all distinct) so Eλ1+Eλ2+⋯+EλsE_{{\lambda}_1} +E_{{\lambda}_2}+ \cdots +E_{{\lambda}_s} is a direct sum. ◻

2.4 Annihilating polynomials, Minimal polynomials and partial diagonalization

Definition 2.4.1. A polynomial of positive degree p(x)∈F[x]p(x)\in F[x] is an annihilating polynomial for T:V→VT:V\to V (over FF) if p(T)=0p(T) = 0.

Note that if pp annihilates TT, then so will any polynomial that is divisible by pp. The most interesting annihilating polynomials are those of lowest possible degree.

Definition 2.4.2. If an annihilating polynomial exists at all, we call the monic one of lowest possible degree the minimal polynomial for TT.

Lemma 2.4.3. If mTm_T is the minimal polynomial for TT, then multiples of mTm_T generate all possible annihilating polynomials of TT.

Proof. Suppose p(x)p(x) annihilates TT. By the division algorithm, we may write p(x)=mT(x)⋅q(x)+r(x)p(x) = m_T(x)\cdot q(x) + r(x) where the degree of rr is strictly less than that of mTm_T. However, now we have r(T)=p(T)−mT(T)q(T)=0r(T) = p(T) - m_T(T) q(T) = 0. Since mTm_T is annihilating polynomial for TT of minimal possible degree, then we must have that r(x)=0r(x) = 0 and hence p(x)p(x) is a multiple of mTm_T. ◻

Lemma 2.4.4. If VV is a finite dimensional vector space, then an annihilating polynomial always exists. Hence minimal polynomials always exist for finite dimensional vector spaces.

Proof. {1,T,T2,T3,…,}\{1, T, T^2, T^3, \dots, \} is an infinite sequence of operators on VV. If dim⁡V=n<∞\dim V = n<\infty then the space of all operators is again finite dimensional (dim⁡Hom⁡(V,V)=n2\dim \mathop{\mathrm{Hom}}(V, V) = n^2). Hence, our sequence of operators has to be dependant. Thus, there exists a non-zero combination ∑i=1NaiTi=0\sum_{i=1}^N a_i T^i = 0 and hence p(x)=∑i=1Naixip(x) = \sum_{i=1}^N a_ix^i is annihilating. ◻

2.5 Cayley-Hamilton theorem

Theorem 2.5.1 (Cayley-Hamilton theorem). If T:V→VT:V\to V is an operator with dim⁡V=n<∞\dim V = n<\infty then the characteristic polynomial is an annihilating polynomial for TT.

Theorem 2.5.2 (Diagonalization theorem). A∈Mn(𝔽)A\in M_n({\mathbb {F}}) is diagonalizable if and only if its minimal polynomial splits with no repeated factors.

Definition 2.5.3. Let T:V→VT:V\to V be operator. A subspace W≤VW\leq V is called TT-invariant if TW⊂WTW{\subset}W.

Example 2.5.4. If T:ℝ3→ℝ3T:{\mathbb {R}}^3\to {\mathbb {R}}^3 is rotation about the zz-axis by 30∘30^\circ then the invariant subspace are the zz-axis, the xyxy-plane and {0}\{0\}.

Let TT be a linear operator on VV. If V=W1⊕W2V = W_1\oplus W_2 and WiW_i are TT-invariant, let βi{\beta}_i be bases for WiW_i. Then β=β1∪β2{\beta}= {\beta}_1\cup {\beta}_2 is a basis for VV and [T]β[T]_{\beta} is block diagonal of the form ([T|W1]β100[T|W2]β2)\left(\begin{array}{c|c} [T_{|W_1}]_{{\beta}_1}& 0 \\ \hline 0 & [T_{|W_2}]_{{\beta}_2}\end{array}\right).

Theorem 2.5.5. Let TT be a linear operator. Then ker⁡p(T)\mathop{\mathrm{ker}}\nolimits p(T) is TT-invariant for any polynomial p(x)∈𝔽[x]p(x)\in {\mathbb {F}}[x].

Proof. To show that Tker⁡p(T)⊂ker⁡p(T)T \mathop{\mathrm{ker}}\nolimits p(T) {\subset}\mathop{\mathrm{ker}}\nolimits p(T). That is Tv∈ker⁡p(T)Tv \in \mathop{\mathrm{ker}}\nolimits p(T) for all v∈ker⁡p(T)v\in \mathop{\mathrm{ker}}\nolimits p(T). Let v∈ker⁡p(T)v\in \mathop{\mathrm{ker}}\nolimits p(T) and evaluate p(T)(Tv)=p(T)T(v)=Tp(T)(v)=T(0)=0p(T) (Tv) = p(T)T(v) = T p(T)(v) = T(0) = 0 as required. ◻

Theorem 2.5.6. Let TT be an operator (or matrix) on finite dimensional VV. Let χT(x)=∏i=1mqi(x)ri\chi_T(x) = \prod_{i=1}^m q_i(x)^{r_i} where the qiq_i’s are irreducible factors. Then, by Cayley-Hamilton and Primary decomposition theorem. V=ker⁡χT(T)=ker⁡(⨁i=1mqi(T)ri)=⨁i=1mker⁡qi(T)riV = \mathop{\mathrm{ker}}\nolimits\chi_T(T) = \mathop{\mathrm{ker}}\nolimits\left(\bigoplus_{i=1}^m q_i(T)^{r_i}\right) = \bigoplus_{i=1}^m \mathop{\mathrm{ker}}\nolimits q_i(T)^{r_i} is a decomposition of VV into a direct sum of TT-invariant subspaces.

Example 2.5.7. Let A∈M5(ℝ)A\in M_5({\mathbb {R}}) and suppose that χA(x)=−(x−1)3(x2+1)\chi_A(x) = -(x-1)^3(x^2+1). Then AA is not diagonalizable, but we see that AA is similar to a block diagonal matrix B=(3×3002×2)B = \left(\begin{array}{c|c}3\times 3& 0 \\ \hline 0 & 2\times 2\end{array}\right). That is, there exists PP such that B=P−1APB = P^{-1}AP. Furthermore, we can see that the 2×22\times 2 corner is not diagonal because the characteristic polynomial x2+1x^2+1 does not factor over ℝ{\mathbb {R}}. The 3×33\times 3 corner has characteristic polynomial −(x−1)3-(x-1)^3, thus has minimal polynomial (x−1),(x−1)2,(x−1)3(x-1), (x-1)^2, (x-1)^3. This corner is diagonalizable if and only if its minimal polynomial is (x−1)(x-1) and would be I3I_3.

2.6 Canonical decomposition

Let TT be an operator on a finite dimensional VV (or that VV is infinite dimensional and TT has an annihilating monic polynomial), then VV can be decomposed as the direct sum of TT-invariant subspaces V=⨁i∈IWiV = \bigoplus_{i\in I} W_i so that none of the WiW_i’s can be decomposed further (i.e. the WiW_i’s are irreducible TT-invariant subspaces).

Furthermore, each WiW_i is finite dimensional, cyclic and T|WiT_{|W_i} has characteristic polynomial equal to its minimal polynomial (up to a constant factor). The decomposition is unique in the sense that the number of WiW_i’s having a common minimal polynomial is unique.

Definition 2.6.1. Two operators T1,T2:V→VT_1, T_2:V\to V are similar if there exists a P:V→VP:V\to V such that T2=P−1T1PT_2 = P^{-1}T_1P.

Two operators with annihilating polynomial are similar if and only if, in their canonical decomposition, the above counts agree.

2.7 Cyclic subspaces

For T:V→VT:V\to V, let v≠0v\neq 0 in VV be fixed. Consider W=span⁡{v,Tv,T2v,…}≤VW = \mathop{\mathrm{span}}\{v, Tv, T^2v,\dots\}\leq V (called the Orbit of vv under TT).

Proposition 2.7.1. WW is TT-invariant.

Proposition 2.7.2. If TT has annihilating polynomial p(x)=∑i=0ncixip(x) = \sum_{i=0}^n c_ix^i with cn=1c_n = 1 then dim⁡W≤n\dim W\leq n.

Proof. Notice that ∑i=0nciTi=0\sum_{i=0}^n c_i T^i = 0 on VV. Thus, for any fixed vv, ∑i=0nciTiv=0\sum_{i=0}^n c_i T^iv = 0 where cn≠0c_n\neq 0. Hence, the list {v,Tv,…,Tnv}\{v, Tv, \dots, T^nv\} is dependent and Tnv∈span⁡{v,Tv,…,Tn−1v}T^nv\in \mathop{\mathrm{span}}\{v, Tv, \dots, T^{n-1}v\} implying that dim⁡W≤n\dim W\leq n. ◻

Proposition 2.7.3. For non zero v∈Vv\in V, assuming TT has an annihilating polynomial, the dimension of WW is equal to the first kk such that Tkv∈span⁡{v,Tv,…,Tk−1v}T^kv\in \mathop{\mathrm{span}}\{v, Tv, \dots, T^{k-1}v\}. A basis for WW is then β={v,Tv,…,Tk−1v}{\beta}= \{v, Tv, \dots, T^{k-1}v\}.

TT-invariant subspaces generated by the use of orbits are called TT-cyclic subspaces of TT. For finite dimensional TT-cyclic subspaces with basis chosen as β={v,Tv,…,Tk−1v}{\beta}= \{v, Tv, \dots, T^{k-1}v\} the matrix representation for [Tv]β[Tv]_{\beta} is of the form (000−a0100−a1010−a2001−a3)\left(\begin{smallmatrix}0 & 0 & 0 & -a_0\\ 1& 0 & 0 & -a_1\\ 0 & 1& 0 & -a_2\\ 0 & 0 & 1& -a_3\end{smallmatrix}\right) in the case, say k=4k=4, because T4v=−∑i=0naiTiT^4v = - \sum_{i=0}^n a_i T^i. This is called the companion matrix representation of TT and the characteristic polynomial of T|WT_{|W} is (−1)k(xk+∑i=0k−1aixi)(-1)^k(x^k + \sum_{i=0}^{k-1} a_ix^i).

2.8 Another application of PDT

If a sequence is defined by a recursive relation and initial values. Say a1=5a_1 = 5 and ak+1=λaka_{k+1} = {\lambda}a_k. In general then then an=5λn−1a_n = 5{\lambda}^{n-1}.

Example 2.8.1. Find an explicit formula for the Fibonacci sequence defined by a1=a2=1a_1 = a_2 = 1 and an=an−1+an−2a_n = a_{n-1} + a_{n-2}.

Solution: Consider the space VV of all real sequences {an}n=1∞\{a_n\}_{n=1}^\infty and let TT be the left unilateral shift operator T({an})={a2,a3,a4,…}T(\{a_n\}) = \{a_2, a_3, a_4, \dots\}. Check that TT is an operator (linear).

Next point of interest is satisfying the recursive formula an=an−1+an−2a_n = a_{n-1} + a_{n-2}. Observe that {an}={a1,a2,a3,…}T{an}={a2,a3,a4…}T2{an}={a3,a4,a5,…}\begin{align*} \{a_n\} &= \{a_1, a_2, a_3, \dots \}\\ T\{a_n\} &= \{ a_2, a_3, a_4\dots \}\\ T^2\{a_n\} &= \{a_3, a_4, a_5, \dots \}\\ \end{align*} So that T2{an}=T{an}+{an}T^2\{a_n\} = T\{a_n\} + \{a_n\} or T2−T−1=0T^2 - T - 1 = 0 on the subspace WW of sequences satisfying the recursion rule. That is W=ker⁡(T2−T−1)W = \mathop{\mathrm{ker}}\nolimits(T^2-T-1). By Primary decomposition theorem, because x2−x−1x^2 - x - 1 has roots λ±=1±52{\lambda}_\pm =\tfrac{1\pm \sqrt 5}{2}, we get a coprime factorzation and W=ker⁡(T−λ+)(T−λ−)=ker⁡(T−λ+)⊕ker⁡(T−λ−).W = \mathop{\mathrm{ker}}\nolimits(T- {\lambda}_+)(T-{\lambda}_-) = \mathop{\mathrm{ker}}\nolimits(T- {\lambda}_+)\oplus \mathop{\mathrm{ker}}\nolimits(T-{\lambda}_-). Now, {bn}∈ker⁡(T−λ+)\{b_n\}\in \mathop{\mathrm{ker}}\nolimits(T-{\lambda}_+) is equivalent to T{bn}=λ+{bn}T\{b_n\} = {\lambda}_+\{b_n\} hence bk=λ+bk−1b_k = {\lambda}_+ b_{k-1} or bn=λ+n−1b1b_n = {\lambda}_+^{n-1} b_1. Similarly {cn}∈ker⁡(T−λ−)\{c_n\}\in \mathop{\mathrm{ker}}\nolimits(T-{\lambda}_-) if an only if cn=λ−n−1c1c_n = {\lambda}_-^{n-1}c_1.

Thus {an}∈W\{a_n\}\in W is the sum {an}={bn}+{cn}=b1λ+n−1+c1λ−n−1\{a_n \} = \{b_n \} + \{c_n\} = b_1{\lambda}_+^{n-1} + c_1{\lambda}_-^{n-1}. Now, given initial conditions 1=a1=b1+c11=a_1 = b_1 + c_1 and 1=a2=λ+b1+λ−c11 = a_2 = {\lambda}_+ b_1 + {\lambda}_- c_1, it remains to solve (11λ+λ−)⋅(b1c1)=(11)⇒(b1c1)=1λ−−λ+(λ−−1−1−λ+1)(11)\left(\begin{matrix}1& 1\\ {\lambda}_+& {\lambda}_- \end{matrix}\right)\cdot \left(\begin{matrix}b_1\\ c_1 \end{matrix}\right) = \left(\begin{matrix}1\\ 1 \end{matrix}\right) \Rightarrow \left(\begin{matrix}b_1\\c_1 \end{matrix}\right) = \frac{1}{{\lambda}_- - {\lambda}_+} \left(\begin{matrix}{\lambda}_- & -1\\ -1&-{\lambda}_+ & 1 \end{matrix}\right)\left(\begin{matrix}1\\ 1 \end{matrix}\right)

3 Inner product spaces (revisited)

The following theory is intended for real of complex vector spaces only (not over a general field). Assuming that inner product spaces have already been covered in Linear algebra 1, briefly and inner product on a 𝔽=ℝ{\mathbb {F}}= {\mathbb {R}} or ℂ{\mathbb {C}} vector space VV is a non-degenerate, skew-symmetric, bilinear map ⟨⋅,⋅,⟩:V×V→𝔽\langle\cdot, \cdot, \rangle :V\times V\to {\mathbb {F}}. Skew-symmetric is also known as ‘conjugate symmetric’ which is not quite symmetric for complex vector space but is for real ones.

Recall, a few results

Theorem 3.0.2 (Gram-Schmidt orthonormalization). If VV is a finite dimensional inner product space, then there exists an orthonormal basis6 for VV.

Theorem 3.0.3. Every finite dimensional inner product space VV of dimension nn is isomorphic to 𝔽n{\mathbb {F}}^n. In fact, fixing an orthonormal basis β{\beta} for VV then the map v∈V↔[v]β∈𝔽nv \in V\leftrightarrow [v]_{\beta}\in {\mathbb {F}}^n is an isometric isomorphism.

Just to recall some notation, we show that the inner product from the previous theorem is preserved. Let u,v∈Vu,v \in V and write our orthonormal basis β={v1,…vn}{\beta}= \{v_1, \dots v_n\} so that u=∑aiviu = \sum a_i v_i and v=∑biviv = \sum b_i v_i. Now, since β{\beta} is orthonormal (i.e. ⟨vi,vj⟩=δij\langle v_i, v_j\rangle = \delta_{ij}) then ⟨u,v⟩=⟨∑iaivi,∑jbjvj⟩=∑i,jaib‾j⟨vi,vj⟩=∑i=aib‾j=⟨[u]β,[v]β⟩\langle u,v \rangle = \langle \sum_i a_i v_i, \sum_j b_jv_j \rangle = \sum_{i,j} a_i\bar{b}_j\langle v_i, v_j\rangle = \sum_i = a_i \bar{b}_j = \langle [u]_{\beta}, [v]_{\beta}\rangle

3.1 The question of orthogonal diagonalization

Let VV be a finite dimensional inner product space and T:V→VT:V\to V a linear operator on VV. TT is said to be orthogonally diagonalizable if there exists an orthonormal basis of eigen vectors for TT.

Theorem 3.1.1. TT is orthogonally diagonalizable if and only if it is diagonalizable and eigen spaces for distinct eigen values are perpendicular. Note that the Gram-Schmidt process will provide orthonormal bases within each of the eigen spaces.

Example 3.1.2. Consider T:ℝ2→ℝ2T:{\mathbb {R}}^2\to {\mathbb {R}}^2 given by T(1,0)=(2,0)T(1,0) = (2,0) and T(1,1)=(3,3)T(1,1) = (3,3). Is it orthogonally diagonalizable?

Solution: Eigen values are 2 and 3. Eigen spaces are E2=span⁡{(1,0)}E_2 = \mathop{\mathrm{span}}\{(1,0)\} and E3=span⁡{(1,1)}E_3 = \mathop{\mathrm{span}}\{(1,1)\} which are not perpendicular. Hence TT is not orthogonally diagonalizable.

3.2 The adjoint of an operator

Let VV be an inner product space and TT an operator on VV. If there exists another linear operator T*:V→VT^*:V\to V satisfying ⟨Tu,v⟩=⟨u,T*v⟩,∀u,v∈V\langle Tu, v\rangle = \langle u , T^*v\rangle , \, \forall u,v\in V then it is unique and it called the adjoint of TT.

Proposition 3.2.1. For finite dimensional vector spaces, adjoints exist.

Proof. By the isomorphism principal VV can be replaced with 𝔽n{\mathbb {F}}^n (with standard inner product) and TT with an n×nn\times n matrix AA. The proposition is then equivalent to the the claim that every n×nn\times n matrix comes with an adjoint and the definition of adjoint for a matrix AA on 𝔽n{\mathbb {F}}^n is ⟨Au,v⟩=⟨u,A*v⟩\langle Au, v\rangle = \langle u , A^* v\rangle. Notice, however, that here this formula, given by matrix multiplication, is equivalent to v‾TAu=A*v¯Tu\bar{v}^TAu =\overline{A^*v}^Tu and we intend to find a matrix A*A^* satisfying this. Expanding the right hand side says v‾TAu=v‾TA*¯Tu\bar{v}^TAu =\bar{v}^T\overline{A^*}^Tu implying that A=A*¯TA = \overline{A^*}^T which implies A*=A¯TA^* = \overline{A}^T which is uniquely determined. ◻

Definition 3.2.2. A linear operator TT on an inner product space with adjoint T*T^* is called self-adjoint (Hermitian) if T=T*T = T^*. It is called normal if TT*=T*TTT^* = T*T.

Clearly, self-adjoint implies normal, and in the simple case of one-by-ones [i][i] it is easily seen that normal does not imply self-adjoint.

Definition 3.2.3. TT is inner product preserving if ⟨Tu,Tv⟩=⟨u,v⟩\langle Tu, Tv\rangle = \langle u , v\rangle for all u,v∈Vu,v\in V.

Inner product preserving TT with an adjoint is equivalent to ⟨u,T*Tv⟩=⟨u,v⟩\langle u, T^*Tv\rangle = \langle u , v\rangle and hence T*Tv−v=0,∀v∈VT^*Tv-v = 0, \forall v\in V. That is T*T=1T^*T = 1

Proposition 3.2.4. TT is inner product preserving if and only if T*T=InT^*T = I_n (on finite dimensional VV).

Proposition 3.2.5. On finite dimensional vector spaces, TT is inner product preserving if and only if TT maps orthonormal bases to orthonormal bases.

Proof. Let β={v,…,vn}{\beta}= \{v_, \dots, v_n\} be an orthonormal basis for VV. Then we claim that {Tv1,…,Tvn}\{Tv_1, \dots, Tv_n\} is also an orthonormal basis. This is seen by ⟨Tvi,Tvj⟩=⟨vi,vj⟩=δij\langle Tv_i, Tv_j\rangle = \langle v_i, v_j\rangle = \delta_{ij}.

Conversely, if TT maps one orthonormal basis to another, then we can verify (exercise) that TT preserves inner product. ◻

Definition 3.2.6. A real matrix P∈Mn(ℝ)P\in M_n({\mathbb {R}}) satisfying P*P=InP^*P = I_n (i.e. PTP=InP^TP = I_n) is called orthogonal (rather than inner product preserving). A complex matrix P∈Mn(ℂ)P\in M_n({\mathbb {C}}) satisfying P*P=InP^*P = I_n is called unitary.

Remark 3.2.7. An operator TT (on f.d. V) is orthogonally diagonalizable if and only if it admits an orthonormal basis of eigen vectors (this is the definition). A real matrix A∈Mn(ℝ)A\in M_n({\mathbb {R}}) is orthogonally diagonalizable if and only if there exists orthogonal PP such that P−1AP=DP^{-1}AP = D. Similarly, A∈Mn(ℂ)A\in M_n({\mathbb {C}}) is unitarily diagonalizable if there exists unitary UU such that U*AU=DU^*AU = D.

3.3 Spectral theorem

Theorem 3.3.1 (Spectral theorem). A real matrix A∈Mn(ℝ)A\in M_n({\mathbb {R}}) is orthogonally diagonalizable if and only if AA is symmetric (i.e. self-adjoint). Equivalently, an operator TT on a finite dimensional real vector space is diagonalizable if an only if it is self-adjoint.

A complex matrix A∈Mn(ℂ)A\in M_n({\mathbb {C}}) is unitarily diagonalizable if and only if A*A^* commutes with AA (i.e. AA is normal. Equivalently, an operator TT on a finite dimensional complex vector space is unitarily diagonalizable if and only if TT is normal.

Proof. Assuming that A∈Mn(ℝ)A\in M_n({\mathbb {R}}) is orthogonally diagonalizable so that there exists orthogonal PP such that P−1AP=DP^{-1}AP = D. Then A=PDP−1A = PDP^{-1} and AT=(PDP−1)T=(P−1)TDTPT=PDP−1=AA^T = ( PDP^{-1})^T = (P^{-1})^T D^TP^T = PDP^{-1} = A. Similar proof works for unitarily diagonalizable A∈Mn(ℂ)A\in M_n({\mathbb {C}}).

Conversely, we will need the following 3 lemmas;

Lemma 3.3.2. If TT is an operator with adjoint. If W≤VW\leq V is TT-invariant, then W⟂W^\perp is T*T^*-invariant.

proof: Let W≤VW\leq V be TT-invariant and show that T*(W⟂)⊂W⟂T^*(W^\perp){\subset}W^\perp. Let v∈W⟂v\in W^\perp and for any w∈Ww\in W consider ⟨w,T*v⟩=⟨Tw,v⟩=0\langle w, T^*v\rangle= \langle Tw, v\rangle = 0 hence T*v∈W⟂T^*v\in W^\perp.

Lemma 3.3.3. Suppose T:V→VT:V\to V is normal. If EλE_{\lambda} is an eigen space for TT then EλE_{\lambda} is both TT and T*T^* invariant.

proof: Every eigen space of TT is TT-invariant (no inner product necessary). TO show is is also T*T^*, recall Eλ=ker⁡(T−λ)E_{\lambda}= \mathop{\mathrm{ker}}\nolimits(T-{\lambda}). Now T*(Eλ)⊂ker⁡(T−λ)T^*(E_{\lambda}){\subset}\mathop{\mathrm{ker}}\nolimits(T-{\lambda}) is equivalent to ((T−λ)(T*(Eλ))=0((T-{\lambda})(T^*(E_{\lambda})) = 0 which is to say that (T−λ)(T*(v))=0(T-{\lambda})(T^*(v)) = 0 for all v∈Eλv\in E_{\lambda}. Since TT is normal, this means T*(T−λ)(v)=0T^*(T-{\lambda})(v) = 0 which is true since v∈ker⁡(T−λ)v\in \mathop{\mathrm{ker}}\nolimits(T-{\lambda}).

Corollary 3.3.4. If TT is normal and EλE_{\lambda} is an eigen space for TT, then both EλE_{\lambda} and Eλ⟂E_{\lambda}^\perp are both TT and T*T^* invariant.

Lemma 3.3.5. For ℂ{\mathbb {C}}; Let TT be normal on a f.d. VV. Then VV is the direct sum of eigen spaces which are mutually orthogonal.

proof: By induction on the dimension nn of VV. If dim⁡V=1\dim V = 1 statement is trivial. Assuming result holds for spaces of dimension lower than nn. TT must have at least one eigen value, say λ{\lambda}, ℂ{\mathbb {C}} (fundamental theorem of algebra). Now V=Eλ⊕Eλ⟂V = E_{\lambda}\oplus E_{\lambda}^\perp. Moreover EλE_{\lambda} and Eλ⟂E_{\lambda}^\perp are both TT and T*T^* invariant (since TT is normal). Now Eλ⟂E_{\lambda}^\perp has dimension strictly less than nn as dim⁡Eλ≥1\dim E_{\lambda}\geq 1. Considering now, the restriction of T,T*T, T^* to Eλ⟂E_{\lambda}^\perp, the induction hypothesis allows us to continue to decompose Eλ⟂E_{\lambda}^\perp into a direct sum of mutually orthogonal subspaces.

Now, the proof for ℝ{\mathbb {R}} is almost identical except one will require the existence of a real eigen value λ{\lambda} which is show using that T*=TT^* = T. Indeed, consider A∈Mn(ℝ)A\in M_n({\mathbb {R}}) as if it were complex and find a complex eigen value λ∈ℂ{\lambda}\in {\mathbb {C}} (which exists). Now, to show that λ{\lambda} is actually real: Suppose Tv=λvTv = {\lambda}v for v≠0v\neq 0 (i.e. v∈Eλ(T)v\in E_{\lambda}(T)). Now, ⟨Tv,v⟩=⟨v,T*v⟩λ⟨v,v⟩=⟨v,λv⟩λ||v||2=λ‾||v||2λ=λ‾⇒λ∈ℝ.\begin{align*} \langle Tv,v \rangle & = \langle v, T^*v \rangle\\ {\lambda}\langle v,v \rangle &= \langle v, {\lambda}v \rangle\\ {\lambda}||v||^2 &= \bar{{\lambda}}||v||^2\\ {\lambda}&= \bar{{\lambda}} \qquad\Rightarrow {\lambda}\in {\mathbb {R}}. \end{align*} ◻

3.4 Application of spectral theorem; Quadratic forms

Definition 3.4.1. A real quadratic form QQ is a function of nn real variables x1,…,xnx_1,\dots, x_n into ℝ{\mathbb {R}} having the special form Q(x1,…,xn)=∑i,j=1naijxixj.Q(x_1,\dots, x_n) = \sum_{i,j = 1}^n a_{ij}x_i x_j.

Example 3.4.2. Q(x,y)=x2+4xy−5y2Q(x,y) = x^2 + 4xy - 5 y^2 for x,y∈ℝx,y\in {\mathbb {R}} is a quadratic form in 2-variables.

The constants aija_{ij} used in writing a quadratic form are not unique (i.e. the above example can be equivalently expressed as Q(x,y)=x2+2xy+2yx−5y2Q(x,y) = x^2 + 2xy + 2yx - 5y^2). However, if it is written with symmetric aij=ajia_{ij} = a_{ji} then it is unique. Then every quadratic form can be expressed uniquely by symmetric A=(aij)A = (a_{ij}).

Example 3.4.3. Q(x,y,z)=4x2−7yz+9xy+3y2Q(x,y,z) = 4x^2 - 7 yz + 9 xy + \sqrt 3 y^2 has the unique symmetric expression Q(x,y,z)=4x2−72yz−72zy+92xy+92yx+3y2.Q(x,y,z) = 4 x^2 - \tfrac{7}{2} yz - \tfrac{7}{2} zy + \tfrac{9}{2} xy + \tfrac{9}{2} yx + \sqrt 3 y^2.

Definition 3.4.4. Let QQ be the quadric form corresponding to the to the real symmetric matrix A∈Mn(ℝ)A\in M_n({\mathbb {R}}). Then the function Q(x→)=∑i=1naijxixjQ(\vec x) = \sum_{i=1}^n a_{ij}x_i x_j has the compact expression Q(x→)=xTAxQ(\vec x) = x^TAx. This is called the symmetric matrix representation of QQ.

The spectral theorem asserts that for any real symmetric matrix AA, there exists orthogonal PP such that P−1APP^{-1}AP is diagonal. With this, one may simplify quadric forms as follows; Q(x)=xTAx=xT(PDP−1)x=(xTP−1)D(Px)=(Px)TD(Px)Q(x) = x^TAx = x^T(PDP^{-1})x = (x^TP^{-1})D(Px) = (Px)^TD(Px) since P−1=PTP^{-1} = P^T. This implies that our quadratic form in the new variable y=Pxy = Px has no off-diagonal terms. That is, if D=diag⁡(λ1,…,λn)D = \mathop{\mathrm{diag}}({\lambda}_1,\dots, {\lambda}_n) then Q(y)=∑i=1nλiyi2Q(y) = \sum_{i=1}^n {\lambda}_i y_i^2.

Example 3.4.5. Sketch the curve 2x2−4xy+5y2=362x^2 - 4xy + 5y^2 = 36 (i.e. the level curve Q(x,y)=36Q(x,y) = 36) in the plane.

Solution: First, the symmetric matrix for QQ is A=(2−2−25)A = \left(\begin{smallmatrix}2& -2\\-2&5\end{smallmatrix}\right). Its eigen values are λ1=1,λ2=6{\lambda}_1 = 1, {\lambda}_2 = 6 and the corresponding eggen spaces are Eλ1=span⁡{(2,1)},Eλ2=span⁡{(−1,2)}E_{{\lambda}_1} = \mathop{\mathrm{span}}\{(2,1)\}, E_{{\lambda}_2} = \mathop{\mathrm{span}}\{(-1,2)\} respectively. By Gram-Schmidt, an orthonormal basis of eigen vectors is {15(21),15(−12)}\left\{\tfrac{1}{\sqrt 5}\left(\begin{matrix}2\\1 \end{matrix}\right) , \tfrac{1}{\sqrt 5}\left(\begin{matrix}-1\\ 2 \end{matrix}\right)\right \} so let P=(25−151525)P =\left(\begin{smallmatrix}\tfrac{2}{\sqrt 5}& \tfrac{-1}{\sqrt 5}\\ \tfrac{1}{\sqrt 5}& \tfrac{2}{\sqrt 5}\end{smallmatrix}\right) which is orthogonal.

Our new variables are now given by y=Pxy = Px and in these coordinates Q(y1,y2)=y12+6y22Q(y_1, y_2) = y_1^2 + 6y_2^2 so the curve (after simplification) becomes 1=(y16)2+(y26)21 = \left(\frac{y_1}{6}\right)^2 + \left(\frac{y_2}{\sqrt 6}\right)^2 which is a rotated ellipse with minor and major axes specified by the coefficients. The principal axes are furthermore governed by our basis of eigen vectors encoded in PP.

Q: What is the area of this ellipse?

A: 66π6\sqrt 6 \pi.

It is because of this application of the spectral theorem that it is also called the Principal Axis Theorem (in the ℝ{\mathbb {R}} case).

3.5 Projections

Theorem 3.5.1 (Projection form of Spectral theorem). Let T:ℂn→ℂnT:{\mathbb {C}}^n\to {\mathbb {C}}^n be normal and let Eλ1,Eλ2,…,EλsE_{{\lambda}_1}, E_{{\lambda}_2}, \dots, E_{{\lambda}_s} be the eigen spaces for TT (where λ1,…,λs{\lambda}_1, \dots, {\lambda}_s refer to distinct eigen values in ℂ{\mathbb {C}}). Then the spaces are mutually orthogonal and ℂn=⨁i=1sEλi{\mathbb {C}}^n = \bigoplus_{i=1}^s E_{{\lambda}_i}. Hence, furthermore Eλi⟂=⨁j≠ij=1sEλjE_{{\lambda}_i}^\perp = \bigoplus_{\stackrel{j=1}{j\neq i}}^s E_{{\lambda}_j}.

With this, each vector v∈ℂnv\in {\mathbb {C}}^n can be written uniquely as v=v1+v2+…+vsv = v_1+v_2+\dots +v_s with vi∈Eλiv_i\in E_{{\lambda}_i}. For each fixed ii let πi:ℂn→ℂn\pi_i :{\mathbb {C}}^n \to {\mathbb {C}}^n be defined as πi(v)=vi\pi_i(v) = v_i so then the range of πi\pi_i is EλiE_{{\lambda}_i}, πi2=πi\pi_i^2 = \pi_i and πi∘πj=0\pi_i\circ \pi_j = 0. This says that πi\pi_i’s are projections7 with disjoint ranges.

Claim: πi*=πi\pi_i^* = \pi_i.

Indeed, we wish to confirm that πiu=πi*u\pi_i u = \pi_i^*u for each u∈ℂnu\in {\mathbb {C}}^n. This is equivalent to ⟨πuu,v⟩=⟨πi*u,v⟩=⟨u,πiv⟩\langle \pi_u u, v\rangle = \langle \pi_i^*u,v\rangle = \langle u ,\pi_iv\rangle for all u,v∈ℂnu,v\in {\mathbb {C}}^n. Let u=u1+u2+…+usu = u_1+u_2+\dots +u_s and v=v1+…vsv = v_1+\dots v_s where ui.vi∈Eλiu_i.v_i\in E_{{\lambda}_i}. We must confirm that ⟨uu,v1+…+vs⟩=⟨u1+…+us,vi⟩\langle u_u, v_1+\dots +v_s\rangle = \langle u_1+\dots +u_s, v_i\rangle. This is equivalent to the true statement ⟨ui,vi⟩=⟨ui,vi⟩\langle u_i, v_i\rangle = \langle u_i, v_i\rangle since ⟨ui,vj⟩=0\langle u_i, v_j \rangle = 0 for all i≠ji\neq j.

In short, one says that the projections {πi}i=1s\{\pi_i\}_{i=1}^s are disjoint and self adjoint. Furthermore, v=v1+…vs=π1v+…πsvv= v_1+\dots v_s = \pi_1v+\dots \pi_sv for every v∈ℂnv\in {\mathbb {C}}^n so that I=∑i=1sπsI = \sum_{i=1}^s \pi_s (the projections partition the identity). From v=v1+…vsv = v_1+\dots v_s we get Tv=Tv1+…+Tvs=λ1v1+…+λsvsTv = Tv_1 + \dots +Tv_s = {\lambda}_1v_1+\dots + {\lambda}_sv_s so that T=∑i=1sλiπiT = \sum_{i=1}^s{\lambda}_i \pi_i and this is the spectral decomposition of TT. The set {λ1,…,λs}\{{\lambda}_1,\dots, {\lambda}_s\} is called the spectrum of TT.

Also, T*=(∑i=1sλiπi)*=∑i=1sλ¯iπi*=∑i=1sλ‾iπiT^* = \left(\sum_{i=1}^s{\lambda}_i \pi_i\right)^* = \sum_{i=1}^s\overline{{\lambda}}_i \pi_i^* = \sum_{i=1}^s \bar{{\lambda}}_i \pi_i.

Conversely, if {πi}i=1s\{\pi_i\}_{i=1}^s is a family of self-adjoint projections partitioning the identity then T=∑i=1sλiπiT = \sum_{i=1}^s{\lambda}_i \pi_i yields a normal operator whose adjoint is ∑i=1sλ‾iπi\sum_{i=1}^s\bar{{\lambda}}_i \pi_i.

Corollary 3.5.2. An operator TT on ℂn{\mathbb {C}}^n is normal if and only if T*T^* is a polynomial in TT. That is, there exists a p(x)∈ℂ[x]p(x)\in {\mathbb {C}}[x] such that T*=p(T)T^* = p(T).

Proof. Suppose first that T*=p(T)T^* = p(T) for some pp. Then TT commutes with T*T^* (since it commutes with all polynomials in TT) so is normal.

Conversely. Suppose TT is normal. By the spectral theorem, T=∑i=1sλiπiT = \sum_{i=1}^s{\lambda}_i \pi_i with λi{\lambda}_i’s distinct and {πi}i=1s\{\pi_i\}_{i=1}^s is a family of disjoint, self-adjoint projections partitioning the identity and T*=∑i=1sλ‾iπiT^* = \sum_{i=1}^s\bar{{\lambda}}_i \pi_i.

Now, provided one believes8, there exists a polynomial p(x)p(x) such that p(λi)=λ‾ip({\lambda}_i) = \bar{{\lambda}}_i for each ii. With that, p(T)p(T) will give T*T^* (as required) which is explained as follows: We have T=∑i=1sλiπiT = \sum_{i=1}^s{\lambda}_i \pi_i and

T2=(∑i=1sλiπi)(∑i=1sλiπi)=∑i,j=1sλiλjπiπj=∑i=1sλi2πi2=∑i=1sλi2πi\begin{align*} T^2 = \left(\sum_{i=1}^s{\lambda}_i \pi_i\right)\left(\sum_{i=1}^s{\lambda}_i \pi_i\right) &= \sum_{i,j = 1}^s {\lambda}_i{\lambda}_j \pi_i\pi_j= \sum_{i=1}^s{\lambda}_i^2 \pi_i^2= \sum_{i=1}^s{\lambda}_i^2 \pi_i \end{align*} so then Tk=∑i=1sλikπiT^k = \sum_{i=1}^s{\lambda}_i^k \pi_i. Now, T2+T3=∑i=1s(λi2+λi3)πiT^2 + T^3 = \sum_{i=1}^s({\lambda}_i^2 + {\lambda}_i^3) \pi_i and this generalizes to say p(T)=∑i=1sp(λi)πi=∑i=1sλ‾iπi=T*.p(T) = \sum_{i=1}^sp({\lambda}_i) \pi_i = \sum_{i=1}^s\bar{{\lambda}}_i \pi_i = T^*. ◻

3.6 Singular value decomposition

Consider the linear map A:ℝ3→ℝ2A:{\mathbb {R}}^3 \to {\mathbb {R}}^2 given by the matrix (4111487−2)\left(\begin{matrix}4& 11& 14\\ 8 & 7 & -2 \end{matrix}\right).The product A*AA^*A is then symmetric so the spectral decomposition asserts that it is orthogonally diagonalizable. Note that A*A=(801004010017014040140200)A^*A = \left(\begin{matrix}80& 100&40\\ 100& 170& 140\\ 40 & 140& 200 \end{matrix}\right), it eigen values (in descending order) are λ1=360,λ2=90,λ3=0{\lambda}_1 = 360, {\lambda}_2 = 90, {\lambda}_3 = 0. Each eigen space EλiE_{{\lambda}_i} is of dimension 1 and their bases are v1=13(122),v2=13(−2−12)v_1 = \tfrac{1}{3}\left(\begin{smallmatrix}1\\2\\2\end{smallmatrix}\right), v_2 = \tfrac{1}{3}\left(\begin{smallmatrix}-2\\-1\\2\end{smallmatrix}\right) and v3=13(2−21)v_3 = \tfrac{1}{3}\left(\begin{smallmatrix}2\\-2\\1\end{smallmatrix}\right) respectively where the vectors have already been normalized.

So, V=(v1|v2|v3)V = (v_1|v_2|v_3) is a matrix for which V*A*AV=diag⁡(360,90,0)=:ΣV^*A^*AV = \mathop{\mathrm{diag}}(360,90,0)=:\Sigma. Notice that A*Avi=λiviA^*Av_i = {\lambda}_iv_i for each ii, so ⟨Avi,Avi⟩=⟨A*Avi,vi⟩=λi⟨vi,vi⟩=λi\langle Av_i, Av_i \rangle = \langle A^*Av_i, v_i \rangle = {\lambda}_i \langle v_i, v_i \rangle = {\lambda}_i implying that ||Avi||=λi||Av_i|| = \sqrt{{\lambda}_i}. Similarly, ⟨Avi,Avj⟩=⋯=λi⟨vi,vj⟩=0.\langle Av_i, Av_j \rangle = \cdots = {\lambda}_i \langle v_i, v_j \rangle = 0. Thus, {Av1,Av2,Av3}\{Av_1, Av_2, Av_3\} is a list of orthogonal vectors with each vector having length λi\sqrt{{\lambda}_i}.

Theorem 3.6.1 (Singular value decomposition - for matrices). Let A∈Mm×n(ℂ)A\in M_{m\times n} ({\mathbb {C}}) represent a linear transformation from ℂn{\mathbb {C}}^n to ℂm{\mathbb {C}}^m of rank rr. Then there exists a ‘diagonal’ matrix Σ∈Mm×n(ℂ)\Sigma\in M_{m\times n}({\mathbb {C}}) whose diagonal entries appear in descending order (e.g. Σ=(σ10⋱σr0…0)\Sigma = \left(\begin{matrix}{\sigma}_1 & &&& 0\\ & \ddots &&&\\ &&{\sigma}_r&&\\ 0 &&\dots &&0 \end{matrix}\right) with σ1≥σ2≥…≥σr{\sigma}_1\geq {\sigma}_2\geq \dots \geq {\sigma}_r and σr+1=0{\sigma}_{r+1} = 0.) and unitary U∈Mm(ℂ),V∈Mn(ℂ)U\in M_m({\mathbb {C}}), V\in M_n({\mathbb {C}}) such that A=UΣV*A = U\Sigma V^*.

Furthermore, the matrix Σ\Sigma is unique. The values σ1,…,σr{\sigma}_1, \dots, {\sigma}_r are called the singular values of AA and writing A=UΣV*A = U{\Sigma}V^* is called the singular value decomposition of AA

Proof. Consider A*A∈Mn(ℂ)A^*A\in M_n({\mathbb {C}}) which is clearly self-adjoint. In particular it is normal and so, by the spectral theorem, is unitarily diagonalizable. That is, there exists an orthonormal basis {v1,…,vn}\{v_1, \dots, v_n\} for ℂn{\mathbb {C}}^n and (A*A)vi=λivi(A^*A) v_i = {\lambda}_i v_i for some scalars λi∈ℂ{\lambda}_i\in {\mathbb {C}} (the eigen values of A*AA^*A). Let V=[v1|v2|…|vn]V = [v_1|v_2|\dots |v_n] then VV is unitary. Consider {Av1,…,Avn}⊂ℂm\{Av_1, \dots, Av_n\}{\subset}{\mathbb {C}}^m which span the range of AA. These vectors are, furthermore, mutually orthogonal with lengths given by ||Avi||=λi||Av_i|| = \sqrt{{\lambda}_i} (shown above). Let σi=λi{\sigma}_i = \sqrt {{\lambda}_i} so that ||Avi||=σi||Av_i || = {\sigma}_i and, without loss of generality, arrange the order of {v1,…,vn}\{v_1,\dots , v_n\} so that σ1≥σ2≥…≥σr{\sigma}_1\geq {\sigma}_2\geq \dots \geq{\sigma}_r. Now {Av1,…Avr}\{Av_1, \dots Av_r\} is a basis for the range of AA and normalizing to ui:=1σiAviu_i:=\tfrac{1}{{\sigma}_i}Av_i for i=1,…,ri = 1, \dots, r gives an orthonormal basis for the range space. Extending this basis to an orthonormal basis {u1,u2,…,ur,ur+1,…um}\{u_1, u_2, \dots, u_r, u_{r+1}, \dots u_m\} for ℂm{\mathbb {C}}^m and let U=(u1|…|um)U = (u_1|\dots |u_m). This UU is then unitary and with this we have Avi=σiuiAv_i = {\sigma}_i u_i for each ii, which reads as AV=UΣAV = U{\Sigma} (i.e. A=UΣV*A = U{\Sigma}V^*) as desired. ◻

4 Canonical decompositions of linear operators

Lemma 4.0.2. Let T:V→VT:V\to V be an operator and p(x)p(x) an annihilating polynomial for TT. If p(x)p(x) is factored into a product p(x)p1γ1⋯psγsp(x) p_1^{{\gamma}_1}\cdots p_s^{{\gamma}_s} where each pip_i is irreducible over 𝔽{\mathbb {F}}, then V=⨁ker⁡piγi(T).V = \bigoplus \mathop{\mathrm{ker}}\nolimits p_i^{{\gamma}_i}(T).

This is the primary decomposition theorem with Wi=ker⁡piγi(T)W_i = \mathop{\mathrm{ker}}\nolimits p_i^{{\gamma}_i}(T) and all are TT-invariant. Next, one asks the question; Can these WW’s be decomposed further into TT-invariant subspaces?

Example 4.0.3. Consider A=(103024002)A = \left(\begin{smallmatrix}1&0&3\\ 0&2&4\\0&0&2\end{smallmatrix}\right) representing T:ℝ3→ℝ3T:{\mathbb {R}}^3\to {\mathbb {R}}^3. An annihilating polynomial for AA is p()=−(x−1)(x−2)2p() = -(x-1)(x-2)^2 (By Cayley-Hamilton) so the above lemma implies ℝ3=ker⁡(T−1)⏟W1⊕ker⁡(T−2)2⏟W2{\mathbb {R}}^3 = \underbrace{\mathop{\mathrm{ker}}\nolimits(T-1)}_{W_1} \oplus \underbrace{\mathop{\mathrm{ker}}\nolimits(T-2)^2}_{W_2}.

Now, could W1W_1 or W2W_2 be decomposed further? For W1W_1; dim⁡W1=1\dim W_1 = 1 so there no meaningful further decomposition is possible. However, dim⁡W2=2\dim W_2 = 2 and it is decomposable further into TT-invariant subspaces if and only if W2=W3⊕W4W_2 = W_3\oplus W_4 with dim⁡W3=1=dim⁡W4\dim W_3 = 1 = \dim W_4 if and only if W2=W3⊕W4W_2 = W_3\oplus W_4 where each 1-dimensional TT-invariant subspace W3,W4W_3, W_4 carries eigen vectors if an only if T|W2T_{|W_2} is diagonalizable if and only if TT is diagonalizable if and only if (x−1)(x−2)(x-1)(x-2) annihilates TT. To check this, compute (A−1)(A−2)=(003014001)(−103004000)(A-1)(A-2) = \left(\begin{smallmatrix}0 & 0 & 3\\0 & 1& 4\\0 & 0 & 1\end{smallmatrix}\right)\left(\begin{smallmatrix}-1 & 0 & 3\\0 & 0 & 4\\ 0 &0&0\end{smallmatrix}\right) which is not zero. Hence W2W_2 has not further decomposition.

Lemma 4.0.4. Let T:V→VT:V\to V be annihilated by pp which is irreducible. Then V=⨁i∈IWiV = \bigoplus_{i\in I} W_i where each WiW_i is TT-cyclic of dimension equal to the degree of pp. This decomposition is final canonical.

Example 4.0.5. Are there operators TT on ℝ{\mathbb {R}} over ℚ{\mathbb {Q}} such that T2v=−vT^2 v = -v for all v∈ℝv\in {\mathbb {R}}? This is equivalent to the question “are there operators on ℝ{\mathbb {R}} over ℚ{\mathbb {Q}} which are annihilated by p(x)=x2+1p(x) = x^2 + 1?”

To give an example, let ℝ=⨁i∈IWi{\mathbb {R}}= \bigoplus_{i\in I} W_i where each WiW_i is of dimension 2. Let β{\beta} be a basis for ℝ{\mathbb {R}} over ℚ{\mathbb {Q}} and notice that β{\beta} is infinite. Let β{\beta} be separated as a union of disjoint subsets of size 2, say β=⋃̇i∈Isi{\beta}= \dot{\bigcup}_{i\in I} s_i where si={b1i,b2i}s_i =\{ b^i_1, b^i_2\} and declare that Wi=span⁡siW_i = \mathop{\mathrm{span}}s_i. On WiW_i, define TT by T(b1i)=b2iT(b^i_1) = b^i_2 and T(b2i)=−b1iT(b^i_2) = -b^i_1 and quickly check that T1=−1T^1 = -1 on WiW_i. Thus x2+1x^2+1 annihilates T|WiT_{|W_i} for each ii and so annihilates TT on ⨁i∈IWi\bigoplus_{i\in I} W_i.

Lemma 4.0.6. If TT is an operator on VV and is annihilated by an irreducible polynomial p(x)p(x) then V=⨁i∈IWiV = \bigoplus_{i\in I}W_i where each WiW_i is cyclic of dimension equal to the degree of p(x)p(x).

This lemma will be strengthened slightly as follows; If TT is an operator on VV annihilated by an irreducible p(x)p(x), let W≤VW\leq V be a (given) TT-invariant subspace. Then there exists a family of TT-cyclic subspaces {Wi:i∈I}\{W_i:i\in I\} where each WiW_i is of dimension equal to the degree of pp so that V=W⊕(⨁i∈IWi)V = W\oplus \left(\bigoplus_{i\in I} W_i\right). Note that the special case W={0}W = \{0\} gives the original lemma.

Proof. Consider the collection of possible families {Wj:j∈J}\{W_j:j\in J\} of TT-cyclic subspaces where each WjW_j has dimension equal to the degree of pp and with a direct sum ⨁j∈JWj\bigoplus_{j\in J}W_j disjoint from WW (i.e. intersecting WW only at {0}\{0\}). We would like to argue that there exists a large enough family such that the sum W⊕(⨁i∈IWi)W\oplus \left(\bigoplus_{i\in I} W_i\right) is the full VV.

By Zorn’s lemma (equivalent to the axiom of choice and/or the transfinite induction principle), there exists a maximal family {Wi:i∈I}\{W_i:i\in I\} satisfying all of the above conditions. Maximal meaning that this is a collection which cannot be enriched by a collection which contains it and is truly larger. We need only argue now that this maximal collection satisfies the result of our lemma. Suppose on the contrary that W⊕(⨁i∈IWi)⊊VW\oplus \left(\bigoplus_{i\in I} W_i\right)\subsetneq V.

We will contradict that this collection is maximal by constructing one extra Wj0W_{j_0}. To get this, pick v0∈V∖W⊕(⨁i∈IWi)v_0\in V\backslash W\oplus \left(\bigoplus_{i\in I} W_i\right) and for convenience let us now denote W⊕(⨁i∈IWi)W\oplus \left(\bigoplus_{i\in I} W_i\right) by UU. Let Wj0W_{j_0} be the TT-cyclic subspace generated by v0v_0 (i.e. Wj0=span⁡{v0,Tv0,T2v0,…tk−1v0}W_{j_0} = \mathop{\mathrm{span}}\{v_0, Tv_0, T^2v_0, \dots t^{k-1}v_0\} where kk is the degree of p(x)p(x).

Then we claim that dim⁡Wj0=k\dim W_{j_0} = k. Indeed, if dim⁡Wj0=l<k\dim W_{j_0} = l<k, consider T|Wj0T_{|W_{j_0}}. Its characteristic polynomial will be of degree no more than ll and m(x)m(x) divides every polynomial which annihilates TWj0T_{W_{j_0}}. Clearly the irreducible annihilates T|Wj0T_{|W_{j_0}} so m(x)m(x) divides p(x)p(x) which contradict stat pp is irreducible as the degree of mm is strictly less than the degree of pp.

Next we see that Wj0W_{j_0} is disjoint from UU. Notice that Wj0∩U≤Wj0W_{j_0} \cap U \leq W_{j_0} and that Wj0W_{j_0} is TT-invariant too. We claim that in Wj0W_{j_0}, the only TT invariant subspaces are itself and {0}\{0\}. Indeed, let S≤Wj0S\leq W_{j_0} be a proper TT-invariant subspace (i.e. SS is not equal to {0}\{0\} or Wj0W_{j_0}). Then the minimal polynomial of T|ST_{|S} will be of degree less than kk and its minimal polynomial divides p(x)p(x) which is not possible.

Therefore, as v0∉Uv_0\notin U, Wj0∩U={0}W_{j_0}\cap U = \{0\} follows. So {Wi:i∈I}∪Wj0\{W_i:i\in I\}\cup W_{j_0} is a larger family with all of the desired properties (contradicting the maximality). ◻

Note that, like Wj0W_{j_0}, every WiW_i cannot have proper TT-invariant subspaces, so there are no further TT-invariant decompositions.

Example 4.0.7. Suppose that A∈Mn(𝔽)A\in M_n({\mathbb {F}}) and the minimal polynomial is m(x)=x2+x+1m(x) = x^2 +x + 1. Assuming that 𝔽{\mathbb {F}} is a field where x2+x+1x^2+x+1 is irreducible (e.g. 𝔽=ℝ{\mathbb {F}}= {\mathbb {R}} and certainly not ℂ{\mathbb {C}}). What can be said about AA?

Solution: We can see from the lemma that 𝔽n=⨁i=1n/2Wi{\mathbb {F}}^n = \bigoplus_{i = 1}^{n/2} W_i where each WiW_i has dimension 2. A basis for each WiW_i is, say, {vi,Avi}\{v_i, Av_i\}. That is Avi=0v1+Av1Av_i = 0v_1 + Av_1 and A(Avi)=−Avi−viA(Av_i) = - Av_i- v_i (from the polynomial). Furthermore, then, A|Wi≃(0−11−1)A_{|W_i} \simeq \left(\begin{smallmatrix}0&-1\\1&-1\end{smallmatrix}\right) (the companion matrix). Hence, according to this, a canonical decomposition of AA is the block diagonal matrix diag⁡((0−11−1),…,(0−11−1))\mathop{\mathrm{diag}}\left(\left(\begin{smallmatrix}0&-1\\1&-1\end{smallmatrix}\right), \dots, \left(\begin{smallmatrix}0&-1\\1&-1\end{smallmatrix}\right)\right).

Lemma 4.0.8. If T:V→VT:V\to V is annihilated by q(x)rq(x)^r where q(x)q(x) is irreducible (wlog, monic) and r≥1r\geq 1, then V=⨁i∈IWiV = \bigoplus_{i\in I} W_i where each WiW_i is TT-invariant of dimension equal to the degree of qriq^{r_i} with 1≤ri≤r1\leq r_i\leq r. Furthermore, TT acts cyclically on WiW_i (i.e. WiW_i is TT-cyclic) with characteristic polynomial equal to q(x)riq(x)^{r_i} (up to a sign).

sketch for r=2r=2. Consider N=q(T)N = q(T) along with TT. So (since we have assumed r=2r = 2) N2=0N^2 = 0. We have Range⁡N∩ker⁡N≤ker⁡N≤ker⁡N2=V\mathop{\mathrm{Range}}N\cap \mathop{\mathrm{ker}}\nolimits N\leq \mathop{\mathrm{ker}}\nolimits N \leq \mathop{\mathrm{ker}}\nolimits N^2 = V.

Algorithm for decomposition: First note that the kernel and range of any polynomial in TT is TT invariant. This implies that Range⁡N∩ker⁡N\mathop{\mathrm{Range}}N\cap \mathop{\mathrm{ker}}\nolimits N is also TT-invariant. On this intersection, NN annihilates TT, so by Lemma 4.0.4 this region decomposes into ⨁Wi\bigoplus W_i with each WiW_i TT-invariant of dimension the degree of qq. Furthermore on each WiW_i TT acts cyclically with characteristic polynomial qq.

Suppose, for demonstration, that q(x)=x2+bx+cq(x) = x^2 + bx + c so that T2=N−bT−cT^2 = N - bT - c. Pick v∈V∖ker⁡Nv\in V\backslash \mathop{\mathrm{ker}}\nolimits N. Then T2v=Nv−bTv−cv∈span⁡{v,Tv,Nv}T^2v = Nv - bTv - cv \in \mathop{\mathrm{span}}\{v,Tv, Nv\} and T3v=T(Nv−bTv−cv)=TNv−b(Nv−bTv−cv)−cTv⏟∈span⁡{v,Tv,Nv}.T^3v = T(Nv - bTv - cv) = TNv-\underbrace{b(Nv - bTv - cv) - cTv}_{\in \mathop{\mathrm{span}}\{v,Tv, Nv\}}. So then, it is clear that {v,Tv,T2v,T3v,…,Tkv}∈span⁡{v,Tv,Nv,TNv}\{v,Tv, T^2v, T^3v, \dots, T^kv\}\in \mathop{\mathrm{span}}\{v,Tv, Nv, TNv\} and this forms a basis for the decomposition of V∖ker⁡NV\backslash \mathop{\mathrm{ker}}\nolimits N which has dimension equal to the degree of q2q^2. ◻

4.1 Jordan and rational normal forms

The canonical decomposition theorem asserts that for each T:V→VT:V\to V there is a canonical (fins) decomposition V=⨁i∈IWiV = \bigoplus_{i\in I} W_i where each WiW_i is TT-cyclic with characteristic polynomial qriq^{r_i} where qq is irreducible. Note that the assumption that TT has an annihilating polynomial p(x)p(x) here is implicit and qri|pq^{r_i}|p.

Consider one such WW on which TT acts cyclically with characteristic polynomial q(x)rq(x)^r. If we use the cyclic basis {v,Tv,T2v,…,Tkv}\{v, Tv, T^2v, \dots, T^kv\} where k=deg(qr)−1k = \text{deg}(q^r)-1, then the matrix representation of T|WT_{|W} is the companion matrix.

Example 4.1.1. If q(x)=x2+2x+5q(x) = x^2 + 2x + 5 and r=2r = 2, then q2(x)=x4+4x3+14x2+20x+25q^2(x) = x^4+ 4x^3 + 14x^2 + 20x+ 25, the companion matrix is then C(q2(x))=(000−25100−20010−14001−4).C(q^2(x)) = \left(\begin{matrix}0&0&0&-25\\ 1&0&0& - 20 \\ 0 & 1& 0 & -14\\ 0 & 0 & 1&-4 \end{matrix}\right).

When each WiW_i is equipped with a cyclic basis, we call the decomposition a Rational canonical form.

Example 4.1.2. If A∈M5(ℝ)A\in M_5({\mathbb {R}}) has characteristic polynomial p(x)=−(x−3)(x2+2x+5)p(x) = -(x-3)(x^2+2x+5) and if its canonical decomposition is W1⊕W2W_1\oplus W_2 where W1=ker⁡(T−3),W2=ker⁡(T2+2T+5)2W_1 = \mathop{\mathrm{ker}}\nolimits(T-3), W_2 = \mathop{\mathrm{ker}}\nolimits(T^2+2T+5)^2 then A≃diag⁡(C(x−3),C(q(x)2))A \simeq \mathop{\mathrm{diag}}(C(x-3), C(q(x)^2)). The notation is C(x−3),⊕C(q(x)2)C(x-3),\oplus C(q(x)^2). This is the rational normal form of AA.

If, instead of the cyclic bases, we use {v,Tv,T2v,…,Tmv;Nv,TNv,…,TmN;N2v,TN2v,…,TmN2v;…;TmNr−1v}\{v, Tv, T^2v, \dots, T^mv; Nv, TNv, \dots, T^mN; N^2v, TN^2v, \dots, T^mN^2v; \dots; T^mN^{r-1}v\} where m=degq(x)−1m = \text{deg}q(x) -1 and N=q(T)N = q(T). When T|WT_{|W} is represented as a matrix using the above basis we call the matrix a Jordan block and the canonical decomposition is called the Jordan normal form.

Example 4.1.3. Let q(x)=x2+2x+5q(x) = x^2 + 2x+ 5 and r=2r=2. then the basis is found using the vectors in the following diagram; v→TTvN↓↓Nv→TNv\begin{array}{ccc}v&\xrightarrow{T}&Tv\\ {\scriptstyle N}\downarrow&&\downarrow\\ Nv&\longrightarrow&TNv\end{array} We have, with N=T2+2T+5N = T^2 + 2T + 5, that T(Tv)=T2v=Nv−2Tv−5v,T(Tv) = T^2v = Nv - 2Tv - 5v, TNvTNv and T(TNv)=N2v−2TNv−5Nv=−2TNv−5Nv.T(TNv) = N^2v - 2TNv - 5Nv = - 2TNv - 5Nv. Hence, the matrix representation becomes (05001−200010−5001−2)=(C(q(x))0N2C(q(x)))∼C(q2(x)).\left(\begin{array}{cc|cc}0&5& 0 & 0 \\1& -2&0 &0\\ \hline 0&1&0&-5\\ 0&0&1&-2\end{array}\right) = \left(\begin{array}{c|c}C(q(x)) & 0 \\ \hline N_2& C(q(x))\end{array}\right)\sim C(q^2(x)).

5 Review Lectures

Similarity

Let VV be a vector space of dimension 4 and let S,TS, T be linear operators on VV with the following descriptions;

For SS, there is a basis α={α1,α2,α3,α4}{\alpha}= \{{\alpha}_1, {\alpha}_2, {\alpha}_3, {\alpha}_4\} on which SS acts according to the rule α1↦α2,α2↦α4,α3↦α1+α2{\alpha}_1\mapsto {\alpha}_2, {\alpha}_2\mapsto {\alpha}_4, {\alpha}_3 \mapsto {\alpha}_1+{\alpha}_2 and α4↦α1−α2{\alpha}_4\mapsto {\alpha}_1-{\alpha}_2.

For TT, there is a basis β={β1,β2,β3,β4}{\beta}= \{{\beta}_1,{\beta}_2,{\beta}_3, {\beta}_4\} on which TT acts by β1↦β2,β2↦β4,β3↦β1+β2{\beta}_1\mapsto {\beta}_2, {\beta}_2\mapsto {\beta}_4, {\beta}_3\mapsto {\beta}_1+{\beta}_2 and β4↦β1−β2{\beta}_4\mapsto {\beta}_1-{\beta}_2.

Show that S∼TS\sim T.

Solution: Need to find an invertible map P:V→VP:V\to V such that P−1SP=TP^{-1}SP = T. Declare PP by, the linear bijection αi↔βi{\alpha}_i\leftrightarrow {\beta}_i between bases.

Now suppose we change the definition of TT so that β2↦β1+β4{\beta}_2\mapsto {\beta}_1+{\beta}_4. Are they still similar?

Solution: Certainly TT is still similar to an operator T2T_2 whose description is α1↦α2,α2↦α1+α4,α3↦α1+α2{\alpha}_1\mapsto {\alpha}_2, {\alpha}_2\mapsto{\alpha}_1+ {\alpha}_4, {\alpha}_3 \mapsto {\alpha}_1+{\alpha}_2 and α4↦α1−α2{\alpha}_4\mapsto {\alpha}_1-{\alpha}_2. Since similarity is transitive, then it suffices to determine similarity of the following two matrices; [S]α=(0011101−100000100),[T2]α=(0111101−100000100).[S]_{\alpha}= \left(\begin{matrix}0&0&1&1\\ 1&0&1&-1\\ 0 & 0 & 0 & 0 \\ 0 & 1& 0 & 0 \end{matrix}\right), \, [T_2]_{\alpha}= \left(\begin{matrix}0&1&1&1\\ 1&0&1&-1\\ 0 & 0 & 0 & 0 \\ 0 & 1& 0 & 0 \end{matrix}\right). To check; determinants, characteristic polynomial, Jordan or rational canonical form.

Rank Nullity Theorem

Recall, for a linear map T:𝔽m→𝔽nT:{\mathbb {F}}^m \to {\mathbb {F}}^n that Rank⁡T+dim⁡ker⁡T=m\mathop{\mathrm{Rank}}T + \dim \mathop{\mathrm{ker}}\nolimits T = m. In terms of decomposition, let {u1,…,uk}\{u_1, \dots, u_k\} be a basis for ker⁡T\mathop{\mathrm{ker}}\nolimits T (i.e. k=dim⁡ker⁡Tk= \dim \mathop{\mathrm{ker}}\nolimits T) and let {u1,…,ukuk+1,…,um}\{u_1,\dots, u_k u_k+1, \dots, u_m\} be an extension to a basis for 𝔽m{\mathbb {F}}^m. Then we can prove that {Tu1,…,Tum}\{Tu_1, \dots, Tu_m\} spans the range of TT and {Tuk+1,…,Tum}\{Tu_{k+1}, \dots, Tu_m\} is independent. Hence, forming a basis for the range of TT.

We can extend v1=Tuk+1,…,vm−k=Tumv_1 = Tu_{k+1}, \dots, v_{m-k}= Tu_m to a basis for 𝔽n{\mathbb {F}}^n so that 𝔽m=ker⁡T⊕span⁡{uk+1,…,um}{\mathbb {F}}^m = \mathop{\mathrm{ker}}\nolimits T \oplus \mathop{\mathrm{span}}\{u_{k+1}, \dots, u_m\} and 𝔽n=T𝔽m⊕{vm−k+1,…,vn}{\mathbb {F}}^n = T{\mathbb {F}}^m \oplus \{v_{m-k+1}, \dots, v_n\} and [T]{um,um−1,…,uk+1,…,u1}{vm−k,…,v1,vn,…,vk+1=(Ik0m−k,k0n−k,k0m−k,n−k).[T]_{\{u_m, u_{m-1}, \dots, u_{k+1}, \dots, u_1\}}^{\{v_{m-k}, \dots,v_1,v_n, \dots, v_{k+1} } = \left(\begin{matrix}I_k & 0_{m-k, k}\\ 0_{n-k, k} & 0_{m-k, n-k} \end{matrix}\right). In terms of matrices, this asserts that there exists an invertible PP and QQ such that P−1[T]QP^{-1}[T]Q (where PP and QQ denote change of coordinate matrices between corresponding bases.

Differential equations

If DD denotes the differential operator on an appropriate space of functions, find ker⁡(D−1)2\mathop{\mathrm{ker}}\nolimits(D-1)^2.

Solution: To start, let y=eλtz(t)y = e^{{\lambda}t} z(t) so that Dy=eλtDz(t)+λeλtz(t)=eλtz(t)(D+λ),Dy = e^{{\lambda}t} Dz(t) + {\lambda}e^{{\lambda}t} z(t) = e^{{\lambda}t} z(t) (D + {\lambda}), D2y=⋯=eλt(D+λ)2z(t)D^2y = \cdots = e^{{\lambda}t} (D+{\lambda})^2 z(t) and, in particular, Dky=eλt(D+λ)kz(t).D^k y = e^{{\lambda}t} (D+{\lambda})^k z(t).

Now, using this in the case k=2k=2 means etD2(e−tz)=(D−1)2ze^t D^2(e^{-t}z) = (D-1)^2 z so that z∈ker⁡(D−1)2z\in \mathop{\mathrm{ker}}\nolimits(D-1)^2 if and only if etD2(e−tz)=0e^tD^2(e^{-t}z) =0 which is equivalent to D2(e−tz)=0D^2(e^{-t}z) =0 or e−tz=at+be^{-t}z = at+b. In general, that is ker⁡(D−λ)n={eλt⋅∑k=0naktk}.\mathop{\mathrm{ker}}\nolimits(D-{\lambda})^n = \left\{e^{{\lambda}t} \cdot \sum_{k=0}^n a_kt^k\right\}.

For a particular solution to, say, (D3−2D2+D)y=t2+1(D^3 - 2D^2 + D)y = t^2+1. We need, y(t)=t2+1D3−2D2+D=t2+1D(D−1)2=1(D−1)2[1D(t2+1)]=1(D−1)2[∫(t2+1)]=1(D−1)2[x33+x]=(1+2D+3D2+4D3)[x33+x]=x33+2x2+7x+10\begin{align*} y(t)& =\frac{ t^2+1}{D^3 - 2D^2 + D}\\ &= \frac{ t^2+1}{D(D-1)^2}\\ &= \frac{1}{(D-1)^2}\left[\frac{1}{D}(t^2+1)\right]\\ &= \frac{1}{(D-1)^2}\left[\int(t^2+1)\right]\\ &= \frac{1}{(D-1)^2}\left[\frac{x^3}{3} + x\right]\\ &= (1+2D + 3D^2+ 4D^3)\left[\frac{x^3}{3} + x\right]\\ &= \frac{x^3}{3} + 2x^2 + 7x + 10 \end{align*}

Where we have computed the inverse 1(D−1)2\frac{1}{(D-1)^2} by long division...

Jordan forms

Let AA be 3×33\times 3 real matrix with characteristic polynomial (−λ−1)(λ−2)2(-{\lambda}-1)({\lambda}-2)^2. What are the possible Jordan normal forms of AA?

Based on this information alone, the Jordan form of AA is either 𝒥(λ−1)⊕𝒥((λ−2)2)=[1]⊕(C(λ−2)10C(λ−2))=(100021002){\mathcal J}({\lambda}- 1) \oplus {\mathcal J}(({\lambda}-2)^2) = [1]\oplus \left(\begin{matrix}C({\lambda}-2)& 1\\ 0 & C({\lambda}-2) \end{matrix}\right) = \left(\begin{matrix}1& 0 & 0 \\ 0 & 2& 1\\ 0 & 0 & 2 \end{matrix}\right) or 𝒥(λ−1)⊕𝒥(λ−2)⊕𝒥(λ−2)=diag⁡(1,2,2){\mathcal J}({\lambda}-1)\oplus {\mathcal J}({\lambda}-2)\oplus {\mathcal J}({\lambda}-2) = \mathop{\mathrm{diag}}(1,2,2)


  1. i.e. aij=0a_{ij} = 0 for i≤ji\leq j↩︎

  2. Row-Reduced-Echelon-Form↩︎

  3. a linear transformation from a vector space to itself↩︎

  4. since Eλ={v∈V:(T−λ⋅I)v=0}=ker⁡(T−λ⋅I)E_{\lambda}= \{v\in V: (T-{\lambda}\cdot I)v=0\} = \mathop{\mathrm{ker}}\nolimits(T-{\lambda}\cdot I) and kernels are subspaces↩︎

  5. Note: this automatically implies diagonalizability since eigen spaces are always at least 1 dimensional and eigen vectors for distinct eigen values are independent↩︎

  6. A basis β{\beta} is orthonormal if vi⟂vj,∀i≠jv_i \perp v_j, \forall i\neq j and ||vi||=1,∀i||v_i|| = 1, \forall i↩︎

  7. A linear operator whose square is itself is called a projection↩︎

  8. I would like a demonstration↩︎