What is the correct method for calculating the co factor of a 3 x 3 matrix?

  • Thread starter Thread starter Rob K
  • Start date Start date
  • Tags Tags
    Inverse Matrix
Click For Summary
SUMMARY

The correct method for calculating the cofactor of a 3x3 matrix involves understanding the placement of signs based on the indices of the matrix elements. In the given matrix, the cofactor for the element in the first row and second column is calculated as (-1 * 6) - (-2 * 7), resulting in 8. However, the sign must be adjusted according to the position, yielding -8 for the cofactor. This method aligns with the cofactor expansion formula, which dictates that positions where the sum of the row and column indices is odd receive a negative sign.

PREREQUISITES
  • Understanding of matrix operations, specifically cofactor and determinant calculations.
  • Familiarity with the concept of matrix transposition.
  • Knowledge of the cofactor expansion formula for determinants.
  • Experience with MATLAB for matrix computations.
NEXT STEPS
  • Study the cofactor expansion method in detail for 3x3 matrices.
  • Learn how to compute determinants using MATLAB, focusing on the 'det' function.
  • Explore the properties of matrix transposition and its effects on determinants.
  • Practice calculating cofactors for larger matrices to reinforce understanding.
USEFUL FOR

Students studying linear algebra, mathematicians working with matrix theory, and anyone needing to compute matrix cofactors for applications in engineering or computer science.

Rob K
Messages
33
Reaction score
0
This is insane, I am trying to revise the inverse of matrices and this one element is being really stubborn, please help.

Here is the matrix
3 -1 7

2 0 1

5 -2 6

I have transposed it
3 2 5

-1 0 -2

7 1 6

Now as for replacing the element of the co factors, I am stuck on the second one on the first row.

I have calculated the co factor to be as follows:

(-1 * 6) - (-2 * 7) = 8
fine
but now you times it by the place sign, which is a minus is it not?

So this gives me -8

the book disagrees
And to my horror so does Matlab.

Where am I going wrong?

An help would be appreciated, as I simply can't see where I am going wrong.

Kind regards

Rob
 
Physics news on Phys.org
Let me clarify first, are you trying to find the co-factor expansion along a specific column or row? If so, which one is it? Recall that the co-factor expansion formula requires any position where the sum of the row index and column index being odd to be of negative sign (Ex: Suppose your matrix is A, A1,2 has a negative because 1+2=3 which is odd).
Are you taking the determinant to check whether the matrix is indeed invertible?
 
Start at the upper left of the matrix, count, starting with "0" as the first element, across the row to the correct column, then count down to the element you want. The sign is [itex](-1)^n[/itex] where "n" is the final count.

Alternatively, and perhaps simpler, is to say "plus" at the upper left and go across and down alternating "minus" and "plus" at each element.
 

Similar threads

  • · Replies 24 ·
Replies
24
Views
3K
Replies
5
Views
3K
Replies
6
Views
2K
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
2
Views
2K
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K