[선형대수] Lecture 21: Eigenvalues and eigenvectors

이재호·2025년 3월 15일

선형대수

목록 보기
20/31

https://ocw.mit.edu/courses/18-06-linear-algebra-spring-2010/video_galleries/video-lectures/

이번 강의에서는 "Eigenvalues and Eigenvectors"에 대해서 배운다.

  • det(AλI)=0\det(A-\lambda I)=0
  • Trace=λ1+λ2+...+λnTrace=\lambda_1+\lambda_2+...+\lambda_n

우선 AxAx는 마치 함수에 변수를 넣는 것처럼 A(x)A(x)와 같다. (즉, AA는 fnuction이고 xx는 variables에 해당하는 것처럼)
따라서, 다음과 같이 해석이 가능하다. "Ax is parallel to x\text{$Ax$ is parallel to $x$}"
그리고 이 의미는 다음과 같다.

Ax=λxAx=\lambda x
(λ:eigenvalue,x:eigenvector)(\lambda:eigenvalue, x:eigenvector)

위 식과, parallel하다는 것을 이용하여 다음과 같은 점들을 추측할 수 있다.

  • If A is singular  λ=0\text{If $A$ is singular $\rightarrow$ $\lambda=0$} (A=0|A|=0)
  • x in plane Px=x\text{$x$ in plane $\rightarrow Px=x$} (PP: projection matrix)
  • xplane Px=0x\text{$x \perp$plane $\rightarrow Px=0x$} (λ=0\lambda=0)

예시를 들어서 보자.

A=[0110]A= \begin{bmatrix} 0 & 1 \\ 1 & 0 \end{bmatrix}
Ax=λxAx=\lambda x

직관적으로 xx[11],[11]\begin{bmatrix}1 \\ 1\end{bmatrix},\begin{bmatrix}1 \\ -1\end{bmatrix}라고 해보자.

x=[11],Ax=[0110][11]=λ[11]x=\begin{bmatrix}1 \\ 1\end{bmatrix}, Ax= \begin{bmatrix} 0 & 1 \\ 1 & 0 \\ \end{bmatrix}\begin{bmatrix}1 \\ 1\end{bmatrix} = \lambda\begin{bmatrix}1 \\ 1\end{bmatrix}
λ=1\therefore \lambda=1
x=[11],Ax=[0110][11]=λ[11]x=\begin{bmatrix}1 \\ -1\end{bmatrix}, Ax= \begin{bmatrix} 0 & 1 \\ 1 & 0 \\ \end{bmatrix}\begin{bmatrix}1 \\ -1\end{bmatrix} = \lambda\begin{bmatrix}1 \\ -1\end{bmatrix}
λ=1\therefore \lambda=-1

