Determinants from any row or column

Click For Summary
SUMMARY

The discussion focuses on the calculation of determinants using cofactor expansion from any row or column of a matrix. The user initially encounters a discrepancy in determinant values when expanding from different rows, specifically a sign change. The resolution highlights the importance of incorporating the factor of (-1)^(i+j) when calculating cofactors. This factor ensures that the determinant remains consistent regardless of the row or column chosen for expansion.

PREREQUISITES
  • Understanding of matrix operations and properties
  • Familiarity with cofactor expansion for determinants
  • Knowledge of the concept of minors in matrix theory
  • Basic understanding of sign conventions in mathematical calculations
NEXT STEPS
  • Study the properties of determinants in linear algebra
  • Learn about cofactor expansion and its applications in matrix calculations
  • Explore the implications of row operations on determinants
  • Investigate the use of determinants in solving systems of linear equations
USEFUL FOR

Students of linear algebra, mathematicians, and anyone involved in matrix theory or computational mathematics will benefit from this discussion.

Fan de Douze
Messages
2
Reaction score
0
I'm having a problem with this rule in general. Apparently one can calculate the determinant by multiplying the cofactors and entries of any row or any column of a matrix. I have a negative that pops up. I'll take a 3X3 matrix for simplicity.

A=
|a b c|
|d e f|
|g h i|

calculating from the top row we have:
det(A)=a(ei-fh)-b(di-fg)+c(dh-eg) = aei-afh-bdi+bfg+cdh-ceg
calculating from the middle row we have
det(A)=d(bi-ch)-e(ai-cg)+f(ah-bg) = -aei+afh+bdi-bfg-cdh+ceg

The determinant seems to change by a factor of negative 1. This also seems to make sense from row operations. If for example, I swap the first and the second row to yield a matrix B, Then det(B)=-det(A). Yet if I calculate using entries and cofactors corresponding to the second row of B and the first row of A, the cofactor expansion of the two determinants will be identical. Though I'm told that we can start from any row or column, what did I miss? Thanks all.
 
Physics news on Phys.org
That's because you are doing the second one incorrectly. The rule is that if you have a_{ij} times its cofactor, you must multiply by (-1)^{i+j}. The simplest way to get that factor is to start at the top left and move by horizontally or vertically, alternating "+" and "-".

So for your first calculation, "expanding on the first row", you should have "+, -, +" (a_{11}: (-1)^{1+1}= 1, a_{12}: (-1)^{1+2}= -1, a_{13}: (-1)^{1+ 3}= 1) as you have. But "expanding on the second row", it should be "-, + , -" (a_{21}: (-1)^{2+1}= -1, a_{22}: (-1)^{2+2}= 1, a_{23}: (-1)^{2+3}= -1) which changes the sign.
 
Last edited by a moderator:
Thank you, perfect, so I was using the minor of each entry which doesn't include the (-1)^(i+j), which is necessary for the cofactor because Cij=(-1)(i+j)Mij. Thank you.
 

Similar threads

Replies
1
Views
2K
Replies
3
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
11
Views
254K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
2
Views
2K
Replies
1
Views
5K
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K