Theorem · Linear systems
Cramer's Rule
Statement of the theorem with its hypotheses, proof and the exercises in which it is applied. From the chapter Linear systems of Mathematics, 2nd year.
Cramer's Rule
For the system , the letters are the coefficients and the constant terms. The numbers are arranged in a matrix, that is, a table of rows and columns: each row corresponds to an equation, the first column contains the coefficients of , the second those of , and separately there is the column of constant terms.
The determinant of a square matrix with two rows and two columns is the product of the numbers on the main diagonal (from top left to bottom right) minus the product of the numbers on the other diagonal:
Three determinants are computed from the system.
- uses the two columns of coefficients.
- is obtained from by putting the column of constant terms in place of the column of .
- is obtained from by putting the column of constant terms in place of the column of .
Therefore
If , the unique solution is
For , the calculations give
so , , and .
The three determinants can also be written as , , and .
The formula for is obtained by eliminating . The first equation is multiplied by and the second by , and then one is subtracted from the other:
The last row is , which can be divided by only when .
The proof is available to those who have unlocked the subject.
Unlock nowRead it in the chapter Linear systems →
Exercises where this theorem is used
Worked examples
Practice exercises
All the definitions and theorems of Mathematics, 2nd year → · All the theorems on the site →