Loading [MathJax]/jax/output/HTML-CSS/jax.js
본문 바로가기
수학/Linear Algebra and its application

2.1 Matrix Operations

by 대소기 2021. 12. 22.

Matrix Notation

* matrix notation은 위와 같다.

Theorem 1.
Let A, B and C be matrices of the same size, and let r and s be scalars

1) A + B = B + A
2) (A+B) + C = A + (B+C)
3) A + 0 = A
4) r(A+B)=rA + rB
5) (r+s)A = rA + sA
6) r(sA) = (rs)A

* 각각의 Matrix는 column vector들로 이뤄져있기 때문에 vector의 성질을 그대로 만족하게 된다.

Matrix Multiplication

* m x n matrix A와 n x p matrix B의 곱 AB는 다음과 같이 나타낼 수 있다.

AB=A[b1b2...bp]

=[Ab1Ab2...Abp]

(AB)ij=ai1b1j+ai2b2j+...ainbnj

 

* 결과 matrix의 i번째 row의 구성만 알고 싶다면 다음과 같이 계산한다.

rowi(AB)=rowi(A)B

 

Theorem 2.

Let A be m x n matrix, and let B and C have sizes for which the indicated sums and products are defined.

1) A(BC)=AB(C)
2) A(B+C)=AB+AC
3) (B+C)A=BA+CA
4) r(AB)=(rA)B=A(rB)
5) ImA=A=AIn

 

주의사항

1) 특별한 경우를 제외하고는 보통 ABBA이다.

 

AB=[5132][2043]=[14326]

BA=[2043][5132]=[102292]

 

2) 만약 AB=AC 가 성립한다고 하더라도, B와 C는 같지 않을 수 있다.

 

AB=[2346][8455]=[17214]

AC=[2346][5231]=[17214]

 

3) 만약 AB=0일 때 꼭 A, B 둘 중 하나가 0행렬이라는 가정은 맞지 않다.

 

AB=[3612][2613]=[0000]

 

The transpose of a Matrix

* transpose는 matrix의 row와 column을 바꾸는 것을 뜻한다. matrix A가 있을 때 표기는 AT와 같이 한다.

 

Theorem 3.

Let A and B denote matrices whose sizes are appropriate for the following sums and products
1) (AT)T=A
2) (A+B)T=AT+BT
3) For any scalar r, (rA)T=rAT
4) (AB)^T = B^T A^T