Matrix Operations | Lesson 8 of 12: VM Cluster

Add, Subtract, and Multiply Matrices

Lesson 8 of 12: VM Cluster

In this lesson:

  • Add and subtract same-dimension matrices entry-wise
  • State and apply the dimension rule for multiplication
  • Compute matrix products using the row-column dot product
Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

What You Will Learn Today

  1. Add and subtract same-dimension matrices entry-wise
  2. State the dimension condition for multiplication
  3. Compute product entries using the row-column dot product
  4. Multiply a pair and a non-square pair
  5. Interpret a matrix product in context
Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Can You Combine Two Sales Tables?

A store tracks monthly sales for two products across two regions:

East West
Shirts 120 80
Dresses 90 110

This is January. February has a similar table. How would you build a single grid showing two-month totals?

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Add Matching Entries to Combine Grids

January and February sales: and are both .

  • :
  • :
  • :
  • :

Adding each matching position. That move has a name.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Matrix Addition: Entry-Wise and Same-Shape

  • Requires identical dimensions
  • Result has the same shape

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Worked Example: Adding Matrices Entry by Entry

Two 2x2 matrices with colored matching positions and arrows to result entries

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Subtraction: Add the Negative Matrix

The difference recovers January's figures.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Matrix Addition Fails with Different Shapes

Position (1,3) exists in but not in — no partner.

⚠️ Addition needs identical dimensions — not matching inner dimensions.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Quick Check: Which Pairs Can Be Added?

Decide: defined or undefined for each pair?

  1. and
  2. and
  3. and
  4. and

Decide for all four before advancing.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

One Revenue Calculation Previews Multiplication

3 shirts × 20 + 5 dresses × 35 = 60 + 175 = 235

That move — multiply corresponding entries, then sum — is the dot product.

Each entry of a matrix product works exactly this way.

In a moment, you'll see how this fills an entire result matrix.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

The Dimension Rule for Multiplication

  • Inner dimensions must match (both ); outer dimensions survive

Dimension rule diagram showing inner dimensions canceling and outer dimensions forming the result

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Each Entry Uses a Row and a Column

  • Take row of numbers
  • Take column of — also numbers
  • Multiply corresponding, then sum

Not entry-wise. You combine an entire row with an entire column.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Computing a Full Product

  • : · :

Row-column pairing diagram for 2x2 product with each entry annotated

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Complete the Bottom Row Yourself

Row 2 of =

  • : dot with Col 1 of =
  • : dot with Col 2 of =

Compute both before advancing.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Rectangular Matrices Multiply the Same Way

result

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Swapping Order Can Break Multiplication

, :

  • : defined →
  • : inner undefined

, :

  • : ; :

Order always matters — products can have different shapes.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Quick Check: State the Product Dimensions

For each product, state result dimensions or "undefined":

  1. = ?
  2. = ?
  3. = ?
  4. = ?

State all four before advancing.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Find the Mistake in This Product

,

Student's answer:

What went wrong? Find the correct .

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Full Product from Scratch — Unscaffolded

Compute completely with no setup:

Produce all four entries of .

Work the full product before advancing.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Matrix Powers Count Network Paths

  • : direct edge
  • = number of 2-step paths from to

Three-node directed network with edges matching incidence matrix A

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Verify Against the Diagram

:

Manual count of 2-step paths from node 2 to node 3:

  • : no self-loop ✗

Result: 1 path. matches manual count. ✓

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Matrix Products Encode Two-Step Calculations

If maps Category 1 → Category 2, and maps Category 2 → Category 3:

maps Category 1 → Category 3 directly — no intermediate step needed.

Each entry of combines one row from with one column from : a two-step link compressed into one number.

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

What Does Count? Extension Question

  • Row of : how many 2-step paths from through each intermediate
  • Col of : which nodes have a direct edge to

What does dotting these two lists give you?

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Four Mistakes That Trip Students Up

  • M1: Addition uses inner-dimension rule → needs identical dimensions
  • M2: Multiplication is entry-wise → use row-column dot product
  • M3: may not exist
  • M4: gives → result is
Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Matrix Operations: What You Now Know

Add/subtract — identical dimensions; entry by entry

Multiply — inner dimensions match; each entry = row · column

Result shape

Order matters in general

Products encode two-step calculations

Grade 9+ Pre-Calculus | HSN.VM.C.8
Matrix Operations | Lesson 8 of 12: VM Cluster

Next: Does Multiplication Order Matter?

VM.C.9 — Non-Commutativity of Matrix Multiplication

You've seen . The next lesson asks:

  • When both products are defined, are they ever equal?
  • Which algebraic properties does matrix multiplication have?
  • Which scalar-multiplication properties do matrices not share?
Grade 9+ Pre-Calculus | HSN.VM.C.8

Click to begin the narrated lesson

Add, subtract, and multiply matrices