🎉 75% of content is free forever — Unlock Premium from $10/mo →
CW
NEWSLIVESearch All Content
💼 Servicesℹ️ About✉️ ContactView Pricing Plansfrom $10

Minors and Cofactors

CBSE Class 12 MathsDeterminants🟢 Free Lesson

Why cofactors come before the adjoint

A determinant can be produced by expanding, by row reduction, or by a computer algebra system, but only the cofactor route exposes the internal structure of the matrix. Each cofactor is the signed weight of one single entry, and the determinant is nothing more than one row of the matrix matched up with its own cofactors. That single viewpoint is what makes the adjoint possible, and the adjoint in turn delivers the inverse formula and Cramer's rule without needing any new theory. The price of the method is bookkeeping: an order matrix asks for sub-determinants and independent sign decisions, and every one of them can be wrong on its own. Examiners deliberately set matrices with rows in arithmetic progression, such as the matrix used throughout this lesson, precisely because the arithmetic is easy while the sign bookkeeping is not.

Sign Pattern

The sign attached to depends only on the parity of . Even positions keep a plus sign, odd positions flip to a minus sign:

For a three-by-three matrix the pattern starts with a plus in the top-left corner and alternates like a chessboard, and the same checkerboard simply extends by one row and one column when the matrix grows. Three practical consequences follow. First, you memorise one pattern rather than nine separate rules, because the sign of a cofactor never depends on the size of the minor or on the numbers inside it. Second, the sign is read from the position the entry occupied before deletion, so a minor built from rows and columns and of the original matrix still carries the sign of entry . Third, the pattern is symmetric about both diagonals, which is why the cofactor matrix of a symmetric matrix turns out to be symmetric as well.

Example: Find Minors and Cofactors

For :

Determinant Using Cofactors

The remarkable part of cofactor expansion is that the answer does not depend on which line you choose. Expanding along the second row of the same matrix gives , and expanding along the third column gives . All three routes return the same number because each route is a different way of writing the same signed volume of the parallelepiped spanned by the column vectors. What does change is the amount of arithmetic, so the working rule is to take the line carrying the most zeros, or the largest common factor, before touching the cofactors.

A column expansion uses exactly the same cofactors as a row expansion, because a cofactor is defined by deleting a row and a column and therefore belongs to both. That symmetry is the reason a table of cofactors is enough to compute the determinant, the adjoint and the inverse without ever rebuilding a sub-determinant.

A few lines of pure Python show the claim holding for every line of a matrix at once:

python
def expand(a, index, kind="row"):
    """Laplace expansion of a 3x3 determinant along one row or one column."""
    def minor(r, c):
        return [[a[i][j] for j in range(3) if j != c] for i in range(3) if i != r]

    def det2(m):
        return m[0][0] * m[1][1] - m[0][1] * m[1][0]

    total = 0
    for k in range(3):
        if kind == "row":
            entry, r, c = a[index][k], index, k
        else:
            entry, r, c = a[k][index], k, index
        total += ((-1) ** (r + c)) * entry * det2(minor(r, c))
    return total

singular = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
check = [[2, 5, 7], [1, -1, 0], [3, 4, 2]]

print("singular rows:", [expand(singular, i, "row") for i in range(3)])  # [0, 0, 0]
print("singular cols:", [expand(singular, i, "col") for i in range(3)])  # [0, 0, 0]
print("check rows   :", [expand(check, i, "row") for i in range(3)])     # [35, 35, 35]
print("check cols   :", [expand(check, i, "col") for i in range(3)])     # [35, 35, 35]

Six expansions, one answer per matrix. The first matrix is the arithmetic-progression matrix used above, whose rows are linearly dependent, and every line returns the zero determinant; the second returns 35 along all three rows and all three columns, which is the value you would get from a single Sarrus sweep.

The cost of the method grows faster than most students expect, which is why hand expansion stops being sensible beyond order four:

Matrix orderTwo-by-two determinants needed for expansionMultiplications in Gaussian elimination
3318
41243
56083
6360144

By order six the expansion evaluates six times as much work as elimination, even though both are exact. Board questions stay at order three and four, where the cofactor route is still competitive and is the only one that hands you the adjoint for free.

Adjoint of a Matrix

Writing the cofactor matrix first and transposing afterwards is not a formality. Entry of the transposed matrix is entry of the cofactor matrix, which means the entry that multiplies during expansion is stored in row of the adjoint. That re-arrangement is exactly what makes the product multiply each row of against the cofactors of the same row rather than against cofactors of a different row.

Example: Find Adjoint

Using the cofactors from above:

The two-by-two shortcut and the transpose trap

For the four minors are , , and , so the cofactor matrix is . Transposing it gives the adjoint:

The rule in words is: swap the two diagonal entries and change the sign of the two off-diagonal entries. Applied to this gives , which is the adjoint used in the inverse lesson for the same matrix. The transpose is the step people skip, and skipping it leaves the off-diagonal signs in the wrong corners: for the cofactor matrix and the adjoint are genuinely different matrices, and only the second one satisfies the inverse formula.

One identity, and why the inverse formula is not a trick

