1 / 23
Matrices as Data | Lesson 6 of 12: VM Cluster

Use Matrices to Represent Data

HSN.VM.C.6 — Lesson 6 of 12

  1. Represent data as a matrix; answer questions from an entry, a row or a column
  2. State dimensions and use vocabulary: row, column, entry
  3. Locate using row-column index notation
  4. Encode tabular data as a matrix; find a row or column total
  5. Construct and read a payoff matrix
  6. Construct and interpret an adjacency matrix
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

What Does Position Tell Us?

What question could you NOT answer from this grid alone?

Hint: the numbers are there — what's missing?

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

The Grid Gets a Context

A 3×4 matrix enclosed in brackets with row arrows labeled R1 R2 R3 on the left and column arrows labeled C1 C2 C3 C4 on top, with entry a-sub-23 highlighted in a circle

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

What Is a Matrix? Definition and Notation

A matrix is a rectangular array of numbers in brackets.

  • Rows go across; columns go down
  • Dimensions: (rows × columns)
  • is : 2 rows, 3 columns
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Dimensions: Rows × Columns (RC Rule)

  • 3 horizontal strips → 3 rows
  • 4 vertical strips → 4 columns
  • Mnemonic: RC — row, then column
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Locating Any Entry Using Row and Column

= row , col — row first, always.

  • : row 1, col 2
  • : row 2, col 3
  • : row 1, col 1
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Three Special Matrix Shapes Worth Knowing

Shape Dimensions
Square
Row vector
Column vector
  • Square: equal rows and columns
  • Row and column vectors: one category's values in a single row or column
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Worked Drill: Locate Four Specific Entries

| | |

For each: state the row, then scan to the column.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Check-In: Three Skills at Once

  1. What are the dimensions of ?
  2. Find
  3. Find
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Assigning Meaning to Rows and Columns

Rows = Products; Columns = Regions

: Product B sold 8 units in Region 3.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Totals: Across a Row, Down a Column

  • Product B, all regions: row 2:
  • Region 3, all products: column 3:
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Encoding Data as a Matrix

Side-by-side: a 3×4 labeled data table with rows Products A B C and columns Regions 1 2 3 4 on the left, and the same numbers arranged as a matrix in bracket notation on the right, with an arrow between them

The table and the matrix are the same data — different notation. Here the columns are regions.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Payoff Matrix: Two Players, Two Choices

P1 picks a row; P2 picks a column. Entry = P1's payoff.

  • : same strategy → P1 wins
  • : different strategies → P1 loses
  • : different strategies → P1 loses
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Reading Payoff Entries in Context

Rows: P1's strategies; columns: P2's.

  • P1 plays 2, P2 plays 1: , P1 loses
  • P1 plays 2, P2 plays 2: , P1 wins

Meaning comes from what rows, columns, entries stand for.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

From Quantities to Binary: 0 or 1

In a directed network, each connection is either:

  • Present → encode as 1
  • Absent → encode as 0

No quantities, just connectivity. The same matrix structure holds.

"Can you fly directly from City A to City C?" is a matrix lookup.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Adjacency Matrix: Networks in a Grid

Directed network on nodes A B C D with edges A to B, A to C, B to D, C to B, C to D, beside its 4×4 adjacency matrix; row D is all zeros

if a directed edge runs from node to node ; else . With cities as indices, is row B, column D.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Building an Adjacency Matrix: Worked

A→B, A→C, B→D, C→B, C→D

Row D: all 0s (no outgoing edges).

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Find and Fix the Dimension Error

A student wrote:

" has dimensions ."

Identify the error. State the correct dimensions and explain.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Full Practice: Matrix to Network and Back

Network: C1→C2, C1→C3, C2→C4, C3→C2, C4→C1, C4→C3

  1. Write the adjacency matrix
  2. From C3, which cities are directly reachable?
  3. Is symmetric? What would that imply about the roads?
Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Edge Case: Zero Means "No Connection"

means no edge — not missing data.

  • A city with no outgoing edges still gets a row of 0s
  • "No units sold" and "no connection" are facts, not gaps

Every position holds a value. Zero is information, not absence.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Edge Case: Directed Means Asymmetric

One-way: exists, does not.

  • (edge exists)
  • (no reverse edge)

In general : the matrix need not be symmetric.

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Key Takeaways from This Lesson

✓ RC: rows × columns — rows always first

✓ Entry: = row , col

✓ Data: position carries meaning; totals are row or column sums

✓ Payoff: row = P1; col = P2; entry = P1's gain

✓ Adjacency: if edge exists; else

Grade 9+ Pre-Calculus | HSN.VM.C.6
Matrices as Data | Lesson 6 of 12: VM Cluster

Next Lesson: Scaling an Entire Matrix

VM.C.7: Multiply every entry by scalar :

Every entry changes by the same factor. If you have met VM.B.5, it is the same rule applied to a whole matrix.

Grade 9+ Pre-Calculus | HSN.VM.C.6