1.4 - Determinants and inverses of two-by-two matrices
An inverse matrix reverses a matrix calculation, but some matrices cannot be reversed. Use the determinant to distinguish these cases, derive the two-by-two inverse formula, and solve matrix equations by multiplying on the correct side.
The determinant
Can the two totals and recover the original ? Compare them with and : in the second pair, , so the second total contains no new information.
For example, both and give in that second pair. A single reverse rule cannot recover two different inputs from the same output.
Two-by-two determinant
For ,
The determinant is a number, not a matrix. Not in the formula booklet: learn it.
The two products use opposite diagonals, with the main-diagonal product first. We will see in the next part why their difference decides whether an inverse exists.
Singular and non-singular
A square matrix is singular if it has no inverse, and non-singular if it has an inverse. For two-by-two and three-by-three matrices, it is singular exactly when its determinant is zero.
A nonzero matrix can be singular. Conversely, a negative determinant does not prevent an inverse; only zero does.
Worked example 1: deciding whether reversal is possible
Question. Determine whether is singular.
Plan. Calculate the determinant and compare it with zero.
Because , is non-singular.
Answer. It has an inverse.
Check. Eliminating from , gives , then . Every output has one recovered input.
Change only the bottom-right entry from to . This makes the second row a multiple of the first.
Worked example 2: the singular boundary
Question. Determine whether is singular.
Plan. Evaluate the same two diagonal products.
Answer. is singular and has no inverse.
Check. , as does the zero input. Two distinct inputs share an output, confirming that reversal is impossible.
When an entry depends on a parameter, the same test gives an equation for the singular values.
Watch out
Do not use , and do not decide from the signs of the entries. Compute and test whether that number is zero.
Find the boundary in another matrix.
The inverse matrix
The inverse is a matrix that multiplies the original matrix to give the identity on either side.
To discover it, multiply a general matrix by one with its diagonal entries exchanged and its other entries negated:
The off-diagonal terms cancel: and , where these are ordinary numbers. The reverse product gives the same result. Dividing every entry by the nonzero determinant turns this into .
Two-by-two inverse
If and , then
If the determinant is zero, this division is impossible and the matrix is singular. Not in the formula booklet: learn it.
The superscript denotes the inverse of the whole matrix; it does not ask for reciprocals of individual entries.
Worked example 3: an inverse with integer entries
Question. Find the inverse of .
Plan. Find the determinant, exchange the diagonal entries and negate the other two.
Answer. .
Check. Multiplication gives
The reverse product gives too.
Change only the bottom-right entry to . The determinant changes sign; carry that sign through the whole inverse.
Worked example 4: a negative determinant
Question. Find the inverse of .
Plan. Use the signed determinant as the divisor of the entire adjusted matrix.
Answer. .
Check. Solving , by subtraction gives and , exactly the two rows of the proposed inverse. Direct multiplication also gives .
For a determinant other than or , leave a common fraction outside if that keeps the entries clear. It still multiplies every entry.
Watch out
The adjusted matrix alone is usually not the inverse. Its product with the original is ; the determinant divisor is essential.
Use a determinant whose magnitude is greater than one.
Solving matrix equations
An inverse lets you remove a non-singular factor, provided that it is placed next to the factor it must cancel.
For , multiply on the left: , so . For , multiply on the right, giving . Reversing these answers generally changes them.
You already know
Matrix multiplication is associative but usually not commutative. You may regroup as , but you may not move through .
This is why we say “multiply by the inverse on the left” rather than “divide by the matrix”.
Worked example 5: an unknown on the right
Question. Solve , where and .
Plan. Use the known inverse of on the left of both sides.
Answer. .
Check. Substitute into the original order:
.
Change only the position of the unknown in the equation. The given matrices stay the same, but the inverse must move to the other side.
Worked example 6: an unknown on the left
Question. For the same and , solve .
Plan. Multiply both sides on the right by .
Answer. .
Check. . This checks the equation actually asked, not the different equation in the preceding example.
The opening totals came from the non-singular matrix , so they can indeed recover the input by its inverse. For a singular matrix the inverse method is unavailable; it does not follow that every associated equation has no solution. For example, has many solutions.
Problem-solving
Keep the unknown's position visible while rearranging. Check the final matrix by substitution into the original equation in its original order.
Use a fresh equation with a non-singular left factor.
Quick Recap
- Calculate for a two-by-two matrix.
- A zero determinant means singular; a nonzero determinant permits an inverse.
- Exchange the diagonal entries, negate the other entries, then divide the whole matrix by its determinant.
- Remove a factor by multiplying by its inverse on the correct side.
The opening pair of independent totals can be reversed; a pair containing the same information twice cannot.