chapter 1 Matrix

1. Introduction to matrix algebra and matrix operations (part 1)

This section introduces the fundamental concepts of matrices, their definitions, notations, types, and the initial matrix operations, laying the groundwork for advanced applications in economics and beyond.

1.1 The role of matrix algebra in economics

Linear algebra, a field focused on vector spaces and linear transformations, provides essential tools for understanding and solving systems of linear equations. Matrix algebra, a subset of linear algebra, offers a concise and efficient method for representing complex systems of equations, determining the existence of solutions, and ultimately solving them. In economics, systems of linear equations arise naturally in models with inherent linear structures or when linear approximations are used for nonlinear relationships via differentiation. Matrix algebra allows economists to express these systems compactly, streamline solution processes, and gain deeper insights into economic models 9.

Note: Matrix algebra provides a powerful framework for both theoretical economic modeling and practical problem-solving by simplifying the representation and manipulation of systems of equations 10.

1.2 Definition and notation of matrices

A matrix is formally defined as a rectangular array of numbers, expressions, or symbols organized into horizontal rows and vertical columns. The "order" or "dimension" of a matrix is specified by the number of rows (mm) by the number of columns (nn), denoted as m×nm \times n. The individual entries within the array are called elements. Each element has a specific position identified by two subscripts: the first subscript denotes the row number, and the second denotes the column number. For instance, aija_{ij} represents the element in the ii-th row and jj-th column. Matrices are typically represented by capital letters, while their elements are represented by corresponding lowercase letters. 14.

A matrix of order m×nm \times n can be generally represented as:

A=[a11a12⋯a1na21a22⋯a2n⋮⋮⋱⋮am1am2⋯amn]A = \begin{bmatrix} a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} \end{bmatrix}

This can also be compactly written as A=[aij]m×nA = [a_{ij}]_{m \times n}, where ii ranges from 11 to mm and jj ranges from 11 to nn 15.

Example: Given matrix A=[237458341]A = \begin{bmatrix} 2 & 3 & 7 \\ 4 & 5 & 8 \\ 3 & 4 & 1 \end{bmatrix},

  • The order of AA is 3×33 \times 3.
  • The element a13a_{13} is 77.
  • The element a22a_{22} is 55 13.

1.3 Types of matrices

Several types of matrices are commonly used, distinguished by their dimensions and the values of their elements:

  • Row Matrix (Row Vector): A matrix with only one row, having an order of 1×n1 \times n. Example: [−3 0 1][-3 \ 0 \ 1]

  • Column Matrix (Column Vector): A matrix with only one column, having an order of m×1m \times 1 16. Example: B=[−202]B = \begin{bmatrix} -2 \\ 0 \\ 2 \end{bmatrix} (This is a 3×13 \times 1 column vector)

  • Rectangular Matrix: A matrix where the number of rows is not equal to the number of columns (m≠nm \neq n). Example: C=[379469]C = \begin{bmatrix} 3 & 7 & 9 \\ 4 & 6 & 9 \end{bmatrix}

  • Square Matrix: A matrix where the number of rows is equal to the number of columns (m=nm = n) 17. Example: [1−21−302221]\begin{bmatrix} 1 & -2 & 1 \\ -3 & 0 & 2 \\ 2 & 2 & 1 \end{bmatrix}

  • Diagonal Matrix: A square matrix where all elements except those on the main diagonal are zero. For a square matrix A=[aij]A = [a_{ij}], it is diagonal if aij=0a_{ij} = 0 for all i≠ji \neq j 18. Example: [1000−30001]\begin{bmatrix} 1 & 0 & 0 \\ 0 & -3 & 0 \\ 0 & 0 & 1 \end{bmatrix}

  • Scalar Matrix: A diagonal matrix where all diagonal elements are identical 19. Example: [−3000−3000−3]\begin{bmatrix} -3 & 0 & 0 \\ 0 & -3 & 0 \\ 0 & 0 & -3 \end{bmatrix}

  • Identity Matrix (Unit Matrix): A scalar matrix where all diagonal elements are equal to one. It is denoted by the capital letter II 20. Example: I=[100010001]I = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}

2. Introduction to matrix algebra and matrix operations (part 2)

This section details specific types of matrices and fundamental matrix operations including equality, addition, subtraction, and scalar multiplication, building upon foundational matrix concepts.

2.1 Specialized matrix types

