MatrixStep

Adjugate Matrix Calculator

Finds each minor and cofactor to build the cofactor matrix C and the adjugate adj(A) = Cᵀ.

INPUT

Integers, fractions (1/3) and decimals (0.25) are accepted. Empty cells count as 0. Paste a block of numbers from a spreadsheet or textbook into the first cell to fill the whole matrix.

RESULT

LaTeX is the math code you can paste into Overleaf, Notion equation blocks or Word's equation editor.

What is the adjugate?

The cofactor of the entry aᵢⱼ is Cᵢⱼ = (−1)ⁱ⁺ʲMᵢⱼ, where the minor Mᵢⱼ is the determinant after deleting row i and column j.

The adjugate adj(A) is the transpose of the cofactor matrix, and A·adj(A) = det(A)·I. So when det(A) ≠ 0, A⁻¹ = adj(A)/det(A).

Full explanation with examples: Adjugate Matrix Formula: Inverse by Cofactors and adj(A) (2×2 and 3×3)

Exam tipFor 2×2, adj([[a, b], [c, d]]) = [[d, −b], [−c, a]]: swap the diagonal entries and negate the others.

How to do it by hand

  1. For each entry aᵢⱼ, compute the minor Mᵢⱼ: the determinant of what remains after deleting row i and column j. An n×n matrix has n² minors.
  2. The cofactor is Cᵢⱼ = (−1)^(i+j) · Mᵢⱼ. The signs alternate in a checkerboard: (1,1) is +, (1,2) is −.
  3. Placing each cofactor in its own position gives the cofactor matrix C.
  4. The adjugate is the transpose: adj(A) = Cᵀ. Do not skip the transpose.
  5. If det(A) ≠ 0, then A⁻¹ = adj(A) / det(A).
Worked example

Find the adjugate of A = [1 2; 3 4]. For 2×2 each minor is a single entry.

C₁₁ = +4, C₁₂ = −3, C₂₁ = −2, C₂₂ = +1 → cofactor matrix C = [4 −3; −2 1]

adj(A) = Cᵀ = [4 −2; −3 1]. det(A) = 4 − 6 = −2.

A⁻¹ = adj(A)/det(A) = [−2 1; 3/2 −½], exactly what the 2×2 formula gives.

Where is it used?

  • It is the formal definition of the inverse. Gauss-Jordan is faster to compute, but proofs about when an inverse exists use the adjugate.
  • Cramer's rule, which writes each unknown of a linear system as a ratio of determinants, comes from the adjugate.
  • For symbolic matrices (entries that are variables) the adjugate is often easier than elimination.

Common mistakes

  • Calling the cofactor matrix the adjugate without transposing. This is the most common slip. For 2×2, [4 −3; −2 1] and [4 −2; −3 1] are different.
  • Dropping the sign (−1)^(i+j). A minor and its cofactor can have opposite signs.
  • Expecting A·adj(A) to be I. It equals det(A)·I; you must divide by det to get I.

How to use

  1. Set the matrix size with the row and column buttons. Up to 6×6 is supported.
  2. Type numbers into the cells and the result updates instantly. Enter fractions as 1/3 and negatives as -2.
  3. Enter moves to the next cell; the ← → ↑ ↓ arrow keys move between cells.
  4. Open ‘Steps’ to see the full working. ‘Copy LaTeX’ copies the result as math code you can paste into Overleaf, a Notion equation block or Word's equation editor.

FAQ

What is the difference between the cofactor matrix and the adjugate?
The cofactor matrix C holds each cofactor in its own position; the adjugate is its transpose Cᵀ. Forgetting the transpose is a common mistake.
Elimination or the adjugate formula for inverses?
For 2×2 and 3×3 the adjugate formula is quick. From 4×4 up, elimination is much faster.

Related guides