Processing math: 100%

bme

admin write write write

[LA] LDU Factorization (or LDU Decomposition)

Linear Algebra 2022. 9. 23. 11:43
728x90
반응형

LU factorization 을 조금 변형한 형태. (실제적으로 많이 사용되지 않는 편이나, 가끔 나오는 경우가 있음.

LDU를 쉽게 설명하려면 다음의 LU factorization의 형태에서 출발하면 됨.

A=[1000100101][000000000]LU

  • 은 어떤수여도 상관없음.
  • 는 0아닌 어떤수를 의미. 

LU facotrization에서 Lower triangular matrix는 main diagonal이 1이나 Upper triangular matrix에서의 pivot 위치는 1이 아니다. (다들 알겠지만, Guassian elimination에 의해 얻어진 U이므로 A의 pivot과 U의 pivot의 위치는 같음)

 

LDU는 U, Upper triangular matrix (or row echelon form), 의 pivot들을 1로 만들기 위해 diagonal matrix(대각행렬)을 도입한 것임.

D는 U의 pivot을 1로 만들어주는 scaling 을 담당하면 이를 간략하게 나타내면 다음과 같음.

U=DU=[d1d2dn][1u1,2d1u1,nd11u2,nd21]

 

다음의 성질을 다시 한번 확인하자.

  • LU factorization이 되려면, Linvertible해야하므로 L이 구해지면 L의  pivot이 모두 0이 아니므로 main diagonal이 모두 1이 될 수 있음.
  • LU facotrization에서의 UA와 row equivalent하며 서로의 pivot의 위치가 같으며 이를 1로 변경하는 row operation을 가해줘도 여전히 A와 row equivalent임. (Row echelon form에서 Reduced echolon form이 되는 것을 생각해보자.)

 

때문에 LDU factorizaton에서 얻어지는 L,D,UA에 대해 unique하게 얻어짐. (RREF가 unique하게 구해지는 것과 같음).

REF가 unique하지않은 것처럼 LU factorization에서의 L,U는 unique하지 않음.

LDU factorization. form wikipedia

 

https://colab.research.google.com/gist/dsaint31x/4e4a77e1a5640b2fbe652f0ada53037e/lu_factorization_plu_factorization.ipynb

 

https://colab.research.google.com/gist/dsaint31x/4e4a77e1a5640b2fbe652f0ada53037e/lu_factorization_plu_factorization.ipynb

Run, share, and edit Python notebooks

colab.research.google.com

 

728x90

'Linear Algebra' 카테고리의 다른 글

[LA] Matrix Norm and Condition Number  (1) 2022.09.22
[LA] Introduction of Linear Algebra  (0) 2022.09.02
[LA] Homogeneous and Non-homogenous Linear System  (0) 2022.09.02
[LA] Theorem 4  (0) 2022.09.02
[LA] Span  (0) 2022.09.02
admin