Beyond basic rectangular and square matrices, several specialized types are defined by the characteristics of their elements, particularly in relation to the main diagonal. These classifications are crucial for understanding matrix properties and for more advanced operations.

  • Triangular Matrix: A square matrix is considered triangular if all elements either above or below the main diagonal are zero.

    • Lower Triangular Matrix: All elements above the main diagonal are zero.
      • Example: (1003205−1−1)\begin{pmatrix} 1 & 0 & 0 \\ 3 & 2 & 0 \\ 5 & -1 & -1 \end{pmatrix}
    • Upper Triangular Matrix: All elements below the main diagonal are zero.
      • Example: (13102100−1)\begin{pmatrix} 1 & 3 & 1 \\ 0 & 2 & 1 \\ 0 & 0 & -1 \end{pmatrix}

    21.

  • Null or Zero Matrix: A square matrix where all elements are zero. It is denoted by the capital letter OO.

    • Example: O=(0000)O = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix}

    .

  • Symmetric Matrix: A square matrix A=[aij]A = [a_{ij}] is symmetric if its element aija_{ij} is equal to its element ajia_{ji} for all indices ii and jj. This means the matrix is equal to its transpose. 22.

2.2 Matrix equality

Two matrices are considered equal if they satisfy two strict conditions: they must have the same dimensions (order), and every element in one matrix must be identical to the corresponding element in the other matrix.

  • Conditions for Equality:

    • Matrices must have the same order (i.e., the same number of rows and columns).
    • Corresponding elements in both matrices must be equal. .
  • Illustrative Examples:

    Example: If matrix A=(2xy3)A = \begin{pmatrix} 2 & x \\ y & 3 \end{pmatrix} and matrix B=(2343)B = \begin{pmatrix} 2 & 3 \\ 4 & 3 \end{pmatrix}, and A=BA = B, then it must be that x=3x = 3 and y=4y = 4, as corresponding elements must be equal. [ 24] 23.

    Note: A matrix cannot be equal to another matrix with different dimensions, even if some elements are the same. For instance, a 2×22 \times 2 matrix cannot be equal to a 2×32 \times 3 matrix. 24.

2.3 Matrix addition and subtraction

Matrix addition and subtraction are defined only for matrices of the same order. The resulting matrix will also have the same order, with its elements being the sum or difference of the corresponding elements of the original matrices.

  • Conformability for Addition/Subtraction: Matrices must have the same dimensions to be added or subtracted. If they do not, they are considered "non-conformable" for these operations, and the sum or difference does not exist. [ 26]

  • Definition: For two matrices A=[aij]m×nA = [a_{ij}]_{m \times n} and B=[bij]m×nB = [b_{ij}]_{m \times n}, their sum A+BA + B or difference A−BA - B results in a matrix C=[cij]m×nC = [c_{ij}]_{m \times n}, where each element cijc_{ij} is calculated as aij±bija_{ij} \pm b_{ij}. 25.

  • Example of Addition: Given A=(023214)A = \begin{pmatrix} 0 & 2 & 3 \\ 2 & 1 & 4 \end{pmatrix} and B=(7355−1−3)B = \begin{pmatrix} 7 & 3 & 5 \\ 5 & -1 & -3 \end{pmatrix}, their sum is:

    A+B=(023214)+(7355−1−3)=(0+72+33+52+51+(−1)4+(−3))=(758701)A + B = \begin{pmatrix} 0 & 2 & 3 \\ 2 & 1 & 4 \end{pmatrix} + \begin{pmatrix} 7 & 3 & 5 \\ 5 & -1 & -3 \end{pmatrix} = \begin{pmatrix} 0+7 & 2+3 & 3+5 \\ 2+5 & 1+(-1) & 4+(-3) \end{pmatrix} = \begin{pmatrix} 7 & 5 & 8 \\ 7 & 0 & 1 \end{pmatrix}

    27.

  • Negation of a Matrix: The negation of a matrix AA, denoted as −A-A, is obtained by replacing every element of AA with its additive inverse. Subtraction A−BA - B can be expressed as the addition of AA and the negation of BB: A−B=A+(−B)A - B = A + (-B).

    • Example: If A=(1355−1−1)A = \begin{pmatrix} 1 & 3 & 5 \\ 5 & -1 & -1 \end{pmatrix}, then −A=(−1−3−5−511)-A = \begin{pmatrix} -1 & -3 & -5 \\ -5 & 1 & 1 \end{pmatrix}. 28.
  • Properties of Matrix Addition:

    1. Commutative Property: For matrices AA and BB of the same order, A+B=B+AA + B = B + A.
    2. Associative Property: For matrices A,B,A, B, and CC of the same order, (A+B)+C=A+(B+C)(A + B) + C = A + (B + C).
    3. Existence of Additive Identity: For any matrix AA, there exists a null matrix OO of the same order such that A+O=O+A=AA + O = O + A = A.
    4. Existence of Additive Inverse: For any matrix AA, there exists a matrix −A-A such that A+(−A)=(−A)+A=OA + (-A) = (-A) + A = O. 29.

2.4 Scalar multiplication of matrices

