[Math] ill-posed, well-posed, ill-conditioned, well-conditioned matrix (or problem)

2022. 12. 2. 12:52·.../Math
728x90
728x90

"well-posed" matrix and "well-conditioned" matrix

$A\textbf{x}=\textbf{b}$와 같은 Linear System (연립방정식)에서
system matrix $A$가 invertible하다면
해당 linear system(달리 말하면 연립방정식)이 well-posed라고 할 수 있다.

  • 하지만, 해당 matrix가 "일부 item의 약간의 변화" 또는 "$\text{b}$에서의 약간의 변화" 등에 solution이 지나치게 큰 변화를 보이는 "민감성"을 가질 수 있다.
  • 이같은 경우 ideal하게는 solution이 존재하더라도,
    실제로 linear system을 풀 때 적용한 수치해석적 방법의 한계 나 matrix를 만들 때 피할 수 없는 noise등 의 영향이 매우 커져 solution을 구할 수 없는 경우가 대부분임. 
  • 이를 해결하는 대표적인 방법이 Regularization(정칙화) 임!
$\text{det}(A)\ne 0$인 경우,
이상적으로는 solution이 존재하는
well-posed system임.

 

Determinant가 작을 경우, well-posed 이지만 ill-conditioned 이기 쉬움: 일반적인 경향성으로 항상 그런 것은 아님.
즉, Determinant가 클 수록 well-conditioned 일 확률이 증가함!
Determinant로 대략적인 짐작이 가능하나, 제대로 확인하기 위해선 condition number를 구하는 것이 필요함!

 

참고로, 이같은 민감도를 정량적인 scalar로 나타내는 것이 condition number(조건수)라고 한다.

(실제로 condition number가 지나치게 큰 경우, ill-conditioned라고 부름)

well-conditioned 란 linear systme의 system matrix의 condition number가 작은 경우로, 민감도가 낮아 solution을 용이하게 구할 수 있는 경우를 가르킨다.

 

condition number를 통해 well-posed와 well-conditioned 를 쉽게 구분하면,

  • condition number가 유한할 경우 : well-posed
  • condition number가 작을 경우 : well-conditioned (1일때 가장 안정됨)
    라고 할 수 있다.

참고로 condition number는 1보다 작을 수 없음!

더보기

Well-Posed 인 경우, 다음의 3가지 조건을 만족한다.

1. Solution이 적어도 하나 존재해야 함: Existence

2. 존재하는 Solution이 유일해야 함: Uniqueness

3. 데이터(Matrix Entity 혹은 $\textbf{b}$)가 연속적으로 변할 때,

    Solution도 연속적으로 변하게 됨 (변화의 크기에 대한 제한 없음): Stability

 

만약 3번을 보다 강화해서, 

    데이터의 작은 변화가 출력 및 Solution 등에 비례적으로 작은 변화를 일으키는 경우에는

    Well-Conditioned 가 되며 condition number가 1에 가까운 작은 수를 가지게 됨.
    (noise로 인해 데이터가 약간 변하면 Solution도 약간의 영향을 받음)

 

3번의 조건은 Continuous Dependence라고 불림.

 

위의 조건은 고전적(또는 정성적)인 Well-Posed Problem의 조건으로
Hadamard가 제안함: 정량적인 조건은 Condition Number로 판정.

이를 만족하지 않는 경우를 ill-posed problem이라고 간주.



ill-posed matrix ill-conditioned matrix

ill-posed 는 well-posed에 대비되는 개념으로 condtion number가 무한한 경우이다. 

 

쉽게 생각하면

  • 구해야하는 변수보다 주어진 equation(식)이 적은 경우로
    free variable이 생겨서 무수히 많은 solution을 가질 수 있는 경우를 예로 들 수 있다.
    • $A\mathbf{x}=\mathbf{b}$로 표현되는 경우에서 
    • 행(row)의 수(보통 m으로 표현)가 열(column)의 수(보통 n으로 표현)보다 작은 경우: Under-Determined
  • solution이 존재하지 않는 경우도 ill-posed 에 해당하나, 많은 공학적 문제에선 여러 solution이 존재하는 경우가 더 많다.
    • 모델링한 linear system에서는 solution이나, 실제 해결책이 아닌 경우가 많기 때문임.
    • 즉, 모델의 한계로 solution set에 속하나, 실제 solution이 아닌 것을 제하고
    • 가장 적절한 solution을 골라야 함.

ill-posed의 경우, 보통 regularization(정칙화)등을 통해 수많은 해에서 가장 적절한 solution을 구하려고 노력하게 된다.

더보기

ill-posed의 경우, solution이 유일하게 존재하지 않기 때문에
주어진 matrix $A$만으로는 진짜 solution을 구하기가 매우 어렵다. 


 

반면 ill-conditioned 는 well-conditioned에 대비되는 개념이다.
(즉, well-posed이면서도 ill-conditioned 일 수 있다.)

 

ill-conditioned의 경우 condition number가 매우 큰 경우에 해당하며, nearly singular 이라고도 불린다.

수치해석적으로 볼 때 stability가 낮은 경우라 할 수 있다. (작은 noise에도 매우 큰 오차가 발생.)

  • singular matrix 가 non-invertible 임을 기억!

요약

역시 간략히 요약하면 다음과 같다.


Condition Number를 통해 ill-posed와 ill-conditioned 를 구분하면,

  • condition number가 무한할 경우 : ill-posed
  • condition number가 매우 클 경우 : ill-conditioned

condition number가 얼마나 커야 ill-conditioned이고
얼마나 작아야 well-conditioned인지는 각 문제(or task)에 따라 다르다.
참고로 identity matrix의 경우 conditin number는 1임 (가장 안정).


참고

2025.10.29 - [.../Math] - Matrix Norm and Condition Number

 

Matrix Norm and Condition Number

Matrix NormVector의 Norm을 이용한 Matrix의 Norm의 정의는 다음과 같음.$$\|A\|=\underset{\textbf{x}\ne\textbf{0}}{\text{max}} \frac{\|A\textbf{x}\|}{\|\textbf{x}\|}$$$\textbf{x}$ : 임의의 column vector.위의 Matrix의 Norm에 대한 정의

dsaint31.tistory.com


 

728x90

'... > Math' 카테고리의 다른 글

[Math] Sigmoid function  (0) 2022.12.28
[LA] Pseudoinverse Matrix (수정중)  (0) 2022.12.02
[LA] 예제: Eigenvalue, Eigenvector 구하기  (0) 2022.12.01
[LA] Hermitian Matrix and Unitary Matrix  (1) 2022.11.25
[LA] Orthogonal Matrix (직교행렬) and Orthonormal Vector  (0) 2022.11.17
'.../Math' 카테고리의 다른 글
  • [Math] Sigmoid function
  • [LA] Pseudoinverse Matrix (수정중)
  • [LA] 예제: Eigenvalue, Eigenvector 구하기
  • [LA] Hermitian Matrix and Unitary Matrix
dsaint31x
dsaint31x
    반응형
    250x250
  • dsaint31x
    Dsaint31's blog
    dsaint31x
  • 전체
    오늘
    어제
    • 분류 전체보기 (787)
      • Private Life (15)
      • Programming (206)
        • DIP (116)
        • ML (35)
      • Computer (120)
        • CE (54)
        • ETC (33)
        • CUDA (3)
        • Blog, Markdown, Latex (4)
        • Linux (9)
      • ... (368)
        • Signals and Systems (115)
        • Math (176)
        • Linear Algebra (33)
        • Physics (43)
        • 인성세미나 (1)
      • 정리필요. (61)
        • 의료기기의 이해 (6)
        • PET, MRI and so on. (7)
        • PET Study 2009 (1)
        • 방사선 장해방호 (5)
        • 방사선 생물학 (3)
        • 방사선 계측 (9)
        • 기타 방사능관련 (3)
        • 고시 (9)
        • 정리 (18)
      • RI (0)
      • 원자력,방사능 관련법 (2)
  • 블로그 메뉴

    • Math
    • Programming
    • SS
    • DIP
  • 링크

    • Convex Optimization For All
  • 공지사항

    • Test
    • PET Study 2009
    • 기타 방사능관련.
  • 인기 글

  • 태그

    fourier transform
    random
    math
    SS
    numpy
    Probability
    signal_and_system
    인허가제도
    ML
    Python
    Programming
    signals_and_systems
    opencv
    cv2
    function
    Vector
    Term
    Optimization
    SIGNAL
    linear algebra
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
dsaint31x
[Math] ill-posed, well-posed, ill-conditioned, well-conditioned matrix (or problem)
상단으로

티스토리툴바