Salta al contenuto
Note per Studenti Linear Algebra Recap - Eigenvalues and Diagonalization Report

Linear Algebra Recap - Eigenvalues and Diagonalization

In questa pagina 7

Linear functions

A function ff is linear if it satisfies

  1. homogeneity: αf(x)=f(αx)\alpha f(x) = f(\alpha x);
  2. additivity: f(x)+f(y)=f(x+y)f(x) + f(y) = f(x + y);

equivalently αf(x)+f(y)=f(αx+y)\alpha f(x) + f(y) = f(\alpha x + y).

Bases

We work in Rn\mathbb{R}^n, n>0n > 0. A basis of Rn\mathbb{R}^n is a set B={b1,…,bn}\mathcal{B} = \{b_1, \dots, b_n\}, bi∈Rnb_i \in \mathbb{R}^n for all ii, such that any v∈Rnv \in \mathbb{R}^n can be expressed as a linear combination of B\mathcal{B},

v=∑i=1nαibi,v = \sum_{i=1}^{n} \alpha_i b_i,

and no bib_i can be removed for this to hold.

The canonical basis is {e1,…,en}\{e_1, \dots, e_n\} where eie_i has a 11 in the ii-th position and 00 elsewhere. A vector such as v=(1,2,3)Tv = (1, 2, 3)^T gives its coordinates with respect to a basis (here the canonical one).

A matrix as a linear function

A matrix A∈Rn×mA \in \mathbb{R}^{n \times m} represents a linear function from Rm\mathbb{R}^m to Rn\mathbb{R}^n with respect to a basis Bn={b1,…,bn}\mathcal{B}_n = \{b_1, \dots, b_n\} of Rn\mathbb{R}^n and a basis Bm={s1,…,sm}\mathcal{B}_m = \{s_1, \dots, s_m\} of Rm\mathbb{R}^m: the image of sis_i is

Asi=∑j=1naij bj,A s_i = \sum_{j=1}^{n} a_{ij}\, b_j,

where the aija_{ij} are the entries in the ii-th column of AA (the board writes [A]ij=aij[A]_{ij} = a_{ij}).

Example. A=(142536)A = \begin{pmatrix} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{pmatrix}, a map R2→R3\mathbb{R}^2 \to \mathbb{R}^3. Then As1=1⋅b1+2⋅b2+3⋅b3A s_1 = 1\cdot b_1 + 2\cdot b_2 + 3\cdot b_3. With si=ei∈R2s_i = e_i \in \mathbb{R}^2 and bi=ei∈R3b_i = e_i \in \mathbb{R}^3:

Ae1=A(10)=(123)=1(100)+2(010)+3(001).A e_1 = A\begin{pmatrix} 1 \\ 0 \end{pmatrix} = \begin{pmatrix} 1 \\ 2 \\ 3 \end{pmatrix} = 1\begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} + 2\begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix} + 3\begin{pmatrix} 0 \\ 0 \\ 1 \end{pmatrix}.

A(34)=(369)+(162024)=(192633).A\begin{pmatrix} 3 \\ 4 \end{pmatrix} = \begin{pmatrix} 3 \\ 6 \\ 9 \end{pmatrix} + \begin{pmatrix} 16 \\ 20 \\ 24 \end{pmatrix} = \begin{pmatrix} 19 \\ 26 \\ 33 \end{pmatrix}.

In general v=v1e1+v2e2v = v_1 e_1 + v_2 e_2 and Ae1=A1A e_1 = A_1, Ae2=A2A e_2 = A_2 (the columns of AA), so

Av=A(v1e1+v2e2)=v1Ae1+v2Ae2=v1A1+v2A2.A v = A(v_1 e_1 + v_2 e_2) = v_1 A e_1 + v_2 A e_2 = v_1 A_1 + v_2 A_2.

Change of basis and similarity

Theorem. Let B1={b1,…,bn}\mathcal{B}_1 = \{b_1, \dots, b_n\} and B2={s1,…,sn}\mathcal{B}_2 = \{s_1, \dots, s_n\} be bases of Rn\mathbb{R}^n. There exists a unique T∈Rn×nT \in \mathbb{R}^{n \times n} such that bi=Tsib_i = T s_i for all ii, and TT is invertible; hence T−1bi=siT^{-1} b_i = s_i for all ii.

Definition (similar matrices). A square matrix AA is similar to a square matrix BB if there exists TT such that

A=TBT−1⟺AT=TB.A = T B T^{-1} \quad\Longleftrightarrow\quad A T = T B.

If AA and BB are similar, they represent the same linear function with respect to different bases BA,BB\mathcal{B}_A, \mathcal{B}_B, with T:BB→BAT : \mathcal{B}_B \to \mathcal{B}_A.

Let Ax=yA x = y, that is A:x↦yA : x \mapsto y. Change of basis: z=T−1xz = T^{-1} x, x=Tzx = T z. Then

