In matrix theory, the concept of a cofactor is fundamental for computing:
Cofactors are derived from minors and incorporate a sign pattern that is essential in determinant expansion.
The cofactor of an element in a matrix is defined as:
Cij = (-1)^(i+j) × Mij
Where:
Cij = cofactor of the element in row i, column jMij = minor of that element(-1)^(i+j) determines the signBefore finding a cofactor, we compute the minor.
The minor (Mij) of an element is the determinant of the matrix obtained by deleting:
i-th rowj-th columnThe sign of each cofactor follows a checkerboard pattern:
| + - + |
| - + - |
| + - + |
This pattern comes from (-1)^(i+j).
Let:
A = | a b |
| c d |
C11 = +dC12 = -cC21 = -bC22 = +aCofactor matrix:
| d -c |
| -b a |
Let:
A = | 1 2 3 |
| 0 4 5 |
| 1 0 6 |
C11 = +(4×6 − 5×0) = 24C12 = −(0×6 − 5×1) = -(-5) = 5C13 = +(0×0 − 4×1) = -4C21 = −(2×6 − 3×0) = -12C22 = +(1×6 − 3×1) = 3C23 = −(1×0 − 2×1) = 2C31 = +(2×5 − 3×4) = -2C32 = −(1×5 − 3×0) = -5C33 = +(1×4 − 2×0) = 4| 24 5 -4 |
| -12 3 2 |
| -2 -5 4 |
Cofactors are used to compute determinants:
det(A) = a11C11 + a12C12 + a13C13
This is called expansion along a row.
The adjoint of a matrix is obtained by:
adj(A) = transpose of cofactor matrix
Cofactor is defined as: Cij = (-1)^(i+j) × Mij
Minor is determinant after removing row and column
Sign follows checkerboard pattern
Used in: