MidTerm K64 1
MidTerm K64 1
Q1. Let
1 3 0 0 −1
−1 −1 −1 1 2
𝐴𝐴 = � � ; 𝐵𝐵 = � �
0 2 1 3 0
2 4 1 −1 −3
a. [20 marks] Solve the matrix equations: 𝐴𝐴𝐴𝐴 = 𝐵𝐵.
b. [10 marks] Find an LU factorization of 𝐴𝐴.
Q2. Let
1 1 1 0
2 2 0 2
𝐴𝐴 = � �.
3 0 3 3
0 4 4 4
a. [20 marks] Find the determinant of 𝐴𝐴.
b. [10 marks] What can you say about the determinant of the 𝑛𝑛 × 𝑛𝑛 matrix with the same
pattern?
Q3. Let
𝑘𝑘 + 1 2 1
𝐴𝐴 = � 0 3 𝑘𝑘�
1 1 1
a. [15 marks] For which values of 𝑘𝑘 the following matrix invertible?
b. [15 marks] Find the inverse matrix of 𝐴𝐴 when 𝑘𝑘 = 1.
Q4. [10 marks] Suppose 𝐴𝐴 is 3 × 4 matrix and equations 𝐴𝐴𝒙𝒙 = 𝟎𝟎 has exactly 2 basic solutions:
𝒙𝒙1 = [1 1 1 0]𝑇𝑇 ; 𝒙𝒙2 = [−2 −1 0 1]𝑇𝑇 .
Find the reduced echelon form of 𝐴𝐴.
Q5. [20 marks] For which values of 𝑘𝑘 the following linear system has, a unique solution,
infinitely many solutions, no solution.
𝑥𝑥1 + 𝑘𝑘𝑥𝑥2 = 2
�𝑘𝑘𝑥𝑥1 + 𝑥𝑥2 + 𝑥𝑥3 = 1
𝑥𝑥1 + 𝑥𝑥2 + 𝑥𝑥3 = 𝑘𝑘
Q6. [10 marks] You are given the equation
𝑥𝑥 0 𝑐𝑐
�−1 𝑥𝑥 𝑏𝑏 � = 𝑎𝑎𝑥𝑥 2 + 𝑏𝑏𝑏𝑏 + 𝑐𝑐
0 −1 𝑎𝑎
Use the equation as a model to find a determinant that is equal to 𝑎𝑎𝑥𝑥 3 + 𝑏𝑏𝑥𝑥 2 + 𝑐𝑐𝑐𝑐 + 𝑑𝑑.
Q7. Suppose 𝐴𝐴, 𝐵𝐵, and 𝑋𝑋 are 𝑛𝑛 × 𝑛𝑛 matrices with 𝐴𝐴, 𝑋𝑋, and 𝐴𝐴 − 𝐴𝐴𝐴𝐴 invertible, and suppose
(𝐴𝐴 − 𝐴𝐴𝐴𝐴)−1 = 𝑋𝑋 −1 𝐵𝐵
a. [10 marks] Explain why 𝐵𝐵 is invertible.
b. [10 marks] Solve equation for 𝑋𝑋. If a matrix needs to be inverted, explain why that matrix is
invertible.
Q8. Suppose 𝐴𝐴 is a 5 × 3 matrix and 𝐴𝐴𝒙𝒙 is never zero (except when 𝒙𝒙 is the zero vector).
a. [10 marks] Show that 𝐴𝐴𝑇𝑇 𝐴𝐴𝒙𝒙 is also never zero (except when 𝒙𝒙 = 𝟎𝟎) by explaining this key
step: If 𝐴𝐴𝑇𝑇 𝐴𝐴𝒙𝒙 = 0 then obviously 𝒙𝒙𝑇𝑇 𝐴𝐴𝑇𝑇 𝐴𝐴𝒙𝒙 = 0 and then 𝐴𝐴𝒙𝒙 = 0.
(Note that 𝒙𝒙 ∈ ℝ𝑛𝑛 : 𝒙𝒙𝑇𝑇 𝒙𝒙 = 𝑥𝑥12 + 𝑥𝑥22 + ⋯ + 𝑥𝑥𝑛𝑛2 = 0 ⇔ 𝑥𝑥1 = 𝑥𝑥2 = ⋯ = 𝑥𝑥𝑛𝑛 = 0. )
b. [10 marks] We now know that 𝐴𝐴𝑇𝑇 𝐴𝐴 is invertible. Explain why 𝐵𝐵 = (𝐴𝐴𝑇𝑇 𝐴𝐴)−1 𝐴𝐴𝑇𝑇 is a one-sided
inverse of 𝐴𝐴 (which side of 𝐴𝐴?). 𝐵𝐵 is NOT a 2-sided inverse of 𝐴𝐴 (explain why not).
Note that 𝐵𝐵 is one-sided inverse of 𝐴𝐴 (left side) if 𝐵𝐵𝐵𝐵 = 𝐼𝐼.