C7, C8 - Three simultaneous equations

C7, C8 - Three simultaneous equations

Three linear equations can determine one point, leave a whole family of solutions or contradict one another. C7 uses an inverse matrix to solve the equations when the coefficient matrix is non-singular. C8 connects each algebraic outcome to the way three planes intersect, including what a zero determinant can and cannot tell you.

Solving with an inverse matrix

If a coefficient matrix has determinant zero, must the equations have no solution? We will return to that question after solving the case in which an inverse does exist.

Write the coefficients of each equation in the same variable order, placing a zero wherever a variable is missing. For example,

x+y=3y+z=5x+z=4⟺(110011101)⏟A(xyz)⏟x=(354)⏟b\begin{aligned} x+y&=3\\ y+z&=5\\ x+z&=4 \end{aligned} \qquad\Longleftrightarrow\qquad \underbrace{\begin{pmatrix}1&1&0\\0&1&1\\1&0&1\end{pmatrix}}_{\mathbf{A}} \underbrace{\begin{pmatrix}x\\y\\z\end{pmatrix}}_{\mathbf{x}} =\underbrace{\begin{pmatrix}3\\5\\4\end{pmatrix}}_{\mathbf{b}}

Each row-column sum reproduces one original equation. The equation Ax=b\mathbf{A}\mathbf{x}=\mathbf{b} is a compact version of the whole system, not a new condition.

Inverse solution

If the square coefficient matrix A\mathbf{A} is non-singular, then

Ax=b⟹x=A−1b\mathbf{A}\mathbf{x}=\mathbf{b} \quad\Longrightarrow\quad \mathbf{x}=\mathbf{A}^{-1}\mathbf{b}

Multiply on the left, giving A−1Ax=A−1b\mathbf{A}^{-1}\mathbf{A}\mathbf{x}=\mathbf{A}^{-1}\mathbf{b}. This gives a unique solution for every right-hand column b\mathbf{b}. Not in the formula booklet.

Multiplying on the right would not cancel the leftmost factor. In this system, bA−1\mathbf{b}\mathbf{A}^{-1} is not even conformable: its dimensions would be (3×1)(3×3)(3\times1)(3\times3).

Worked example 1: solving three equations

Question. Use an inverse matrix to solve x+y=3x+y=3, y+z=5y+z=5, x+z=4x+z=4.

Plan. Form the coefficient matrix, check its determinant and multiply its inverse by the constants column.

A=(110011101),det⁡A=2≠0\mathbf{A}=\begin{pmatrix}1&1&0\\0&1&1\\1&0&1\end{pmatrix},\qquad \det\mathbf{A}=2\ne0

The cofactor method gives

A−1=12(1−1111−1−111)\mathbf{A}^{-1}=\frac12\begin{pmatrix}1&-1&1\\1&1&-1\\-1&1&1\end{pmatrix}

For instance, its numerator's first row comes from the cofactors in the first column. Hence

(xyz)=12(1−1111−1−111)(354)=12(3−5+43+5−4−3+5+4)=(123)\begin{pmatrix}x\\y\\z\end{pmatrix} =\frac12\begin{pmatrix}1&-1&1\\1&1&-1\\-1&1&1\end{pmatrix} \begin{pmatrix}3\\5\\4\end{pmatrix} =\frac12\begin{pmatrix}3-5+4\\3+5-4\\-3+5+4\end{pmatrix} =\begin{pmatrix}1\\2\\3\end{pmatrix}

Answer. x=1, y=2, z=3x=1,\ y=2,\ z=3.

Check. Substitute into all three equations: 1+2=31+2=3, 2+3=52+3=5, 1+3=41+3=4. All hold, and the non-zero determinant guarantees uniqueness.

Keep all coefficients fixed and change only the third constant from 4 to 6. The inverse is unchanged, so one calculation can solve a new system.

Worked example 2: changing the constants

