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

Exercise 3.1 · Q1: Order, number of elements and entries of a 3×43\times4 matrix

Exercise 3.1Order of a matrix · Section 3.2
The question

In the matrix

A=[2519−735−2521231−517],A = \begin{bmatrix} 2 & 5 & 19 & -7 \\ 35 & -2 & \dfrac{5}{2} & 12 \\ \sqrt{3} & 1 & -5 & 17 \end{bmatrix},

write:

(i) The order of the matrix,
(ii) The number of elements,
(iii) Write the elements a13a_{13}⁠, a21a_{21}⁠, a33a_{33}⁠, a24a_{24}⁠, a23a_{23}⁠.

Exam answer

(i) AA has 3 rows and 4 columns, so its order is 3×43\times4.

(ii) Number of elements =3×4= 3\times4 =12= 12.

(iii) a13=19a_{13} = 19⁠, a21=35a_{21} = 35⁠, a33=−5a_{33} = -5⁠, a24=12a_{24} = 12⁠, a23=52a_{23} = \dfrac52⁠.

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

The one idea this problem is built on

Every entry of a matrix has an address: the row it sits in and the column it sits in. The symbol aija_{ij} always means row ii first, then column jj. Counting rows and columns gives the order (rows × columns), and the number of elements is rows times columns. Everything in this question is reading that address system correctly.

Given, to find, and the plan
Given
The matrix AA above, with three horizontal lines of numbers and four vertical lines of numbers.
To find
(i) the order of AA⁠; (ii) how many elements it has; (iii) the five entries a13a_{13}⁠, a21a_{21}⁠, a33a_{33}⁠, a24a_{24}⁠, a23a_{23}⁠.
Plan
(1) Count the rows and the columns. (2) Multiply them to get the number of elements, and confirm by counting. (3) For each aija_{ij}⁠, go to row ii⁠, then move along it to column jj⁠.

Basics you need

1Rows and columns

The horizontal lines of entries are the rows (numbered 1, 2, 3, … from the top). The vertical lines are the columns (numbered 1, 2, 3, … from the left). Basics: rows, columns and the address

2Order of a matrix

A matrix with mm rows and nn columns has order m×nm\times n (read "mm by nn"). Rows are always named first. Lesson: what a matrix is

3Number of elements

An m×nm\times n matrix is a full rectangle: mm rows with nn entries in each, so it has mnmn elements.

4The entry aija_{ij}

aija_{ij} is the entry in row ii and column jj⁠, also called the (i,j)(i, j)th element. The first subscript is the row, the second is the column. So a24a_{24} and a42a_{42} are different places. Basics: the address aija_{ij}

Part (i): the order

  1. Count the rows

    Reading from top to bottom, AA has these horizontal lines:

    row 1:2, 5, 19, −7row 2:35, −2, 52, 12row 3:3, 1, −5, 17\begin{aligned} \text{row 1:}&\quad 2,\ 5,\ 19,\ -7 \\ \text{row 2:}&\quad 35,\ -2,\ \tfrac{5}{2},\ 12 \\ \text{row 3:}&\quad \sqrt{3},\ 1,\ -5,\ 17 \end{aligned}

    So AA has 3 rows.

    The order is defined by the number of rows and the number of columns, so we must count both. Writing each row out separately makes it impossible to miscount.
    Rows are horizontal and are numbered from the top. Basics: rows and columns
  2. Count the columns

    Each row contains 4 entries, so there are 4 vertical lines of entries:

    column 1:2, 35, 3column 2:5, −2, 1column 3:19, 52, −5column 4:−7, 12, 17\begin{aligned} \text{column 1:}&\quad 2,\ 35,\ \sqrt{3} \\ \text{column 2:}&\quad 5,\ -2,\ 1 \\ \text{column 3:}&\quad 19,\ \tfrac{5}{2},\ -5 \\ \text{column 4:}&\quad -7,\ 12,\ 17 \end{aligned}

    So AA has 4 columns.

    A matrix is a rectangular array (Definition 1), so every row has the same number of entries, and that common number is the number of columns. The fraction 52\frac{5}{2} is one entry, not two: it sits in a single place.
    Columns are vertical and are numbered from the left.
  3. Write the order

    Rows first, then columns: AA is of order 3×43\times 4.

    The order 3×43\times4 is not the same as 4×34\times3⁠. A 4×34\times3 matrix would have 4 rows and 3 columns, a different shape. The convention "rows first" is fixed by Section 3.2.1.
    An m×nm\times n matrix has mm rows and nn columns. Lesson: order of a matrix

Part (ii): the number of elements

  1. Multiply rows by columns

    There are 3 rows and each row has 4 entries, so the number of elements is

    3×4=12.3 \times 4 = 12.

    Counting directly confirms it: rows 1, 2 and 3 each list 4 entries in Part (i), Step 1, and 4+4+4=124 + 4 + 4 = 12⁠. So AA has 12 elements.

    The rows are equal in length, so adding the row lengths is the same as multiplying: 3 rows of 4 is 3×43\times4⁠. This is the general rule that an m×nm\times n matrix has mnmn elements.
    Repeated addition of equal amounts is multiplication: 4+4+4=3×44+4+4 = 3\times4⁠.

Part (iii): the five entries

  1. Read each address: row first, then column

    For each aija_{ij}⁠, go down to row ii⁠, then along that row to its jjth entry. Use the rows listed in Part (i), Step 1.

    EntryRow iiColumn jjRow ii isValue
    a13a_{13}132, 5, 19, −72,\ 5,\ \mathbf{19},\ -71919
    a21a_{21}2135, −2, 52, 12\mathbf{35},\ -2,\ \tfrac52,\ 123535
    a33a_{33}333, 1, −5, 17\sqrt3,\ 1,\ \mathbf{-5},\ 17−5-5
    a24a_{24}2435, −2, 52, 1235,\ -2,\ \tfrac52,\ \mathbf{12}1212
    a23a_{23}2335, −2, 52, 1235,\ -2,\ \mathbf{\tfrac52},\ 1252\tfrac{5}{2}

    So a13=19a_{13} = 19⁠, a21=35a_{21} = 35⁠, a33=−5a_{33} = -5⁠, a24=12a_{24} = 12⁠, a23=52a_{23} = \frac{5}{2}.

    column 1 column 2 column 3 column 4 row 1 row 2 row 3 2 5 19 a₁₃ −7 35 a₂₁ −2 5/2 a₂₃ 12 a₂₄ √3 1 −5 a₃₃ 17 aᵢⱼ: go to row i first, then to column j
    AA as a grid of addresses. The shaded cells are the five entries asked for. Notice that a23a_{23} and a24a_{24} are neighbours in row 2, while a13a_{13}⁠, a23a_{23}⁠, a33a_{33} run down column 3.
    The subscripts are an address, and the order of the two numbers matters. Reading a21a_{21} as "column 2, row 1" would give 55 instead of 3535⁠. Swapping the subscripts changes four of these five answers: a31=3a_{31} = \sqrt3 (not 19), a12=5a_{12} = 5 (not 35), a32=1a_{32} = 1 (not 52\frac52⁠), and a42a_{42} does not even exist, because AA has no row 4. Only a33a_{33} survives the swap, because its two subscripts are the same.
    aija_{ij}⁠: first subscript = row, second subscript = column. Basics: the address aija_{ij}
Result

(i) The order of AA is 3×43\times4⁠. (ii) AA has 1212 elements. (iii) a13=19a_{13} = 19⁠, a21=35a_{21} = 35⁠, a33=−5a_{33} = -5⁠, a24=12a_{24} = 12⁠, a23=52a_{23} = \frac{5}{2}⁠. (Textbook answer: (i) 3×43\times4⁠, (ii) 12, (iii) 19,35,−5,12,5219, 35, -5, 12, \frac52⁠.)

Check it with numbers

Every entry of AA has exactly one address (i,j)(i, j) with ii in {1,2,3}\{1,2,3\} and jj in {1,2,3,4}\{1,2,3,4\}⁠. There are 3 choices for ii and 4 for jj⁠, so 3×4=123\times 4 = 12 addresses, matching Part (ii) ✓. Column 3 read downwards is a13,a23,a33a_{13}, a_{23}, a_{33}⁠, which is 19,52,−519, \frac52, -5⁠: the same three numbers found in the table ✓.

Common mistakes
  1. Writing the order as 4×34\times3⁠. The order is rows × columns; AA has 3 rows.
  2. Swapping the subscripts. a21a_{21} is row 2, column 1, which is 3535⁠, not 55⁠.
  3. Counting 52\frac52 or 3\sqrt3 as more than one element. Each is a single number in a single place.
  4. Writing a24=−7a_{24} = -7⁠. −7-7 is in column 4 of row 1, so it is a14a_{14}⁠.
What to take away
  1. Order = (number of rows) × (number of columns), rows first.
  2. An m×nm\times n matrix has mnmn elements.
  3. aija_{ij} is found by going to row ii⁠, then along to column jj⁠.

Every fact used, and where it comes from

FactUsed inSource
A matrix is an ordered rectangular array; rows are horizontal, columns verticalPart (i), Steps 1, 2Definition 1, Section 3.2 (Lesson: what a matrix is)
An m×nm\times n matrix has mm rows and nn columnsPart (i), Step 3Section 3.2.1, Order of a matrix
An m×nm\times n matrix has mnmn elementsPart (ii), Step 1Section 3.2.1
aija_{ij} is the element in the iith row and jjth columnPart (iii), Step 1Section 3.2.1
All entries and countsThroughoutRecomputed 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 →