Skip to content

Mathematics · Ch 4 — Determinants and Matrices

Consistency of Three Equations in Two Variables

4.3.2

Consistency of Three Equations in Two Variables

4.3.2 Consistency of Three Equations in Two Variables

Consider three linear equations in the two variables x,yx,y:

a1x+b1y+c1=0,a2x+b2y+c2=0,a3x+b3y+c3=0a_1x+b_1y+c_1=0,\qquad a_2x+b_2y+c_2=0,\qquad a_3x+b_3y+c_3=0

These are said to be consistent if they have a common solution.

Theorem. The necessary condition for the three equations to be consistent is

∣a1b1c1a2b2c2a3b3c3∣=0\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix}=0

Proof (sketch). Solve the last two equations for x,yx,y using Cramer's Rule (treating them as a 2-variable system, provided ∣a2b2a3b3∣≠0\begin{vmatrix}a_2&b_2\\a_3&b_3\end{vmatrix}\ne0):

x=−c2b3+c3b2a2b3−a3b2,y=−a2c3+a3c2a2b3−a3b2x=\frac{-c_2b_3+c_3b_2}{a_2b_3-a_3b_2},\qquad y=\frac{-a_2c_3+a_3c_2}{a_2b_3-a_3b_2}

Substituting these into the first equation a1x+b1y+c1=0a_1x+b_1y+c_1=0 and clearing the common denominator a2b3−a3b2a_2b_3-a_3b_2 produces, after regrouping the terms, exactly the cofactor expansion of ∣a1b1c1a2b2c2a3b3c3∣\begin{vmatrix}a_1&b_1&c_1\\a_2&b_2&c_2\\a_3&b_3&c_3\end{vmatrix} along row 1. So the substituted equation is equivalent to this determinant being 00.

Important caveat. This condition is necessary but not sufficient — it can hold even when the equations have no common solution (e.g. three mutually parallel lines, which never meet, still make the determinant vanish because the rows become proportional). So after the determinant test passes, you must still check geometrically/algebraically that a genuine common solution exists.

Worked Examples

Example 1. Verify the consistency of 2x+2y=−2, x+y=−1, 3x+3y=−52x+2y=-2,\ x+y=-1,\ 3x+3y=-5.

Step 1: ∣222111335∣=2(5−3)−2(5−3)+2(3−3)=4−4+0=0\begin{vmatrix}2&2&2\\1&1&1\\3&3&5\end{vmatrix}=2(5-3)-2(5-3)+2(3-3)=4-4+0=0. …

Misc 4.3.2Worked Example 1 — a case where the determinant condition holds but the lines are NOT consistent

Worked out. Given three equations with an unknown coefficient k, the determinant condition is expanded and solved for k. …

Misc 4.3.2Worked Example 2 — examining consistency of two systems

Worked out. Given three equations with an unknown coefficient k, the determinant condition is expanded and solved for k. …

Misc 4.3.2Worked Example 3 — finding an unknown coefficient for consistency

Worked out. Given three equations with an unknown coefficient k, the determinant condition is expanded and solved for k. …