Quiz 6: There is one question for each of the 8 topics from week 6. The time limit is 1 hour and you only get one try so make sure you have your notes and the week 6 slides handy. Good luck!
Question 1
Find the permutation matrix P such that
P [ a c b d ] = [ c a d b ]
Question 2
What is the rank of the matrix
⎡ ⎣ 1 2 6 2 5 − 3 3 2 1 ⎤ ⎦
Answer for Question 2
Preview
Question 3
Let X be an m × n matrix and let H = X ( X T X ) − 1 X T (assume that X is full rank so that ( X T X ) − 1 exists). Give an expression for H T in terms of the matrix X . Simplify your answer.
[Hint: write X^(T) for the transpose of X]
Answer for Question 3
Preview
Question 4
Let X be an m × n matrix and let H = X ( X T X ) − 1 X T (assume that X is full rank so that ( X T X ) − 1 exists). Give an expression for H 2 in terms of the matrix X . Simplify your answer.
[Hint: write X^(T) for the transpose of X]
Answer for Question 4
Preview
Question 5
Classify the following vector pairs as orthonormal, orthogonal, or only independent.
( a ) [ 1 0 ] & [ − 1 1 ] ( b ) [ .6 .8 ] & [ .4 − .3 ] ( c ) [ cos ( θ ) sin ( θ ) ] & [ − sin ( θ ) cos ( θ ) ]
Answer the question by entering the letters a, b, and c (each once) separated by spaces. The order should be the orthonormal pair, the orthogonal pair, the independent pair.
Answer for Question 5
Question 6
Let
X = [ 13 9 12 16 ] U = [ .8 − .6 .6 .8 ] Σ = [ 5 0 0 25 ] V = [ 1 0 .6 .8 ]
Is X = U Σ V T the singular value factorization of X ?
Question 7
Let A = S Λ S − 1 be the factorization of A into its eigenvectors and eigenvalues where
Λ = ⎡ ⎣ ⎢ ⎢ a 0 0 0 0 b 0 0 0 0 c 0 0 0 0 d ⎤ ⎦ ⎥ ⎥
What is the largest eigenvalue of A 7 ?
Answer for Question 7
Preview
Question 8
Use calculus to find the slope of the line through the origin (i.e., y = m x ) that minimizes the squared distance to the points ( 1 , 1 ) , ( 2 , 3 ) , ( 4 , 2 ) . What is the slope m rounded to 2 significant digits?
Answer for Question 8
Preview