
How to Find Cofactor Using Minor Formula with Examples
A cofactor is a number derived by removing the row and column of a given element in the shape of a square or rectangle. Depending on the element's position, the cofactor is preceded by a negative or positive sign. It is used to find the inverse and adjoint of the matrix. In this article we will learn cofactor matrix, cofactor example and how to find cofactor of a matrix. We will also solve a few examples to understand the concept of cofactor of matrices .
How to Find the Cofactor of a Matrix ?
Let’s understand how to find a cofactor of a matrix
Consider the following matrix:
\[\begin{bmatrix} 6 & 4 & 3\\ 9 & 2 & 5\\ 1 & 7 & 8\end{bmatrix}\]
To find the cofactor of 2, we place blinders over the 2 and eliminate the rows and columns that include 2 as seen below:
\[\begin{bmatrix} 6 & 3\\ 1 & 8 \end{bmatrix}\]
Now we have a matrix that is missing two digits. The determinant of the matrix, which will be the cofactor of 2, will be easy to find. We get by multiplying the diagonal elements of the matrix.
6 x 8 = 48
3 x 1 = 3
Subtract the second diagonal value from the first., i.e, 48 - 3 = 45.
Examine the symbol that has been allocated to the phone number. Every 3 x 3 determinant has a sign based on the deleted element's position.
The cofactor matrix can be written using the matrix sign..
For 2x2 matrix sigen is given as
\[\begin{bmatrix} + & -\\ - & + \end{bmatrix}\]
Cofactor matrix 3x3 is given below as :
\[\begin{bmatrix} + & - & +\\ - & + & -\\ + & - & +\end{bmatrix}\]
Examine the exact location of the 2. It's worth noting that the positive symbol appears before the 2. As a result, the final value is +3, or 3.
Minors and Cofactors
A minor is the determinant of a square matrix that is produced by deleting a row and a column from a square matrix. The minors are determined by the deleted columns and rows. For example, if the fourth column and second row of the matrix are removed, the determinant of the matrix is M24.
So, in a matrix, which is basically a grid in the shape of a square or a rectangle, co-factors are the number you obtain when you remove the row and column of a designated element. Depending on whether the number is in the + or – position, the co-factor is always preceded by a negative (-) or positive (+) sign.
Cofactor Formula
Let A denote any n x n matrix, and Mij denote the (n-1) x (n- 1) matrix formed by removing the ith row and jth column. Then, det(M\[_{ij}\]) is called the minor of a\[_{ij}\]. The formula for calculating the cofactor C\[_{ij}\] of a\[_{ij}\] is:
C\[_{ij}\] = (-1)\[^{i+j}\] det(M\[_{ij}\])
As a result, the sign for cofactor is always +ve (positive) or -ve (negative).
Solved Examples:
1. Find the Cofactor Matrix of the Given Matrix
A = \[\begin{bmatrix} 1 & 9 & 3\\ 2 & 5 & 4\\ 3 & 7 & 8\end{bmatrix}\]
Sol: Given matrix is:
A = \[\begin{bmatrix} 1 & 9 & 3\\ 2 & 5 & 4\\ 3 & 7 & 8\end{bmatrix}\]
Let M\[_{ij}\] be the minor of the ith row and jth column items.
We have to find minor of the elements of matrix A. It is calculated below:
M\[_{11}\] = \[\begin{vmatrix} 5 & 4 \\ 7 & 8\end{vmatrix}\] = 40 - 28 = 12
M\[_{12}\] = \[\begin{vmatrix} 2 & 4 \\ 3 & 8\end{vmatrix}\] = 16 - 12 = 4
M\[_{13}\] = \[\begin{vmatrix} 2 & 5 \\ 3 & 7\end{vmatrix}\] = 14 - 15 = -1
M\[_{21}\] = \[\begin{vmatrix} 9 & 3 \\ 7 & 8\end{vmatrix}\] = 72 - 21 = 51
M\[_{22}\] = \[\begin{vmatrix} 1 & 3 \\ 3 & 8\end{vmatrix}\] = 8 - 9 = -1
M\[_{23}\] = \[\begin{vmatrix} 1 & 9 \\ 3 & 7\end{vmatrix}\] = 7 - 27 = -20
M\[_{31}\] = \[\begin{vmatrix} 9 & 3 \\ 5 & 4\end{vmatrix}\] = 36 - 15 = 21
M\[_{32}\] = \[\begin{vmatrix} 1 & 3 \\ 2 & 4\end{vmatrix}\] = 4 - 6 = -2
M\[_{33}\] = \[\begin{vmatrix} 1 & 9 \\ 2 & 5\end{vmatrix}\] = 5 - 18 = -13
Matrix of cofactors of A is: \[\begin{bmatrix} +12 & -4 & +(-1)\\ -51 & +(-1) & -(-20)\\ +21 & -(-2) & +(-13)\end{bmatrix}\]
= \[\begin{bmatrix} 12 & -4 & -1\\ -51 & -1 & 20\\ 21 & 2 & -13\end{bmatrix}\]
2. If the Cofactor of the Element a\[_{11}\] of the Matrix A = \[\begin{bmatrix} 2 & -3 & 5\\ 6 & 0 & p\\ 1 & 5 & -7\end{bmatrix}\] is -20, then Find the Value of p.
Sol: Given matrix is:
A = \[\begin{bmatrix} 2 & -3 & 5\\ 6 & 0 & p\\ 1 & 5 & -7\end{bmatrix}\]
Using the formula of cofactor of an element,
C\[_{ij}\] = (-1)\[^{i+j}\] det (M\[_{ij}\])
Cofactor of a\[_{11}\] is:
C\[_{11}\] = (-1)\[^{1+1}\] det (M\[_{11}\])
-20 = \[\begin{vmatrix} 0 & p \\ 5 & -7\end{vmatrix}\]
⇒ - 20 = 0 - 5p
⇒ 5p = 20
⇒ p = \[\frac{20}{5}\]
⇒ p = 4
Hence, the value of p is 4.
Conclusion:
From the above we have understood the concept of how to find cofactor. We have seen a cofactor method to calculate the cofactor of a matrix. We should note that If the elements of a row (or column) are multiplied with the cofactors of any other row (or column), then their sum is zero. There are cofactor matrix calculator available so that we can calculate the cofactor of the matrix.
FAQs on Cofactor in Matrices Explained for Determinants
1. What is a cofactor in mathematics?
A cofactor is a signed minor of an element in a matrix used in finding the determinant and inverse of a matrix. For an element aij in a square matrix, its cofactor is defined as:
Cij = (−1)i+j Mij
Where:
- Mij is the minor obtained by deleting the i-th row and j-th column.
- (−1)i+j determines the sign of the cofactor.
2. How do you find the cofactor of an element in a matrix?
To find the cofactor of an element, first find its minor and then apply the sign formula (−1)i+j. Follow these steps:
- Step 1: Delete the row and column of the chosen element.
- Step 2: Compute the determinant of the remaining matrix (this is the minor).
- Step 3: Multiply the minor by (−1)i+j.
3. What is the formula for cofactor?
The formula for the cofactor of an element aij is Cij = (−1)i+j Mij. Here:
- Mij is the minor of aij.
- (−1)i+j gives the correct sign pattern.
4. What is the difference between minor and cofactor?
The minor is the determinant after deleting a row and column, while the cofactor is the signed version of that minor. In symbols:
- Minor (Mij): Determinant after removing row i and column j.
- Cofactor (Cij): (−1)i+j Mij.
5. How do you expand a determinant using cofactors?
To expand a determinant using cofactor expansion, multiply each element of a row or column by its cofactor and add the results. The formula is:
det(A) = ai1Ci1 + ai2Ci2 + ... + ainCin
Steps:
- Choose any row or column.
- Find each cofactor.
- Multiply and sum the products.
6. What is the cofactor matrix?
The cofactor matrix is the matrix formed by replacing each element with its corresponding cofactor. If A = [aij], then its cofactor matrix is [Cij].
Each entry is computed as:
- Cij = (−1)i+j Mij
7. How is cofactor used to find the inverse of a matrix?
The inverse of a matrix using cofactors is given by A−1 = (1/det(A)) adj(A), provided det(A) ≠ 0. Steps:
- Find the determinant det(A).
- Compute the cofactor matrix.
- Transpose it to get adj(A).
- Multiply by 1/det(A).
8. What is the sign pattern of cofactors in a matrix?
The sign pattern of cofactors follows an alternating checkerboard pattern based on (−1)i+j. For a 3×3 matrix, the pattern is:
- + − +
- − + −
- + − +
9. Can you give an example of finding a cofactor in a 3×3 matrix?
Yes, the cofactor of an element in a 3×3 matrix is found by deleting its row and column and applying the sign rule. Example:
If A = [[1, 2, 3], [4, 5, 6], [7, 8, 9]], find C11.
- Delete row 1 and column 1 → [[5, 6], [8, 9]].
- Minor = (5×9 − 6×8) = 45 − 48 = −3.
- Sign factor = (−1)1+1 = 1.
10. Why are cofactors important in linear algebra?
Cofactors are important because they are used to compute the determinant, adjugate matrix, and inverse of a matrix. Key applications include:
- Expanding determinants using cofactor expansion.
- Finding matrix inverses for solving systems of linear equations.
- Understanding matrix properties in linear algebra.





















