Comprehensive Study Notes on Matrix Operations and Transposition

Course Operations and Exam Guidance

  • Test 1 Review: Test 1 review is scheduled for Wednesday. Attendance is mandatory.
  • Lecture Note Availability: Board notes are not posted online. In-person class attendance is essential for capturing all course material.
  • Key Rotation Problems: Rotation problems—specifically those combining two sequential process rotations—are critical exam topics. Standard textbook problems do not provide combined rotation examples outside of reference problems.
  • Exam Preparation Strategy: Test 1, Midterm 2, and Final Exam problems directly mirror the homework and reference problems. The difficulty level of exam questions will not exceed that of homework problems or lecture examples. Practicing reference and homework problems until full familiarity is achieved is required.

Methods of Matrix Multiplication

Matrix multiplication can be computed using three distinct approaches: column-wise multiplication, entry-wise dot products, and row-wise multiplication.

  • Definition 1: Column-Wise Method (Matrix-Vector Multiplication)

    • The matrix product ABAB can be computed column by column as linear combinations of the columns of AA.
    • Let Columnj(B)=bˉj\text{Column}_j(B) = \bar{b}_j represent the jj-th column of matrix BB.
    • The jj-th column of the product ABAB is given by:         Columnj(AB)=Abˉj\text{Column}_j(AB) = A \bar{b}_j
    • Specifically, the first column of ABAB is Abˉ1A \bar{b}_1, and the second column is Abˉ2A \bar{b}_2.
  • Definition 2: Entry-Wise Method (Row-Column Product)

    • Let A(i,:)A(i, :) denote the ii-th row of matrix AA spanning columns 11 through nn.
    • The entry in row ii and column jj of ABAB is the dot product of the ii-th row of AA and the jj-th column of BB:         (AB)ij=∑k=1naikbkj(AB)_{ij} = \sum_{k=1}^{n} a_{ik} b_{kj}
  • Definition 3: Row-Wise Method (Row-Matrix Multiplication)

    • The ii-th row of the product ABAB is obtained by multiplying the ii-th row vector of AA by the entire matrix BB:         Rowi(AB)=Rowi(A)B\text{Row}_i(AB) = \text{Row}_i(A) B
    • Multiplying a 1×n1 \times n row vector by an n×pn \times p matrix BB yields a 1×p1 \times p row vector.
  • Numerical Demonstration of Row-Wise Computation:

    • Given matrix AA with dimensions 2×32 \times 3:         A=(4361−23)A = \begin{pmatrix} 4 & 3 & 6 \\ 1 & -2 & 3 \end{pmatrix}
    • First row calculation of ABAB:         Row1(AB)=Row1(A)B=(436)B=(11021)\text{Row}_1(AB) = \text{Row}_1(A) B = \begin{pmatrix} 4 & 3 & 6 \end{pmatrix} B = \begin{pmatrix} 11 & 0 & 21 \end{pmatrix}
    • Second row calculation of ABAB:         Row2(AB)=Row2(A)B=(1−23)B\text{Row}_2(AB) = \text{Row}_2(A) B = \begin{pmatrix} 1 & -2 & 3 \end{pmatrix} B
      • Entry (2,1)(2,1): 1(4)−5=−11(4) - 5 = -1
      • Entry (2,2)(2,2): 3+10=113 + 10 = 11
      • Entry (2,3)(2,3): 6−…6 - \dots

Algebraic Properties of Matrix Multiplication

Let AA, BB, and CC be matrices with dimensions such that the indicated sums and products are defined.

  • Associative Law of Multiplication:     (AB)C=A(BC)(AB)C = A(BC)
  • Left Distributive Law:     A(B+C)=AB+ACA(B + C) = AB + AC
  • Right Distributive Law:     (B+C)A=BA+CA(B + C)A = BA + CA
  • Identity Matrix Multiplication:
    • For an m×nm \times n matrix AA:         ImA=AI_m A = AAIn=AA I_n = A
    • ImI_m denotes the m×mm \times m identity matrix, and InI_n denotes the n×nn \times n identity matrix.
    • If AA is non-square (m≠nm \neq n), the left and right identity matrices must match the respective outer dimension. If AA is itself an identity matrix, then Im=A=InI_m = A = I_n.

