Linear Algebra : Chapter 2

Chapter 2 Matrix Algebra

Section 2.1 Matrix Operations

  • diagonal entries : a1,1,a2,2,…a_{1,1},a_{2,2},\dots
    • diagonal matrix : all nondiagonal entries are all zero
  • Equal : two matrix are equal iff they have same size
  • scalar multiple : rArA

Matrix Multiplication

If AA is an m×nm\times n matrix, and if BB is an n×pn\times p matrix with columns b1,…,bpb_1,\dots,b_p, then the product ABAB is the m×pm\times p matrix whose columns are Ab1,…,AbpAb_1,\dots,Ab_p. That is,

AB=A[b1  b2  ⋯bp]=[Ab1  Ab2⋯Abp]AB=A[b_1\;b_2\;\cdots b_p]=[Ab_1\;Ab_2\cdots Ab_p]

  • A(Bx)=(AB)xA(Bx)=(AB)x

image-20260921110859271

Notice that since the first column of ABAB is Ab1Ab_1, this column is a linear combination of the columns of AA using the entries in b1b_1 as weights. A similar statement is true for each column of ABAB

The columns of ABAB are linear combinations of the columns of AA

Row-Column Rule For Computing AB :

(AB)ij=ai1b1j+⋯+ainbnj(AB)_{ij}=a_{i1}b_{1j}+\dots+a_{in}b_{nj}

Also, we have:

rowi(AB)=rowi(A)⋅B\text{row}_i(AB)=\text{row}_i(A)\cdot B

I think this is also true for column(as the definition)

Properties:

image-20260921113124728

If AB=BAAB=BA, we say AA and BB are commute with one another.

Warning :

  1. In general, AB≠BAAB\neq BA
  2. If AB=ACAB= AC, then in general B≠CB\neq C
  3. If AB=0AB=0, you can not conclude A=0A=0 or B=0B=0

I think if all the columns of AA are linearly independent, then we know B=CB=C

Power of Matrix

image-20260921114536418

Transpose of a Matrix

The transpose of a m×nm\times n matrix AA, is a n×nn\times n matrix, denoted by ATA^T, whose columns are formed from the corresponding rows of AA.

image-20260921115025986

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^TA^T (Important)