No history yet

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 AA or BB. The numbers inside the grid are enclosed in square brackets or large parentheses. Each number in the matrix is called an element.

A=[6424198]A = \begin{bmatrix} 6 & 4 & 24 \\ 1 & -9 & 8 \end{bmatrix}

In this example, the matrix is named AA. 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 AA 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 ×\times columns," where ×\times is read as "by."

So, for our matrix AA above, it has 2 rows and 3 columns. We would say that AA is a 2×32 \times 3 matrix.

Always list the number of rows first, then the number of columns.

Let's look at another example. This is matrix BB:

B=[702531]B = \begin{bmatrix} 7 & 0 \\ -2 & 5 \\ 3 & 1 \end{bmatrix}

Matrix BB has 3 rows and 2 columns, so its dimensions are 3×23 \times 2. 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 aija_{ij}, where ii is the row number and jj is the column number. For matrix AA above, the element a13a_{13} is in the first row and third column, so a13=24a_{13} = 24. The element a21a_{21} is in the second row, first column, which is 1.

Time to check your understanding.

Quiz Questions 1/5

Consider the matrix C=[502173]C = \begin{bmatrix} 5 & 0 & -2 \\ 1 & 7 & 3 \end{bmatrix}. What are the dimensions (order) of matrix C?

Quiz Questions 2/5

Given the matrix D=[1028146]D = \begin{bmatrix} 10 & 2 \\ 8 & -1 \\ 4 & 6 \end{bmatrix}, what is the value of the element d21d_{21}?

And that's the basic anatomy of a matrix. It's a simple but powerful way to keep data organized.