Non-Commutativity and Non-Cancellation Laws

  • Non-Commutativity (AB≠BAAB \neq BA):

    • In general scalar arithmetic, 5×7=7×55 \times 7 = 7 \times 5, but matrix multiplication does not commute in general: AB≠BAAB \neq BA
    • Explicit Counterexample:         Let A=(513−2)A = \begin{pmatrix} 5 & 1 \\ 3 & -2 \end{pmatrix} and B=(2043)B = \begin{pmatrix} 2 & 0 \\ 4 & 3 \end{pmatrix}
    • Compute ABAB via row-column multiplication:         (AB)11=5(2)+1(4)=10+4=14(AB)_{11} = 5(2) + 1(4) = 10 + 4 = 14(AB)12=5(0)+1(3)=3(AB)_{12} = 5(0) + 1(3) = 3(AB)21=3(2)+(−2)(4)=6−8=−2(AB)_{21} = 3(2) + (-2)(4) = 6 - 8 = -2(AB)22=3(0)+(−2)(3)=−6(AB)_{22} = 3(0) + (-2)(3) = -6AB=(143−2−6)AB = \begin{pmatrix} 14 & 3 \\ -2 & -6 \end{pmatrix}
    • Compute BABA via row-column multiplication:         (BA)11=2(5)+0(3)=10(BA)_{11} = 2(5) + 0(3) = 10(BA)12=2(1)+0(−2)=2(BA)_{12} = 2(1) + 0(-2) = 2(BA)21=4(5)+3(3)=20+9=29(BA)_{21} = 4(5) + 3(3) = 20 + 9 = 29(BA)22=4(1)+3(−2)=4−6=−2(BA)_{22} = 4(1) + 3(-2) = 4 - 6 = -2BA=(10229−2)BA = \begin{pmatrix} 10 & 2 \\ 29 & -2 \end{pmatrix}
    • Comparison reveals AB≠BAAB \neq BA. Thus, matrices AA and BB do not commute.
  • Failure of Matrix Cancellation:

    • The equation AB=ACAB = AC is logically equivalent to A(B−C)=0A(B - C) = \mathbf{0}. Setting D=B−CD = B - C, this becomes AD=0AD = \mathbf{0}.
    • If A≠0A \neq \mathbf{0}, it does not guarantee that D=0D = \mathbf{0} (i.e., B=CB = C).
    • Similarly, for matrix-vector systems Axˉ=0A \bar{x} = \mathbf{0} with A≠0A \neq \mathbf{0}, xˉ\bar{x} is not required to be 0\mathbf{0}.
    • Linear Dependence Criterion: If the columns of matrix AA are linearly dependent, then Axˉ=0A \bar{x} = \mathbf{0} possesses non-zero (nontrivial) solutions.
    • Example: For A=(123456)A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{pmatrix}, the three column vectors are linearly dependent, ensuring non-zero solution vectors xˉ=(x1x2x3)\bar{x} = \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix}.
    • Key Takeaways:
      1. AB=ACAB = AC does not imply B=CB = C in general.
      2. AB=0AB = \mathbf{0} does not imply A=0A = \mathbf{0} or B=0B = \mathbf{0}.

Powers and Transposition of Matrices

  • Powers of a Matrix:

    • Matrix powers AkA^k are defined only for square matrices (n×nn \times n).
    • For a positive integer kk:         Ak=A⋅A⋯A⏟k timesA^k = \underbrace{A \cdot A \cdots A}_{k \text{ times}}
  • Transpose of a Matrix:

    • If AA is an m×nm \times n matrix, its transpose ATA^T is an n×mn \times m matrix.
    • The columns of ATA^T are constructed directly from the rows of AA.
    • Example:         For a 3×23 \times 2 matrix A=(abcdef)A = \begin{pmatrix} a & b \\ c & d \\ e & f \end{pmatrix}, its 2×32 \times 3 transpose is:         AT=(acebdf)A^T = \begin{pmatrix} a & c & e \\ b & d & f \end{pmatrix}
  • Properties of Matrix Transposition:     Let AA and BB be matrices of appropriate dimensions, and let rr be a scalar:

    1. (AT)T=A(A^T)^T = A
    2. (A+B)T=AT+BT(A + B)^T = A^T + B^T
    3. (rA)T=rAT(rA)^T = r A^T
    4. (AB)T=BTAT(AB)^T = B^T A^T

Proof: Transpose of a Matrix Product

  • Theorem: (AB)T=BTAT(AB)^T = B^T A^T
  • Proof Procedure:
    1. Consider the jj-th column of (AB)T(AB)^T.
    2. By the definition of transposition, the jj-th column of (AB)T(AB)^T equals the transpose of the jj-th row of ABAB.
    3. By row-matrix multiplication, the jj-th row of ABAB is given by:        Rowj(AB)=Rowj(A)B\text{Row}_j(AB) = \text{Row}_j(A) B
    4. Expressing BB in terms of its columns (bˉ1bˉ2…bˉn)\begin{pmatrix} \bar{b}_1 & \bar{b}_2 & \dots & \bar{b}_n \end{pmatrix}, the jj-th row vector is:        (Rowj(A)bˉ1Rowj(A)bˉ2…Rowj(A)bˉn)\begin{pmatrix} \text{Row}_j(A) \bar{b}_1 & \text{Row}_j(A) \bar{b}_2 & \dots & \text{Row}_j(A) \bar{b}_n \end{pmatrix}
    5. Transposing this row vector yields the jj-th column vector of (AB)T(AB)^T:        (Rowj(A)bˉ1Rowj(A)bˉ2⋮Rowj(A)bˉn)\begin{pmatrix} \text{Row}_j(A) \bar{b}_1 \\ \text{Row}_j(A) \bar{b}_2 \\ \vdots \\ \text{Row}_j(A) \bar{b}_n \end{pmatrix}
    6. Now examine the jj-th column of BTATB^T A^T. By definition, the jj-th column of BTATB^T A^T is BTB^T multiplied by the jj-th column of ATA^T.
    7. The jj-th column of ATA^T is (Rowj(A))T\left(\text{Row}_j(A)\right)^T, and the rows of BTB^T are bˉ1T,bˉ2T,…,bˉnT\bar{b}_1^T, \bar{b}_2^T, \dots, \bar{b}_n^T.
    8. Matrix multiplication yields the identical column vector, completing the proof: (AB)T=BTAT(AB)^T = B^T A^T.

In-Class Assessment Protocol

  • Duration: 10 minutes.
  • Rules: Strict silence; no discussion or collaboration allowed. Unauthorized communication results in an automatic score of zero.
  • Format: Memory-based evaluation with binary response format ("Yes" for true statements, "No" for false statements).
  • Submission: Write full name at the top of the paper, record answers, and hand in at the front upon completion.