Exercise 3.1 · Q1: Order, number of elements and entries of a matrix
In the matrix
write:
(i) The order of the matrix,
(ii) The number of elements,
(iii) Write the elements , , , , .
(i) has 3 rows and 4 columns, so its order is .
(ii) Number of elements .
(iii) , , , , .
Want the reason behind every step, the basics and the checks?
Every entry of a matrix has an address: the row it sits in and the column it sits in. The symbol always means row first, then column . 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
- The matrix above, with three horizontal lines of numbers and four vertical lines of numbers.
- To find
- (i) the order of ; (ii) how many elements it has; (iii) the five entries , , , , .
- Plan
- (1) Count the rows and the columns. (2) Multiply them to get the number of elements, and confirm by counting. (3) For each , go to row , then move along it to column .
Basics you need
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
A matrix with rows and columns has order (read " by "). Rows are always named first. Lesson: what a matrix is
An matrix is a full rectangle: rows with entries in each, so it has elements.
is the entry in row and column , also called the th element. The first subscript is the row, the second is the column. So and are different places. Basics: the address
Part (i): the order
Count the rows
Reading from top to bottom, has these horizontal lines:
So 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 columnsCount the columns
Each row contains 4 entries, so there are 4 vertical lines of entries:
So 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 is one entry, not two: it sits in a single place.Columns are vertical and are numbered from the left.Write the order
Rows first, then columns: is of order .
The order is not the same as . A matrix would have 4 rows and 3 columns, a different shape. The convention "rows first" is fixed by Section 3.2.1.
Part (ii): the number of elements
Multiply rows by columns
There are 3 rows and each row has 4 entries, so the number of elements is
Counting directly confirms it: rows 1, 2 and 3 each list 4 entries in Part (i), Step 1, and . So has 12 elements.
The rows are equal in length, so adding the row lengths is the same as multiplying: 3 rows of 4 is . This is the general rule that an matrix has elements.Repeated addition of equal amounts is multiplication: .
Part (iii): the five entries
Read each address: row first, then column
For each , go down to row , then along that row to its th entry. Use the rows listed in Part (i), Step 1.
Entry Row Column Row is Value 1 3 2 1 3 3 2 4 2 3 So , , , , .
as a grid of addresses. The shaded cells are the five entries asked for. Notice that and are neighbours in row 2, while , , run down column 3. The subscripts are an address, and the order of the two numbers matters. Reading as "column 2, row 1" would give instead of . Swapping the subscripts changes four of these five answers: (not 19), (not 35), (not ), and does not even exist, because has no row 4. Only survives the swap, because its two subscripts are the same.: first subscript = row, second subscript = column. Basics: the address
(i) The order of is . (ii) has elements. (iii) , , , , . (Textbook answer: (i) , (ii) 12, (iii) .)
Every entry of has exactly one address with in and in . There are 3 choices for and 4 for , so addresses, matching Part (ii) ✓. Column 3 read downwards is , which is : the same three numbers found in the table ✓.
- Writing the order as . The order is rows × columns; has 3 rows.
- Swapping the subscripts. is row 2, column 1, which is , not .
- Counting or as more than one element. Each is a single number in a single place.
- Writing . is in column 4 of row 1, so it is .
- Order = (number of rows) × (number of columns), rows first.
- An matrix has elements.
- is found by going to row , then along to column .
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| A matrix is an ordered rectangular array; rows are horizontal, columns vertical | Part (i), Steps 1, 2 | Definition 1, Section 3.2 (Lesson: what a matrix is) |
| An matrix has rows and columns | Part (i), Step 3 | Section 3.2.1, Order of a matrix |
| An matrix has elements | Part (ii), Step 1 | Section 3.2.1 |
| is the element in the th row and th column | Part (iii), Step 1 | Section 3.2.1 |
| All entries and counts | Throughout | Recomputed in the site's verification script |
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 →