Systems of Three Equations in Three Variables

April 12, 2026

Problem

Solve x+y+z=6, 2x−y+z=3, x+2y−z=2. Show 3D plane intersections converging to a point.

Explanation

Solving a 3×3 system

With three equations and three unknowns, the strategy is to eliminate one variable at a time, reducing the system step by step: 3 equations → 2 equations → 1 equation → solution.

Step-by-step solution

Given:

  • Eq 1: x+y+z=6x + y + z = 6
  • Eq 2: 2xy+z=32x - y + z = 3
  • Eq 3: x+2yz=2x + 2y - z = 2

Step 1 — Eliminate zz by adding equations.

Add Eq 1 and Eq 3 (the zz and z-z cancel):

(x+y+z)+(x+2yz)=6+2(x + y + z) + (x + 2y - z) = 6 + 2 2x+3y=8... call this Eq 42x + 3y = 8 \quad \text{... call this Eq 4}

Add Eq 2 and Eq 3 (zz and z-z cancel):

(2xy+z)+(x+2yz)=3+2(2x - y + z) + (x + 2y - z) = 3 + 2 3x+y=5... call this Eq 53x + y = 5 \quad \text{... call this Eq 5}

Step 2 — Solve the 2×2 system (Eq 4 and Eq 5).

From Eq 5: y=53xy = 5 - 3x. Substitute into Eq 4:

2x+3(53x)=82x + 3(5 - 3x) = 8 2x+159x=82x + 15 - 9x = 8 7x=7-7x = -7 x=1x = 1

Step 3 — Back-substitute for yy.

y=53(1)=2y = 5 - 3(1) = 2

Step 4 — Back-substitute for zz. Using Eq 1:

1+2+z=6    z=31 + 2 + z = 6 \implies z = 3

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

Step 5 — Check in ALL three equations.

  • Eq 1: 1+2+3=61 + 2 + 3 = 6
  • Eq 2: 2(1)2+3=32(1) - 2 + 3 = 3
  • Eq 3: 1+2(2)3=21 + 2(2) - 3 = 2

Geometric interpretation

Each equation defines a plane in 3D space. Two planes intersect in a line; three planes (in general) intersect at a single point. That point is the solution.

Try it in the visualization

The 3D view shows three planes. Rotate to see them converge at the solution point. Adjust the constants to move the planes — the intersection point updates automatically.

Interactive Visualization

Parameters

20.00
6.00
3.00
2.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Systems of Three Equations in Three Variables | MathSpin