Facebook Pixel
Mathos AI logo

Systems of Three Linear Equations

Systems of Three Linear Equations

A system of three linear equations involves three variables, typically xx, yy, and zz. To find the solution, you need to find the specific values for all three variables that make all three equations true at the same time.

The Elimination Method

The most reliable way to solve a 3×33 \times 3 system is to reduce it to a 2×22 \times 2 system using the elimination method.

  1. Pick two pairs of equations from the system.
  2. Eliminate the exact same variable from both pairs. This leaves you with two new equations that only have two variables.
  3. Solve the new 2×22 \times 2 system using standard elimination or substitution.
  4. Back-substitute the two values you just found into one of the original three-variable equations to find the final unknown.

Example 1: Solving Step-by-Step

Solve the system: 1)  x+y+z=61)\; x + y + z = 6 2)  2xy+z=32)\; 2x - y + z = 3 3)  x+2yz=23)\; x + 2y - z = 2

Step 1: Eliminate zz using two different pairs of equations. First, add Equation (1) and Equation (3): (x+y+z)+(x+2yz)=6+2(x + y + z) + (x + 2y - z) = 6 + 2 2x+3y=8— (Equation A)2x + 3y = 8 \quad \text{--- (Equation A)}

Next, add Equation (2) and Equation (3): (2xy+z)+(x+2yz)=3+2(2x - y + z) + (x + 2y - z) = 3 + 2 3x+y=5— (Equation B)3x + y = 5 \quad \text{--- (Equation B)}

Step 2: Solve the new 2×22 \times 2 system. We now have a system with just xx and yy: A)  2x+3y=8A)\; 2x + 3y = 8 B)  3x+y=5B)\; 3x + y = 5

From Equation B, we can express yy in terms of xx: y=53xy = 5 - 3x

Substitute this into Equation A: 2x+3(53x)=82x + 3(5 - 3x) = 8 2x+159x=82x + 15 - 9x = 8 7x=7    x=1-7x = -7 \implies x = 1

Now, find yy: y=53(1)=2y = 5 - 3(1) = 2

Step 3: Back-substitute to find zz. Plug x=1x = 1 and y=2y = 2 into original Equation (1): 1+2+z=61 + 2 + z = 6 3+z=6    z=33 + z = 6 \implies z = 3

Solution: (x,y,z)=(1,2,3)(x, y, z) = (1, 2, 3).

Example 2: Working with Multipliers

Solve the system: 1)  2x+yz=11)\; 2x + y - z = 1 2)  xy+2z=52)\; x - y + 2z = 5 3)  3x+2y+z=83)\; 3x + 2y + z = 8

Step 1: Eliminate zz. Add Equation (1) and Equation (3): (2x+yz)+(3x+2y+z)=1+8(2x + y - z) + (3x + 2y + z) = 1 + 8 5x+3y=9— (Equation A)5x + 3y = 9 \quad \text{--- (Equation A)}

To eliminate zz from Equations (1) and (2), multiply Equation (1) by 22: 4x+2y2z=24x + 2y - 2z = 2 Add this to Equation (2): (4x+2y2z)+(xy+2z)=2+5(4x + 2y - 2z) + (x - y + 2z) = 2 + 5 5x+y=7— (Equation B)5x + y = 7 \quad \text{--- (Equation B)}

Step 2: Solve the 2×22 \times 2 system. A)  5x+3y=9A)\; 5x + 3y = 9 B)  5x+y=7    y=75xB)\; 5x + y = 7 \implies y = 7 - 5x

Substitute into Equation A: 5x+3(75x)=95x + 3(7 - 5x) = 9 5x+2115x=95x + 21 - 15x = 9 10x=12    x=1.2-10x = -12 \implies x = 1.2

Find yy: y=75(1.2)=76=1y = 7 - 5(1.2) = 7 - 6 = 1

Step 3: Back-substitute to find zz. Plug x=1.2x = 1.2 and y=1y = 1 into Equation (1): 2(1.2)+1z=12(1.2) + 1 - z = 1 2.4+1z=12.4 + 1 - z = 1 3.4z=1    z=2.43.4 - z = 1 \implies z = 2.4

Solution: (x,y,z)=(1.2,1,2.4)(x, y, z) = (1.2, 1, 2.4).