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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Row 1, column 1: enter a number.
- Row 1, column 2: enter a number.
- Row 1, column 3: enter a number.
- Row 2, column 1: enter a number.
- Row 2, column 2: enter a number.
- Row 2, column 3: enter a number.
- Row 3, column 1: enter a number.
- Row 3, column 2: enter a number.
- Row 3, column 3: enter a number.
- 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
| Symbol | Meaning |
|---|---|
| Row 1, column 1 | |
| Row 1, column 2 | |
| Row 1, column 3 | |
| Row 2, column 1 | |
| Row 2, column 2 | |
| Row 2, column 3 | |
| Row 3, column 1 | |
| Row 3, column 2 | |
| Row 3, column 3 | |
| Cofactor C₁₁ | |
| Cofactor C₁₂ | |
| Cofactor C₁₃ | |
| Determinant (a₁₁C₁₁ + a₁₂C₁₂ + a₁₃C₁₃) |
Worked example
| Row 1, column 1 | 1 |
|---|---|
| Row 1, column 2 | 2 |
| Row 1, column 3 | 3 |
| Row 2, column 1 | 0 |
| Row 2, column 2 | 4 |
| Row 2, column 3 | 5 |
| Row 3, column 1 | 1 |
| Row 3, column 2 | 0 |
| Row 3, column 3 | 6 |
| 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 |
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.