From a Score Table to a Matrix
Tables often organize information into rows and columns. A class score sheet, for example, can place one student in each row and one subject in each column. A matrix uses the same rectangular arrangement to organize numbers for mathematical work.
The numbers inside a matrix are its elements or entries. We usually enclose them in parentheses or square brackets . An entry's row and column determine which quantity it represents, so moving it changes its meaning.
Consider the Mathematics and English scores of three students:
| Student | Mathematics | English |
|---|---|---|
| Aisyah | ||
| Alex | ||
| Wayan |
Keeping only the numerical entries gives the matrix:
The same matrix can also be written with parentheses:
are the elements of matrix .
Rows Columns and Elements
Three terms describe a matrix's structure:
- A row is a horizontal sequence of elements.
- A column is a vertical sequence of elements.
- An element is one entry at a particular row and column.
For matrix :
-
Row is
-
Row is
-
Row is
-
Column :
-
Column :
An element of matrix is written . The first index gives the row, and the second index gives the column.
Here is the number of rows and is the number of columns. The row index is an integer satisfying . The column index is an integer satisfying . These bounds keep each index within the matrix.
For the matrix above:
- is in row , column , so .
- is in row , column , so .
- is in row , column , so .
- is in row , column , so .
- is in row , column , so .
- is in row , column , so .
Dimensions of a Matrix
The dimensions of a matrix state its number of rows first and columns second. A matrix with rows and columns has dimensions , read " by ."
For matrix :
Matrix has rows and columns, so its dimensions are . We may write this as .
Another example:
Suppose a semester attendance table records excused, sick, and unexcused absences:
| Student | Excused | Sick | Unexcused |
|---|---|---|---|
| Aisyah | |||
| Alex | |||
| Wayan |
Its numerical entries form matrix :
Matrix has rows and columns. Its dimensions are therefore , written .
For example:
- is the element in row , column .
- is the element in row , column .
- is the element in row , column .
General Matrix Notation
A matrix with rows and columns can be written as:
The notation tells us:
- is matrix with dimensions .
- is the number of rows.
- is the number of columns.
- is the element in row and column .
Matrix types and operations use row and column positions to identify which entries are compared, combined, or transformed.