[Chapter 2 Summary] of Linear Algebra

Weixin Image_20261006154409_112_2

Weixin Image_20261006154410_113_2

Chapter 2 Matrix Algebra

1. Matrix Operations

Diagonal entries

a. Multiplication

  • Definition: AB=A[b1 b2 … bp]=[Ab1 … Abp]AB = A[b_1 \ b_2 \ \dots \ b_p] = [Ab_1 \ \dots \ Ab_p]
  • Interpretation: AA column is a linear combination of the columns of AA using bib_i weights.
  • Row-Column Rule: (AB)ij=ai1b1j+ai2b2j+⋯+ainbnj(AB)_{ij} = a_{i1}b_{1j} + a_{i2}b_{2j} + \dots + a_{in}b_{nj}
  • Additional Property: ROWi(AB)=ROWi(A)⋅B=aiB\text{ROW}_i(AB) = \text{ROW}_i(A) \cdot B = a_i B
  • Algebraic Properties:
    • A(BC)=(AB)CA(BC) = (AB)C
    • A(B+C)=AB+ACA(B+C) = AB + AC
    • r(AB)=(rA)B=A(rB)r(AB) = (rA)B = A(rB)
  • Commutativity: If AB=BAAB = BA, then AA and BB are said to commute.

b. Power

  • Ak=A…A⏟kA^k = \underbrace{A \dots A}_{k}

c. Transpose

  • Definition: A→ATA \to A^T (Columns formed the corresponding rows)
  • Properties:
    • (AT)T=A(A^T)^T = A
    • (A+B)T=AT+BT(A+B)^T = A^T + B^T
    • (rA)T=rAT(rA)^T = rA^T
    • (AB)T=BTAT(AB)^T = B^T A^T (Important)

d. Inverse

  • Definition: If CA=ICA = I and AC=IAC = I, then CC is the inverse of AA (unique).
  • For a 2×22 \times 2 Matrix:
    For [abcd]\begin{bmatrix} a & b \\ c & d \end{bmatrix}, if det⁡A=ad−bc≠0\det A = ad - bc \neq 0, then AA is invertible:

    A−1=1ad−bc[d−b−ca]A^{-1} = \frac{1}{ad-bc} \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}

  • Properties:
    • (A−1)−1=A(A^{-1})^{-1} = A
    • (AB)−1=B−1A−1(AB)^{-1} = B^{-1} A^{-1}
    • (AT)−1=(A−1)T(A^T)^{-1} = (A^{-1})^T (Important)
  • Way to find A−1A^{-1}:
    • Elementary Matrices: Row operation on an identity Matrix.
    • A sequence of EE: A→InA \to I_n then In→A−1I_n \to A^{-1}. So: [A I]  ⟺  [I A−1][A \ I] \iff [I \ A^{-1}].
  • Terminology:
    • Invertible = Nonsingular
    • Noninvertible = Singular
  • Invertible Linear Transformation:
    • S(T(x))=xS(T(x)) = x
    • T(S(x))=xT(S(x)) = x

2. Partitioned Matrix (Block Matrix)

  • Multiplication: Conformable (The column partition of AA is same as the row partition of BB).
  • Column-Row Expansion of ABAB:

    AB=[col1(A) col2(A) … coln(A)][row1(B)row2(B)⋮rown(B)]=col1(A)row1(B)+⋯+coln(A)rown(B)AB = [\text{col}_1(A) \ \text{col}_2(A) \ \dots \ \text{col}_n(A)] \begin{bmatrix} \text{row}_1(B) \\ \text{row}_2(B) \\ \vdots \\ \text{row}_n(B) \end{bmatrix} = \text{col}_1(A)\text{row}_1(B) + \dots + \text{col}_n(A)\text{row}_n(B)

3. Matrix Factorization

Expresses AA as a product of 2 matrices.

The LU Factorization

  • A=LUA = LU
    • LL: Lower triangular matrix
    • UU: Upper triangular matrix
    • (Where A→A \to echelon form without row interchange)
  • Useful for solving Ax=bAx = b:

    Ax=b⇒L(Ux)=b⇒{Ly=bUx=yAx = b \Rightarrow L(Ux) = b \Rightarrow \begin{cases} Ly = b \\ Ux = y \end{cases}

  • Algorithm:
    • UU is the echelon form: Ep…E1A=U⇒L=(Ep…E1)−1E_p \dots E_1 A = U \Rightarrow L = (E_p \dots E_1)^{-1}
    • Note that row operations to reduce A→UA \to U also take L→IL \to I.

4. Subspace

A subspace HH must satisfy:

  1. 0∈H0 \in H
  2. If u,v∈Hu, v \in H, then u+v∈Hu + v \in H
  3. If u∈Hu \in H, then cu∈Hcu \in H
  • Column Space: Col A=span{a1,…,an}\text{Col } A = \text{span}\{a_1, \dots, a_n\} (Linear combinations of all the columns in AA)
  • Null Space: All solutions of the homogeneous equation Ax=0Ax = 0
  • Basis: A set (linearly independent) that spans HH
  • Standard Basis: e1=[100],e2=[010],e3=[001]e_1 = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}, e_2 = \begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}, e_3 = \begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}
  • Important Note: The pivot columns of matrix AA form a basis of Col A\text{Col } A (DO NOT use echelon form).

5. Coordinate System

  • If x=c1b1+c2b2+⋯+cpbpx = c_1b_1 + c_2b_2 + \dots + c_pb_p, then [x]B=[c1⋮cp][x]_B = \begin{bmatrix} c_1 \\ \vdots \\ c_p \end{bmatrix} (Coordinate vector of xx relative to BB).
  • Dimension: dim⁡H\dim H: Number of vectors in any basis of HH.
  • Rank: rank A=dim⁡Col A\text{rank } A = \dim \text{Col } A.
  • Property (Rank-Nullity Theorem): rank A+dim⁡Nul A=n\text{rank } A + \dim \text{Nul } A = n.
  • The Basis Theorem: Let p=dim⁡Hp = \dim H.
    • A linearly independent set of pp vectors in HH is automatically a basis for HH.
    • A set of pp vectors that spans HH is automatically a basis for HH.

6. The Invertible Theorem

Let AA be an n×nn \times n matrix. The following statements are equivalent (AA is Invertible):

Row Operations:

  • AA is row equivalent to InI_n
  • AA has nn pivot positions

Equations:

  • Ax=0Ax = 0 has only the trivial solution
  • Ax=bAx = b has at least one solution for each bb in Rn\mathbb{R}^n
  • dim⁡Nul A=0\dim \text{Nul } A = 0

Columns:

  • The columns of AA form a linearly independent set
  • The columns of AA form a basis of Rn\mathbb{R}^n
  • The columns of AA span Rn\mathbb{R}^n
  • Col A=Rn\text{Col } A = \mathbb{R}^n
  • rank A=n\text{rank } A = n

Invertibility / Transpose:

  • There exists an n×nn \times n matrix CC such that CA=ICA = I
  • There exists an n×nn \times n matrix DD such that AD=IAD = I
  • ATA^T is invertible

Linear Transformation (T:x↦AxT: x \mapsto Ax):

  • TT is onto (surjective)
  • TT is one-to-one (injective)