Scalar multiplication involves multiplying every element of a matrix by a single number (a scalar).

  • Definition: If a matrix A=[aij]m×nA = [a_{ij}]_{m \times n} is multiplied by a scalar quantity λ\lambda, the resulting matrix λA\lambda A is given by [λaij]m×n[\lambda a_{ij}]_{m \times n}. Each element of the original matrix is multiplied by the scalar. .

  • Example: Given A=(7355−1−1)A = \begin{pmatrix} 7 & 3 & 5 \\ 5 & -1 & -1 \end{pmatrix}, multiplying by the scalar 33 yields:

    3A=3(7355−1−1)=(3×73×33×53×53×(−1)3×(−1))=(2191515−3−3)3A = 3 \begin{pmatrix} 7 & 3 & 5 \\ 5 & -1 & -1 \end{pmatrix} = \begin{pmatrix} 3 \times 7 & 3 \times 3 & 3 \times 5 \\ 3 \times 5 & 3 \times (-1) & 3 \times (-1) \end{pmatrix} = \begin{pmatrix} 21 & 9 & 15 \\ 15 & -3 & -3 \end{pmatrix}

    32.

  • Scalar as a Diagonal Matrix: A scalar can be conceptualized as a diagonal matrix where all diagonal elements are equal to that scalar, and all off-diagonal elements are zero. .

  • Commutativity of Scalar Multiplication: For a scalar KK and a square matrix AA of the same order, KA=AKKA = AK. This implies that the order of multiplication (scalar first or matrix first) does not affect the outcome when the scalar is treated as a matrix. 33.

3. Matrix multiplication and determinants

This section covers the fundamental operations of matrix multiplication, including conformability rules and properties, and the concept of determinants, their calculation, and their crucial properties.

3.1 Matrix multiplication

Matrix multiplication is a binary operation that produces a matrix from two matrices. For the product of two matrices, say AA and BB, to be defined (ABAB), the number of columns in the first matrix (AA) must be equal to the number of rows in the second matrix (BB). If matrix AA has dimensions m×nm \times n (m rows and n columns), then matrix BB must have dimensions n×pn \times p (n rows and p columns). The resulting product matrix C=ABC = AB will have dimensions m×pm \times p.

The element cijc_{ij} in the ii-th row and jj-th column of the product matrix CC is calculated by summing the products of the elements in the ii-th row of AA and the corresponding elements in the jj-th column of BB. Mathematically, this is expressed as:

cij=∑k=1naikbkjc_{ij} = \sum_{k=1}^{n} a_{ik}b_{kj}

where aika_{ik} are elements of matrix AA and bkjb_{kj} are elements of matrix BB. This process is often described as "row-by-column" multiplication.

Note: The strict rule for multiplying matrices involves going along the rows of the first matrix and down the columns of the second matrix. The sum of the products of these elements forms the corresponding element in the product matrix.

3.1.1 Properties of matrix multiplication

Matrix multiplication exhibits several key properties:

  1. Associativity: For three matrices AA, BB, and CC that are conformable for multiplication in the order (AB)C(AB)C, the associative property holds: (AB)C=A(BC)(AB)C = A(BC)
  2. Distributivity over Addition: Matrix multiplication is distributive over matrix addition. For matrices AA, BB, and CC where the operations are defined: A(B+C)=AB+ACA(B+C) = AB + AC
  3. Identity Matrix: For any matrix AA of order m×nm \times n, there exists an identity matrix InI_n of order n×nn \times n and an identity matrix ImI_m of order m×mm \times m such that: ImA=A=AInI_m A = A = A I_n For a square matrix AA of order n×nn \times n, the property simplifies to: InA=AIn=AI_n A = A I_n = A

Important: Matrix multiplication is generally not commutative, meaning AB≠BAAB \neq BA unless specific conditions are met.

3.2 Determinants

A determinant is a scalar value computed from the elements of a square matrix. It is denoted as det⁡(A)\det(A) or ∣A∣|A|. The determinant provides crucial information about the matrix, particularly its invertibility.

3.2.1 Determinant of a 2x2 matrix

For a 2x2 matrix AA given by: A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} The determinant is calculated as: det⁡(A)=ad−bc\det(A) = ad - bc

Example: For matrix A=(3524)A = \begin{pmatrix} 3 & 5 \\ 2 & 4 \end{pmatrix}, the determinant is det⁡(A)=(3×5)−(2×4)=15−8=7\det(A) = (3 \times 5) - (2 \times 4) = 15 - 8 = 7.

3.2.2 Determinant of a 3x3 matrix

For a 3x3 matrix AA given by: A=(abcdefghi)A = \begin{pmatrix} a & b & c \\ d & e & f \\ g & h & i \end{pmatrix} The determinant can be calculated by expanding along any row or column. Expanding along the first row yields: det⁡(A)=a(ei−fh)−b(di−gf)+c(dh−ge)\det(A) = a(ei - fh) - b(di - gf) + c(dh - ge)

