Matrices Modeling Contexts
A transition matrix holds the chances of moving between states in one step, with "from" columns that add up to 1.
Beyond the exam. The AP® Precalculus exam does not test this unit. Many classes teach it, and it prepares you for calculus.
Part 1 · Hook
Why this matters
Part 2 · Before you start
What this builds on
Part 3 · Prerequisite check
Quick check before you start
1. What is ?
Show the answer
Row 1: . Row 2:
- Correct: :
- :
- :
- :
2. If and , how do you find from ?
Show the answer
Multiply both sides on the left by : .
- Correct: :
- :
- :
- :
Part 4 · See it
See it first
Part 5 · Step by step
How it works, step by step
- List the chance of moving from each state (column) to each state (row)the transition matrix ; each column adds up to
- Multiply the current state vector by the expected state one step later:
- Multiply by again and again, the prediction steps ahead
- Multiply by insteadthe state one step earlier, as long as has an inverse
Part 6 · Key ideas
Key ideas
- A transition matrix : the entry in row , column is the chance of moving from state to state in one step. Each column adds up to .
- A state vector lists how many (or what share) are in each state. One step later: ; after steps: .
- One step earlier: .
- A steady state satisfies . Over many steps the state vector usually settles toward it.
Part 7 · Misconception
A common mistake
The wrong idea: The first row of the bike matrix, and , lists what happens to the bikes at station A.
What actually happens: With this setup the columns are "from" and the rows are "to". Column 1, and , is what happens to bikes at A; row 1 collects every bike that ends at A. Always check which way your matrix is set up: each column adds up to 1 here.
Part 8 · Check yourself
Check yourself
Exam-style questions. Anything you miss goes into your review queue.
Diagram
A two-station bike share
A bike-share system has bikes. Today are at station A and at station B. The diagram shows the chance that a bike moves or stays each day.
1. Which transition matrix, with "from" columns (A, B) and "to" rows (A, B), models one day?
Show the answer
Column 1 is a bike at A: stays , goes to B . Column 2 is a bike at B: goes to A , stays . Each column adds up to .
- Correct: : Columns and .
- : This puts "from" in the rows; its columns add up to and .
- : The chances for B are reversed: a bike at B stays with chance .
- : The stay and move chances are swapped.
2. How many bikes are expected at station A after one day?
No calculator. Type the exact value (a fraction, π, e or a root is fine), in bikes.
Show the answer
Row 1 of times :
- Answer: 350 bikes
3. How many bikes are expected at station A after two days?
No calculator. Type the exact value (a fraction, π, e or a root is fine), in bikes.
Show the answer
, so after two days A has
- Answer: 325 bikes
4. In the long run, how many bikes are expected at station A?
No calculator. Type the exact value (a fraction, π, e or a root is fine), in bikes.
Show the answer
At a steady state , so ; with , and . Check:
- Answer: 300 bikes
5. Why does each column of a transition matrix (with "from" columns) add up to 1?
- Everything in a state ends the step in some state
- Each row lists the states something can come from
- The matrix has an inverse
- The state vector has two entries
Show the answer
A column lists the chances for one starting state across every possible ending state, and something must end somewhere.
- Correct: Everything in a state ends the step in some state: The chances for one starting state cover every outcome.
- Each row lists the states something can come from: Rows collect arrivals; their sums can be anything.
- The matrix has an inverse: Columns adding up to 1 does not make a matrix invertible.
- The state vector has two entries: The number of entries does not set the sum.
6. Which could be a transition matrix with "from" columns?
Show the answer
Entries between and , and each column adds up to : and .
- Correct: : Valid chances, columns add up to .
- : Its columns add up to and .
- : A chance cannot be or .
- : Its columns add up to .
Part 9 · Summary
Summary
Part 10 · Up next
What comes next
This is the last topic in the course.
Part 11 · Connections