Pm15 - Determinants and inverses by hand
A numerical matrix can be inverted by calculator, but an unknown entry calls for algebra. Pm15 develops the hand methods for determinants and inverses of order , including matrices containing parameters. Minors, signed cofactors and one transpose turn a large calculation into a sequence of small ones.
Expanding a determinant with cofactors
Can a matrix containing a freely changing real number still have an inverse for every value of ? Consider
At it is the identity, but what happens when becomes large or negative? A calculator cannot check every real value. We will calculate its determinant algebraically and settle the whole question at once.
You already know
A determinant of order is . A square matrix has an inverse exactly when its determinant is non-zero. Numerical determinants of order can be checked with a calculator, but a hand method is needed for algebraic entries.
First take a concrete matrix:
Delete its first row and second column. The remaining matrix is , whose determinant is . This smaller determinant is a minor. Its position also supplies a sign.
Minor and cofactor
For an entry in row , column , the minor is the determinant left after deleting row and column . Its cofactor is . The signs form the pattern
For the displayed matrix, , but . The minor and the cofactor are not always equal.
To obtain the full determinant, choose one row and add each entry times its own cofactor. A row containing a zero is useful: that entry contributes nothing, so its minor need not be calculated.
Cofactor expansion in order 3
For , expansion along the first row gives
Equivalently, . You may expand along any one row or column, using the cofactors belonging to that row or column. Keep the alternating signs attached to positions.
Not in the formula booklet: learn it.
In a determinant expansion, a minor receives its cofactor sign once. Subtracting a negative minor produces a positive contribution; do not change that sign again.
Worked example 1: a zero makes the expansion shorter
Question. Without using a calculator, find , where .
Plan. Expand along the first row, where the zero removes one term.
Why this step? The first row contains a zero, and only two minors need to be evaluated.
Answer. , so is non-singular.
Check. Expanding along the third column instead gives .
Worked example 2 changes only the bottom-left entry from to . In the chosen expansion, only one of the two useful minors changes.
Worked example 2: tracking a changed entry
Question. Without using a calculator, find , where .
Plan. Use the same first-row expansion and recalculate the affected minor.
Why this step? The entry is inside the minor for the first-row entry ; it does not become a separate term of the expansion.
Answer. , so is non-singular.
Check. Expanding down the first column gives .
The sign pattern belongs to the positions, whatever signs the entries or minors already have.
Watch out
Wrong: for Worked example 1. That omits the negative cofactor sign in position . Right: . A negative minor at a negative-sign position contributes positively.
The next matrix changes that bottom-left entry again. Show the expansion, not just a determinant copied from a calculator.
From cofactors to the inverse
An inverse of order uses all nine cofactors, followed by a transpose and division by the determinant.
The cofactor matrix puts in position . Its transpose exchanges rows and columns: the entry in position moves to position . This transpose is the step that makes the matrix multiplication work.
Adjugate
The adjugate of a square matrix is the transpose of its cofactor matrix. For a cofactor matrix , the adjugate is . For example, the first row of becomes the first column of .
Multiplying the original matrix by its adjugate gives the determinant on each main-diagonal entry and zero elsewhere: . Dividing the whole product by a non-zero determinant therefore gives the identity.
Inverse by cofactors
For a non-singular matrix of order ,
Calculate the determinant, find all cofactors, transpose their matrix and divide by the determinant. If the determinant is zero, stop: there is no inverse.
Not in the formula booklet: learn it.
Use a consistent layout. Nine unlabelled numbers are hard to audit; a labelled cofactor matrix and a separate adjugate make a missed sign or transpose easier to catch.
Worked example 3: the full cofactor method
Question. Without using a calculator, find the inverse of .
Plan. Use from Worked example 1, calculate the nine signed minors, then transpose and divide.
Each line deletes the row and column named by the subscripts, then applies that position's sign. Therefore
Why this step? The cofactors must be transposed before division. Dividing the cofactor matrix itself generally does not produce an inverse.
Answer. .
Check. Before division,
Dividing by gives .
Worked example 4 changes only the bottom-left entry from to , as in the determinant examples. Reusing the unaffected cofactors is efficient, provided you identify which minors actually contain the changed entry.
Worked example 4: updating the affected cofactors
Question. Without using a calculator, find the inverse of .
Plan. Use , recalculate the cofactors affected by the , then transpose the complete cofactor matrix.
The changed entry occurs in four minors. The minor for also contains it, but its coefficient is zero, so that cofactor remains . The three changed cofactors are
The remaining cofactors retain their values from Worked example 3. Thus
Why this step? A changed entry does not alter every minor. Deleting its row or column removes it entirely, which saves unnecessary recalculation.
Answer. .
Check. The first row of is ; the second is ; the third is .
The transpose is often the last place a correct cofactor calculation goes wrong.
Watch out
Wrong: . This divides the cofactor matrix without transposing it. Right: its first row becomes the first column of the inverse's numerator matrix.
The next inverse uses a different first row. Calculate its cofactors afresh rather than copying the previous pattern.
Inverses with algebraic entries
An algebraic entry changes the arithmetic into polynomial work, but it does not change the cofactor method.
Keep brackets around a minor until its sign has been applied. Factor the determinant where possible, because its zeros give precisely the excluded parameter values. State those exclusions before presenting a formula that divides by the determinant.
You already know
For a non-singular matrix, . A parameter value giving determinant zero makes the inverse undefined; it is not a case in which the inverse is the zero matrix.
The following two examples differ only in one numerical entry. This keeps the algebra focused on the parameter rather than hiding the method in a long expansion.
Worked example 5: a parameter in the determinant
Question. Find the values of for which is invertible. Find its inverse for those values without using a calculator.
Plan. Expand the determinant, state the non-zero condition, then build the signed minors and transpose them.
Thus an inverse exists exactly when . The cofactors are
For example, , while .
Why this step? The restriction belongs to the whole inverse formula: at , the determinant factor cannot be divided out.
Answer. is invertible for all real , with inverse as displayed.
Check. The product with the adjugate is
At , the determinant is , so that particular matrix remains invertible even though its central entry is zero.
Worked example 6 changes only the bottom-left entry from to . The forbidden parameter value moves, and several cofactors change with it.
Worked example 6: a different excluded value
Question. Find the values of for which is invertible. Find its inverse for those values without using a calculator.
Plan. Recalculate the determinant and the affected cofactors, then retain the condition on the denominator.
For example, and .
Why this step? A formula obtained by division is valid only where its denominator is non-zero. State the excluded value even when the numerator matrix has perfectly ordinary entries there.
Answer. is invertible for all real , with the displayed inverse.
Check. Multiplying gives . For example, its first row is , and its second row is .
These particular determinant and inverse expressions are not in the formula booklet: derive them from the given matrices. A calculator check at one allowed value can catch a slip, but cannot prove an algebraic expression valid for all allowed values.
Watch out
Wrong: “At , .” Right: no inverse exists there. The expression contains division by zero, and a zero matrix could never multiply to give .
The opening matrix has a happier outcome. Its determinant is
For real , , so . It is invertible for every real value of , however large, small or negative. Its hand-calculated inverse is
Multiplication gives ; the third coordinate remains unchanged. A variable entry does not automatically create a singular case: only an actual zero of the determinant does.
The last check changes the bottom-left entry of Worked example 6 from to . Keep the parameter restriction and the transpose visible.
Quick Recap
- Delete an entry's row and column to form its minor; apply the alternating position sign to obtain its cofactor.
- Expand a determinant along one row or column. A row or column containing zeros usually saves work.
- Form the cofactor matrix, transpose it to obtain the adjugate, then divide by the non-zero determinant.
- For algebraic entries, find the determinant's zeros and state the excluded parameter values. Check an inverse by multiplying back to the identity.
The opening matrix has determinant , so it has an inverse for every real .