What is a Matrix?
Have you ever seen a list of test scores arranged in a table? Or perhaps a team duty roster? Unconsciously, we often encounter data presented in rows and columns. Well, this arrangement of numbers or information in rows and columns is the basis of the matrix concept.
A matrix is a collection of numbers specially arranged in rows and columns to form a rectangular array. The numbers that make up this matrix are called matrix elements. Matrices are usually written within parentheses or square brackets .
For example, consider the Math and English test score data for the following three students:
| Student Name | Math Score | English Score |
|---|---|---|
| Aisyah | ||
| Alex | ||
| Wayan |
The data above can be presented in matrix form. If we only take the numbers, the matrix will look like this:
Or it can also be written with parentheses:
In this example, the numbers are the elements of matrix .
Rows, Columns, and Matrix Elements
In a matrix, there are several important terms you need to know:
- Row: An arrangement of elements horizontally.
- Column: An arrangement of elements vertically.
- Matrix Element: Each number or entry within the matrix.
Let's look back at matrix from the previous example:
-
Row is
-
Row is
-
Row is
-
Column is
-
Column is
Matrix elements are usually denoted by a lowercase letter corresponding to the matrix name, with two indices, for example . The first index () indicates the row position, and the second index () indicates the column position.
So, for matrix above:
- is the element in the st row, st column, which is .
- is the element in the st row, nd column, which is .
- is the element in the nd row, st column, which is .
- is the element in the nd row, nd column, which is .
- is the element in the rd row, st column, which is .
- is the element in the rd row, nd column, which is .
Order of a Matrix
Every matrix has a size called its order. The order of a matrix is determined by the number of rows and columns it has. If a matrix has rows and columns, then the matrix is said to be of order (read as "m by n").
Consider our matrix again:
Matrix has rows (indicated by the curly brace on the right) and columns (indicated by the curly brace below). So, the order of matrix is . We can write it as .
Another Example:
Suppose we have student attendance data for one semester:
| Student Name | Permitted | Sick | Unexcused |
|---|---|---|---|
| Aisyah | |||
| Alex | |||
| Wayan |
If we convert this into matrix :
Matrix has rows (indicated by the curly brace on the right) and columns (indicated by the curly brace below). Thus, the order of matrix is . We can write it as .
Elements of matrix , for example:
- (element row , column )
- (element row , column )
- (element row , column )
General Notation of a Matrix
In general, a matrix with m rows and n columns can be written as follows:
Key:
- : Matrix of order .
- : Number of rows.
- : Number of columns.
- : Element of matrix in the -th row and -th column.
By understanding this basic concept, you are ready to learn more about the types of matrices and the operations that can be performed on them. Matrices are very useful tools in various fields, you know, from mathematics, physics, computer science, to economics!