Class 12 Maths, Worked in Full Past papersGet updates
Chapter 3 · Matrices

Exercise 3.1 · Q3: Possible orders of a matrix with 18 or 5 elements

Exercise 3.1Order of a matrix · Section 3.2
The question

If a matrix has 18 elements, what are the possible orders it can have? What, if it has 5 elements?

Exam answer

A matrix of order m×nm\times n has mnmn elements.

18 elements: mn=18mn = 18⁠, and

18=1×18=2×9=3×618 = 1\times18 = 2\times9 = 3\times6

∴\therefore Possible orders: 1×181\times18⁠, 18×118\times1⁠, 2×92\times9⁠, 9×29\times2⁠, 3×63\times6⁠, 6×36\times3⁠.

5 elements: mn=5mn = 5⁠, and 5=1×55 = 1\times5 (5 is prime).

∴\therefore Possible orders: 1×51\times5⁠, 5×15\times1⁠.

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

An m×nm\times n matrix has mnmn elements. So the possible orders of a matrix with 18 elements are exactly the ordered pairs (m,n)(m, n) of natural numbers with mn=18mn = 18⁠. The order of the pair matters: 2×92\times9 has 2 rows, 9×29\times2 has 9 rows, and they are different shapes.

Given, to find, and the plan
Given
A matrix with 18 elements; separately, a matrix with 5 elements.
To find
All possible orders m×nm\times n in each case.
Plan
(1) Write mn=18mn = 18 with m,n∈Nm, n \in \N⁠. (2) Test every possible number of rows mm from 1 to 18 and keep those that divide 18. (3) Repeat for 5.

Basics you need

1Order and number of elements

An m×nm\times n matrix has mm rows, nn columns and mnmn elements, with mm and nn natural numbers. Basics: rows, columns and the address

2Divisors

dd divides NN when N÷dN \div d is a whole number. For example 3 divides 18 (18=3⋅618 = 3\cdot 6⁠) but 4 does not (18÷4=4.518\div4 = 4.5⁠).

3Prime numbers

5 is prime: its only divisors are 1 and 5.

4Order is an ordered pair

m×nm\times n and n×mn\times m are different orders when m≠nm\ne n⁠. Lesson: what a matrix is

Part 1: 18 elements

  1. Turn the question into an equation

    If the matrix is m×nm\times n⁠, it has mnmn elements, so

    mn=18,m,n∈N.mn = 18, \qquad m, n \in \N.

    Each solution (m,n)(m, n) is one possible order.

    This is the method of Example 2. Rows and columns are counts, so mm and nn must be natural numbers, and n=18/mn = 18/m must come out whole.
    An m×nm\times n matrix has mnmn elements (Section 3.2.1). Basics: rows and columns
  2. Try every number of rows

    Rows mm18÷m18 \div mWhole number?Order
    118yes1×181\times18
    29yes2×92\times9
    36yes3×63\times6
    44.5nonone
    53.6nonone
    63yes6×36\times3
    7, 8between 2 and 3nonone
    92yes9×29\times2
    10 to 17between 1 and 2nonone
    181yes18×118\times1

    No mm larger than 18 can work, since n=18/mn = 18/m would be less than 1.

    Checking every candidate makes the list complete. For m=7,8m = 7, 8 we have 18/9=2<18/m<18/6=318/9 = 2 < 18/m < 18/6 = 3⁠; for 10≤m≤1710\le m\le17 we have 1<18/m<21 < 18/m < 2⁠. A number strictly between two consecutive whole numbers is not whole.
    mm divides 18 exactly when 18÷m18\div m is a whole number.
  3. List the orders

    The divisors of 18 are 1,2,3,6,9,181, 2, 3, 6, 9, 18⁠, so the possible orders are

    1×18, 2×9, 3×6,6×3, 9×2, 18×1.\begin{gathered} 1\times18,\ 2\times9,\ 3\times6, \\ 6\times3,\ 9\times2,\ 18\times1. \end{gathered}

    That is 6 possible orders.

    They come in mirror pairs (1×181\times18 and 18×118\times1⁠, and so on), and both members of each pair are needed because they have different numbers of rows. 18 is not a perfect square, so no square order k×kk\times k appears.
    An order is an ordered pair (rows, columns). Lesson: order of a matrix

Part 2: 5 elements

  1. Same equation, now with 5

    We need mn=5mn = 5 with m,n∈Nm, n\in\N⁠. Testing m=2,3,4m = 2, 3, 4 gives 2.52.5⁠, 1.66…1.66\ldots⁠, 1.251.25⁠: none is whole. Only m=1m = 1 and m=5m = 5 work:

    m=1  ⇒  n=5,m=5  ⇒  n=1.\begin{aligned} m = 1 &\;\Rightarrow\; n = 5, \\ m = 5 &\;\Rightarrow\; n = 1. \end{aligned}

    So a matrix with 5 elements has order 1×51\times5 or 5×15\times1.

    5 is prime, so its only factor pairs are 1×51\times5 and 5×15\times1⁠. Such a matrix must be a single row (a row matrix) or a single column (a column matrix).
    Row matrices 1×n1\times n and column matrices m×1m\times1⁠: Section 3.3, types (i) and (ii). Lesson: types of matrices
Result

With 18 elements: 1×181\times18⁠, 2×92\times9⁠, 3×63\times6⁠, 6×36\times3⁠, 9×29\times2⁠, 18×118\times1 (6 orders). With 5 elements: 1×51\times5⁠, 5×15\times1 (2 orders). (Textbook answer: the same.)

Check it with numbers

Multiply back: 1⋅18=2⋅9=3⋅6=181\cdot18 = 2\cdot9 = 3\cdot6 = 18 ✓ (and the reversed pairs). Counting divisors from 18=2⋅3218 = 2\cdot3^2⁠: (1+1)(2+1)=6(1+1)(2+1) = 6 divisors, matching the 6 orders ✓. For the prime 5: 2 divisors, 2 orders ✓.

Common mistakes
  1. Leaving out the reversed orders 6×36\times3⁠, 9×29\times2⁠, 18×118\times1⁠. They are different matrices.
  2. Including 4×4.54\times4.5⁠. Both numbers in an order must be natural numbers.
  3. Saying no matrix has 5 elements. 1×51\times5 and 5×15\times1 both work.
What to take away
  1. Possible orders with NN elements = ordered pairs (m,n)(m, n) of natural numbers with mn=Nmn = N⁠.
  2. Their number is the number of divisors of NN⁠.
  3. A prime NN allows only 1×N1\times N and N×1N\times1⁠.

Every fact used, and where it comes from

FactUsed inSource
An m×nm\times n matrix has mnmn elementsPart 1, Step 1; Part 2, Step 1Section 3.2.1 (Lesson: what a matrix is)
Possible orders are ordered pairs with the right productPart 1, Steps 1–3Example 2; same method as Exercise 3.1 Q2
Row and column matricesPart 2, Step 1Section 3.3, types (i) and (ii)
5 is prime; 18=2⋅3218 = 2\cdot3^2 has 6 divisorsPart 2, Step 1; CheckArithmetic, recomputed in the site's verification script
Found an error, or want more?

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 →