가감법으로 Linear System을 풀 때는 한 equation의 multiple을 다른 equation에 더해 variable을 차례로 제거한다. Gaussian Elimination은 같은 과정을 matrix의 row operation으로 체계화한 방법이다.
계산 결과를 이용하면 solution이 unique한지, 존재하지 않는지, infinitely many인지도 판단할 수 있다.
Augmented Matrix와 Elementary Row Operation
Linear System
은 다음 Augmented Matrix로 표현된다.
Gaussian Elimination에서는 다음 세 가지 Elementary Row Operation을 사용한다.
- 두 row를 interchange한다.
- 한 row에 이 아닌 constant를 곱한다.
- 한 row에 다른 row의 scalar multiple을 더한다.
이 operation들은 Linear System의 solution set을 바꾸지 않는다.
Row Echelon Form
matrix가 다음 조건을 만족하면 Row Echelon Form이라고 한다.
- nonzero row의 leading entry는 위 row의 pivot보다 오른쪽에 있다.
- 각 pivot 아래의 entry는 모두 이다.
- zero row는 아래쪽에 놓인다.
예를 들어
은 Row Echelon Form이다.
Unique Solution을 구하는 과정
처음 Augmented Matrix에서 첫 번째 column의 pivot 아래를 제거한다.
그러면
가 된다. 이어서
를 적용하면
이다.
아래 row부터 back substitution하면
을 얻는다. 모든 variable column에 pivot이 하나씩 존재하고 contradiction row가 없으므로 unique solution을 가진다.
No Solution인 경우
row reduction 결과에 다음과 같은 row가 나타나면 contradiction이다.
이는
를 의미하므로 solution이 존재하지 않는다.
예를 들어
에서 첫 번째 row를 이용해 두 번째와 세 번째 row를 제거하면
가 된다. 따라서 이 Linear System은 No Solution이다.
Infinitely Many Solutions인 경우
contradiction은 없지만 pivot이 없는 variable column이 존재하면 free variable이 생긴다.
를 row reduction하면
가 된다. , 를 free variable로 두면
이므로 solution set은
이다.
Consistency
적어도 하나의 solution이 존재하는 Linear System은 consistent하다고 한다.
| Solution의 형태 | Consistency | Row Reduction 결과 |
|---|---|---|
| Unique Solution | Consistent | 모든 variable column에 pivot이 존재 |
| Infinitely Many Solutions | Consistent | free variable이 존재하고 contradiction은 없음 |
| No Solution | Inconsistent | 꼴의 contradiction row가 존재 |
Gaussian Elimination은 solution을 계산하는 방법이면서 동시에 Linear System의 structure를 분석하는 방법이다.
정리
- Linear System을 Augmented Matrix로 바꾼다.
- Elementary Row Operation으로 pivot 아래를 제거한다.
- contradiction row가 있는지 확인한다.
- free variable의 존재를 확인한다.
- 필요한 경우 back substitution으로 solution을 계산한다.
확인 문제
1
다음 Linear System을 Gaussian Elimination으로 푼다.
2
다음 Linear System의 Consistency와 solution의 형태를 판단한다.
3
다음 에서 를 구한다.
풀이
1번
row reduction 후 solution은
이다.
2번
Coefficient Matrix와 Augmented Matrix의 rank가 모두 이고 variable은 개이므로 consistent하며 Infinitely Many Solutions를 가진다. 로 두면
이다.
3번
row reduction하면
을 얻는다.