2.16 - Linear equations in three unknowns

2.16 - Linear equations in three unknowns

Solve three linear equations by reducing them to a familiar pair in two unknowns. You will choose an economical elimination or substitution, keep the working organised and check the final triple in every original equation.

One triple must satisfy every equation

Can three different-looking equations still fail to determine three numbers? Consider x+y+z=6x+y+z=6, 2x+2y+2z=122x+2y+2z=12 and 3x+3y+3z=183x+3y+3z=18. There are three equations on the page, but the last two simply repeat the first at a different scale. Both (1,2,3)(1,2,3) and (0,0,6)(0,0,6) work, and infinitely many other triples do too.

The surprise is that counting equations is not enough: they must provide new information. In the systems you will solve here, that information lets you pin down one common triple. The method is an extension of solving two simultaneous equations, rather than a completely new piece of algebra.

You already know

Elimination adds or subtracts suitable multiples of equations to remove an unknown. Substitution replaces an unknown by an equal expression. After solving two simultaneous equations, the same pair of values must satisfy both original equations.

With three unknowns, the answer contains three values. Their labels matter: swapping the values of xx and zz usually gives a different proposed solution.

Solution of three simultaneous linear equations

A solution is a triple of values (x,y,z)(x,y,z) that makes all three equations true at the same time. A linear equation in three unknowns has the form ax+by+cz=dax+by+cz=d, where the coefficients are constants and at least one of aa, bb, cc is non-zero. Individual coefficients may be zero. An equation containing xyxy, x2x^2 or 1z\frac1z is not linear in these unknowns.

For instance, (x,y,z)=(2,1,3)(x,y,z)=(2,1,3) satisfies x+y+z=6x+y+z=6 and 2x−y+z=62x-y+z=6. It also satisfies x+2y−z=1x+2y-z=1. Checking only the first equation would leave many wrong triples undetected.

Key idea

Reduce three unknowns to two, then two to one. Recover the other values and check the complete triple in all three original equations.

The following check focuses on what “simultaneous” requires, before any calculation becomes lengthy.

Eliminating the same unknown twice

Choose one unknown to remove from two different pairs of equations, leaving two equations in the same remaining unknowns.

Label the original equations so that each subtraction can be followed. If you remove xx once but yy next, your new equations may still contain all three unknowns between them. Remove the same unknown twice instead. Multiplying and combining equations is not a procedure supplied on the formulae sheet: learn the method.

Worked example 1: two eliminations of x

Question. Solve the simultaneous equations. You must show your working.

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

Plan. Use (2)−2(1)(2)-2(1) and (3)−(1)(3)-(1) to remove xx, then solve the resulting pair.

−3y−z=−6(2)−2(1)y−2z=−5(3)−(1)−6y−2z=−12double the first new equation7y=7subtract it from the secondy=1divide by 7−3−z=−6⟹z=3substitute y=1x+1+3=6⟹x=2use (1)\begin{aligned} -3y-z&=-6 && (2)-2(1)\\ y-2z&=-5 && (3)-(1)\\ -6y-2z&=-12 && \text{double the first new equation}\\ 7y&=7 && \text{subtract it from the second}\\ y&=1 && \text{divide by }7\\ -3-z&=-6\quad\Longrightarrow\quad z=3 && \text{substitute }y=1\\ x+1+3&=6\quad\Longrightarrow\quad x=2 && \text{use }(1) \end{aligned}

Why this step? Both new equations contain only yy and zz, so you can use the two-unknown method you already know.

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

Check. The three left sides are 2+1+3=62+1+3=6, 4−1+3=64-1+3=6 and 2+2−3=12+2-3=1, matching all three right sides.

Worked example 2 changes only the right side of the third equation, from 11 to 88. The elimination pattern stays the same, but the solution changes.

Worked example 2: zero is a possible value

Question. Solve the simultaneous equations. You must show your working.

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

Plan. Remove xx from the same pairs, then solve the revised two-unknown system.

−3y−z=−6(2)−2(1)y−2z=2(3)−(1)−6y−2z=−12double the first new equation7y=14subtract it from the secondy=2divide by 7−6−z=−6⟹z=0substitute y=2x+2+0=6⟹x=4use (1)\begin{aligned} -3y-z&=-6 && (2)-2(1)\\ y-2z&=2 && (3)-(1)\\ -6y-2z&=-12 && \text{double the first new equation}\\ 7y&=14 && \text{subtract it from the second}\\ y&=2 && \text{divide by }7\\ -6-z&=-6\quad\Longrightarrow\quad z=0 && \text{substitute }y=2\\ x+2+0&=6\quad\Longrightarrow\quad x=4 && \text{use }(1) \end{aligned}

Why this step? A zero value is not an absent answer. It is the value of zz forced by the equations, and must be stated.

Answer. x=4x=4, y=2y=2, z=0z=0.

Check. 4+2+0=64+2+0=6, 8−2+0=68-2+0=6, and 4+4−0=84+4-0=8.

Subtraction affects every term and the constant on the other side. The labels prevent an innocent-looking sign change from becoming hard to trace.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account