Example 2: Possible orders of a matrix with 8 elements
If a matrix has 8 elements, what are the possible orders it can have?
Let the order be . Then , where .
the possible orders are , , , .
Want the reason behind every step, the basics and the checks?
A matrix of order has rows of entries each, so it has exactly elements. "8 elements" therefore means , where and are natural numbers (you cannot have 2.5 rows). Finding the orders is the same as finding every way to write 8 as a product of two natural numbers, in order.
- Given
- A matrix with 8 elements.
- To find
- Every order it could have.
- Plan
- Turn "8 elements" into the equation . Try every possible number of rows ; for each, see whether is a natural number. Collect the ordered pairs .
Basics you need
An matrix has rows and columns. Each row has entries, and there are rows, so there are entries in total. For example a matrix has 6 entries. Basics: rows, columns and the address a_ij
and are each at least 1 and are whole numbers: a matrix cannot have 0 rows or half a column.
(2 rows, 4 columns) and (4 rows, 2 columns) are different shapes, so they count as different orders, even though both have 8 entries.
Solution
Turn "8 elements" into an equation
Suppose the matrix has order . It then has elements, so
The question gives a count of entries and asks for a shape. The link between the two is the fact that an matrix has entries ( rows of each), so we write that link as an equation.Try every possible number of rows
Since , we have , so can only be one of . For each, must be a natural number:
Rows Natural number? Order 1 8 yes 2 4 yes 3 no none 4 2 yes 5 no none 6 no none 7 no none 8 1 yes Checking all 8 values of guarantees we miss nothing, and the bound guarantees there is nothing beyond the table. The values that work are exactly the divisors of 8, namely 1, 2, 4, 8, and each one gives the partner .is a natural number exactly when divides 8. The divisors of 8 are 1, 2, 4, 8. Basics: solving equationsList the orders as ordered pairs
The ordered pairs with are
So the possible orders are .
The same 8 entries can be laid out in exactly four rectangles. The one is a row matrix, the one is a column matrix. The pairs are ordered because the first number counts rows and the second counts columns. and are different matrices in shape, so both must be listed. There is no square order , because that would need , and 8 is not a perfect square.
A matrix with 8 elements can have order , , or , and no other. This agrees with the textbook's solution.
, , , : each order really has 8 entries. A near miss such as has 9 entries and has 6, so neither is possible.
- Listing only and . The reversed orders and are different shapes and must be included.
- Forgetting the trivial factor 1. and (a single row, a single column) are perfectly good matrices.
- Adding instead of multiplying. The number of elements is , not .
- An matrix has elements; to find the orders for a given count, list every ordered factor pair of that count.
- The number of possible orders equals the number of divisors of the count. For 8 that is 4; for a prime such as 13 it is only 2 ( and ).
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| An matrix has elements | Step 1 | Section 3.2.1 (Lesson: what a matrix is) |
| are natural numbers | Steps 1, 2 | Section 3.2.1, , , |
| Divisors of 8 are 1, 2, 4, 8 | Step 2 | Arithmetic |
| Row matrix , column matrix | Step 3 | Section 3.3 (i), (ii) (Lesson: types of matrices) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →