Matrix Operations - Complete Interactive Lesson
Part 1: Meet the Matrix
๐ข Matrix Operations
Part 1 of 5 โ Meet the Matrix
Topics in This Part
| Section |
|---|
| What Is a Matrix? |
| Dimensions and Entries |
| Equal Matrices |
๐ Key Concept: A matrix is just a rectangular grid of numbers. Before we add, subtract, or multiply them, we need a shared language for describing them โ their size and the address of every number inside.
What Is a Matrix?
A matrix (plural matrices) is a rectangular array of numbers arranged in rows and columns, written inside brackets:
- Rows run horizontally (left to right). has 2 rows.
- Columns run vertically (top to bottom). has 3 columns.
Each number inside is called an entry (or element).
๐ก Memory trick: "Rows are Right-across, Columns are Climbing-down." Always read rows first, columns second.
Dimensions and Entries
The dimensions (or order) of a matrix are written โ always rows first.
Concept Check ๐ฏ
Locate the Entries ๐งฎ
Use .
When Are Two Matrices Equal?
Two matrices are equal only if both conditions hold:
- They have the same dimensions, and
- Every matching entry is identical: for all .
Solve for the Unknowns ๐ฝ
Given , match each entry.
Part 2: Addition, Subtraction & Scalar Multiplication
๐ข Matrix Operations
Part 2 of 5 โ Addition, Subtraction & Scalar Multiplication
๐ The Idea: Addition, subtraction, and multiplying by a single number all work entry-by-entry. These are the "easy" operations โ matrix multiplication (Part 3) is the one with a twist.
Adding and Subtracting Matrices
To add or subtract two matrices, combine corresponding entries.
โ ๏ธ You can only add or subtract matrices with the same dimensions. If the shapes differ, the operation is undefined.
Worked Example: Addition
Part 3: Matrix Multiplication
๐ข Matrix Operations
Part 3 of 5 โ Matrix Multiplication
๐ Why it's different: Matrix multiplication is not entry-by-entry. Instead, each output entry is a row-times-column dot product. Get the setup right and the arithmetic is easy.
When Can You Multiply? The Inner-Match Rule
To multiply , the number of columns in must equal the number of rows in .
Part 4: Special Matrices & Determinants
๐ข Matrix Operations
Part 4 of 5 โ Special Matrices & Determinants
๐ Big Payoff: A few special matrices and the determinant unlock the most useful application of all โ solving systems of equations. This part sets that up.
Special Matrices
A square matrix has the same number of rows and columns ().
Identity matrix โ has s on the main diagonal (top-left to bottom-right) and s elsewhere. It is the multiplicative "1" of matrices: .
Part 5: Mixed Practice & Mastery Check
๐ข Matrix Operations
Part 5 of 5 โ Mixed Practice & Mastery Check
You can now (1) describe matrices by size and entry, (2) add, subtract, and scale them, (3) multiply with the rowยทcolumn rule, and (4) find determinants. Let's put it all together.
Quick Reference
| Operation | Rule | Requirement |
|---|---|---|
| Add / Subtract | entry-by-entry | same dimensions |
| Scalar matrix | multiply every entry | always allowed |
| Multiply | row ยท column dot products | cols of = rows of |