Everything in this lesson collapses into a single product. Take the entry in row and column of ; by the definition of matrix multiplication it is , a row of running against a row of cofactors. When that sum is precisely the cofactor expansion along row , so it equals . When the sum is the determinant of the matrix formed by replacing row of with row , and that matrix has two equal rows, so the sum is . The same argument with the roles of rows and columns swapped gives the product on the other side:

Dividing by when it is non-zero produces immediately, so the inverse formula is a corollary of this identity rather than a separate rule to memorise. Two edge cases are worth fixing in memory. If the identity collapses to , which still holds even when the adjoint itself is not the zero matrix — the matrix above has a non-zero adjoint and a zero determinant at the same time. And because the product is symmetric in and , the adjoint satisfies the same identity on both sides, which is why the formula for the inverse never needs a left-inverse versus right-inverse distinction.

Verifying every step in Python

The three quantities that must agree are the determinant read off the expansion, the determinant reported by numerical elimination, and the product of the matrix with its adjugate. The block below rebuilds all nine cofactors from scratch, then checks the identity on both a singular and a non-singular matrix.

python
import numpy as np

def cofactors(a):
    n = a.shape[0]
    c = np.zeros((n, n), dtype=float)
    for i in range(n):
        for j in range(n):
            minor = np.delete(np.delete(a, i, axis=0), j, axis=1)
            c[i, j] = (-1) ** (i + j) * np.linalg.det(minor)
    return c

def adjugate(a):
    return cofactors(a).T

singular = np.array([[1., 2., 3.], [4., 5., 6.], [7., 8., 9.]])
regular  = np.array([[2., 1., 0.], [1., 3., 2.], [0., 2., 4.]])

print("minors/cofactors of singular:\n", cofactors(singular))
print("det(singular) =", round(float(np.linalg.det(singular)), 12))
print("adj(singular) == lesson adjoint:",
      np.allclose(adjugate(singular),
                  [[-3, 6, -3], [6, -12, 6], [-3, 6, -3]]))

for name, a in (("singular", singular), ("regular", regular)):
    adj = adjugate(a)
    det = np.linalg.det(a)
    print(name, "A adj(A) == det(A) I:",
          np.allclose(a @ adj, det * np.eye(3)))
    print(name, "adj(A) A == det(A) I:",
          np.allclose(adj @ a, det * np.eye(3)))

Running it prints a determinant of effectively zero for the first matrix, confirms the adjoint computed by hand, and returns True for all four identity checks, including the one where the determinant is exactly . The last two lines are the numerical form of the theorem proved in the previous section: they do not merely check that an inverse exists, they check the identity that would produce it.

Where marks are lost

Almost every lost mark in this topic belongs to one of four places. The first is the sign: a cofactor recorded as its minor, most often at positions where is odd, poisons the adjoint and every quantity built from it. The second is the transpose: writing the cofactor matrix in the answer box and labelling it as the adjoint works only for symmetric matrices, which is exactly why examiners choose non-symmetric ones. The third is expansion along the wrong line: multiplying entries of one row by cofactors of another row gives a number, and that number is usually not the determinant, so the mistake survives a casual glance. The fourth is the forgotten division: computing correctly and stopping there when the question asked for , leaving a factor of missing.

A cheap habit removes all four. After finding the adjoint, multiply the first row of by the first column of the adjoint in your head; if the answer is not the determinant, the sign or the transpose is wrong before you write anything else.

Common Mistakes

Recording the minor as the cofactor, so every negative position comes out positive

Fix: Apply the parity of i plus j before moving on: (1,2), (1,4), (2,1), (2,3), (3,2) and (3,4) are all negative in any order.

Stopping at the cofactor matrix and calling it the adjoint

Fix: Transpose explicitly as the final step, and remember the two-by-two shortcut is a swap of the diagonal plus a sign flip off the diagonal.

Multiplying a row of the matrix by cofactors taken from a different row and reporting the product as the determinant

Fix: Expand along one line only, or check the result against a second line; both must return the same number.

Giving adj(A) as the final answer when the question asked for the inverse

Fix: Divide every entry of the adjoint by the determinant, and state the condition that the determinant is non-zero.

Key Takeaways

  • A minor is an unsigned sub-determinant and a cofactor is that same minor with the sign of the parity of i plus j, so only the position, never the content, decides the sign.
  • Cofactor expansion gives the same determinant along any row or any column, which is why the working rule is to pick the line with the most zeros rather than the first one available.
  • The adjoint is the transpose of the cofactor matrix, and for a two-by-two matrix it is the diagonal swap combined with the off-diagonal sign flip.
  • The single identity A times adj(A) equals determinant times I both explains why the inverse formula works and shows what still holds when the determinant is zero.
CW

ChatWhole Learn Editorial Team

Written by experienced data scientists, software engineers, and educators. All content is reviewed by industry professionals to ensure accuracy and relevance.

Last reviewed: 2026-10-16

—
☆☆☆☆☆
0 ratings

Rate & Feedback

Need Expert CBSE Class 12 Help?

Get personalized tutoring, project support, or professional consulting.

Advertisement