Example: For matrix A=(123456789)A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{pmatrix}, the determinant is: det⁡(A)=1(5×9−6×8)−2(4×9−6×7)+3(4×8−5×7)\det(A) = 1(5 \times 9 - 6 \times 8) - 2(4 \times 9 - 6 \times 7) + 3(4 \times 8 - 5 \times 7) det⁡(A)=1(45−48)−2(36−42)+3(32−35)\det(A) = 1(45 - 48) - 2(36 - 42) + 3(32 - 35) det⁡(A)=1(−3)−2(−6)+3(−3)\det(A) = 1(-3) - 2(-6) + 3(-3) det⁡(A)=−3+12−9=0\det(A) = -3 + 12 - 9 = 0 Since the determinant is 0, this matrix is singular (non-invertible).

3.2.3 Cofactor expansion for determinants

The determinant of an n×nn \times n matrix AA can be computed using cofactor expansion along any row or column. For an expansion along the first row: det⁡(A)=∑j=1na1jC1j\det(A) = \sum_{j=1}^{n} a_{1j}C_{1j} where a1ja_{1j} is the element in the first row and jj-th column, and C1jC_{1j} is the cofactor of that element. The cofactor CijC_{ij} is given by Cij=(−1)i+jMijC_{ij} = (-1)^{i+j}M_{ij}, where MijM_{ij} is the minor of the element aija_{ij}, which is the determinant of the submatrix obtained by deleting the ii-th row and jj-th column of AA.

3.3 Properties of determinants

Determinants possess several key properties that are vital in linear algebra:

  1. Determinant of an Identity Matrix: The determinant of an identity matrix InI_n of any order nn is always 1: det⁡(In)=1\det(I_n) = 1
  2. Determinant of a Triangular Matrix: For an upper triangular, lower triangular, or diagonal matrix, the determinant is the product of its diagonal elements: det⁡(A)=a11⋅a22⋯ann\det(A) = a_{11} \cdot a_{22} \cdots a_{nn}
  3. Swapping Rows or Columns: Swapping two rows or two columns of a matrix negates the determinant: det⁡(B)=−det⁡(A)\det(B) = -\det(A)
  4. Multiplication of a Row or Column by a Scalar: If a row or column of a matrix AA is multiplied by a scalar cc to form matrix BB, then the determinant of BB is cc times the determinant of AA: det⁡(B)=c⋅det⁡(A)\det(B) = c \cdot \det(A)
  5. Common Scalar Factor: If a matrix AA has a common factor cc in each element of a row or column, and nn is the order of the matrix, then: det⁡(A)=cn⋅det⁡(B)\det(A) = c^n \cdot \det(B) where BB is the matrix with the common factor removed from that row or column.
  6. Determinant of a Singular Matrix: If a matrix has two identical rows or columns, its determinant is zero: det⁡(A)=0\det(A) = 0
  7. Determinant of a Matrix with a Zero Row or Column: If a matrix has an entire row or column of zeros, its determinant is zero: det⁡(A)=0\det(A) = 0
  8. Determinant and Row Operations: Adding a multiple of one row to another row (or a multiple of one column to another column) does not change the determinant: det⁡(A)=det⁡(B)\det(A) = \det(B)
  9. Determinant of an Inverse Matrix: If a matrix AA is invertible, then the determinant of its inverse A−1A^{-1} is the reciprocal of the determinant of AA: det⁡(A−1)=1det⁡(A)\det(A^{-1}) = \frac{1}{\det(A)}
  10. Determinant of a Transposed Matrix: The determinant of a matrix is equal to the determinant of its transpose: det⁡(AT)=det⁡(A)\det(A^T) = \det(A)
  11. Multiplicative Property of Determinants: For two square matrices AA and BB of the same order: det⁡(AB)=det⁡(A)⋅det⁡(B)\det(AB) = \det(A) \cdot \det(B)
  12. Determinant of a Block Matrix: For a block matrix MM with square matrices AA and BB on the diagonal and zero blocks elsewhere: M=(A00B)M = \begin{pmatrix} A & 0 \\ 0 & B \end{pmatrix} The determinant is the product of the determinants of the diagonal blocks: det⁡(M)=det⁡(A)⋅det⁡(B)\det(M) = \det(A) \cdot \det(B)

Important: A matrix is invertible if and only if its determinant is non-zero. If det⁡(A)=0\det(A) = 0, the matrix is singular and not invertible.

4. Matrix inversion and partitioned matrices

This section explores the critical mathematical operations of finding the inverse of a square matrix and manipulating matrices by dividing them into smaller, manageable submatrices (partitioned matrices).

4.1 Matrix inversion

The inverse of a square matrix AA, denoted as A−1A^{-1}, is a matrix such that when multiplied by AA, it yields the identity matrix II. This relationship is defined as AA−1=A−1A=IAA^{-1} = A^{-1}A = I. A fundamental condition for a matrix to be invertible is that its determinant must be non-zero; such matrices are also referred to as nonsingular.

4.1.1 Inverse of a 2x2 matrix

For a general 2x2 matrix A=(abcd)A = \begin{pmatrix} a & b \\ c & d \end{pmatrix} its inverse A−1A^{-1} is calculated using the formula: A−1=1det⁡A(d−b−ca)A^{-1} = \frac{1}{\det A} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix} where the determinant of AA is given by det⁡A=ad−bc\det A = ad - bc.

