The determinant of is . Compute it for and . Which matrix is invertible, and what does the determinant tell you about its columns?
Linear algebra and optimisation, Matrix inverses
Level L2 Elementary. Length Medium. Nature Th+Mat Both.
What's being asked
Whether you can compute a determinant and read it: zero means the columns are dependent and there is no inverse.
Key idea
For a matrix, . The matrix squashes the unit square into a parallelogram whose area is . If the parallelogram is flat, the columns lie on one line (they are linearly dependent), and the matrix has no inverse. If the matrix is invertible.
Steps
- Compute .
- Compute .
- Read the results: is invertible because . is not, because .
- Look at the columns of : is exactly times . The columns point along the same line, so the matrix squashes the plane onto that line and cannot be undone. The columns of , and , point different ways.
- Say what it means for equations: has exactly one solution. For , a non-zero input such as is sent to , so information is lost.
- Area view: maps the unit square to a parallelogram of area . maps it to a flat line of area .
Common mistakes
- Computing or . The pattern is main diagonal minus the other diagonal.
- Saying a negative determinant means no inverse. Only zero does; negative just means orientation is flipped.
- Saying zero determinant means all entries are zero. has no zero entries and still has .
How long your answer should be
About 3 minutes; two small calculations and a short explanation.
Read this
Previous in Linear algebra and optimisation: For a matrix the inverse is (when ). How do you use it to solve and ?
Next in Linear algebra and optimisation: How do you show that the negative log-likelihood of logistic regression is convex in the weights ?