Skip to content

Applied Mathematics · Ch 2 — Algebra

Cramer's Rule

2.8.2

Cramer's Rule

Cramer's rule solves a system of linear equations AX=BAX = B using only determinants, without ever explicitly computing an inverse. For a system in two variables a1x+b1y=c1a_1x + b_1y = c_1, a2x+b2y=c2a_2x + b_2y = c_2, let DD be the determinant of the coefficient matrix, and let DxD_x, DyD_y be the determinants obtained by replacing the xx-column or the yy-column of that matrix with the constants column:

x=DxD,y=DyD,provided D≠0x = \dfrac{D_x}{D}, \qquad y = \dfrac{D_y}{D}, \qquad \text{provided } D \neq 0 …