Example: Given the matrix A=(2314)A = \begin{pmatrix} 2 & 3 \\ 1 & 4 \end{pmatrix} The determinant is det⁡A=−=8−3=5\det A = - = 8 - 3 = 5 3 4. Therefore, the inverse is: A−1=15(4−3−12)=(4/5−3/5−1/52/5)A^{-1} = \frac{1}{5} \begin{pmatrix} 4 & -3 \\ -1 & 2 \end{pmatrix} = \begin{pmatrix} 4/5 & -3/5 \\ -1/5 & 2/5 \end{pmatrix} To verify, one would compute AA−1AA^{-1} and A−1AA^{-1}A to confirm they both equal the 2x2 identity matrix 66.

4.1.2 Inverse of a 3x3 matrix using the adjugate method

Finding the inverse of a 3x3 matrix involves several steps:

i. Compute the determinant of the matrix, det⁡(A)\det(A). If det⁡(A)=0\det(A) = 0, the matrix is singular and has no inverse. ii. Find the matrix of minors, MM. For each element aija_{ij} of the original matrix AA, the corresponding minor MijM_{ij} is the determinant of the 2x2 submatrix formed by deleting the ii-th row and jj-th column of AA. M=(M11M12M13M21M22M23M31M32M33)M = \begin{pmatrix} M_{11} & M_{12} & M_{13} \\ M_{21} & M_{22} & M_{23} \\ M_{31} & M_{32} & M_{33} \end{pmatrix} 67. iii. Form the cofactor matrix, CC. Each element CijC_{ij} is calculated by applying a sign pattern to the corresponding minor: Cij=(−1)i+jMijC_{ij} = (-1)^{i+j} M_{ij}. The sign pattern for a 3x3 matrix is: (+−+−+−+−+)\begin{pmatrix} + & - & + \\ - & + & - \\ + & - & + \end{pmatrix} 68. iv. Compute the adjugate (or adjoint) matrix, denoted as adj A\text{adj } A or CTC^T. This is achieved by transposing the cofactor matrix CC: CT=(C11C21C31C12C22C32C13C23C33)C^T = \begin{pmatrix} C_{11} & C_{21} & C_{31} \\ C_{12} & C_{22} & C_{32} \\ C_{13} & C_{23} & C_{33} \end{pmatrix}. v. Calculate the inverse matrix. The inverse is found using the formula: A−1=1det⁡A⋅adj A=1det⁡A⋅CTA^{-1} = \frac{1}{\det A} \cdot \text{adj } A = \frac{1}{\det A} \cdot C^T 69.

4.1.3 Properties of the inverse matrix

Several important properties govern matrix inverses:

  • A square matrix is invertible if and only if it is non-singular (det⁡A≠0\det A \neq 0).
  • The inverse of the inverse of a matrix is the matrix itself: (A−1)−1=A(A^{-1})^{-1} = A.
  • The inverse of the transpose of a matrix is equal to the transpose of its inverse: (AT)−1=(A−1)T(A^T)^{-1} = (A^{-1})^T.
  • If AA and BB are invertible matrices of the same order, their product ABAB is also invertible, with the inverse given by (AB)−1=B−1A−1(AB)^{-1} = B^{-1}A^{-1}.
  • The determinant of the inverse matrix is the reciprocal of the determinant of the original matrix: det⁡(A−1)=1det⁡A\det(A^{-1}) = \frac{1}{\det A}.
  • For a non-zero scalar kk, the inverse of kAkA is 1k\frac{1}{k} times the inverse of AA: (kA)−1=k−1A−1=1kA−1(kA)^{-1} = k^{-1}A^{-1} = \frac{1}{k}A^{-1} 70.

4.2 Partitioned matrices

A partitioned matrix, also known as a block matrix, is a matrix that has been conceptually divided into smaller rectangular matrices called submatrices or blocks. This partitioning is achieved by drawing horizontal and vertical lines within the matrix.

Purpose: Partitioned matrices are particularly useful for simplifying operations with large matrices. By breaking them down into smaller, more manageable submatrices, complex calculations become more tractable 71 72.

Example: A 3x6 matrix can be represented as a 2x3 partitioned matrix: A=(A11A12A13A21A22A23)A = \begin{pmatrix} A_{11} & A_{12} & A_{13} \\ A_{21} & A_{22} & A_{23} \end{pmatrix} where each AijA_{ij} is a submatrix. For instance: A11=(30−52−10),A12=(549−31−2),A13=(137)A_{11} = \begin{pmatrix} 3 & 0 \\ -5 & 2 \\ -1 & 0 \end{pmatrix}, \quad A_{12} = \begin{pmatrix} 5 & 4 \\ 9 & -3 \\ 1 & -2 \end{pmatrix}, \quad A_{13} = \begin{pmatrix} 1 \\ 3 \\ 7 \end{pmatrix} and similarly for A21,A22,A23A_{21}, A_{22}, A_{23} 74.

