No history yet

Matrix Basics

What is a Matrix?

A matrix is simply a grid of numbers, arranged in rows and columns. Think of it like a spreadsheet, a calendar, or even a bingo card. It's a way to organize information neatly in a rectangular block.

In mathematics, we use matrices to work with collections of data. We usually name a matrix with a capital letter, like AA or BB, and enclose its numbers in square brackets.

A=[582 104]A = \begin{bmatrix} 5 & 8 & 2 \ 1 & 0 & -4 \end{bmatrix}

This is a matrix named AA. It holds six numbers organized into a grid. This structure is the foundation for all the powerful things matrices can do.

Rows, Columns, and Dimensions

Every matrix has two key features: rows, which run horizontally, and columns, which run vertically. The size, or dimensions, of a matrix is described by its number of rows and columns.

We always state the dimensions in the same order: rows first, then columns. We write it as m×nm \times n, where mm is the number of rows and nn is the number of columns. You can remember this with the acronym RC, like the soda.

For example, our matrix AA from before has 2 rows and 3 columns.

A=[582 104]A = \begin{bmatrix} 5 & 8 & 2 \ 1 & 0 & -4 \end{bmatrix}

So, we say that AA is a 2×32 \times 3 matrix. A matrix with 5 rows and 2 columns would be a 5×25 \times 2 matrix. The order matters.

Pinpointing Elements

The individual numbers inside a matrix are called its elements. To talk about a specific element, we need a way to point to its exact location. We do this using its row and column number as coordinates.

The notation for an element is a lowercase letter with two subscripts: aija_{ij}. The first subscript, ii, tells you the row number. The second subscript, jj, tells you the column number.

So, aija_{ij} is the element in the ii-th row and the jj-th column.

Let's use our 2×32 \times 3 matrix AA again to see this in action.

A=[582 104]=[a11a12a13 a21a22a23]A = \begin{bmatrix} 5 & 8 & 2 \ 1 & 0 & -4 \end{bmatrix} = \begin{bmatrix} a_{11} & a_{12} & a_{13} \ a_{21} & a_{22} & a_{23} \end{bmatrix}

If we want to find the element a12a_{12}, we look at the 1st row and the 2nd column. The element there is 8. So, a12=8a_{12} = 8. What about the element a23a_{23}? That's in the 2nd row, 3rd column, which is -4.

ElementLocationValue
a11a_{11}Row 1, Column 15
a13a_{13}Row 1, Column 32
a21a_{21}Row 2, Column 11
a22a_{22}Row 2, Column 20

Understanding this coordinate system is crucial. It allows us to give instructions and perform calculations with matrices, no matter how large they get.

Quiz Questions 1/5

The dimensions of a matrix are described by its...

Quiz Questions 2/5

What are the dimensions of the matrix A=[401735296180]A = \begin{bmatrix} 4 & 0 & -1 & 7 \\ 3 & 5 & 2 & 9 \\ 6 & 1 & 8 & 0 \end{bmatrix}?