Question 1: Solving Systems of Linear Equations
1(a) Generate a random matrix and vector , find the RREF and the solution set.
We generate a random 5x6 matrix and a random 5x1 vector . The augmented matrix is then computed and its Reduced Row Echelon Form (RREF) is determined using MATLAB to find the solution set.
1(b) Answer textbook question Section 2.1 B44.
Question 2: Linear/Matrix Mappings and Projections
2(a) Project vectors onto .
The projection matrix is given by: We compute the projections of , , and using MATLAB.
2(b) Composition of rotation and projection matrices.
Given the rotation matrix : We calculate the composition matrices (projection followed by rotation) and (rotation followed by projection) using MATLAB.
Question 3: Basis from Column Space
3(a) Find the basis for the subspace .
Given the vectors: We construct matrix using these vectors as columns and find its RREF to identify the basis vectors for subspace .
3(b) Express non-basis vectors as a linear combination.
Using the RREF results from part (3a), we identify the non-basis vectors and express them as a linear combination of the basis vectors identified from the pivot columns in the RREF.