Construct a matrix from data or a rule
Fix the row and column order before entering values. For a rule, use one-based row and column indices at each address; for a labelled table, copy the number at each matching pair of labels
- Fix the row and column order The first subscript identifies a row and the second subscript identifies a column \(\displaystyle a_{ij}\quad\text{is in row }i\text{, column }j\)
- Use one-based indices The first row and first column use the indices 1 and 1 \(\displaystyle a_{11}:\quad i=1,\quad j=1\)
- Substitute each address For an entry rule, replace i and j with the row and column numbers at the requested address \(\displaystyle a_{23}=2(2)+3+1=8\)
- Keep labels as headings For labelled information, the row and column labels set the order and are not numerical matrix entries \(\displaystyle \text{matrix entries}=\text{values at label intersections}\)
Worked example
A 2 × 3 matrix M has entries defined by the displayed rule, where i and j are one-based row and column indices. Construct M
- \(\displaystyle i=1,2\text{ for the rows},\quad j=1,2,3\text{ for the columns}\)Use the row number for i and the column number for j, starting both indices at 1
- \(\displaystyle m_{11}=3+1+2(1)=6,\quad m_{12}=3+1+2(2)=8,\quad m_{13}=3+1+2(3)=10\)Substitute the first row index and each column index to obtain the first row
- \(\displaystyle m_{21}=3+2+2(1)=7,\quad m_{22}=3+2+2(2)=9,\quad m_{23}=3+2+2(3)=11\)Substitute the second row index and each column index to obtain the second row
- \(\displaystyle M=\begin{bmatrix}6&8&10\\7&9&11\end{bmatrix}\)Place each value at the row and column address used in its calculation
Common mistakes
Difficulty levels
Questions about this topic
Why does the first subscript identify the row?+
The two subscripts give an entry's ordered address: the first gives its row and the second gives its column
Why are the first row and column indexed by 1?+
The construction uses one-based matrix addresses, so the top-left entry is in row 1 and column 1
What happens to labels when table data is put into a matrix?+
The labels determine the row and column order but remain headings rather than becoming numerical entries
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, General Mathematics, chapter 10: Matrices