Q.If a matrix has 18 elements, what are the possible orders it can have? What, if it has 5 elements?
A matrix’s order is defined by its number of rows and columns. For 18 elements, the possible orders are all factor pairs of 18: , , , , , . For 5 elements, since 5 is prime, the only orders are and .
The key idea is simple: a matrix with rows and columns has exactly elements. So if you know the total number of elements, you’re looking for all pairs of positive integers whose product equals that number. Each such pair gives a possible order.
Why does this matter? Because the order tells you the shape of the matrix — how many rows and columns it has. Two matrices with the same number of elements can look completely different: a matrix is wide and short, while a matrix is tall and narrow. Both have 18 elements, but they are not the same order.
Let’s work through both parts.
-
For 18 elements:
We need all positive integer pairs such that .
Start by listing the factor pairs of 18:
Each of these is a valid order. Notice that the order is different from — a matrix is not the same as a matrix. So we count both.
TipA quick way to generate all orders: find all divisors of 18. For each divisor , the pair is . Since 18 has 6 divisors (1, 2, 3, 6, 9, 18), you get 6 orders.
-
For 5 elements:
Now . The number 5 is prime — its only positive divisors are 1 and 5. So the only factor pairs are:
That’s it. There is no or anything like that — rows and columns must be whole numbers.
Watch outA common mistake is to think that a matrix and a matrix are the same. They are not: one is a row vector (1 row, 5 columns), the other is a column vector (5 rows, 1 column). Both have 5 elements, but their orders are different.
So the possible orders are simply all the ways to write the total number of elements as a product of two positive integers, where the first integer is the number of rows and the second is the number of columns.
For 18 elements, the possible orders are , , , , , and . For 5 elements, the possible orders are and .
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.