Question. Use an inverse matrix to solve x+y=3x+y=3, y+z=5y+z=5, x+z=6x+z=6.

Plan. Reuse the coefficient matrix's inverse and replace the constants column.

(xyz)=12(1−1111−1−111)(356)=12(3−5+63+5−6−3+5+6)=(214)\begin{pmatrix}x\\y\\z\end{pmatrix} =\frac12\begin{pmatrix}1&-1&1\\1&1&-1\\-1&1&1\end{pmatrix} \begin{pmatrix}3\\5\\6\end{pmatrix} =\frac12\begin{pmatrix}3-5+6\\3+5-6\\-3+5+6\end{pmatrix} =\begin{pmatrix}2\\1\\4\end{pmatrix}

Answer. x=2, y=1, z=4x=2,\ y=1,\ z=4.

Check. 2+1=32+1=3, 1+4=51+4=5 and 2+4=62+4=6. The solution changes with the constants, but uniqueness does not: det⁡A=2\det\mathbf{A}=2 still holds.

Use the inverse method explicitly when it is requested. Keep the variable order fixed in all three rows and in the unknown column. A consistent column order matters as much as a correct multiplication.

Unique, inconsistent and dependent systems

A system is consistent if at least one solution satisfies every equation. It is inconsistent if there is no common solution. A non-zero determinant guarantees one solution. A zero determinant rules out a unique solution, but leaves two possibilities: inconsistency or infinitely many solutions.

For a singular matrix, an equation is lost when you combine coefficient rows. The constants must obey the same relationship if the system is to be consistent. Use elimination on the whole equations, including their right-hand sides, to find out what happens.

Worked example 3: a dependent equation

Question. Determine the solution set of

x+y+z=3(1)x−y+z=1(2)2x+2z=4(3)\begin{aligned} x+y+z&=3 && (1)\\ x-y+z&=1 && (2)\\ 2x+2z&=4 && (3) \end{aligned}

Plan. Check the dependence of the coefficient rows, then compare the corresponding constants.

The third coefficient row is the sum of the first two. Its determinant is therefore zero. Adding equations (1) and (2) gives 2x+2z=42x+2z=4, exactly equation (3), so the third equation adds no new restriction.

(1)−(2):2y=2eliminate x,zy=1x+z=2substitute into (1)\begin{aligned} (1)-(2):\quad 2y&=2 && \text{eliminate }x,z\\ y&=1\\ x+z&=2 && \text{substitute into (1)} \end{aligned}

Let z=tz=t, where tt is any real number. Then x=2−tx=2-t.

Answer. Infinitely many solutions: (x,y,z)=(2−t,1,t)(x,y,z)=(2-t,1,t), t∈Rt\in\mathbb{R}.

Check. Substitution gives (2−t)+1+t=3(2-t)+1+t=3, (2−t)−1+t=1(2-t)-1+t=1, and 2(2−t)+2t=42(2-t)+2t=4, for every real tt. The free parameter is real freedom, not an uncalculated fixed value.

Change only the last constant from 4 to 5. The coefficient matrix and its zero determinant stay fixed, but the consistency changes.

Worked example 4: a contradiction

Question. Determine the solution set of

x+y+z=3,x−y+z=1,2x+2z=5x+y+z=3,\qquad x-y+z=1,\qquad 2x+2z=5

Plan. Compare the third equation with the sum of the first two.

first equation + second equation:2x+2z=4third equation:2x+2z=5subtracting:0=1\begin{aligned} \text{first equation + second equation:}\quad 2x+2z&=4\\ \text{third equation:}\quad 2x+2z&=5\\ \text{subtracting:}\quad 0&=1 \end{aligned}

The same left-hand expression cannot equal both 4 and 5.

Answer. The system is inconsistent: it has no solution.

Check. Any solution of the first two has the form (2−t,1,t)(2-t,1,t). Its third left-hand side is always 4, so no choice of tt can satisfy the last equation.

