Introduction to Matrices
Matrix Basics
Organizing Numbers
A matrix is simply a grid of numbers, arranged in rows and columns. Think of a spreadsheet, a calendar, or even a tic-tac-toe board. These are all ways of organizing information in a rectangular layout. In mathematics, we use matrices to work with collections of data in a structured way.
We write matrices by enclosing the grid of numbers in brackets. The horizontal lines of numbers are called rows, and the vertical lines are called columns.
In this example, the first row is 1 2 3 and the second row is 4 5 6. The first column is 1 4, the second is 2 5, and the third is 3 6.
Dimensions and Notation
The size of a matrix is described by its dimensions: the number of rows and columns it has. We write this as "rows by columns." The matrix above has 2 rows and 3 columns, so its dimensions are .
To talk about a specific number within a matrix, we use subscripts. If we name our matrix , the element in the -th row and -th column is written as . The row number always comes first.
For our matrix A, the element is in the first row and third column, which is the number 3. The element is in the second row and first column, which is 4.
A general matrix with rows and columns can be written like this:
Common Matrix Types
Matrices come in a few common shapes and sizes. The names are straightforward and describe their appearance.
Row Matrix
noun
A matrix that has only one row. It's also sometimes called a row vector.
This is a row matrix.
Column Matrix
noun
A matrix that has only one column. It can also be called a column vector.
This is a column matrix.
Square Matrix
noun
A matrix that has the same number of rows and columns.
This is a square matrix. A tic-tac-toe board could be represented by a square matrix.
Let's review these new terms.
Ready to check your understanding?
What are the dimensions of the following matrix?
In the matrix , what is the value of the element ?
Understanding these basic definitions is the first step. Next, we'll see how to perform calculations with matrices.
