Lesson 7: Introduction to Matrices

1. What is a Matrix?

A matrix is a rectangular array of numbers arranged in rows and columns.

Example (2×3 matrix – 2 rows, 3 columns):

\[ A = \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{pmatrix} \]

We say this is a 2×3 matrix (rows × columns).

Matrices are used to represent:

Exercise 1

What is the size of this matrix?
\[ \begin{pmatrix} 7 & -1 & 0 & 4 \\ 2 & 8 & -3 & 5 \end{pmatrix} \] Answer: ×

2. Special Matrices

Some common types:

Exercise 2

Which matrices are identity matrices? (Select all that apply)

3. Matrix Addition & Scalar Multiplication

Same rules as vectors:

Example:

\[ 2 \times \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} = \begin{pmatrix} 2 & 4 \\ 6 & 8 \end{pmatrix} \]

Exercise 3

Compute:
\[ \begin{pmatrix} 1 & 0 \\ -2 & 5 \end{pmatrix} + \begin{pmatrix} 3 & -1 \\ 4 & 2 \end{pmatrix} = \begin{pmatrix} x & y \\ z & w \end{pmatrix} \] x = , y =
z = , w =
← Previous Lesson (6) Next Lesson (8) →