Quiz 5: There is one question for each of the 8 topics from week 5. The time limit is 1 hour and you only get one try so make sure you have your notes and the week 5 slides handy. Good luck!
Question 1
Let u and w be vectors each having two components and that satisfy
u + w = [ 3 1 ] and u − w = [ 1 3 ]
Compute w . Write your answers as 2 integer values separated by a space.
Answer for Question 1
Question 2
Compute the cosine of the angle between the vectors
u = [ 3 4 ] and w = [ 4 3 ]
[Caveat: the question is asking for the cosine of the angle, not the angle itself]
Answer for Question 2
Preview
Question 3
Write the system of equations
4 x − 2 y + 2 z = 8 2 x + 1 y + 2 z = 9 5 x − 3 y + 3 z = 0
in matrix form.
Question 4
Use one elimination step to make the following system upper triangular. Then use back substitution to solve for x and y .
2 x + 1 y = 5 4 x − 2 y = 6
Write your answer as two integer values (the first is x , the second y ) separated by a space.
Answer for Question 4
Question 5
Compute the matrix product
[ 0 1 1 0 ] [ 1 3 2 4 ]
Write your answer as 4 integer values in column major order (that is a 11 a 21 a 12 a 22 ) separated by spaces.
Answer for Question 5
Question 6
Reduce the following system to upper triangular form and identify the pivots.
2 x 1 + 3 x 2 + 1 x 3 = 1 4 x 1 + 7 x 2 + 5 x 3 = 7 0 x 1 − 2 x 2 + 2 x 3 = 6
Write your answer as 3 integer values separated by spaces.
Answer for Question 6
Question 7
The inverse of the 2 × 2 matrix A is
[ A ] − 1 = [ a c b d ] − 1 = k [ d − c − b a ]
where k is a scalar quantity that depends on a , b , c , and d . Use the identity A A − 1 = I to solve for k .
Answer for Question 7
Preview
Question 8
Compute the L and U factors of the coefficient matrix for the following linear system.
2 x 1 + 3 x 2 + 1 x 3 = 1 4 x 1 + 7 x 2 + 5 x 3 = 7 0 x 1 − 2 x 2 + 2 x 3 = 6
What is the smallest element in the L matrix?
Answer for Question 8
Preview