Use MATLAB to generate random 4 4 matrices A and B. For each of the following, compute A1, A2, A3, and A4 as indicated and determine which of the matrices are equal (you can use MATLAB to test whether two matrices are equal by computing their difference): (a) A1 = A B, A2 = B A, A3 = (A_ B_ ) _, A4 = (B_ A_ ) _ (b) A1 = A_ B_, A2 = (A B) _, A3 = B_ A_, A4 = (B A) _ (c) A1 = inv(A B), A2 = inv(A) inv(B), A3 = inv(B A), A4 = inv(B) inv(A) (d) A1 = inv((A B) _ ), A2 = inv(A_ B_ ), A3 = inv(A_ ) inv(B_ ), A4 = (inv(A) inv(B)) _
Read more
Table of Contents
Textbook Solutions for Linear Algebra with Applications
Question
In Application 1 of Section 4, the numbers of married and single women after 1 and 2 years were determined by computing the products AX and A2X for the given matrices A and X. Use format long and enter these matrices into MATLAB. Compute Ak and Ak X for k = 5, 10, 15, 20. What is happening to Ak as k gets large? What is the long-run distribution of married and single women in the town?
Solution
The first step in solving 1 problem number 29 trying to solve the problem we have to refer to the textbook question: In Application 1 of Section 4, the numbers of married and single women after 1 and 2 years were determined by computing the products AX and A2X for the given matrices A and X. Use format long and enter these matrices into MATLAB. Compute Ak and Ak X for k = 5, 10, 15, 20. What is happening to Ak as k gets large? What is the long-run distribution of married and single women in the town?
From the textbook chapter Matrices and Systems of Equations you will find a few key concepts needed to solve this.
Visible to paid subscribers only
Step 3 of 7)Visible to paid subscribers only
full solution