[Linear Algebra] Lecture 10

Author

SEOYEON CHOI

Published

March 12, 2024

목표

- Example: Space in \(\mathbb{R}^3\), \(\mathbb{R}^n\) : \(n\) vectors give basis if \(A\) is \(n\) by \(n\).

3차원의 공간에서 A가 n * n 행렬이라면 n 벡터가 기저이다.

One basis is standard \(\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\) \(\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}\) \(\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}\)

Another basis \(\begin{bmatrix} 1 \\ 1 \\ 2 \end{bmatrix}\) \(\begin{bmatrix} 2 \\ 2 \\ 5 \end{bmatrix}\) \(\begin{bmatrix} 3 \\ 3 \\ 8 \end{bmatrix}\)

- 4 subspaces

When \(A\) is \(m \times n\) matrix

  1. Column Space \(C(A)\)
    • dim\(C(A)\) = rank \(\mathbb{r}\)
  2. Null Space \(N(A)\)
    • dim \(N(A)\) = \(n-\mathbb{r}\)
  3. Row Space
    • = all combinations of rows
    • = all combinations of columns of \(A^\top\)
    • = \(C(A^\top)\)
      • dim \(C(A^\top)\) = rank \(\mathbb{r}\)
    • row space 는 행렬 전치를 통해 row들의 선형 조합으로 공간을 span하여 행렬을 표현할 수 있음.
  4. Null Space of \(A^\top\)
    • = \(N(A^\top)\)
    • = left Null Space of \(A\)
      • dim \(N(A^\top)\) = \(m-\mathbb{r}\)

- When \(A\) is \(m\) by \(n\)

\(C(A)\) \(N(A)\)
basis pivot columns special solutions
dimension \(\mathbb{r}\)1 \(n-\mathbb{r}\)2
  • 1 The number of pivot variables

  • 2 The number of free variables

  • \(\begin{bmatrix} 1 & 2 & 3 \\ 1 & 2 & 3 \\2 & 5 & 8 \end{bmatrix}\)

    \(A = \begin{bmatrix} 1 & 2 & 3 & 1 \\ 1 & 1 & 2 & 1 \\ 1 & 2 & 3 & 1 \end{bmatrix}\)

    3 행에서 1 행 빼기, 2 행에서 1행 빼기

    \(\to \begin{bmatrix} 1 & 2 & 3 & 1 \\ 0 & -1 & -1 & 0 \\ 0 & 0 & 0 & 0 \end{bmatrix}\)

    2 행에 -1 곱하기

    \(\to \begin{bmatrix} 1 & 2 & 3 & 1 \\ 0 & 1 & 1 & 0 \\ 0 & 0 & 0 & 0 \end{bmatrix}\)

    1 행에서 2 행 2배해서 빼기

    \(\to \begin{bmatrix} 1 & 0 & 1 & 1 \\ 0 & 1 & 1 & 0 \\ 0 & 0 & 0 & 0 \end{bmatrix}\)

    \(R \begin{bmatrix} I & F \\ zero & rows \end{bmatrix}\)

    \(R\) = Reduced Eschlon form

    \(C(R) \ne C(A)\)

    - 왜 basis는 row에 있을까?

    - \(N(A^\top)\) 를 왜 left null space라 부를까?

    \(A^\top y = 0\)

    \(\begin{bmatrix} A \end{bmatrix}\) \(\begin{bmatrix} y \\ y \\ \dots \\ y\end{bmatrix}\) = \(\begin{bmatrix} 0 \\ 0 \\ \dots \\ 0 \end{bmatrix}\)

    transpose 하면

    \(y^\top A = 0^\top\)

    \(\begin{bmatrix} y & y & \dots & y\end{bmatrix}\) \(\begin{bmatrix} A \end{bmatrix}\) = \(\begin{bmatrix} 0 & 0 & \dots & 0 \end{bmatrix}\)

    이처럼 벡터 \(y\)가 왼쪽에 있게 됌. 그래서 left null space left null space는 A가 0으로 되게 하는 y값인데, 이 벡터는 오직 0 벡터만이 존재한다>

    A를 R로 만들기 위해서 (left null space를 구해보기 위해서) 가우스 조던 계산법 생각해보면

    \(rref\begin{bmatrix} A_{m \times n} & I_{m \times m} \end{bmatrix}\) \(\to\) \(\begin{bmatrix} R_{m \times n} & E_{m \times m} \end{bmatrix}\)

    \(\to E \begin{bmatrix} A_{m \times n} & I_{m \times m} \end{bmatrix}\) \(\to\) \(\begin{bmatrix} R_{m \times n} & E_{m \times m} \end{bmatrix}\)

    \(\to E A = R\)

    2장에서 배웠던 것!

    \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}\)

    2 행에서 1 행 빼기

    \(\to \begin{bmatrix} 1 & 0 & 0 \\ -1 & -1 & 0 \\ 0 & 0 & 1 \end{bmatrix}\)

    3 행에서 1 행 빼기

    \(\to \begin{bmatrix} 1 & 0 & 0 \\ -1 & -1 & 0 \\ -1 & 0 & 1 \end{bmatrix}\)

    2 행에서 1 행에 두 배해서 빼기

    \(\to \begin{bmatrix} 1 & 0 & 0 \\ 1 & -1 & 0 \\ -1 & 0 & 1 \end{bmatrix}\)

    2 행에서 2배 해서 1행에서 빼기

    \(\to \begin{bmatrix} -1 & 2 & 0 \\ 1 & -1 & 0 \\-1 & 0 & 1 \end{bmatrix}\)

    \(EA = R\)

    \(\begin{bmatrix} -1 & 2 & 0 \\ 1 & -1 & 0 \\-1 & 0 & 1 \end{bmatrix}\) \(\begin{bmatrix} 1 & 2 & 3 & 1 \\ 1 & 1 & 2 & 1 \\ 1 & 2 & 3 & 1 \end{bmatrix}\) = \(\begin{bmatrix} 1 & 0 & 1 & 1 \\ 0 & 1 & 1 & 0 \\ 0 & 0 & 0 & 0 \end{bmatrix}\)

    - New Vector Space

    1. Upper triangular
    2. Symmetrix matrices
    3. diagonal matrixed (contain 2)

    \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix}\), \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 0 \end{bmatrix}\), \(\begin{bmatrix} 1 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 1 \end{bmatrix}\)

    \(C(A)\) \(N(A)\) \(C(A^\top)\) \(N(A^\top)\)
    Column Space Null Space Row Space Left Null Space
    basis pivot columns of \(A\) special solutions of \(Ax=0\) Pivot columns of \(A^\top\) Special Solutions of \(A^\top x = 0\)
    demension \(r\) \(n-r\) \(r\) \(m-r\)