4.2.1 Notation for partitioned matrices

When a matrix is partitioned, capital letters are used to represent each block (submatrix), and subscripts indicate their positional location within the larger partitioned structure. For example, AijA_{ij} denotes the submatrix in the ii-th row of blocks and jj-th column of blocks 75.

4.2.2 Operations with partitioned matrices

Similar to standard matrices, partitioned matrices support addition, scalar multiplication, and matrix multiplication, provided the partitions are compatible.

  • Addition: If two matrices, AA and BB, have the same dimensions and are partitioned in exactly the same way, their sum A+BA+B is formed by summing the corresponding blocks. A+B=(A11+B11A12+B12A21+B21A22+B22)A+B = \begin{pmatrix} A_{11}+B_{11} & A_{12}+B_{12} \\ A_{21}+B_{21} & A_{22}+B_{22} \end{pmatrix}.
  • Scalar Multiplication: Multiplying a partitioned matrix by a scalar involves multiplying each block by that scalar. kA=(kA11kA12kA21kA22)k A = \begin{pmatrix} k A_{11} & k A_{12} \\ k A_{21} & k A_{22} \end{pmatrix} 77 78.

4.2.3 Multiplication of partitioned matrices

Block matrix multiplication follows a similar pattern to standard matrix multiplication, adhering to the row-column rule, but applied to blocks. For the product ABAB to be defined, the column partition of AA must match the row partition of BB. If AA is m×nm \times n and BB is n×pn \times p, and AA is partitioned into kk columns of blocks and BB is partitioned into kk rows of blocks, their product ABAB can be computed block by block 79.

Let AA be partitioned as: A=(A11A12A21A22)A = \begin{pmatrix} A_{11} & A_{12} \\ A_{21} & A_{22} \end{pmatrix} and BB be partitioned conformably as: B=(B1B2)B = \begin{pmatrix} B_{1} \\ B_{2} \end{pmatrix} where B1B_1 consists of the first pp rows of BB and B2B_2 consists of the remaining rows. The product ABAB is then: AB=(A11B1+A12B2A21B1+A22B2)AB = \begin{pmatrix} A_{11}B_1 + A_{12}B_2 \\ A_{21}B_1 + A_{22}B_2 \end{pmatrix} 82 83.

Important Note: Matrix multiplication is not commutative. Therefore, when multiplying partitioned matrices, ensure the submatrix from AA is always on the left in each product term 84.

Theorem 10: Column-Row Expansion of AB If AA is an m×nm \times n matrix and BB is an n×pn \times p matrix, their product ABAB can be expressed as a sum of products of columns of AA and rows of BB: AB=col1(A)row1(B)+col2(A)row2(B)+⋯+coln(A)rown(B)AB = \text{col}_1(A)\text{row}_1(B) + \text{col}_2(A)\text{row}_2(B) + \dots + \text{col}_n(A)\text{row}_n(B) where coli(A)\text{col}_i(A) is the ii-th column of AA and rowj(B)\text{row}_j(B) is the jj-th row of BB 85 86.

4.2.4 Block diagonal matrices

A block diagonal matrix is a square partitioned matrix where the diagonal blocks are square matrices themselves, and all off-diagonal blocks are null (zero) matrices. A significant property of block diagonal matrices is that their inverse is simply the inverse of each individual block on the diagonal 73.

5. Rank of a matrix, linear independence, and matrix powers (part 1)

This section delves into the fundamental concept of matrix rank, its intrinsic connection to linear independence of rows and columns, and introduces the notion of matrix powers.

5.1 Understanding matrix rank

The rank of a matrix is a unique scalar value intrinsically linked to its structure and properties. It provides critical information about the matrix's invertibility and the dimensionality of the vector spaces spanned by its rows and columns.

  • Definition: The rank of a matrix is formally defined as the maximum number of linearly independent rows or, equivalently, the maximum number of linearly independent columns it contains. This dual definition highlights a crucial property: for any matrix AA, its row rank is always equal to its column rank.
  • Row Rank: The maximum number of linearly independent rows in a matrix.
  • Column Rank: The maximum number of linearly independent columns in a matrix.
  • Notation: The rank of a matrix AA is commonly denoted by ρ(A)\rho(A).

Important: The rank of a matrix is not related to the number of zero elements it contains.

5.1.1 Constraints on matrix rank

For an m×nm \times n matrix AA (meaning it has mm rows and nn columns), the rank is subject to specific upper bounds derived from its dimensions.

  • The row rank of AA is always less than or equal to the number of rows, mm: Row rank of A≤m\text{Row rank of } A \leq m.
  • The column rank of AA is always less than or equal to the number of columns, nn: Column rank of A≤n\text{Column rank of } A \leq n.
  • Combining these, the rank of an m×nm \times n matrix AA is constrained by the minimum of its dimensions: ρ(A)≤min⁡(m,n)\rho(A) \leq \min(m, n) This implies that the rank of a 3×53 \times 5 matrix cannot exceed 3, and the rank of a 4×24 \times 2 matrix cannot exceed 2.

