Quiz 2 Ma 322 005 Name ______________
1. Let be the 5 by 5 identity matrix with its ith and jth row interchanged. So for example, .
a) The product matrix is just the identity matrix. What is a simple explanation for this?
We know A is A with its its ith and jth rows interchanged. When A = , we are back to the identity matrix.
b) Let P be the product matrix . Compute P
= = = =
c) The determinant of P is -1. Why is that?
There are an odd number of row interchanges. Follows from properties 1 and 2 of determinants.
2. Let .
a) Find the LU factorization of A and use it to compute the determinant of A.
Take Then = = U and L = =
b) Use Gauss-Jordan elimination to find the inverse of A.
Multiply by and then by D = to get = I so =
3. a) Express the angle made by the vector [1,2,3] and a vector [x,y,0] in the xy-plane in terms of x and y.
angle between u and v is = arccos( )
b) Geometrically, the above angle should be smallest when (x,y) is a positive scalar multiple of (1,2). Use your calcluator to calculate the angle in degrees.
arccos( ) = degrees