Home / AP® Exam / AP® PreCalculus / AP® Precalculus

AP Precalculus -4.14 Matrix Modeling- Study Notes - Effective Fall 2023

AP Precalculus -4.14 Matrix Modeling- Study Notes – Effective Fall 2023

AP Precalculus -4.14 Matrix Modeling- Study Notes – AP Precalculus- per latest AP Precalculus Syllabus.

LEARNING OBJECTIVE

Construct a model of a scenario involving transitions between two states using matrices
Apply matrix models to predict future and past states for n transition steps.

Key Concepts: 

  • Modeling State Transitions with Matrices

  • Predicting Future States Using Matrix Multiplication

  • Steady State of a Transition Matrix

  • Using an Inverse Transition Matrix to Predict Past States

AP Precalculus -Concise Summary Notes- All Topics

Modeling State Transitions with Matrices

In many contextual scenarios, quantities move between different states over time. These transitions are often described using percent changes.

A transition matrix can be constructed using these percent changes to model how the states evolve over discrete intervals, such as days, months, or years.

Each entry in the matrix represents the fraction (or percentage) of a quantity that moves from one state to another during one time step.

If the state vector at one time is written as

\( \mathbf{x}_n = \begin{pmatrix} x_1 \\ x_2 \end{pmatrix} \)

and the transition matrix is \( T \), then the state after one interval is given by

\( \mathbf{x}_{n+1} = T\mathbf{x}_n \)

Repeated multiplication models the system over multiple intervals.

Example:

A population is divided into two states: Urban and Rural.

Each year:

• 90% of the urban population remains urban, and 10% moves to rural.

• 20% of the rural population moves to urban, and 80% remains rural.

Construct the transition matrix.

▶️ Answer/Explanation

Write percentages as decimals and organize by destination:

\( T = \begin{pmatrix} 0.90 & 0.20 \\ 0.10 & 0.80 \end{pmatrix} \)

Conclusion: Multiplying this matrix by a state vector gives the population distribution after one year.

Example:

At the start of a year, a city has 600 urban residents and 400 rural residents. Use the transition matrix from the previous example to find the population after one year.

▶️ Answer/Explanation

Write the initial state vector:

\( \mathbf{x}_0 = \begin{pmatrix} 600 \\ 400 \end{pmatrix} \)

Multiply:

\( \mathbf{x}_1 = \begin{pmatrix} 0.90 & 0.20 \\ 0.10 & 0.80 \end{pmatrix} \begin{pmatrix} 600 \\ 400 \end{pmatrix} = \begin{pmatrix} 620 \\ 380 \end{pmatrix} \)

Final answer: After one year, there are 620 urban residents and 380 rural residents.

Predicting Future States Using Matrix Multiplication

When a system can be described by a fixed set of states and known transition rates between those states, a transition matrix can be used to model how the system evolves over time.

If \( T \) is a matrix that models transitions between states and \( \mathbf{x}_n \) is the state vector at a given time step \( n \), then the state at the next time step is given by

\( \mathbf{x}_{n+1} = T\mathbf{x}_n \)

Each entry of the resulting vector represents the predicted amount in each state after one discrete interval.

By repeatedly multiplying by the transition matrix, future states can be predicted:

\( \mathbf{x}_{n+k} = T^k \mathbf{x}_n \)

This approach is commonly used in population models, economics, probability, and systems that change at regular time intervals.

Example:

A system has two states, \( A \) and \( B \). Each month:

• 80% of state \( A \) remains in \( A \), and 20% moves to \( B \).

• 30% of state \( B \) moves to \( A \), and 70% remains in \( B \).

The transition matrix is

\( T = \begin{pmatrix} 0.80 & 0.30 \\ 0.20 & 0.70 \end{pmatrix} \)

If the current state vector is

\( \mathbf{x}_0 = \begin{pmatrix} 500 \\ 300 \end{pmatrix} \)

predict the state after one month.

▶️ Answer/Explanation

Multiply the transition matrix by the state vector:

\( \mathbf{x}_1 = \begin{pmatrix} 0.80 & 0.30 \\ 0.20 & 0.70 \end{pmatrix} \begin{pmatrix} 500 \\ 300 \end{pmatrix} = \begin{pmatrix} 490 \\ 310 \end{pmatrix} \)

Conclusion: After one month, there are 490 units in state \( A \) and 310 in state \( B \).

Example:

Using the same transition matrix, predict the state after two months.

▶️ Answer/Explanation

Apply the matrix again:

\( \mathbf{x}_2 = T\mathbf{x}_1 = \begin{pmatrix} 0.80 & 0.30 \\ 0.20 & 0.70 \end{pmatrix} \begin{pmatrix} 490 \\ 310 \end{pmatrix} = \begin{pmatrix} 485 \\ 315 \end{pmatrix} \)

Conclusion: After two months, the system is predicted to have 485 units in state \( A \) and 315 in state \( B \).

Steady State of a Transition Matrix

When a system is modeled using a transition matrix, repeatedly multiplying the matrix by the resulting state vectors can reveal the long-term behavior of the system.

 

If \( T \) is a transition matrix and \( \mathbf{x}_n \) is the state vector after \( n \) steps, then

\( \mathbf{x}_{n+1} = T\mathbf{x}_n \)

As this process is repeated, the sequence of state vectors may approach a steady state.

A steady state is a distribution of values between states that does not change from one step to the next.

\( \mathbf{x}_{\text{steady}} = T\mathbf{x}_{\text{steady}} \)

This means the steady-state vector is an eigenvector of the transition matrix associated with the eigenvalue 1.

In many real-world contexts, the steady state represents long-term equilibrium behavior.

Example:

A system has two states, \( A \) and \( B \), with transition matrix

\( T = \begin{pmatrix} 0.75 & 0.40 \\ 0.25 & 0.60 \end{pmatrix} \)

Starting from an initial state vector, repeated multiplication produces the following vectors:

\( \mathbf{x}_1 = \begin{pmatrix} 520 \\ 480 \end{pmatrix}, \quad \mathbf{x}_2 = \begin{pmatrix} 510 \\ 490 \end{pmatrix}, \quad \mathbf{x}_3 = \begin{pmatrix} 505 \\ 495 \end{pmatrix} \)

Predict the steady state.

▶️ Answer/Explanation

The values are approaching a fixed distribution.

The steady state is approximately

\( \mathbf{x}_{\text{steady}} \approx \begin{pmatrix} 500 \\ 500 \end{pmatrix} \)

Conclusion: In the long run, the system stabilizes with equal distribution between the two states.

Example:

Explain how the steady state can be found without repeated multiplication.

▶️ Answer/Explanation

Solve the equation

\( \mathbf{x} = T\mathbf{x} \)

with the condition that the components sum to the total quantity or to 1 if using proportions.

Conclusion: The steady state corresponds to a fixed point of the transition matrix.

Using an Inverse Transition Matrix to Predict Past States

In some contextual models, transitions between states are represented by a transition matrix \( T \) such that

\( \mathbf{x}_{n+1} = T\mathbf{x}_n \)

If the transition matrix \( T \) is invertible, then it is possible to work backward to determine a previous state.

The inverse transition matrix, denoted \( T^{-1} \), satisfies

\( T^{-1}T = I \)

If the current state vector is \( \mathbf{x}_{n+1} \), then the previous state vector can be found by

\( \mathbf{x}_n = T^{-1}\mathbf{x}_{n+1} \)

This allows the model to predict past states, provided the transitions are reversible and accurately represented by the matrix.

This technique is useful in population studies, economics, and systems where historical distributions are unknown but current data is available.

Example:

A system has the transition matrix

\( T = \begin{pmatrix} 0.8 & 0.2 \\ 0.3 & 0.7 \end{pmatrix} \)

The current state vector is

\( \mathbf{x}_1 = \begin{pmatrix} 460 \\ 540 \end{pmatrix} \)

Find the previous state vector.

▶️ Answer/Explanation

First compute the determinant:

\( \det(T) = (0.8)(0.7) – (0.2)(0.3) = 0.56 – 0.06 = 0.50 \ne 0 \)

So the matrix is invertible. Its inverse is

\( T^{-1} = \begin{pmatrix} 1.4 & -0.4 \\ -0.6 & 1.6 \end{pmatrix} \)

Now multiply:

\( \mathbf{x}_0 = T^{-1}\mathbf{x}_1 = \begin{pmatrix} 1.4 & -0.4 \\ -0.6 & 1.6 \end{pmatrix} \begin{pmatrix} 460 \\ 540 \end{pmatrix} = \begin{pmatrix} 400 \\ 600 \end{pmatrix} \)

Final answer: The previous state was 400 in the first state and 600 in the second state.

Example:

Explain why predicting past states is not always possible.

▶️ Answer/Explanation

If the transition matrix is not invertible, then multiple past states may lead to the same current state.

In this case, information is lost and the past state cannot be uniquely determined.

Conclusion: Predicting past states requires an invertible transition matrix.

Scroll to Top