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

출처

이 참고 자료는 위에서 설명한 핵심 개념과 해석 범위를 뒷받침합니다.