Topic 1 Systems of Linear Equations & Matrix Algebra
This topic covers the foundational mechanics of Linear Algebra: manipulating matrices, solving systems using row reduction, computing inverses, and utilizing matrix factorizations (like LU decomposition).
Question 1: Reduced Row Echelon Form (RREF)
Source: Practice Exam 4, Question 2
Exact Question: Give the reduced row echelon form for the matrix
Methodology:
- Objective: Transform the matrix using elementary row operations into Reduced Row Echelon Form (RREF). A matrix is in RREF if:
- All nonzero rows are above any rows of all zeros.
- Each leading entry (pivot) of a row is in a column to the right of the leading entry of the row above it.
- The leading entry in each nonzero row is exactly 1.
- Each leading 1 is the only nonzero entry in its column (i.e., zeros above and below the pivot).
- Forward Phase (Elimination): Create zeros below the pivots, working from left to right, top to bottom.
- Backward Phase: Create zeros above the pivots, working from right to left, bottom to top.
- Scaling: Multiply rows by scalars to ensure every pivot is exactly 1.
Solution:
- Step 1: Eliminate the entry in row 2, col 1. Subtract Row 1 from Row 2 (
). - Step 2: Eliminate the entry in row 3, col 2 using the row 2 pivot. Add 3 times Row 2 to Row 3 (
). - Step 3: The matrix is now in standard echelon form. Now, we begin the backward phase to reach reduced echelon form. Eliminate the entry in row 1, col 2. Add Row 2 to Row 1 (
). - Step 4: Scale Row 2 so its pivot is exactly 1. Multiply Row 2 by
( ).
Final Answer:
Question 2: Finding a Matrix Inverse ( )
Source: Exam 2, Question 2
Exact Question: Find the inverse matrix of the matrix
Methodology:
- Objective: Compute
using the augmented matrix algorithm. - Set Up: Form the augmented matrix
, where is the identity matrix. - Row Reduction: Apply elementary row operations to transform the left side
into . - Result: If
is invertible, the augmented matrix will reduce to the form . The right side of the partition is your answer.
Solution:
- Set up the matrix:
- Step 1: To make the math easier, swap Row 1 and Row 2 to get a 1 in the top-left pivot position (
). (Note: The official solution skips the swap and does more complex row operations, but swapping is highly recommended to avoid fractions). Following the provided solution's path for exactness: Let's stick to the exam's approach which simply reduces the system: - Step 2: Eliminate below pivot 1.
, and . - Step 3: Eliminate below pivot 2.
. - Step 4: Scale Row 3 to make the pivot positive 1 (
). - Step 5: Backward phase. Eliminate above pivot 3.
and . Final Answer:
Question 3: Matrix Inverse with Scaling
Source: Practice Exam 3, Question 11
Exact Question: Let
Methodology:
- Set Up:
. - Row Swaps: Because the
entry is , we must swap Row 1 with another row (e.g., Row 2) to get a non-zero pivot. - Forward/Backward Phase: Proceed as standard, being careful with arithmetic since scaling will involve fractions.
Solution:
- Set up:
- Step 1: Swap
and . - Step 2: Eliminate below pivot 1.
. - Step 3: Backward phase. Eliminate above pivot 2.
. - Step 4: Scale rows to make pivots equal to 1.
, , . - Step 5: Eliminate above pivot 3.
, and . Final Answer:
Question 4: Determinants and Invertibility
Source: Practice Exam 4, Question 4
Exact Question: For which value(s) of
Methodology:
- Objective: Find the condition for invertibility.
- Formula: A
matrix is invertible if and only if its determinant is non-zero ( ). - Process: Calculate the determinant in terms of
. Set it equal to zero to find the values that make the matrix singular (not invertible). The final answer will be all values except those.
Solution:
- Step 1: Calculate the determinant.
- Step 2: Set to zero to find critical values.
- Step 3: Formulate conclusion.
Final Answer: The matrix is invertible when.
Question 5: Matrix Algebra and Dimensions
Source: Practice Exam 4, Question 9
Exact Question: Let
Methodology:
- Check Dimensions: Matrix multiplication
is only defined if the number of columns of equals the number of rows of . is , so is . is , so is . The product is valid and will yield a matrix. - Transpose: Find
by turning the rows of into columns. - Inverse Formula: Find
using the rule: . - Multiply: Compute the dot products of the rows of
with the columns of .
Solution:
- Step 1: Find
. - Step 2: Find
. . - Step 3: Multiply
. Final Answer:
Question 6: LU Decomposition & Solving
Source: Exam 2, Question 7
Exact Question: Consider the matrix
a. Find an LU decomposition of
b. Use this LU decomposition to solve the system
Methodology:
- Part a (Find LU):
- Reduce
to an upper triangular matrix using only row replacements (subtracting a multiple of a row from a row below it). Never swap rows or scale rows! - Keep track of the multipliers. The scalar
used to eliminate the entry in row , column becomes the entry in the lower triangular matrix . will have 1s on its main diagonal.
- Reduce
- Part b (Solve
): - Since
, the equation becomes . - Let
. Now the system becomes . - Solve
for using forward substitution (starting from and working down). - Once
is found, solve for using backward substitution (starting from and working up).
- Since
Solution:
Part a:
- Find
: Let's eliminate below the first pivot (column 1).
(Multiplier )
(Multiplier ) - Now eliminate below the second pivot (column 2).
(Wait, is identical to . The multiplier is ). - Construct
: Place the multipliers into a lower triangular matrix with 1s on the diagonal.
Part b:
-
Step 1: Solve
Row 1:
Row 2:
Row 3:
So,. -
Step 2: Solve
Row 3:
Row 2:
Row 1:Final Answer:
Question 7: LU Factorization Only
Source: Practice Exam 4, Question 8
Exact Question: Find an LU-factorization of the matrix
Methodology:
This is identically structured to Part A of Question 6. Reduce
Solution:
- Step 1: Target column 1.
.
. - Step 2: Target column 2.
. - Step 3: Build
using the multipliers.
Final Answer: