User:Djwinters/Cramer's rule

From Wikipedia, the free encyclopedia

Cramer's Rule proof[edit]

Cramer’s rule can be proven using only two properties of determinants. The first property being that adding one column to another doesn’t change the value of the determinant, and the second property being that multiplying every element of one column by a factor will increase the value of the determinant by the same factor.


Given n linear equations with n variables (V1, V2,…,Vn).

(n=3 case is shown, but the proof is the same for any n.)

Populate an nxn matrix using the terms from the left side of the n linear equations; i.e. the variable times the coefficient (Frow,columnxVcolumn).

Then write the following equation;



1) Select one column of the determinant, which is in the numerator, and add all the other columns to that column.



2) This column now contains the left side of the n linear equations, so replace that column with the right side of the n linear equations.



3) Next factor out the variables (V1, V2,…,Vn), which are common factors to an entire column of the determinants, and collect the factors (V1, V2,…,Vn) on the left side of the equation



The result is an expression for the value of the variable, which was originally in the column which was modified in step 1 and 2. The procedure can be repeated for each column, thereby producing values for each variable, which simultaneously satisfy all n equations.



Better Cramer's Rule proof[edit]

Cramers rule can be proven using two properties of determinants only. The first property being that adding one column to another doesnt change the value of the determinant, and the second property being that multiplying every element of one column by a factor will increase the value of the determinant by the same factor.


Given n linear equations with n variables , ,, .

Cramer's rule gives, for the value of the expression:

which, using the aforementioned properties of determinants can be checked to be true. In fact, from the equations of the system this quotient is equal to

By subtracting from the first column the second multiplied by , the third column multiplied by , and so on until the last column multiplied by , it is found to be equal to

,

and according to the remaining property of determinants this is equal to

.

In the same way, if the columns of b's is replacing the k-th column of the matrix of the system of equations the result will be equal to . As a result we get that: