User:Djwinters/Cramer's rule 3

From Wikipedia, the free encyclopedia

Given n linear equations with n variables , ,, .

Cramer's rule gives the solution:


These expressions for can be put into matrix notation as follows. First do a Laplace expansion (aka cofactor expansion) on the determinants which are in the numerators using the columns which contain , ,, . Thus Cramer's rule becomes;



Where are the cofactors of the coefficient matrix [A].


is the determinant of the matrix formed by deleting row r and column c from [A]. Therefore Cramer's rule solutions for has the matrix form



is called the adjugate matrix of , written as adj[A].


Both are equal to det[A] times the idehtity matrix as shown below.



Consider . When i=j this is just det[A] expressed as the cofactor expansion along row=i. When i not= j this is just the cofactor expansion of the determinant of [A] after row j has been replaced with row i, which is zero since 2 rows are identical.


Similarly

Consider . When i=j this is just det[A] expressed as the cofactor expansion along column=j. When i not= j this is just the cofactor expansion of the determinant of [A] after column i has been replaced with column j, which is zero since 2 columns are identical.