Equations and Inequalities

Cramer's Rule

Method that can be used to determine the solution to a system of n linear equations in n variables whose determinant is not equal to zero.
Cramer's rule uses the concept of determinant of a matrix. As a general rule, given the equations [latex]A_{1}[/latex]x + [latex]B_{1}[/latex]y = [latex]C_{1}[/latex] and [latex]A_{2}[/latex]x + [latex]B_{2}[/latex]y = [latex]C_{2}[/latex], then : D = [latex]\begin{pmatrix}A_{1} & B_{1}\\A_{2} & B_{2}\end{pmatrix}[/latex] = A[latex]_{1}[/latex]× B[latex]_{2}[/latex] – A[latex]_{2}[/latex]× B[latex]_{1}[/latex] D[latex]_{1}[/latex] = [latex]\begin{pmatrix}C_{1} & B_{1}\\C_{2} & B_{2}\end{pmatrix}[/latex] = C[latex]_{1}[/latex]× B[latex]_{2}[/latex] – B[latex]_{1}[/latex]× C[latex]_{2}[/latex] D[latex]_{2}[/latex] = [latex]\begin{pmatrix}A_{1} & C_{1}\\A_{2} & C_{2}\end{pmatrix}[/latex] = A[latex]_{1}[/latex]× C[latex]_{2}[/latex] – A[latex]_{2}[/latex]× C[latex]_{1}[/latex] x = [latex]\dfrac{D_{1}}{D}[/latex] where D ≠ 0 and  y = [latex]\dfrac{D_{2}}{D}[/latex] where D ≠ 0

Example

Given the equations 3x + 2y = 12 and 5x + 2y = 16, then : D = [latex]\begin{pmatrix}3 & 2\\5 & 2\end{pmatrix}[/latex] = 3 × 2 – 5 × 2 = –4 D[latex]_{1}[/latex] = [latex]\begin{pmatrix}12 & 2\\16 & 2\end{pmatrix}[/latex] = 12 × 2 – 2 × 16 = –8 D[latex]_{2}[/latex] = [latex]\begin{pmatrix}3 & 12\\5 & 16\end{pmatrix}[/latex] = 3 × 16 – 5 × 12 = –12 x = [latex]\dfrac{–8}{–4}[/latex] = 2  and y = [latex]\dfrac{–12}{–4}[/latex] = 3

Historical note*

Gabriel Cramer (1704-1752) was a Swiss mathematician who, after attempting to solve a system of five equations in five unknowns using the general elimination method, wrote in his work Introduction à l’analyse des lignes courbes algébriques (Introduction to the Analysis of Algebraic Curves) : "I believe I may have found a convenient and general rule for any given number of equations and unknowns that do not have a degree higher than one … " [Translation] Although Cramer came to be known mainly for this rule, credit rightly belongs to Colin Maclaurin (1698-1746), a Scottish mathematician who described the rule in his Treatise of Algebra, which was published in 1748, two years after his death. *Source: Jean-Paul Collette, Histoire des mathématiques, Volume 2, pp. 101-104.

Netmath, the educational platform where students have fun learning!

Try our activities