# Minors and Cofactors

Minors and Cofactors are important to calculate the adjoint and inverse of a matrix. As the name suggests, a Minor is a smaller part of the larger matrix obtained for a particular element of the matrix by deleting the terms of the row and column to which the element belongs. Cofactor is (-1)^{i+j} times the minor of the matrix. They are the backbones of Linear Algebra and are used to find the value of the determinant, adjoint, and inverse of a matrix. Other than that there are many use cases in computer science for minors and cofactors. In this article, we will study minors and cofactors in detail. Other than that, we will also learn about the determinants, matrix inversion, and many more.Â

## What is the Determinant of a Matrix?

Determinant is useful for solving linear equations, capturing how linear transformation change area or volume, and changing variables in integrals. The determinant can be viewed as a function whose input is a square matrix and whose output is a number. In simple language we can say, to every small matrix A, we can associate a number (real or complex) which is called the determinant of a square matrix A.Â

The determinant of a matrix A can be easily represented as ** det(A) **or

**|A|.**## Minor of a Matrix

Minor of an element **a**_{ij}_{ }of a determinant is a determinant obtained by deleting the i^{th }row and j^{th }column in which element **a**_{ij}_{ }lies. Minor of an element **a**_{ij}_{ }is denoted by **M**_{ij}

**How to Find Minor of a Matrix?**

**How to Find Minor of a Matrix?**

Use the following steps to find the minor of any given matrix:

Hide the iStep 1:^{th}row and j^{th}column of the matrix A, where the element a_{ij}lies.Â

Now compute the determinant of the matrix after the row and column is removed using step 1.Step 2:

Result of Step 2 is the minor for he elelment of the iStep 3:^{th}row and j^{th}column, then repeat the process for each element of the matrix to find the minor for all the elements of the matrix.

## Sample Problems on Minor of a Matrix

**Problem 1: If the matrixÂ ****Â then find the minor of Â a**_{22.}

**Solution:**

In this question, we have to find out the minor of a

_{22}, the element present at a_{22 }is 0. As we learn from our definition of a minor we have to delete the i^{th}row and j^{th}columns at which our asked element is present. Below image is demonstrating how to delete the i^{th}row and j^{th}columnAfter deletion, we write our left element as it is and do cross multiplication.

Minor of element a

_{32}=â‡’ Minor of element a

_{32}= 6 – 15 = -9

** Note: **Always remember, after the multiplication of the left diagonal element in the second-dimensional determinant, always put the -ve sign then do the multiplication of right diagonal elements and solve them out.

**Problem 2: If the matrixÂ ****, then find the minor of a**_{32}**.**

**Solution:**

In the above question we have asked to find out the minor of a

_{32}element which is 1. So as we did in this above problem same procedure we will follow. So firstly we have to delete the i^{th}row and j^{th}column at which our element is present.So we had canceled the i

^{th}row and j^{th}column at which our element is present. So write the elements which are left as it is.Then do the cross multiplication and solve:

Minor of element a

_{32}=Minor of element a

_{32}= -1 -12 = -13

## Cofactor of a Matrix

Co-factor of an element a_{ij }of a determinant, denoted by A_{ij} or C_{ij}, and is defined as follows:

C_{ij}= (-1)^{i+j}M_{ij}ÂWhere,

Mis the minor of the element_{ij}a, andÂ_{ij}andirespectively reprensent the number of row and column of the element (position).j

## Sample Problems on Cofactors of a Matrix

**Problem 1:**** If a matrix A is** Â

**write the cofactor of the element a**

_{32.}**Solution:**

As asked in question we have to find the co factor of element a32 which means our row (i) = 3 and column (j) = 2 so we have row and column as we do to find the minor by deleting the rows and column at which asked element exist we do the same in this question to and then put that in our formula ->

A_{ij}= (-1)^{i+j}Â M_{ij}Cofactor of elements

Ââ‡’ Cofactor of element = (-1)(-5 – 2) = 7

So after putting in the formula of finding cofactor and doing expansion of determinant we get (-1) (-5 – 2) which on solving gives the answer 7, this is our required answer.

** Problem 2:** If A

_{ij}of the element a

_{ij}of the determinant is given below, then write the value of a

_{32}. A

_{32}.

** Solution:**Â

In the question, we are having determinant. So we have row and column given in the question.

Here, a

_{32}= 5 (second element of third row)Given, A

_{ij}is the cofactor of the element a_{ij}of A . So now we can solve this question by putting the values in the formula of cofactor as discussed in above question.Cofactor of elements

(AÂ_{32})â‡’ Cofactor of element (A

_{32}) = (-1)(8 – 30) = 22Â a

_{32}. A_{32}= 5 . 22 = 110So, 110 is our required answer.

## Application of Minors and Cofactors

Minors and Cofactors are used in the calculation of the following terms:

## Adjoint of Matrix

To calculate the adjoint of Matrix, you need to follow the following steps:

Calculate the cofactors of each element of a given matrix.Step 1:

Construct the matrix from the cofactor of elements.Step 2:

Calculate the Transpose of the resultant matrix in Step 2.Step 3:

Resulting matrix of Step 3 is the adjoint of the given matrix.Step 4:

**Example: Find the adjoint of the following matrix A;**

**Solution:**

Compute the cofactors of each element in A.Step 1:C

_{11}= 5 Ã— 9 – 6 Ã— 8 = -3

C_{12}= -(4 Ã— 9 – 6 Ã— 7) = 6

C_{13}= 4 Ã— 8 – 5 Ã— 7 = -3

C_{21}= -(2 Ã— 9 – 3 Ã— 8) = 6

C_{22}= 1 Ã— 9 – 3 Ã— 7 = -6

C_{23}= -(1 Ã— 8 – 2 Ã— 7) = 3

C_{31}= 2 Ã— 6 – 3 Ã— 5 = -3

C_{32}= -(1 Ã— 6 – 3 Ã— 4) = 6

C_{33}= 1 Ã— 5 – 2 Ã— 4 = -3

Construct the matrix of cofactors.Step 2:Matrix of cofactors,Â

Transpose the matrix of cofactors.Step 3:

The resulting matrix is the adjoint of A.Step 4:

## Inverse of Matrix

To calculate the inverse of a matrix, you can use the following steps:

Calculate the determinant of the given matrix.Step 1:

If the value of the determinant is zero, then the matrix has no inverse. Otherwise, calculate the adjoint of the matrix using the steps mentioned in the previous heading.Step 2:

Use the formulaÂ , to calculate the inverse of the given matrix.Step 3:

**Example: Find the inverse of the following matrix A:**

**Solution:**

Find the determinant of A.Step 1:det(A) = 2(2 Ã— 2 – (-1) Ã— (-1)) – (-1)((-1) Ã—2 – (-1) Ã—0) + 0Â

â‡’ det(A) = 6 – 2 = 4

Calculate the adjoint of A using the steps mentioned in the previous example.Step 2:C

_{11}= 4 – 1 = 3

C_{12}= -(-2 – 0) = 2

C_{13}= 1 – 0 = 1

C_{21}= -(-2 – 0) = 2

C_{22}= 4 – 0 = 4

C_{23}= -(-2 – 0) = 2

C_{31}= (1 – 0) = 1

C_{32}= -(-2 – 0) = 2

C_{33}= 4 – 1 = 3Matrix of cofactors,

Transpose of matrix of cofactors,

Multiply the adjoint of A by the reciprocal of the determinant.Step 3:

**Read More,**

## FAQs on Minors and Cofactors

### Q1: What is a Minor in Matrix Algebra?

**Answer:**

Â In matrix algebra, a minor refers to the determinant of a smaller matrix obtained by deleting one or more rows and columns from a larger matrix.

### Q2: What is a Cofactor in Matrix Algebra?

**Answer:Â **

In matrix algebra, the cofactor of an element in a matrix is defined as the signed minor obtained by deleting the row and column containing that element, and multiplying the resulting determinant by -1 if the sum of the row and column indices is odd.

### Q3: What is the Relationship between Minors and Cofactors?

**Answer:Â **

The cofactor of an element in a matrix is equal to the product of the minor of that element and (-1)^(i+j), where i and j are the row and column indices of the element, respectively.

### Q4: What is the use of Minors and Cofactors in Matrix?

**Answer:Â **

Minors and cofactors are used in the computation of the inverse of a matrix, as well as in the calculation of determinants and solutions to systems of linear equations.

### Q5: How are Minors and Cofactors used to calculate the Inverse of a Matrix?

**Answer:Â **

To calculate the inverse of a matrix we first need to calculate the cofactor matrix of any given matrix, then transpose of cofactor matrix is called adjoint. Then dividing adjoint by determinant to get the inverse of the matrix.

### Q6: Can Minors and Cofactors be used to solve systems of Linear Equations?

**Answer:Â **

Yes, minors and cofactors can be used to solve systems of linear equations by representing the system in the form of a matrix and using Cramer’s rule, which expresses the solution in terms of determinants of smaller matrices obtained by replacing one column of the coefficient matrix with the constant terms of the system.

### Q7: What is Laplace’s Expansion Formula?

**Answer:Â **

Laplace’s expansion formula is a method for computing the determinant of a matrix by summing the products of the elements in any row or column with their corresponding cofactors. It is given asÂ