Skip to content

Business Mathematics and Statistics · Ch 1 — Determinants

Cramer's Rule — Solving Systems of Linear Equations

5

Cramer's Rule — Solving Systems of Linear Equations

Cramer's Rule uses determinants to solve a system of linear equations directly, without the row-reduction (elimination) method usually taught alongside it. It is named after the Swiss mathematician Gabriel Cramer, and it is one of the most tested applications of determinants in Business Mathematics, because so many business problems — allocating a fixed budget across two products, balancing two or three business constraints simultaneously — end up as a small system of linear equations.

Two equations in two unknowns. For the system a1x+b1y=c1,a2x+b2y=c2,a_1x + b_1y = c_1, \qquad a_2x + b_2y = c_2, define three determinants: D=∣a1b1a2b2∣,Dx=∣c1b1c2b2∣,Dy=∣a1c1a2c2∣.D=\begin{vmatrix} a_1 & b_1 \\ a_2 & b_2 \end{vmatrix},\quad D_x=\begin{vmatrix} c_1 & b_1 \\ c_2 & b_2 \end{vmatrix},\quad D_y=\begin{vmatrix} a_1 & c_1 \\ a_2 & c_2 \end{vmatrix}. DD is the determinant of the coefficients exactly as they appear in the equations; DxD_x is DD with the xx-coefficient column replaced by the column of constants (c1,c2)(c_1, c_2); DyD_y is DD with the yy-coefficient column replaced the same way. Provided D≠0D \neq 0, the unique solution is x=DxD,y=DyD.x = \dfrac{D_x}{D}, \qquad y = \dfrac{D_y}{D}.

Three equations in three unknowns. The rule extends exactly the same way to a1x+b1y+c1z=d1,a2x+b2y+c2z=d2,a3x+b3y+c3z=d3.a_1x+b_1y+c_1z=d_1,\quad a_2x+b_2y+c_2z=d_2,\quad a_3x+b_3y+c_3z=d_3. Form DD from the coefficient matrix, and Dx,Dy,DzD_x, D_y, D_z by replacing the xx-, yy-, and zz-coefficient columns respectively with the constants column (d1,d2,d3)(d_1,d_2,d_3). Then, provided D≠0D\neq 0, x=DxD,y=DyD,z=DzD.x=\dfrac{D_x}{D},\qquad y=\dfrac{D_y}{D},\qquad z=\dfrac{D_z}{D}. …

Definition 1Cramer's Rule

A method of solving a system of linear equations using determinants, in which each unknown equals the ratio of two determinants: the determinant formed by replacing that unknown's coefficient column with the constants column, divided by the de …

Definition 2Coefficient determinant (D)

The determinant formed from the coefficients of the unknowns, exactly as they appear on the left-hand side of the system of equations, befor …