An identity such as 0=00=0 means an equation has added no restriction. It does not itself specify all the remaining solutions: solve the independent equations and describe any free variables. A contradiction such as 0=10=1 means no solution can satisfy the full system.

For parameterised coefficients, first use det⁡A≠0\det\mathbf{A}\ne0 to identify the values giving a unique solution. For each exceptional value where the determinant vanishes, substitute that value into the original equations and test consistency by elimination. A zero denominator in an inverse formula is a signal to change method, not proof of inconsistency.

Key idea

A singular coefficient matrix has either no solution or infinitely many solutions. The right-hand column decides which. A zero determinant alone cannot distinguish them.

Test that distinction with new constants.

Three planes and their common intersection

Each non-trivial linear equation ax+by+cz=dax+by+cz=d describes a plane, provided (a,b,c)≠(0,0,0)(a,b,c)\ne(0,0,0). A simultaneous solution is a point lying on all three planes. Pairwise intersections are not enough: the same point must satisfy the whole system.

A non-singular coefficient matrix gives exactly one solution. The three planes meet at one common point, as with x=0x=0, y=0y=0, z=0z=0, whose only common point is the origin.

For a singular but consistent system, the planes share infinitely many points. There are two possible shapes for the common solution set when all three equations represent planes:

  • A common line, if two independent plane equations remain. For example, x=0x=0, y=0y=0, x+y=0x+y=0 share the entire zz-axis. The third plane contains the intersection line of the first two.
  • A common plane, if only one independent plane equation remains. For example, x+y+z=2x+y+z=2, 2x+2y+2z=42x+2y+2z=4, 3x+3y+3z=63x+3y+3z=6 are three descriptions of the same plane.

The dependent system in Worked example 3 has a line of solutions: as tt varies, (2−t,1,t)(2-t,1,t) moves along that line. You can recognise a line from one free parameter without needing any extra vector notation.

[DIAGRAM: asset_name: Three geometric outcomes for three planes; asset_slug: aqa7367-three-planes; caption: Three planes may meet at a point, share a line or have pairwise intersections with no common point; description: Three exact three-dimensional panels show the planes x equals 0, y equals 0 and z equals 0 meeting at the origin; the planes x equals 0, y equals 0 and x plus y equals 0 sharing the z-axis; and x equals 0, y equals 0 and x plus y equals 1 with pairwise intersection lines but no common point. The last arrangement is a triangular-prism arrangement, with no parallel pair required.]
Three planes may meet at a point, share a line or have pairwise intersections with no common point

An inconsistent system has no common intersection. Two distinct parallel planes already prevent a common solution: x=0x=0, x=1x=1 and any third plane cannot share a point. But parallel planes are not necessary for inconsistency. The three planes

x=0,y=0,x+y=1x=0,\qquad y=0,\qquad x+y=1

intersect in pairs along three parallel lines. The first two force x+y=0x+y=0, so the third cannot contain any point on their common line. The arrangement has the shape of the sides of a triangular prism, with no point common to all three planes.

This answers the opening question. A zero determinant signals failure of uniqueness; it does not tell you whether the planes have no common point, a common line or a common plane. Use the constants and the equations to decide. If an equation reduces to 0=00=0, it represents no restriction rather than a genuine plane; if it reduces to 0=d0=d with d≠0d\ne0, it represents an impossible condition.

Quick Recap

  • Write Ax=b\mathbf{A}\mathbf{x}=\mathbf{b} with one consistent variable order; if det⁡A≠0\det\mathbf{A}\ne0, use x=A−1b\mathbf{x}=\mathbf{A}^{-1}\mathbf{b}.
  • For det⁡A=0\det\mathbf{A}=0, eliminate in the full equations to distinguish dependence from contradiction.
  • The solution set is the common intersection of all three planes: a point, a line, a plane or no common points.

No: determinant zero does not force no solution. The same singular coefficient matrix can describe either a consistent family or an inconsistent system, depending on its constants.