Example:

  • A 3×13 \times 1 (column) matrix has a maximum rank of 1.
  • A 3×503 \times 50 matrix has a maximum rank of 3.
  • If a matrix has more rows than columns (m>nm > n), its maximum possible rank is nn.
  • If a matrix has more columns than rows (n>mn > m), its maximum possible rank is mm.

5.1.2 Calculating matrix rank

While the definition of rank involves determining linear independence, which can be computationally intensive, there are practical methods for calculating it.

  • Gauss-Jordan Elimination: A standard and efficient method to find the rank of a matrix involves transforming it into its row-echelon form (or reduced row-echelon form) using Gauss-Jordan elimination. The number of non-zero rows in the resulting echelon form directly corresponds to the rank of the matrix.
  • Determinant-based approach (for square matrices): For an n×nn \times n square matrix, if its rank is less than nn, the matrix is singular and does not possess an inverse. A matrix AA is non-singular if its rank is equal to nn (ρ(A)=n\rho(A) = n).

Note: The rank of the transpose of a matrix is the same as the rank of the original matrix: ρ(AT)=ρ(A)\rho(A^T) = \rho(A).

5.2 Linear independence and dependence

Linear independence is a foundational concept in linear algebra, crucial for understanding the structure of vector spaces and the properties of matrices.

  • Linear Independence: A set of vectors {v1,v2,…,vk}\{v_1, v_2, \ldots, v_k\} is linearly independent if the only solution to the vector equation: c1v1+c2v2+…+ckvk=0c_1 v_1 + c_2 v_2 + \ldots + c_k v_k = \mathbf{0} is the trivial solution where all scalar coefficients are zero (c1=c2=…=ck=0c_1 = c_2 = \ldots = c_k = 0).
  • Linear Dependence: Conversely, a set of vectors is linearly dependent if there exists a non-trivial solution (at least one ci≠0c_i \neq 0) to the same vector equation. This means at least one vector in the set can be expressed as a linear combination of the others.

Remember: The concept of linear independence directly informs the definition of matrix rank, as the rank quantifies the maximum number of vectors (rows or columns) that can form a linearly independent set within the matrix.

5.3 Introduction to matrix powers

Matrix powers extend the concept of scalar exponentiation to square matrices, providing a way to represent repeated matrix multiplication.

  • Definition: For a square n×nn \times n matrix AA, matrix powers are defined as follows:
    • A0=IA^0 = I, where II is the n×nn \times n identity matrix.
    • A1=AA^1 = A.
    • Ak=A×A×…×AA^k = A \times A \times \ldots \times A (kk times), for a positive integer kk.
    • A−k=(A−1)kA^{-k} = (A^{-1})^k, for a negative integer kk, provided that AA is invertible.

Note: Matrix multiplication is not commutative in general, so ApAq≠Ap+qA^p A^q \neq A^{p+q} if AA is not scalar, but ApAq=Ap+qA^p A^q = A^{p+q} holds for integer powers.

5.3.1 Powers of diagonal matrices

Diagonal matrices have a particularly simple structure when raised to a power.

  • If DD is a diagonal matrix with diagonal entries d1,d2,…,dnd_1, d_2, \ldots, d_n: d_1 & 0 & \ldots & 0 \\ 0 & d_2 & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & d_n \end{pmatrix}$$ Then, for any non-negative integer $k$: $$D^k = \begin{pmatrix} d_1^k & 0 & \ldots & 0 \\ 0 & d_2^k & \ldots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \ldots & d_n^k \end{pmatrix}$$ This property simplifies computations involving powers of diagonal matrices significantly.

This part of the study guide covers the fundamental definitions and properties of matrix rank and linear independence, alongside the initial introduction to matrix powers, setting the stage for more advanced topics in subsequent sections.

6. Rank of a matrix, linear independence, and matrix powers (part 2)

This section delves into the properties of matrices, specifically focusing on their rank, its relationship with linear independence, and the concept of matrix powers, including those of diagonal matrices and general matrices, along with a brief introduction to eigenvalues and eigenvectors.

6.1 Rank of a matrix and linear independence

The rank of a matrix is a fundamental concept that quantifies its "dimensionality" in terms of linearly independent rows or columns.

  • Definition of Rank: The rank of a matrix AA, denoted as rank(A)\text{rank}(A), is the maximum number of linearly independent rows in AA, which is also equal to the maximum number of linearly independent columns in AA.
  • Linear Independence: A set of vectors {v1,v2,…,vk}\{v_1, v_2, \dots, v_k\} is linearly independent if the only solution to the equation c1v1+c2v2+⋯+ckvk=0c_1v_1 + c_2v_2 + \dots + c_kv_k = 0 is c1=c2=⋯=ck=0c_1 = c_2 = \dots = c_k = 0.
  • Relationship between Rank and Linear Independence:
    • The row rank of a matrix (the maximum number of linearly independent rows) is always equal to its column rank (the maximum number of linearly independent columns).
    • If a matrix has mm rows and nn columns, its rank cannot exceed min⁡(m,n)\min(m, n).
    • A matrix has full row rank if its rank equals the number of rows, and full column rank if its rank equals the number of columns 110.

