Skip to content

Business Mathematics and Statistics · Ch 1 — Applications of Matrices and Determinants (Rank, Cramer's Rule, Transition Probability Matrices)

Cramer's Rule for Three Variables

3

Cramer's Rule for Three Variables

The formulas

For the system

a1x+b1y+c1z=d1,a2x+b2y+c2z=d2,a3x+b3y+c3z=d3a_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 the coefficient determinant Δ\Delta and three more determinants Δx,Δy,Δz\Delta_x,\Delta_y,\Delta_z, each obtained from Δ\Delta by replacing ONE column with the constants column:

Δ=∣a1b1c1a2b2c2a3b3c3∣Δx=∣d1b1c1d2b2c2d3b3c3∣\Delta=\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}\qquad \Delta_x=\begin{vmatrix}d_1&b_1&c_1\\d_2&b_2&c_2\\d_3&b_3&c_3\end{vmatrix}

Δy=∣a1d1c1a2d2c2a3d3c3∣Δz=∣a1b1d1a2b2d2a3b3d3∣\Delta_y=\begin{vmatrix}a_1&d_1&c_1\\a_2&d_2&c_2\\a_3&d_3&c_3\end{vmatrix}\qquad \Delta_z=\begin{vmatrix}a_1&b_1&d_1\\a_2&b_2&d_2\\a_3&b_3&d_3\end{vmatrix}

Provided Δ≠0\Delta\neq0 (the equations are independent — exactly ρ(A)=3\rho(A)=3 from the previous section), the unique solution is

x=ΔxΔy=ΔyΔz=ΔzΔx=\frac{\Delta_x}{\Delta}\qquad y=\frac{\Delta_y}{\Delta}\qquad z=\frac{\Delta_z}{\Delta}

Note

Only one column changes at a time

Δx\Delta_x replaces only the FIRST column (xx-coefficients), Δy\Delta_y only the SECOND, Δz\Delta_z only the THIRD. Replacing the wrong column, or more than one at once, is the single most common Cramer's Rule setup mistake. …

Definition 1Cramer's Rule (Three Variables)

For a1x+b1y+c1z=d1a_1x+b_1y+c_1z=d_1 etc. with Δ≠0\Delta\neq0: x=Δx/Δx=\Delta_x/\Delta, y=Δy/Δy=\Delta_y/\Delta, z=Δz/Δz=\Delta_z/\Delta, where each subscripted determinant replaces the matching column of $\ …