그리고 다음과 같은 점을 발견하였다.

  • trace = a11+a22+...+ann = sum of λ’s \text{trace = $a_{11}+a_{22}+...+a_{nn}$ = sum of $\lambda$'s }
  • 0+0=1+(1)0+0=1+(-1)

그렇다면 어떻게 Ax=λxAx=\lambda x 를 풀이할 수 있을까? 다음을 보자.

Ax=λxAx=\lambda x
(AλI)x=0 (x0)(A-\lambda I)x=0 \ (x \ne 0)
AλI:singulardet(AλI)=0A-\lambda I : singular \rightarrow \det(A-\lambda I)=0

위와 같이 det(AλI)=0\det(A-\lambda I)=0 수식을 통해 λ\lambda 값을 찾고, 이 값을 (AλI)x=0(A-\lambda I)x=0 에 적용하여 xx를 찾을 수 있겠다.
예시와 함께 해보자.
ex.

A=[3113]A= \begin{bmatrix} 3 & 1 \\ 1 & 3 \\ \end{bmatrix}
det(AλI)=3λ113λ=(3λ)21=λ26λ+8=(λ4)(λ2)=0\det(A-\lambda I) = \begin{vmatrix} 3-\lambda & 1 \\ 1 & 3-\lambda \\ \end{vmatrix} = (3-\lambda)^2-1 = \lambda^2-6\lambda+8 = (\lambda-4)(\lambda-2)=0
λ1=4,λ2=2\therefore \lambda_1=4,\lambda_2=2

이제 xx를 구해보자.

(AλI)x=0(A-\lambda I)x=0

x1x_1

[1111]x=0\begin{bmatrix} -1 & 1 \\ 1 & -1 \\ \end{bmatrix} x = 0
x1=[11]\therefore x_1=\begin{bmatrix}1 \\ 1\end{bmatrix}

x2x_2

[1111]x=0\begin{bmatrix} 1 & 1 \\ 1 & 1 \\ \end{bmatrix} x = 0
x2=[11]\therefore x_2=\begin{bmatrix}-1 \\ 1\end{bmatrix}

따라서 A=[3113]A=\begin{bmatrix} 3 & 1 \\ 1 & 3 \\ \end{bmatrix} 에 대한 Ax=λxAx=\lambda x 의 정답은 다음과 같다.

  • λ1=4,x1=[1111]\lambda_1=4,x_1=\begin{bmatrix} -1 & 1 \\ 1 & -1 \\ \end{bmatrix}
  • λ2=2,x2=[1111]\lambda_2=2,x_2=\begin{bmatrix} 1 & 1 \\ 1 & 1 \\ \end{bmatrix}

다음으로 (A+3I)x(A+3I)x에 대해서 생각해보자.
이 경우 eigenvalue와 eigenvector는 어떻게 나올까?

(A+3I)x=Ax+3x=λx+3x=(λ+3)x(A+3I)x = Ax+3x = \lambda x+3 x=(\lambda+3)x

위와 같이 eigenvector는 변화가 없고, eignevalue만 선형적으로 3만큼 증가한 것을 볼 수 있다.

그렇다면 Ax=λxAx=\lambda x, Bx=αxBx=\alpha x 두 개를 비교해보자.
위와 같이 (A+B)x=(λ+α)x(A+B)x=(\lambda+\alpha)x 로 연산이 가능할까? 그렇지 않다.
왜냐하면 ABA\ne B이기 때문에 둘의 eigenvector는 다르기 때문이다. 따라서 Ax=λxAx=\lambda x, Bx=αxBx=\alpha x 조건 자체가 잘못되었다. 올바르게 작성하면 다음과 같다.
Ax=λxAx=\lambda x, By=αyBy=\alpha y


다음으로 reverse matrix의 eigenvalues, eignevectors를 구해보자.

Q=[cosπ2sinπ2sinπ2cosπ2]=[0110]Q= \begin{bmatrix} cos\frac{\pi}{2} & -sin\frac{\pi}{2} \\ sin\frac{\pi}{2} & -cos\frac{\pi}{2} \\ \end{bmatrix} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \\ \end{bmatrix}
λ11λ=λ2+1=0\begin{vmatrix} -\lambda & -1 \\ 1 & -\lambda \\ \end{vmatrix} = \lambda^2 + 1=0
λ1=i,λ2=i\therefore \lambda_1=i, \lambda_2=-i
trace=0+0=λ1+λ2trace=0+0=\lambda_1+\lambda_2
detQ=1=λ1×λ2\det Q=1=\lambda_1 \times \lambda_2

따라서 다음과 같이 해석이 가능하다.
Ax=λxAx=\lambda x에서 AA가 reverse matrix에 가까울수록 λ\lambda는 허수로 나오고, AA가 symmetric matrix에 가까울수록 λ\lambda는 실수로 나온다.


다음으로 upper triangular matrix의 eigenvalues, eigenvectors 를 구해보자.

A=[3103]A = \begin{bmatrix} 3 & 1 \\ 0 & 3 \\ \end{bmatrix}
det(AλI)=3λ103λ=(3λ)2=0\det(A-\lambda I) = \begin{vmatrix} 3-\lambda & 1 \\ 0 & 3-\lambda \\ \end{vmatrix} = (3-\lambda)^2=0
λ1=3,λ2=3\therefore \lambda_1=3, \lambda_2=3
(AλI)x=0(A-\lambda I)x=0
[0100]x=0\begin{bmatrix} 0 & 1 \\ 0 &0 \\ \end{bmatrix} x =0
x1=[10]\therefore x_1=\begin{bmatrix}1 \\ 0\end{bmatrix}
x2 = No 2nd independent eigen vector\text{$x_2$ = No 2nd independent eigen vector}

즉, triangular matrix의 eigenvalues는 대각 성분 값이 나오며, 위 경우 eigenvector는 하나만 존재한다.

profile
천천히, 그리고 꾸준히.

0개의 댓글