Cofactor

The cofactor (also known as the algebraic complement) of an element \(a_{ij}\) is the minor of the submatrix \(A_{(ij)}\), multiplied by the scalar factor \((-1)^{i+j}\).

The formula for the algebraic complement

How to Calculate the Cofactor

To find the cofactor of an element in a matrix \(A\), start by calculating the minor of that element \(a_{ij}\).

What is the minor of an element? The minor of an element \(a_{ij}\) is simply the determinant of the complementary submatrix created by removing the \(i\)-th row and \(j\)-th column from the matrix.
The corresponding minor of an element

Then, multiply this minor by \((-1)^{i+j}\).

The formula for the algebraic complement

And that’s how you calculate the cofactor of \(a_{ij}\).

The sign of the cofactor depends on the position of \(a_{ij}\) within the matrix.

The difference between the corresponding minor and the algebraic complement (cofactor)

So, in some cases, the cofactor has the same sign as the minor, while in others, it has the opposite sign.

A Practical Example

Let’s consider a square matrix \(A\) of order 3.

An example of a matrix

To calculate the cofactor of \(a_{11}\):

First, we extract the complementary submatrix of \(a_{11}\).

The submatrix of the considered element

Next, we find the determinant of the submatrix \(A_{(11)}\), which gives us the minor of \(a_{11}\).

The corresponding minor of the element a11

Finally, we multiply this minor by \((-1)^{i+j}\). In this case, that’s \((-1)^2\), since \(i=1\) and \(j=1\).

The calculation of the cofactor

Thus, the cofactor of \(a_{11}\) is -2.

In this case, the cofactor and the minor of \(a_{11}\) are identical. However, this isn’t always true, as it depends on the position of the element.

Note: If we calculated the cofactor of \(a_{12}\), the sign would differ because \((-1)^{1+2}=-1\). The minor of \(a_{12}\) is -6, while its cofactor is 6.
Another example of cofactor calculation

Following this method, we can find the cofactors for all other elements in the matrix.

 
 

Please feel free to point out any errors or typos, or share suggestions to improve these notes. English isn't my first language, so if you notice any mistakes, let me know, and I'll be sure to fix them.

FacebookTwitterLinkedinLinkedin
knowledge base

Matrices (linear algebra)