Matrices Summary

What is a Matrix?

  • A matrix is a rectangular array of numbers arranged in rows and columns.
  • Matrices are used to store information and solve simultaneous equations.

Order of a Matrix

  • The order of a matrix is defined as the number of rows × number of columns (rows × columns).
  • The number of rows is stated first.
  • For a matrix A, with 2 rows and 3 columns, the order is 2 × 3 (two by three).

Elements of a Matrix

  • Elements are the numbers within the matrix.
  • Matrices are named with capital letters (A, B, C).
  • aija_{ij} denotes the element in row ii, column jj of matrix A.
  • For example:
    • If A=[6amp;8amp;4 3amp;7amp;1]A = \begin{bmatrix} 6 &amp; 8 &amp; 4 \ 3 &amp; 7 &amp; 1 \end{bmatrix}, then a<em>13=4a<em>{13} = 4 and a</em>22=7a</em>{22} = 7.

Types of Matrices

  • Row Matrix: Has a single row of elements.
  • Column Matrix: Has a single column of elements.
  • Square Matrix: Has an equal number of rows and columns.
  • Symmetric Matrix: A square matrix where a<em>ij=a</em>jia<em>{ij} = a</em>{ji}.

Matrix Operations

  • Matrices can be added or subtracted if they have the same order.
    • Add or subtract corresponding elements.
  • Zero Matrix: A matrix where every element is zero.
    • Adding or subtracting a zero matrix does not change the original matrix.

Scalar Multiplication

  • Multiplying a matrix by a scalar involves multiplying each element in the matrix by that scalar.

Matrix Multiplication

  • For matrix multiplication A × B to be defined, the number of columns in A must equal the number of rows in B.
  • If A is an m×nm \times n matrix and B is an n×pn \times p matrix, the resulting matrix will be m×pm \times p.
  • Matrix multiplication is generally not commutative: ABBAAB \neq BA.

Identity Matrix

  • The identity matrix (I) is a square matrix with 1s on the leading diagonal and 0s elsewhere.
  • For any matrix A, AI=A=IAAI = A = IA.

Inverse Matrices

  • The inverse of a matrix A, denoted as A1A^{-1}, satisfies A×A1=I=A1×AA \times A^{-1} = I = A^{-1} \times A.
  • Only square matrices can have inverses, but not all do.
  • The determinant of a 2x2 matrix must be non-zero for the inverse to exist.

Solving Simultaneous Equations with Matrices

  • Simultaneous equations can be expressed in matrix form as AX=CAX = C, where X=A1CX = A^{-1}C.

Applying Matrices

  • Networks of roads or communications can be modeled using matrices.
  • Transition matrices model movement between states, such as customers changing brands.
  • Matrix multiplication can extract valuable information from data stored in matrices.