Note: The rank of a matrix is a crucial indicator of whether a system of linear equations has a unique solution, no solution, or infinitely many solutions. It is also directly related to the invertibility of a square matrix.

6.2 Matrix powers

Matrix powers allow us to study the behavior of a matrix under repeated multiplication by itself.

  • Definition of Matrix Powers: For a square matrix AA, the kk-th power of AA is defined as Ak=A×A×⋯×AA^k = A \times A \times \dots \times A (kk times).
  • Special Cases:
    • A0A^0 is defined as the identity matrix II of the same dimension as AA.
    • A1=AA^1 = A.
  • Properties of Matrix Powers: For a square matrix AA and non-negative integers kk and mm:
    • AkAm=Ak+mA^k A^m = A^{k+m}.
    • (Ak)m=Akm(A^k)^m = A^{km}.
    • (cA)k=ckAk(cA)^k = c^k A^k, where cc is a scalar.
    • If AA and BB commute (i.e., AB=BAAB = BA), then (AB)k=AkBk(AB)^k = A^k B^k. However, if AA and BB do not commute, (AB)k≠AkBk(AB)^k \neq A^k B^k in general 113.

6.2.1 Powers of diagonal matrices

Diagonal matrices have a particularly simple structure when raised to a power.

  • Definition of a Diagonal Matrix: A diagonal matrix is a square matrix where all the off-diagonal elements are zero. It can be represented as: D=[d10…00d2…0⋮⋮⋱⋮00…dn]D = \begin{bmatrix} d_1 & 0 & \dots & 0 \\ 0 & d_2 & \dots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \dots & d_n \end{bmatrix}
  • Calculating Powers of a Diagonal Matrix: If DD is a diagonal matrix, then its kk-th power is obtained by raising each diagonal element to the kk-th power: Dk=[d1k0…00d2k…0⋮⋮⋱⋮00…dnk]D^k = \begin{bmatrix} d_1^k & 0 & \dots & 0 \\ 0 & d_2^k & \dots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \dots & d_n^k \end{bmatrix}

Example: If A=[2003]A = \begin{bmatrix} 2 & 0 \\ 0 & 3 \end{bmatrix}, then A3=[230033]=[80027]A^3 = \begin{bmatrix} 2^3 & 0 \\ 0 & 3^3 \end{bmatrix} = \begin{bmatrix} 8 & 0 \\ 0 & 27 \end{bmatrix} 115.

6.3 Introduction to eigenvalues and eigenvectors

Eigenvalues and eigenvectors are fundamental concepts that describe how a linear transformation stretches or shrinks vectors, and in which direction these stretching/shrinking effects are most pronounced.

  • Definition: For a square matrix AA, a non-zero vector vv is an eigenvector of AA if Av=λvAv = \lambda v for some scalar λ\lambda. The scalar λ\lambda is called the eigenvalue corresponding to the eigenvector vv 116.
  • Interpretation: When a matrix AA acts on its eigenvector vv, the result is a scaled version of the same eigenvector. The eigenvalue λ\lambda represents the scaling factor. If λ>1\lambda > 1, the vector is stretched; if 0<λ<10 < \lambda < 1, it is shrunk; if λ<0\lambda < 0, it is reversed and scaled.

Note: Eigenvalues and eigenvectors are crucial for understanding matrix diagonalization, stability analysis of dynamical systems, and various applications in physics, engineering, and computer science. This topic is further elaborated in subsequent sections.

6.4 General matrix powers and powers of square matrices

The concept of matrix powers extends to all square matrices, though their computation can be more complex than for diagonal matrices.

  • Iterative Computation: For any square matrix AA, powers can be computed iteratively: A2=A⋅AA^2 = A \cdot A, A3=A2⋅AA^3 = A^2 \cdot A, and so on.
  • Significance: Repeated multiplication of a matrix can reveal significant properties about the underlying linear transformation it represents. For example, powers of a transition matrix in Markov chains describe the probabilities of moving between states after multiple steps.

Important: For large powers, direct computation can be computationally intensive. Techniques like diagonalization (if the matrix is diagonalizable) or using the Jordan normal form can significantly simplify the calculation of AkA^k. The properties of eigenvalues and eigenvectors are central to these advanced methods 121.

Common mistakes to avoid

  • Review all topics thoroughly before exams
  • Pay attention to formulas and key definitions
  • Practice with examples provided in each section
  • Don't memorize without understanding the underlying concepts

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also