Introduction to Matrices
Matrix Basics
Organizing Numbers in Grids
In mathematics, we often need a way to organize information neatly. A matrix is simply a tool for doing that. It's a rectangular grid of numbers, arranged in rows that go across and columns that go down.
A matrix is a rectangular array of scalars arranged in rows and columns.
Think of it like a simple spreadsheet, a calendar, or even a muffin tin. Each compartment holds a specific number, and its position in the grid is important.
Matrix Notation
We typically name matrices with a capital letter, like or . The numbers inside the grid are enclosed in square brackets or large parentheses. Each number in the matrix is called an element.
In this example, the matrix is named . Its elements are 6, 4, 24, 1, -9, and 8. The horizontal lines of numbers are the rows, and the vertical lines are the columns.
Matrix has 2 rows and 3 columns. The first row contains the elements 6, 4, and 24. The second column contains the elements 4 and -9.
Order and Dimensions
The size of a matrix is described by its order or dimensions. This is written as "rows columns," where is read as "by."
So, for our matrix above, it has 2 rows and 3 columns. We would say that is a matrix.
Always list the number of rows first, then the number of columns.
Let's look at another example. This is matrix :
Matrix has 3 rows and 2 columns, so its dimensions are . Knowing a matrix's dimensions is the first step before doing any calculations with it.
To specify a particular element, we use the matrix's name with subscripts, like , where is the row number and is the column number. For matrix above, the element is in the first row and third column, so . The element is in the second row, first column, which is 1.
Time to check your understanding.
Consider the matrix . What are the dimensions (order) of matrix C?
Given the matrix , what is the value of the element ?
And that's the basic anatomy of a matrix. It's a simple but powerful way to keep data organized.