Beyond the exam. The AP® Precalculus exam does not test this unit. Many classes teach it, and it prepares you for calculus.
Matrices model situations where things move between a few states in steps: bikes between stations each day, customers between phone plans each month, a town's weather from one day to the next. If the chance of each move stays the same from step to step, one matrix predicts the whole future.
The transition matrix
Each day a bike at station A stays there with chance and is ridden to B with chance . A bike at B goes to A with chance and stays with chance . Put each station's chances in a column, "from" across the top and "to" down the side:
from A
from B
to A
to B
This is a transition matrix. Each column adds up to , because every bike ends the day somewhere. (Some books put "from" in the rows and multiply on the other side; the numbers are the same, read the other way. Check which way a matrix is set up before using it.)
Figure 1. The bike-share model as a diagram. LevlPrep original diagram.
One step forward
A state vector lists how many are in each state, here : bikes at A and at B. The expected numbers one day later are .
Worked example 1. Predict the bikes at each station after one day and after two days.
.
Row 1 collects everything that ends at A: bikes that stayed plus that came over from B.
. The total stays .
In general . A calculator with matrix operations finds or in one step.
One step back
If today's state is known, yesterday's solves , so . Here , and , the starting state, as it should be.
The long run
Keep stepping and the numbers settle: , , , ... at A, approaching . A steady state is a vector that one more step does not change: .
Worked example 2. Find the steady state for bikes.
At a steady state the bikes leaving A balance those arriving: , so . With : , , .
Check: .
The steady state does not depend on how the bikes start; with or at A, the system drifts toward and .
Shares instead of counts
The same matrix works with shares that add up to . If today is rainy, the weather state is (chance of sun , chance of rain ), and gives the chances of sun and rain days later.