Matrices: Definition, Order and Types
Quick answer A matrix is a rectangular arrangement of numbers in rows and columns; its order tells us its size, and matrices are classified into special types based on their shape and entries.
A matrix is a rectangular array of numbers (or functions) arranged in horizontal rows and vertical columns, enclosed in brackets. The numbers are called the elements or entries of the matrix. Matrices are usually named with capital letters A, B, C, ... and their elements with lower-case letters.
If a matrix A has m rows and n columns, we say A is a matrix of order m × n (read as "m by n"). The general element in the i-th row and j-th column is written aij, and the whole matrix is written compactly as A = [aij]m×n, where 1 ≤ i ≤ m and 1 ≤ j ≤ n. A matrix of order m × n has exactly m×n elements.
Types of matrices commonly used:
- Row matrix: exactly one row (order 1×n).
- Column matrix: exactly one column (order m×1).
- Square matrix: number of rows = number of columns (order n×n). The elements a11, a22, ..., ann form the principal diagonal.
- Diagonal matrix: a square matrix in which every non-diagonal element is 0 (diagonal entries may be anything, including 0).
- Scalar matrix: a diagonal matrix in which all diagonal elements are equal.
- Identity (unit) matrix In: a scalar matrix in which every diagonal element equals 1.
- Zero (null) matrix: every element is 0, denoted O.
Worked Example. Construct a 2×2 matrix A = [aij] whose elements are given by aij = (i + 2j)²⁄2.
Here A has order 2×2, so i = 1, 2 and j = 1, 2. Substituting:
- a11 = (1+2)²/2 = 9/2
- a12 = (1+4)²/2 = 25/2
- a21 = (2+2)²/2 = 16/2 = 8
- a22 = (2+4)²/2 = 36/2 = 18
So A = [[9/2, 25/2], [8, 18]].
- A matrix of order m×n has m rows, n columns and m×n elements, written A = [aᵢⱼ]
- A square matrix has equal number of rows and columns (order n×n)
- A diagonal matrix has all off-diagonal entries zero; a scalar matrix additionally has equal diagonal entries
- The identity matrix Iₙ has 1's on the diagonal and 0's elsewhere; it behaves like '1' in matrix multiplication
- A zero (null) matrix O has every entry equal to 0
