Square Full-Rank Matrix의 Inverse를 Cramer's rule에 기반하여 구하는 방식은
실제 inverse를 구하는 용도로는 많이 사용되지는 않는다.
- 재귀적 방식인지라, 대상이 되는 Square Matrix의 크기가 커질 경우 매우 비효율적이기 때문임.
- 단, 3×3 이하의 작은 크기이거나, Complex Number 로 인해 Row Reduction 등이 효과적이지 못한 경우에는 inverse를 구하는데 사용되기도 함.
주요 용도는 Theoretical Tool로서 inverse를 다 구하지 않고도, Ax=b에서 b의 작은 변화가
x에 얼마나 영향을 주는지 등을 살피는 것임.
주요행렬
이 방식에서 중간에 이용되는 주요 Matrix는 다음과 같음.
- Minor Matrix (소행렬)
- Checkerboard Matrix (or Sign Matrix, 부호행렬)
- Cofactor Matrix (여인자 행렬)
- Adjugate Matrix (수반 행렬)
Minor Matrix (소행렬)
"Sub-Matrices의 Determinants"(=minor, 소행렬식) 를 elements 로 가짐.
- i-th row, j-th column의 element mij (=소행렬식, minor) 는
- i-th row와 j-th column을 제외한 submatrix Aij의 determinant (행렬식)임.
M=[m11⋯m1n⋮⋱⋮mn1⋯mnn]=[detA11⋯detA1n⋮⋱⋮detAn1⋯detAnn]
Checkboard Matrix (or Sign Matrix, 부호행렬)
항상 left-top element가 1이고 이웃한 행과 열에서 -1과 1이 반복되면서 나오는 체크무늬의 Matrix.
i-th row, j-th column의 element gij는 다음과 같음.
gij=(−1)(i+j)
- i,j는 1부터임.
Cofator Matrix (여인자 행렬)
Cofactor (여인자)들을 elements로 가지는 Matrix.
Minor Matrix (소행렬)와 Sign Matrix (부호행렬)의 Hadamard Multiplication의 결과물임.
Cij=(−1)(i+j)detAij
Source Matrix A의 determinant는 다음이 성립
detA=a11C11+a12C12+⋯+a1nC1n
where
aij: Matrix A의 i-th row, j-th column의 Element.
위의 식이 Cofactor Expansion (여인수 전개) across the first row of A
Adjugate Matrix (수반행렬)
Classical Adjoint 라고도 불리기도 함.
Transpose of the Cofactor Matrix 임.
Adj A=C⊤
Inverse Matrix (역행렬)
위의 intemediate matrix를 통해 다음과 같은 일반식을 얻을 수 있음.
A−1=1detAAdj A=1detA[C11C21⋯Cn1C12C22⋯Cn2⋮⋮⋱⋮C1nC2n⋯Cnn]
참고: Cramer's Rule
위의 Square Full-Rank Matrix에 대한 Inverse 를 구하는 일반식은 Cramer's Rule을 이용하여 유도된다.
- A−1의 j-th column x가 Ax=ej를 만족하므로,
- 여기에 Cramer's Rule을 통해 x를 구하는 것을 통해 이루어짐.
- i-th entry of x는 A−1의 (i,j)-entry에 해당.
다음은 Cramer's Rule 임.
A 가 invertible n×n matrix 이고, 다음의 Matrix Equation이 있다고 하자.
Ax=b,x∈Rn,b∈Rn
이때 the unique solution x의 element는 다음과 같음.
xi=detAi(b)detA,i=1,2,⋯,n
where
- Ai(b) 는 A에서 i-th column을 Vector b로 교체한 Matrix임.
다음의 예를 참고

같이보면 좋은 자료들
2024.02.17 - [.../Linear Algebra] - [LA] Row Operations and Row Equivalent
[LA] Row Operations and Row Equivalent
Linear Algebra에서는 "Row Operations"와 유사하게 "Column Operation"도 존재. 이 두 유형의 Operations은 Matrix를 다룰 때 중요한 Tool로,matrix의 성질을 조사하거나특정한 형태(Echelon form등)로 변환하는 데 사용.
dsaint31.tistory.com
2024.04.03 - [.../Linear Algebra] - [LA] Determinant (행렬식)
[LA] Determinant (행렬식)
Matrix는 일종의 Linear transform을 의미함.Linear transform을 의미하는 matrix 들 중에서,Square Matrix에서 구해지는 Determinant는 해당하는 Linear transform의 특성을 나타내는 scalar 임. square matrix가 의미하는 line
dsaint31.tistory.com
2022.12.02 - [.../Math] - [LA] Pseudoinverse Matrix (수정중)***
[LA] Pseudoinverse Matrix (수정중)
Pseudo-Inverse (Moore-Penrose Pseudoinverse)Moore-Penrose Pseudoinverse는 일반적인 행렬에서 정의되어 inverse matrix처럼 사용가능한 개념 으로,inverse가 full rank square matrix에만 정의되는 것과 달리,square matrix가 아니
dsaint31.tistory.com
2024.07.20 - [.../Math] - [Math] Identity (항등원) and Inverse (역원)
[Math] Identity (항등원) and Inverse (역원)
Identity and Inverseoperation에 대해 identity(항등원) 과 inverse(역원)이 존재inverse는 없을 수도 있음.operand가 function인 경우, identity와 inverse도 function.identity (항등원)어떤 object에 대해 어떤 operation를 identity
dsaint31.tistory.com
2025.01.21 - [.../Linear Algebra] - [Summary] Linear Algebra (작성중)
[Summary] Linear Algebra (작성중)
ML 을 위해 Linear Algebra 공부시 참고할만한 책더보기전체적으로 공부를 한다면 다음을 권함.Linear Algebra and Its Application, 5th ed 이상, David C. Lay5th ed. 는 웹에서 쉽게 pdf도 구할 수 있음.개인적으로 Str
dsaint31.tistory.com
'... > Linear Algebra' 카테고리의 다른 글
[LA] Gram-Schmidt Process and QR Decomposition (0) | 2025.01.26 |
---|---|
[LA] Inverse Matrix (0) | 2025.01.25 |
[LA] Quadratic Form and Positive/Negative Definite (0) | 2025.01.24 |
[Summary] Linear Algebra (작성중) (0) | 2025.01.21 |
[LA] Eigenvalue and Eigenvector (0) | 2024.11.06 |