Educerie · AP · Precalculus
Unit 4 Functions Involving Parameters, Vectors, and Matrices · 4.14 Matrices Modeling Contexts
This unit is not on the AP exam. The exam covers Units 1 to 3 only; Unit 4 is taught here for the course and for what comes after it.
Big ideas: A table of percentage changes as a matrix; repeated multiplication as repeated steps in time; a steady state, and the inverse as a way back to the past.
Where it is examined: Not on the AP Precalculus exam. The College Board lists Unit 4 as an additional topic available to schools. If your school teaches it, expect a scenario with two states, a matrix to build from percentages, and predictions with a justified conclusion.
The question this unit answers: How can we tell when the populations of two groups settle down?
AP Precalculus 4.14
Matrices Modeling Contexts
How can we tell when the populations of two groups settle down?
What you will learn
- Understand how percentage transitions between two states become a matrix with columns adding to 1
- Know that A s gives the next state, A^n s the state after n steps, and a steady state satisfies A s = s
- Know that the inverse gives a past state that must be checked for sense
You must be able to
- Build a transition matrix from percentage rates
- Predict the state after one or several steps
- Find and check a steady state from the total
- Find a past state with the inverse and spot a negative result
- Check each prediction with the column sums and the total
- State a conclusion in the words of the scenario, noting the constant-rate assumption
1State vectors and the transition matrix
A state vector lists how many are in each state at one time:
A transition matrix says how the states change in one step. Build it from the percentages.
Worked example 1. A school cafeteria offers pizza or salad. Each day:
- of the students who ate pizza, choose pizza again and switch to salad,
- of the students who ate salad, choose salad again and switch to pizza.
Let the state be , the numbers choosing pizza and salad. The new pizza number is . The new salad number is .
Each column of belongs to one starting state and shows where those students go. The first column is for pizza: stay and leave. The columns add to because everyone goes somewhere.
This note puts each starting state in a column, so the matrix goes on the left of the state vector. A matrix built with rows for the starting states needs a different product, so keep to one layout.
2The next state
The state after one step is .
Worked example 1 (continued). On Monday, students choose pizza and choose salad. Find the state each day for three days.
The total stays at each day. That is a check on your arithmetic: if the total changes, the columns of do not add to or you have made a mistake.
After steps the state is . A graphing calculator computes the power directly, so you do not need to repeat the step times.
3The steady state
Look at the sequence of pizza numbers: . The increases get smaller: .
Continue the arithmetic: , then . The state is settling.
A steady state is a distribution that does not change from one step to the next. For it, .
You can find it in two ways.
- By repeated multiplication. Keep multiplying until the numbers stop changing, to the accuracy you need. Try , and steps.
- By solving. Write and use the total.
For Worked example 1, gives , so . The pizza to salad ratio is . With students, and .
Check: . It does not change.
So in the long run, choose pizza and choose salad each day. Individual students keep switching, but the totals stay put.
The same steady state is reached from a different starting split, if the total is the same. Try : the next state is , then , then , closing on .
4Another model
Worked example 2. A streaming service has two plans, Basic and Plus. Each month, of Basic subscribers move to Plus, and of Plus subscribers move to Basic. The rest stay.
The state is . Start with and .
The steady state has , so . With subscribers in all, and .
Check: .
The steady state does not depend on the starting numbers, only on the matrix and the total.
5Past states
To go back one step, use the inverse. If , then .
Worked example 3. For the cafeteria, find the state the day before .
The day before, chose pizza and chose salad. That matches Worked example 1.
A past state only makes sense if both numbers are non-negative. Try going back one more day from :
A negative number of students is impossible. The model cannot be run back that far. Always check a prediction against the situation.
6Supporting a conclusion
A conclusion needs the numbers and a sentence that links them to the question.
Example: "Will the pizza number ever pass ?" The steady state is , and the numbers rise towards without passing it. So the model says no, as long as the percentages stay the same.
The "as long as" matters. A model assumes the rates do not change, and real habits do. Say so when a question asks about limits.