Skip to content

Mathematics · Ch 3 — Matrices

Order of a Matrix

3.2.1

Order of a Matrix

The Meaning of "Order of a Matrix"

The order of a matrix describes its shape: how many rows and how many columns it has.

If a matrix has mm rows and nn columns, it is a matrix of order m×nm \times n (read "m by n"), also called an m×nm \times n matrix. The order is always written as rows × columns.

For example:

  • Matrix AA has 3 rows and 2 columns → order 3×23 \times 2.
  • Matrix BB has 3 rows and 3 columns → order 3×33 \times 3.
  • Matrix CC has 2 rows and 3 columns → order 2×32 \times 3.

The number of elements is the product of rows and columns, so AA and CC each have 66 elements and BB has 99.

Important

The order m×nm \times n is not the same as n×mn \times m unless m=nm = n. A 2×32 \times 3 matrix is different from a 3×23 \times 2 matrix.

The General Notation for a Matrix

In general, an m×nm \times n matrix is a rectangular array of elements arranged in mm rows and nn columns, written as:

A=[aij]m×n,1≤i≤m,  1≤j≤n,  i,j∈NA = [a_{ij}]_{m \times n}, \quad 1 \leq i \leq m, \; 1 \leq j \leq n, \; i, j \in \mathbb{N}

Here:

  • ii is the row index and jj is the column index.
  • aija_{ij} is the element in the ii-th row and jj-th column, also called the (i,j)(i, j)-th element of AA.

The ii-th row consists of ai1,ai2,ai3,…,aina_{i1}, a_{i2}, a_{i3}, \dots, a_{in}, and the jj-th column consists of a1j,a2j,a3j,…,amja_{1j}, a_{2j}, a_{3j}, \dots, a_{mj}.

Note

In this chapter we consider only matrices whose elements are real numbers or real-valued functions. The notation A=[aij]m×nA = [a_{ij}]_{m \times n} always means that AA is of order m×nm \times n.

Representing Points and Figures Using Matrices

A point (x,y)(x, y) in a plane can be represented as a column or row matrix:

[xy]or[x  y]\begin{bmatrix} x \\ y \end{bmatrix} \quad \text{or} \quad [x \; y]

For example, the point P(0,1)P(0, 1) can be written as [01]\begin{bmatrix} 0 \\ 1 \end{bmatrix} or [0  1][0 \; 1].

This extends to the vertices of a closed rectilinear figure. For a quadrilateral ABCDABCD with vertices A(1,0)A(1, 0), B(3,2)B(3, 2), C(1,3)C(1, 3), D(−1,2)D(-1, 2), the vertices can be stored either as a 2×42 \times 4 matrix (each column a vertex) or a 4×24 \times 2 matrix (each row a vertex): …