Skip to content

Business Mathematics and Basic Statistics · Ch 11 — Determinants and Cramer's Rule

Solving a Two-Variable System by Cramer's Rule

3

Solving a Two-Variable System by Cramer's Rule

The formula

Once DD, DxD_x and DyD_y are found, and provided D≠0D\neq0, the solution of the system is

x=DxDy=DyDx=\frac{D_x}{D} \qquad\qquad y=\frac{D_y}{D}

Worked reasoning

Consider 2x+y=72x+y=7 and x−y=2x-y=2. Here a1=2,b1=1,c1=7a_1=2,b_1=1,c_1=7 and a2=1,b2=−1,c2=2a_2=1,b_2=-1,c_2=2.

D=∣211−1∣=2(−1)−1(1)=−3D=\begin{vmatrix}2&1\\1&-1\end{vmatrix}=2(-1)-1(1)=-3

Dx=∣712−1∣=7(−1)−1(2)=−9D_x=\begin{vmatrix}7&1\\2&-1\end{vmatrix}=7(-1)-1(2)=-9

Dy=∣2712∣=2(2)−7(1)=−3D_y=\begin{vmatrix}2&7\\1&2\end{vmatrix}=2(2)-7(1)=-3

So x=−9−3=3x=\dfrac{-9}{-3}=3 and y=−3−3=1y=\dfrac{-3}{-3}=1.

Note

Always verify by substitution

Once xx and yy are found, substituting both values back into BOTH original equations is the fastest way to catch an arithmetic slip in DD, DxD_x or DyD_y — here, 2(3)+1=72(3)+1=7 ✓ and 3−1=23-1=2 ✓, confirming the solution.

Word problems …

Definition 1Cramer's Rule (Two Variables)

For a1x+b1y=c1a_1x+b_1y=c_1, a2x+b2y=c2a_2x+b_2y=c_2 with D≠0D\neq0: x=Dx/Dx=D_x/D an …