VM - Define a Matrix Lesson

Define a Matrix

A matrix is a way to arrange a set of numbers in rows and columns. The entries of a matrix are the numbers that are inside:

LaTeX: \begin{bmatrix}
-2 & 7 & 3\\
5 & 6 & 1\\
-2 &-1 & 0\\
3 & 3 & 4\\
\end{bmatrix}[273561210334]

The matrix above has 4 rows and 3 columns, so we would say it is a 4x3 matrix.

Determine the Size of the Matrix Practice

At times, we want to refer to a specific entry in a matrix and we do that by referring to the location of the entry by using the row and column. For instance, here is a matrix:

LaTeX: \begin{bmatrix}
-1 & 4 & 7 \\
3 & 0 & 2 \\
\end{bmatrix}[147302]

We would call -1 entry LaTeX: a_{1\:1}a11 because it is in row 1, column 1.

We would call 4 entry LaTeX: a_{1\:2}a12 because it is in row 1, column 2.

We would call 3 entry LaTeX: a_{2\:1}a21 because it is in row 2, column 1.

We would call 2 entry LaTeX: a_{2\:3}a23 because it is in row 2, column 3.

Identify the Entry Practice

We can use matrices to organize information.

Let's try a problem:

The school store sells birthday hats, cards, and teddy bears. They buy their products at wholesale prices - the hats cost $2.50, the cards cost $0.90, and the teddy bears cost $3.10. They decorate these products and the decorations for the hats cost $1.50, the decorations for the cards cost $0.60, and the decorations for the teddy bears cost $1.70.

So, we can organize this data into a matrix:

matrix example with data organized

Create a Matrix

 

[CC BY-NC-SA 4.0] UNLESS OTHERWISE NOTED | IMAGES: LICENSED AND USED ACCORDING TO TERMS OF SUBSCRIPTION - INTENDED ONLY FOR USE WITHIN LESSON.