[Linear Algebra] Lecture 14

Author

SEOYEON CHOI

Published

April 3, 2024

학습목표

Note
  • orthogonal(row space & null space)

row space

  • dimesion = \(r\)

null space

  • dimesion = \(n-r\)

  • orthogonal(column space & null space of \(A^T\))

column space

  • dimesion = \(r\)

null space of \(A^T\)

  • dimesion = \(m-r\)

- Orthogonal vectors

Pythagoras 생각해보면, 내적한 \(X^Ty = 0\) 이 조건에서만 아래 식이 가능하다.

x = \(\begin{bmatrix} 1\\ 2\\ 3 \end{bmatrix}\), \(y = \begin{bmatrix} 2\\-1\\0 \end{bmatrix}\), \(x+y=\begin{bmatrix}3\\1\\3 \end{bmatrix}\)

\(||x||^2 = 4\)

\(||y||^2 = 5\)

\(||x+y||^2 = 19\)

Subspace \(S\) is orthogonal to subspace \(T\).

means: every vector in \(S\) is orthogonalto every vector in \(T\)

\(Ax = b\)

\(\begin{bmatrix} \text{row 1}A \\ \text{row 2} A\\ \vdots\end{bmatrix} \begin{bmatrix}x_1\\ \vdots\\ x_n \end{bmatrix} = \begin{bmatrix} b_1 \\ \vdots \\ b_n\end{bmatrix}\)

row space is orthogonal to nullspace.

Ex

\(A = \begin{bmatrix} 1&2&5\\2&4&10\end{bmatrix}\), \(m=3, r=1\)

nullspace -> \(\begin{bmatrix} 1&2&5\end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\x_3\end{bmatrix} = \begin{bmatrix}0 \end{bmatrix}\)

\(dim N(A) = 2\)


\(Ax = b\) When there is no solution (\(m>n\)),

determinded matrix 미지수와 방정식의 수가 같을 때

overdetermined matrix 미지수와 방정식의 수가 같지 않을 때

\(A^T A\) overdetermined matrix A에 transpose한 것과 A를 곱한 것의 특징 세 가지

When there is no solution of \(Ax=b\)

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

\(Ax = b\)

\(\begin{bmatrix} 1 & 1 \\1&2\\1&5\end{bmatrix} \begin{bmatrix} x_1 \\ x_2\end{bmatrix} = \begin{bmatrix}b_1\\b_2\\b_3 \end{bmatrix}\)

\(m=3\) \(>\) \(n=2\), \(r=2\)

column space로 풀 수 있지만, 거의 불가능(경우의 수가 적음)

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

\(\begin{bmatrix} 3&8\\8&30\end{bmatrix} \begin{bmatrix} {\hat x}_1 \\ {\hat x}_2 \end{bmatrix} = \begin{bmatrix} b_1 \\ b_2\end{bmatrix}\)

::: {.callout-tip} 역행렬은 항상 가능한 것이 아니기 때문에 이 방법으로 solution 찾지 못하는 경우도 있음

example

\(\begin{bmatrix}1 &1&1\\3&3&3 \end{bmatrix} \begin{bmatrix}1&3\\1&3\\1&3 \end{bmatrix} = \begin{bmatrix}3&9\\9&27 \end{bmatrix}\) ::

solution을 구하기 위해 전치를 해주자 \(\to\) 근사하는 해를 구할 수 있음

\(N(A^T A) = N(A)\)

\(A^TA\) is invertible exactly \(A\) has independent column.