[Linear Algebra] Lecture 7

Author

SEOYEON CHOI

Published

February 27, 2024

학습 목표

\(Ax = 0\)

\(A = \begin{bmatrix} 1 & 2 & 2 & 2 \\ 2 & 4 & 6 & 8 \\ 3 & 6 & 8 & 10 \end{bmatrix}\)

1st stage of elimination

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

2nd stage od elimination

\(\to \begin{bmatrix} 1 & 2 & 2 & 2 \\ 0 & 0 & 2 & 4 \\ 0 & 0 & 0 & 0 \end{bmatrix} = u\), new echelon form

Echelon form

사다리꼴 행렬이라고도 부르는 Echelon form, 이는 특정한 조건을 따른다.

  • 0이 아닌 행(nonzero row)이 항상 모두 0인 행의 위에 있어야 한다.
  • leading entry(=pivot?)의 위치가 위에 행의 leading entry보다 오른쪽에 있어야 한다.

\(A(u)\)를 예로 들면,

  • 0이 아닌 행이 모두 0인 행의 위에 있고,
  • 1행의 1열이 1st pivot이며, leading entry, 2행의 3열이 2nd pivot이며, leading entry.
  • 따라서 Echelon form의 조건을 만족한다.

rank of \(A\) = the number of pivots = 2

결과로 나온 2equations \(Ax = 0 \sim ux = 0\)

위의 equations로 nullspace를 만드는 해를 구해보면, \(x_2=1, x_4=0\)이라고 가정한 후

\(x = c\begin{bmatrix} -2 \\ 1 \\ 0 \\ 0\end{bmatrix}\)

\(\to\) \(-2 col_1 + col_2 = 0\)

위의 equations로 nullspace를 만드는 해를 구해보면, \(x_2=0, x_4=1\)이라고 가정한 후

\(x = d\begin{bmatrix} 2 \\ 0 \\ -2 \\ 1\end{bmatrix}\)

\(\to 2col_1 -2col_3 + col_4 = 0\)

- special solution: free variavle에 1 또는 0을 준 결과

? How many special solutions are there?

  • 1 the number of pivot variables

  • When we set a row of zeros, that is telliing us that original row that was a combination of other rows and elimination knocked it out.

    즉, 이 \(u\)처럼 어떤 행에 0 자체로 elimination 된다면, \(u = \begin{bmatrix} 1 & 2 & 2 & 2 \\ 0 & 0 & 2 & 4 \\ 0 & 0 & 0 & 0 \end{bmatrix}\)

    \(R\) = reduced row echelon form = zero above + below pivots

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

    \(\begin{bmatrix} 1 & 2 & 0 & -2 \\ 0 & 0 & 1 & 2 \\ 0 & 0 & 0 & 0 \end{bmatrix} = R\) = rref(\(A\))

    2개의 pivot이 나온다.

    Notice \(\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} = I\) in the pivot rows / cols.

    2 equations of rref(\(A\)), \(Rx = 0\)을 만드는 x 행렬을 찾자

    \(\therefore\) \(Ax = 0\), \(ux = 0\), \(Rx=0\) are all the same.

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

    rref form(typical reduced echelon)

    \(R = \begin{bmatrix} I & F \\ 0 & 0\end{bmatrix}\)

    Let’s make nullspace matrix. = Let’s make columns to special solutions.

    \(RN = 0\).

    \(Rx = 0\)

    - \(A\)를 trans해서 다시 pivot등 구해보자.

    \(A = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 6 \\ 2 & 6 & 8 \\ 2 & 8 & 10\end{bmatrix}\)

    1행에 2배해서 2행에서 빼고, 3행에서 빼고, 4행에서 빼자.

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

    2행에 2배해서 4행에서 빼고, row exchange 하자.

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

    \(X = c\begin{bmatrix} -1 \\\ -1 \\ 1 \end{bmatrix}\)

    2 equations

    R을 만든다면

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

    여기서 2행에 2배해서 1행에서 빼고, 2행을 2로 나누자

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

    \(x = c\begin{bmatrix} -F \\ I \end{bmatrix}\)