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
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)) _
Solution
The first step in solving 1 problem number 23 trying to solve the problem we have to refer to the textbook question: 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)) _
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