Unit 2 - Notes

MTH005

Unit 2: Matrices

1. Introduction to Matrices

1.1 Definition

A matrix is an ordered rectangular array of numbers (real or complex) or functions. These numbers or functions are called the elements or the entries of the matrix.

A matrix is denoted by capital letters (, , , etc.) and enclosed by square brackets or parentheses .

General Form:

1.2 Order of a Matrix

A matrix having rows and columns is called a matrix of order (read as "m by n").

  • Rows: Horizontal lines of elements.
  • Columns: Vertical lines of elements.

1.3 Types of Matrices

  1. Row Matrix: Has only one row ().
  2. Column Matrix: Has only one column ().
  3. Square Matrix: Number of rows equals number of columns ().
  4. Diagonal Matrix: A square matrix where all non-diagonal elements are zero ( for ).
  5. Scalar Matrix: A diagonal matrix where all diagonal elements are equal.
  6. Identity (Unit) Matrix (): A square matrix where diagonal elements are $1$ and others are $0$.
  7. Null (Zero) Matrix (): All elements are zero.

2. Operations on Matrices

2.1 Addition and Subtraction

Two matrices and can be added or subtracted only if they are of the same order.

  • Addition (): Add corresponding elements.
  • Subtraction (): Subtract corresponding elements.

Properties:

  • Commutative:
  • Associative:

2.2 Scalar Multiplication

If a matrix is multiplied by a scalar constant , then every element of is multiplied by .

2.3 Multiplication of Matrices

The product is defined only if the number of columns in equals the number of rows in .

  • If is and is , the product is of order .

Process (Row-by-Column Multiplication):
The element in the -th row and -th column of the product is the sum of the products of the corresponding elements of the -th row of and the -th column of .

Example ():

Important Properties:

  1. Not Commutative: Generally, .
  2. Associative: .
  3. Distributive: .

3. Transpose of a Matrix

3.1 Definition

The transpose of a matrix , denoted by or , is obtained by interchanging the rows and columns of .
If , then .

Example:
If , then .

3.2 Properties of Transpose

  1. (where is a scalar)
  2. Reversal Law:

3.3 Symmetric and Skew-Symmetric Matrices

  • Symmetric: If (requires ).
  • Skew-Symmetric: If (requires and diagonal elements must be 0).

4. Determinants

4.1 Definition

To every square matrix of order , we can associate a number (real or complex) called the determinant of the matrix , denoted by , , or .

4.2 Evaluation of Determinants

Order 1:
If , then .

Order 2:


Cross-multiply: (Main diagonal product) - (Off-diagonal product).

Order 3:


We expand along the first row (applying signs , , ):

4.3 Singular and Non-Singular Matrices

  • Singular Matrix: (Inverse does not exist).
  • Non-Singular Matrix: (Inverse exists).

5. Properties of Determinants

These properties simplify the evaluation of higher-order determinants.

  1. Reflection Property: The value of the determinant remains unchanged if its rows and columns are interchanged. .
  2. Switching Property: If any two rows (or columns) are interchanged, the sign of the determinant changes.
  3. Repetition Property: If any two rows (or columns) are identical, the value of the determinant is zero.
  4. Scalar Property: If each element of a row (or column) is multiplied by a constant , then the value of the new determinant is times the original determinant.
    • Note: for an matrix.
  5. Summation Property: If some or all elements of a row (or column) are expressed as the sum of two (or more) terms, the determinant can be expressed as the sum of two (or more) determinants.
  6. Invariance Property: The value of a determinant remains unchanged if we add to the elements of any row (or column) the equimultiples of corresponding elements of other rows (or columns).
    • Operation:
  7. Triangle Property: If all elements below or above the main diagonal are zero, the determinant is the product of the diagonal elements.

6. Inverse of a Matrix (Adjoint Method)

The inverse of a square matrix is a matrix such that .

6.1 Steps to Find Inverse

To find for a matrix:

  1. Check Determinant: Calculate . If , inverse does not exist.
  2. Find Minors: Find the minor () for every element. The minor of is the determinant of the submatrix left after deleting the -th row and -th column.
  3. Find Cofactors: Calculate cofactors ( or ) using the formula:

    (This applies a checkerboard sign pattern: / / ).
  4. Matrix of Cofactors: Arrange the cofactors into a matrix .
  5. Adjoint Matrix (): Take the transpose of the cofactor matrix.
  6. Apply Formula:

7. Worked Example: Inverse of a 3x3 Matrix

Problem: Find the inverse of .

Step 1: Calculate Determinant ()

Expanding along Row 1:




Since , the inverse exists.

Step 2 & 3: Find Cofactors ()

Sign pattern:

Step 4: Matrix of Cofactors

Step 5: Adjoint Matrix ()

Transpose the Cofactor Matrix:

Step 6: Inverse Matrix ()