How To Find Order Of A Matrix

7 min read

How to Find the Order of a Matrix

Finding the order of a matrix is one of the first skills you build in linear algebra, and it takes less than a minute once you know what to look for. In simple terms, the order of a matrix is a description of its size, written as m × n, where m is the number of rows and n is the number of columns. This guide walks through the definition, a reliable step-by-step method, worked examples, the rules that depend on order, and the mistakes students most often make.

What "Order" Actually Means

A matrix is a rectangular arrangement of numbers (or symbols) inside brackets. Each number is called an entry or element, and each entry has a fixed address written as a_ij, where i is the row number and j is the column number.

The order (also called the dimension or size) simply counts how many rows and columns that arrangement has. It is always stated as:

Order = (number of rows) × (number of columns)

Two conventions matter here:

  • Rows always come first. Writing 3 × 2 means 3 rows and 2 columns, which is not the same as 2 rows and 3 columns.
  • The symbol "×" is read as "by", not as multiplication. A matrix of order 2 × 3 is read "two by three".

If a matrix A has order m × n, we often write it compactly as A = [a_ij]_{m×n}. This notation tells you both the size and the indexing rule in one line It's one of those things that adds up..

A Small but Important Detail About Square Matrices

When the number of rows equals the number of columns, the matrix is called a square matrix. For square matrices, many textbooks say "the order of the matrix is n" instead of "n × n", because the two numbers are identical. So for

Worth pausing on this one.

  • a matrix with 3 rows and 3 columns, the order is 3 × 3, or simply order 3.

Both statements are correct; just be clear about which convention your course uses.

Step-by-Step: How to Find the Order of a Matrix

  1. Identify the horizontal groups. Scan the matrix and count the distinct horizontal lines of entries. Each horizontal line is one row. Count the rows from top to bottom.
  2. Identify the vertical groups. Count the distinct vertical lines of entries. Each vertical line is one column. Count the columns from left to right.
  3. Write the pair in the correct sequence. Place the row count first and the column count second, separated by the multiplication sign: m × n.
  4. Check alignment. Every row must contain the same number of entries. If one row has 3 entries and another has 4, the object is not a matrix, and it has no order.
  5. Verify with an entry count. Multiply m by n. The product should equal the total number of entries you can count in the array. This is a fast way to catch a miscount.

That fifth step is the one students skip and the one that saves the most marks. Now, if a matrix has order 4 × 3, it must contain exactly 12 entries. If you count 13, you have made an error somewhere.

Worked Examples

Example 1 — A rectangular matrix

A = [ 2  5  1 ]
    [ 7  0  4 ]

There are 2 horizontal lines and 3 vertical lines. Think about it: the order is 2 × 3, and the matrix contains 2 × 3 = 6 entries. Check: 2, 5, 1, 7, 0, 4 — six numbers. Correct And that's really what it comes down to..

Example 2 — A column matrix

B = [ 4 ]
    [ 9 ]
    [ 1 ]

Three rows, one column, so the order is 3 × 1. A matrix of order m × 1 is called a column matrix or column vector.

Example 3 — A row matrix

C = [ 6  -2  8  3 ]

One row, four columns, so the order is 1 × 4. This is a row matrix or row vector That's the part that actually makes a difference..

Example 4 — A square matrix

D = [ 1  0  0 ]
    [ 0  1  0 ]
    [ 0  0  1 ]

Three rows and three columns: order 3 × 3, or order 3. This particular matrix is the identity matrix, which only exists in square form Most people skip this — try not to..

Example 5 — A single entry

E = [ 11 ]

Order 1 × 1. It looks trivial, but a 1 × 1 matrix behaves like an ordinary number in most operations, and it is the only case where a matrix has exactly one entry.

Types of Matrices Classified by Order

Type Order Description
Row matrix 1 × n A single row
Column matrix m × 1 A single column
Square matrix n × n Equal rows and columns
Rectangular matrix m × n, m ≠ n Unequal rows and columns
Scalar-like (1 × 1) 1 × 1 One entry only

Why the Order Matters So Much

The order is not just a label. It decides which operations are even allowed.

  • Addition and subtraction require both matrices to have exactly the same order. A 2 × 3 matrix cannot be added to a 3 × 2 matrix.
  • Multiplication requires the number of columns in the first matrix to equal the number of rows in the second. If A is m × n and B is n × p, the product AB exists and has order m × p. Notice that the inner dimensions must match and the outer dimensions survive.
  • Transpose flips the order. If A is m × n, then Aᵀ is n × m.
  • Determinants are defined only for square matrices. Asking for the determinant of a 2 × 3 matrix is meaningless.
  • Inverses exist only for square matrices, and even then only when the determinant is non-zero.
  • Scalar multiplication leaves the order unchanged. Multiplying by 3 does not change a 4 × 2 matrix into anything other than a 4 × 2 matrix.

A quick multiplication example: if A has order 3 × 4 and B has order 4 × 2, then AB has order 3 × 2, while BA does not exist because 2 ≠ 3. Order is the reason matrix multiplication is not commutative in general.

Common Mistakes to Avoid

  • Reversing the numbers. Writing 3 × 2 for a matrix with 2 rows and 3 columns is the single most frequent error.
  • Counting entries instead of rows. The total number of elements is not the order.
  • Counting brackets or blank lines as rows. Only lines containing entries count.
  • Assuming every arrangement is a matrix. Ragged arrays with unequal row lengths have no order at all.
  • Confusing order with rank. *Order

is the size of the matrix (rows × columns), while rank is the maximum number of linearly independent rows or columns. A 3 × 3 matrix can have rank 1, 2, or 3; its order never changes Turns out it matters..

  • Ignoring the order when reading a problem. Many questions ask for “the matrix” without restating its dimensions. Always write the order first, because every later step — addition, multiplication, inversion — depends on it.

A Final Check Before You Move On

When you encounter any matrix, ask three quick questions:

  1. How many rows? Count horizontally.
  2. How many columns? Count vertically.
  3. Does the operation I want to perform accept this order? If not, stop — the problem is either impossible as stated or you have misread the dimensions.

These three questions catch most errors before any arithmetic begins The details matter here..

Conclusion

The order of a matrix — written as rows × columns — is the first and most fundamental fact about it. Even so, it tells you whether the matrix is a row, column, square, or rectangular matrix; it determines which additions, multiplications, transposes, determinants, and inverses are valid; and it prevents the most common mistakes in matrix algebra. A matrix without a clear order is not a well-defined object, and a calculation that ignores order is likely to fail. Master the order first, and every later operation becomes a matter of checking dimensions rather than guessing.

More to Read

Coming in Hot

Curated Picks

Covering Similar Ground

Thank you for reading about How To Find Order Of A Matrix. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home