본문 바로가기

공부를 합니다/수학 (mathematics)

선형대수(HYU)_08 벡터공간의 차원과 네 가지 부벡터공간

2.4 The Four Fundamental Subspaces


Basis를 표기하기 위해서는 systematic한 절차가 필요하다.

Subspace는 Space로 span하는 벡터의 집합*이나 Space의 vectors가 반드시 충족시켜야하는 조건**으로 표현할 수 있지만 두 경우 모두 벡터집합에 dependent vectors가 포함될 수 있기 때문에 basis를 표현하기에 충분하지 않다.

 

* column space는 columns들이 span해서 생성
** null space는 Ax = 0을 만족시키는 벡터집합

 

행렬의 basis를 찾는 절차를 알기 위해서 full rank(extreme case)인 경우를 생각해보자.

Rank가 최대로 클 때, 즉 r=n or r=m or r=m=n 일 때, 행렬은 leftinverse B or rightinverse C or twosided A1를 갖는다.

Four Fundamental Subspaces


위의 설명을 이해하기 위해서는 우선 m by n 행렬 Afour subspaces를 이해해야 한다.

subspaces notation dimension
column space of A C(A) rank r
nullspace of A N(A) n-r
row space of A, column space of AT C(AT) r
left nullspace of A, nullspace of AT N(AT) m-r
  • N(A)C(AT)Rn의 subspaces이다.
  • N(AT)C(A)Rm의 subspaces이다.

ex 1)
A=U=R=[100000]

  • C(A): The line through [10], dimension: 1
  • C(AT): The line through [100]T, dimension: 1
  • N(A): A plane contains [010], [001], dimension: 2
  • N(AT): A line through [01], dimension: 1

matrix A와 A를 elimination한 echelon form U에 대해서 four subspaces를 구해보면

A=[133226971334]  U=[133200330000]

  1. The row space of A

U의 nonzero rows에 해당하는 A의 rows가 basis이다. Dimension은 r로 pivot (or nonzero rows)의 개수와 같다.

  • AU의 row spaces는 같다. (Gaussian Elimination이 row space를 바꾸지 않는다.)
  • A의 row space는 U의 row space와 동일한 dimension과 bases를 갖는다.
  1. The nullspace of A

Ax=0에서 r개의 solution만 independent하며 n-r개의 special solution이 nullspace의 basis가 된다.
Special solutions가 nullspace의 basis이다. nullspace의 dimension은 n-r이다.

  • Gaussian Elimination으로 Ax=0  Ux=0이 됐을 때 solution은 변하지 않기 때문에 AU의 nullspace는 같다.

Special Solutionsv=0y=1x1=[3100],v=1y=0x2=[1011]

 

c1x1+c2x2=0  c1=c2=0 for free variables (independent)
nr=42 vectors are a basis

 

 

  1. The column space of A

Pivot columns(pivots이 있는 column)이 A의 column space의 basis이다. Dimension은 rank r이다.

  • column space의 dimension은 rank r로 row space의 dimension과 같다.
  • 즉 independent한 columns의 개수와 independent한 rows의 개수가 같다.
  1. The left nullspace of A (nullspace of AT)

yT=[y1ym][A]=[00]

  • dimension of C(A) + dimension of N(A) = number of columns= n
  • dimension of N(A) = nr
  • dimension of C(AT) + dimension of N(AT) = number of rows= m
  • dimension of N(AT) = mr

ex 2)
A=[1236], U=[1200], m=n=2, r=1

  • column space: all multiples of [13]
  • nullspace: all multiples of [21]
  • row space: all multiples of [12]
  • left nullspace: all multiples of all multiples of [31]
    AT=[1326]  [1300]

Existence of Inverses


Inverse는 행렬의 rank가 최대로 큰 경우에 존재한다.

m by n matrix A에 대해서

  • mnA는 left inverse를 갖는다. r=n, A1A=Inxn
  • nmA는 right inverse를 갖는다. r=m, AA1=Imxm
  • square matrix인 A는 two-sided inverse를 갖는다. r=m=n, AA1=A1A=I

Exsistence

  • Full row rank (r=m)인 경우
  • Columns가 Rm으로 span할 때 Ax=b는 모든 b에 대해서 적어도 한 개의 solution x를 갖는다.
  • A는 right-inverse C를 갖는다. AC=Im (m by m)
  • AC=I, Ax=b  Ax=ACb=b, x=Cb
  • 가능한 solution은 x=Cb이며 다른 right-inverse가 있으면 다른 solutions도 존재한다. (1 or solution)

Uniqueness

  • Full column rank (r=n)인 경우
  • Columns가 linearly independent할 때 Ax=b는 모든 b에 대해서 최대 한 개의 solution x를 갖는다.
  • A는 left-inverse B를 갖는다. BA=In (n by n)
  • BA=I, Ax=b  x=BAx=Bb, x=Bb (unique)
  • Solution이 존재한다면 x=Bb이며 solution이 존재하지 않을 수 있다. (0 or 1 solution)

One-sided inverse (best left/right inverse)

  • BA=I, B=A1=(ATA)1
  • AC=I, C=A1=(AAT)1

ex 3) 2 by 3 matrix of rank 2
A=[400050]

r=m=2이므로 right-inverse C가 존재한다.

AC=[400050][1/4001/5c31c32]=[1001]

C의 마지막 rows가 임의의 값으로 이루어져 있으므로 이를 만족하는 right-inverse C는 굉장히 많다.
이 중 특정한(best) right-inverse를 고르면

AT(AAT)1=[400050][1/16001/25]=[1/4001/500]=C

Inverse of square matrix

  • Rectangular matrix는 existence와 uniquness를 동시에 만족시킬 수 없다.
  • 반대로 quare matrix는 두 성질을 하나만 만족시킬 수 없다. (만족시킬 경우 둘 다 만족시켜야 함.)

Full rank square matrix (r=m=n)의 invertibility 조건

각 조건은 모두 invertibility에 대한 필요충분조건이다.

 

  1. Columns가 Rn으로 span해야한다. 즉 Ax=b는 모든 b에 대해 최소 한 개의 solution을 가져야 한다.
  2. Columns가 independent해야한다. 즉 Ax=0은 오직 x=0 한 개의 solution만 가져야 한다.
  3. Rows가 Rn으로 span해야한다.
  4. Rows가 independent해야한다.
  5. Elimination이 모든 n개의 pivot이 존재한 채로 완료되어야 한다. (PA=LDU)
  6. A의 determinant가 zero가 아니어야한다.
  7. Zero가 A의 eigenvalue가 아니어야한다.
  8. ATA가 positive definite 해야한다.