Ax=ATz=TBz=Ty′,B:z↦y′,A:Tz↦Ty′.A x = A T z = T B z = T y', \qquad B : z \mapsto y', \qquad A : Tz \mapsto Ty'.

Diagonalization

A diagonal matrix DD has nonzero entries only on the diagonal.

Definition. A square matrix AA is diagonalizable if it is similar to a diagonal matrix, i.e. there exists TT with

A=TDT−1,D=(d10⋱0dn).A = T D T^{-1}, \qquad D = \begin{pmatrix} d_1 & & 0 \\ & \ddots & \\ 0 & & d_n \end{pmatrix}.

  • The diagonal elements of DD are the eigenvalues of AA.
  • The columns of T=[t1 ∣ t2 ∣ … ∣ tn]T = [t_1 \,|\, t_2 \,|\, \dots \,|\, t_n] are the eigenvectors of AA.

Indeed AT=TDA T = T D gives, column by column, Ati=ditiA t_i = d_i t_i. Usually eigenvalues are denoted λi\lambda_i and eigenvectors viv_i.

Definition. If Av=λvA v = \lambda v (v≠0v \neq 0), then λ\lambda is an eigenvalue of AA and vv is the corresponding eigenvector of AA.

Computing eigenvalues

Av=λvA v = \lambda v is equivalent to (A−λI) v=0(A - \lambda I)\,v = 0, so A−λIA - \lambda I has a nontrivial kernel. Recall that the kernel of AA is {x:Ax=0}\{x : A x = 0\}. The kernel Ker(A−λI)\mathrm{Ker}(A - \lambda I) is nontrivial exactly when

det⁡(A−λI)=∣A−λI∣=0,\det(A - \lambda I) = |A - \lambda I| = 0,

the characteristic equation: a polynomial equation in the variable λ\lambda. All the eigenvalues of AA are found by solving it.

Example. A=(110−1)A = \begin{pmatrix} 1 & 1 \\ 0 & -1 \end{pmatrix}:

det⁡(A−λI)=∣1−λ10−1−λ∣=(1−λ)(−1−λ)=0  ⇒  λ1=1, λ2=−1.\det(A - \lambda I) = \begin{vmatrix} 1 - \lambda & 1 \\ 0 & -1 - \lambda \end{vmatrix} = (1 - \lambda)(-1 - \lambda) = 0 \;\Rightarrow\; \lambda_1 = 1,\ \lambda_2 = -1.

Algebraic and geometric multiplicity

For a matrix AA, the characteristic polynomial factors as

det⁡(A−λI)=∏i(λ−αi)νi,\det(A - \lambda I) = \prod_{i}(\lambda - \alpha_i)^{\nu_i},

where λ\lambda is the variable. For each eigenvalue αi\alpha_i:

  • νi\nu_i is the algebraic multiplicity;
  • the geometric multiplicity of αi\alpha_i is gi=dim⁡Ker(A−αiI)g_i = \dim \mathrm{Ker}(A - \alpha_i I).

On the board a matrix with characteristic polynomial (λ−1)2=0(\lambda - 1)^2 = 0, λ1=1\lambda_1 = 1, is stated to have algebraic multiplicity 22 and geometric multiplicity 11 (that matrix is not shown on that strip). Two recap examples:

  • A=(1001)A = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}: λ=1\lambda = 1 with ν=2\nu = 2, g=2g = 2, because Ker(A−I)=R2\mathrm{Ker}(A - I) = \mathbb{R}^2.
  • A=(1−101)A = \begin{pmatrix} 1 & -1 \\ 0 & 1 \end{pmatrix}: λ=1\lambda = 1 with ν=2\nu = 2, g=1g = 1, because Ker(A−I)=Ker(0−100)=⟨(10)⟩\mathrm{Ker}(A - I) = \mathrm{Ker}\begin{pmatrix} 0 & -1 \\ 0 & 0 \end{pmatrix} = \left\langle \begin{pmatrix} 1 \\ 0 \end{pmatrix} \right\rangle.

A matrix can be diagonalized if and only if, for each eigenvalue, the algebraic and geometric multiplicities coincide. When they do not, the Jordan form is needed: see Jordan Canonical FormEvery square matrix is similar to a Jordan matrix of blocks with the eigenvalue on the diagonal and ones above it; generalized eigenvectors built from kernel chains give the change of basis, and the exponential of a Jordan block contains the terms t^k e^(lambda t).Jordan Canonical Form →. Diagonalization is used to compute the matrix exponential in Solution of LTI Systems and the Matrix ExponentialThe autonomous LTI system x' = Fx with x(0) = x0 has solution x(t) = exp(Ft) x0, where the matrix exponential is a power series; it is computed with diagonalization or with the Laplace transform, shown on a worked 2 by 2 example.Solution of LTI Systems and the Matrix Exponential →.

Versione ripasso

Teoria collegata