Skip to content
FiftyCalc Free calculators for all 50 states

Cofactor Matrix Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Enter a 3 × 3 matrix to get its nine cofactors; transposing them gives the adjugate used for the inverse.

Result

Sample figures

Determinant (a₁₁C₁₁ + a₁₂C₁₂ + a₁₃C₁₃)—

Cofactor C₁₁ —

  • Cofactor C₁₂—
  • Cofactor C₁₃—
  • Cofactor C₂₁—
  • Cofactor C₂₂—
  • Cofactor C₂₃—
  • Cofactor C₃₁—
  • Cofactor C₃₂—
  • Cofactor C₃₃—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Cofactor Matrix Calculator

Row 1, column 1: enter a number. Prefilled example: 1.

Row 1, column 2: enter a number. Prefilled example: 2.

Row 1, column 3: enter a number. Prefilled example: 3.

Row 2, column 1: enter a number. Prefilled example: 0.

Row 2, column 2: enter a number. Prefilled example: 4.

Row 2, column 3: enter a number. Prefilled example: 5.

Row 3, column 1: enter a number. Prefilled example: 1.

Row 3, column 2: enter a number. Prefilled example: 0.

Row 3, column 3: enter a number. Prefilled example: 6.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Row 1, column 1: enter a number.
  2. Row 1, column 2: enter a number.
  3. Row 1, column 3: enter a number.
  4. Row 2, column 1: enter a number.
  5. Row 2, column 2: enter a number.
  6. Row 2, column 3: enter a number.
  7. Row 3, column 1: enter a number.
  8. Row 3, column 2: enter a number.
  9. Row 3, column 3: enter a number.
  10. Read the result: Determinant (a₁₁C₁₁ + a₁₂C₁₂ + a₁₃C₁₃); the panel also shows Cofactor C₁₁, Cofactor C₁₂, Cofactor C₁₃, Cofactor C₂₁, Cofactor C₂₂, Cofactor C₂₃, Cofactor C₃₁, Cofactor C₃₂ and Cofactor C₃₃.

How this calculator works

The cofactor Cᵢⱼ = (−1)^(i+j) Mᵢⱼ, where the minor Mᵢⱼ is the determinant of the 2 × 2 matrix left after deleting row i and column j. The signs follow the checkerboard + − + / − + − / + − +.

Expanding along the first row gives the determinant: det A = a₁₁C₁₁ + a₁₂C₁₂ + a₁₃C₁₃ (Laplace expansion). The transpose of the cofactor matrix is the adjugate, and A⁻¹ = adj(A) ÷ det A.

The formula

  1. C11=a22×a33−a23×a32+0
  2. C12=−(a21×a33−a23×a31)+0
  3. C13=a21×a32−a22×a31+0
  4. Det=a11×C11+a12×C12+a13×C13+0
Symbols used in the formula
SymbolMeaning
a11Row 1, column 1
a12Row 1, column 2
a13Row 1, column 3
a21Row 2, column 1
a22Row 2, column 2
a23Row 2, column 3
a31Row 3, column 1
a32Row 3, column 2
a33Row 3, column 3
C11Cofactor C₁₁
C12Cofactor C₁₂
C13Cofactor C₁₃
DetDeterminant (a₁₁C₁₁ + a₁₂C₁₂ + a₁₃C₁₃)

Worked example

Row 1, column 11
Row 1, column 22
Row 1, column 33
Row 2, column 10
Row 2, column 24
Row 2, column 35
Row 3, column 11
Row 3, column 20
Row 3, column 36
Cofactor C₁₁24
Cofactor C₁₂5
Cofactor C₁₃-4
Cofactor C₂₁-12
Cofactor C₂₂3
Cofactor C₂₃2
Cofactor C₃₁-2
Cofactor C₃₂-5
Cofactor C₃₃4
  1. C11=4×6−5×0+0=24
  2. C12=−(0×6−5×1)+0=5
  3. C13=0×0−4×1+0=−4
  4. Det=1×24+2×5+3×−4+0=22

Determinant (a₁₁C₁₁ + a₁₂C₁₂ + a₁₃C₁₃) 22

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the cofactor C₁₂ of [[1, 2, 3], [0, 4, 5], [1, 0, 6]]?

−(0 × 6 − 5 × 1) = 5. The determinant of that matrix is 22.

What is the difference between a minor and a cofactor?

The cofactor is the minor with the sign (−1)^(i+j) applied.

Related calculators