Checkpoint
Determinants, inverses and rank
Twelve questions on determinants, inverses, rank and conditioning, with new numbers and a few classic traps. Work on paper where it helps. Pass at 80% before moving on to eigenvectors, which lean on every idea here.
- 1
A 2x2 matrix has determinant . A triangle of area 4 goes in. What is the area of the triangle that comes out?
area - 2
Compute .
det - 3
A matrix has . What is ?
- 4
is a matrix with . Which statement must be true?
- 5
Find the inverse of .
inverse - 6
You apply to a vector and then , which gives . Both matrices are invertible. Which matrix takes back to ?
- 7
Solve .
x - 8
A matrix sends all of 3D space onto a plane through the origin. What are its rank and the dimension of its null space?
- 9
is and is . What is the largest possible rank of the matrix ?
rank - 10
A weight matrix gets a LoRA update of rank 8. How many trainable numbers does the update have?
trainable numbers - 11
You must solve where comes from slightly noisy measurements. Which matrix is the most dangerous to have as ?
- 12
Code it Use the determinant's sign as a geometry tool. Write
signed_area(p, q, r)for the triangle with cornersp,qandr(each a pair of numbers): half the determinant of the 2x2 matrix whose columns are and , positive when the corners go counterclockwise. Then writeorientation(p, q, r), which returns 1 for a counterclockwise turn, -1 for a clockwise turn and 0 for three points on one line (treat a signed area with absolute value at mosttolas zero).