Back to An introduction to eigenvalues and eigenvectors

Activity 4.1.3

Avg difficulty 2.5

Let's consider an example that illustrates how we can put these ideas to use.

Suppose that we work for a car rental company that has two locations, PP and QQ. When a customer rents a car at one location, they have the option to return it to either location at the end of the day. After doing some market research, we determine:

  • 80% of the cars rented at location PP are returned to PP and 20% are returned to QQ.

  • 40% of the cars rented at location QQ are returned to QQ and 60% are returned to PP.

  1. Suppose that there are 1000 cars at location PP and no cars at location QQ on Monday morning. How many cars are there are locations PP and QQ at the end of the day on Monday?

  2. How many are at locations PP and QQ at end of the day on Tuesday?

  3. If we let PkP_k and QkQ_k be the number of cars at locations PP and QQ, respectively, at the end of day kk, we then have Pk+1=0.8Pk+0.6QkQk+1=0.2Pk+0.4Qk.\begin{aligned} P_{k+1}& {}={} 0.8P_k + 0.6Q_k \\ Q_{k+1}& {}={} 0.2P_k + 0.4Q_k\text{.} \\ \end{aligned} We can write the vector xk=[PkQk]\xvec_k = \twovec{P_k}{Q_k} to reflect the number of cars at the two locations at the end of day kk, which says that xk+1=[0.80.60.20.4]xk\xvec_{k+1} = \left[\begin{array}{rr} 0.8 & 0.6 \\ 0.2 & 0.4 \\ \end{array}\right] \xvec_k or xk+1=Axk\xvec_{k+1} = A\xvec_k where A=[0.80.60.20.4]A=\left[\begin{array}{rr}0.8 & 0.6 \\ 0.2 & 0.4 \end{array}\right].

    Suppose that v1=[31],v2=[−11]\vvec_1 = \twovec{3}{1}, \qquad \vvec_2 = \twovec{-1}{1}. Compute Av1A\vvec_1 and Av2A\vvec_2 to demonstrate that v1\vvec_1 and v2\vvec_2 are eigenvectors of AA. What are the associated eigenvalues λ1\lambda_1 and λ2\lambda_2?

  4. We said that 1000 cars are initially at location PP and none at location QQ. This means that the initial vector describing the number of cars is x0=[10000]\xvec_0 = \ctwovec{1000}{0}. Write x0\xvec_0 as a linear combination of v1\vvec_1 and v2\vvec_2.

  5. Remember that v1\vvec_1 and v2\vvec_2 are eigenvectors of AA. Use the linearity of matrix multiplication to write the vector x1=Ax0\xvec_1 = A\xvec_0, describing the number of cars at the two locations at the end of the first day, as a linear combination of v1\vvec_1 and v2\vvec_2.

  6. Write the vector x2=Ax1\xvec_2 = A\xvec_1 as a linear combination of v1\vvec_1 and v2\vvec_2. Then write the next few vectors as linear combinations of v1\vvec_1 and v2\vvec_2:

    1. x3=Ax2\xvec_3 = A\xvec_2.

    2. x4=Ax3\xvec_4 = A\xvec_3.

    3. x5=Ax4\xvec_5 = A\xvec_4.

    4. x6=Ax5\xvec_6 = A\xvec_5.

  7. What will happen to the number of cars at the two locations after a very long time? Explain how writing x0\xvec_0 as a linear combination of eigenvectors helps you determine the long-term behavior.

Austin, Understanding Linear Algebra, §4.1 An introduction to eigenvalues and eigenvectors, Activity 4.1.3

AI Tutor

Adapted from Understanding Linear Algebra © 2023 David Austin. Licensed under CC BY 4.0. Source: Understanding Linear Algebra. Imported at revision 3e6dced.