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.
- Question 1 of 12.
A 2x2 matrix has determinant . A triangle of area 4 goes in. What is the area of the triangle that comes out?
areaType a number: 0.25, -2, 3/4 and sqrt(2) all work.
- Question 2 of 12.
Compute . Enter a whole number.
detType a number: 0.25, -2, 3/4 and sqrt(2) all work.
- Question 3 of 12.
A matrix has . What is ?
Type a number: 0.25, -2, 3/4 and sqrt(2) all work.
- Question 4 of 12.
is a matrix with . Which statement must be true?
- Question 5 of 12.
Find the inverse of . Enter the four entries row by row, as decimals or fractions.
inverseOne entry per box, row by row (Tab moves along a row). 0.25, -2, 3/4 and sqrt(2) all work. Enter moves to the next empty box.
- Question 6 of 12.
You apply to a vector and then , which gives . Both matrices are invertible. Which matrix takes back to ?
- Question 7 of 12.
Solve . Enter as a column, on top.
xOne entry per box, top to bottom. 0.25, -2, 3/4 and sqrt(2) all work. Enter moves to the next empty box.
- Question 8 of 12.
A matrix sends all of 3D space onto a plane through the origin. What are its rank and the dimension of its null space?
- Question 9 of 12.
is and is . What is the largest possible rank of the matrix ?
rankType a number: 0.25, -2, 3/4 and sqrt(2) all work.
- Question 10 of 12.
A weight matrix gets a LoRA update of rank 8. How many trainable numbers does the update have? Type the whole number without commas.
trainable numbersType a number: 0.25, -2, 3/4 and sqrt(2) all work.
- Question 11 of 12.
You must solve where comes from slightly noisy measurements. Which matrix is the most dangerous to have as ?
- Question 12 of 12.
Run the tests before you submit. This question counts as correct if your latest run passes every check.
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).Write your code where the starter saysraise NotImplementedError, then press Run tests. Each check says what it expects.