MathLinear Algebra

知识指南

Cramer's Rule: Determinants, Column Replacement, and Singular Systems

Understand why Cramer's determinant ratios solve square linear systems, how to replace the correct column, and how to handle a zero coefficient determinant.

When determinant ratios apply

For two equations ax+by=eax+by=e and cx+dy=fcx+dy=f, form the coefficient matrix and its determinant:

A=(abcd),D=ad−bc.A=\begin{pmatrix}a&b\\c&d\end{pmatrix},\qquad D=ad-bc.

If D≠0D\ne0, the system has exactly one solution. Replace the column of the unknown being found with the constant vector, leaving the other column in place:

x=ed−bfad−bc,y=af−ecad−bc.x=\frac{ed-bf}{ad-bc},\qquad y=\frac{af-ec}{ad-bc}.

Why the column replacement works

Multiply the first equation by dd and the second by bb, then subtract. The yy terms cancel, giving (ad−bc)x=ed−bf(ad-bc)x=ed-bf. A similar elimination gives (ad−bc)y=af−ec(ad-bc)y=af-ec. These numerators are precisely the replacement determinants. The denominator condition is essential because division by zero is undefined.

A fresh example

For 3x+y=103x+y=10 and x+2y=5x+2y=5, the determinants are

D=3(2)−1(1)=5,Dx=10(2)−1(5)=15,Dy=3(5)−10(1)=5.D=3(2)-1(1)=5,\quad D_x=10(2)-1(5)=15,\quad D_y=3(5)-10(1)=5.

Thus (x,y)=(3,1)(x,y)=(3,1), which satisfies both equations.

What a zero determinant tells you

D=0D=0 rules out a unique solution; it does not by itself distinguish no solution from infinitely many. For example, x+2y=3x+2y=3 and 2x+4y=62x+4y=6 describe the same line. Changing the second constant to 7 makes the equations inconsistent. Use elimination to distinguish these cases.

Before accepting an answer, check column order, determinant subtraction signs and substitution into every original equation.

相关问题

应用这项知识

先通过概念指南理解解题依据,再返回完整题目与分步答案。

Cramer's Rule: Solve 2x − 3y = −1 and 4x + 5y = 9

参考来源

以下资料支持上文说明的核心概念与解释边界。

Cramer's Rule: Determinants, Column Replacement, and Singular Systems | Verla