Fiveable

📏Honors Pre-Calculus Unit 9 Review

QR code for Honors Pre-Calculus practice questions

9.2 Systems of Linear Equations: Three Variables

9.2 Systems of Linear Equations: Three Variables

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📏Honors Pre-Calculus
Unit & Topic Study Guides
Pep mascot

Solving Systems of Linear Equations with Three Variables

Pep mascot
more resources to help you study

Solving three-variable linear systems

Three-variable systems work the same way as two-variable systems, just with an extra variable (zz) and an extra equation. The goal is to reduce the system down to something you already know how to solve. Two methods show up most often.

Elimination method:

  1. Pick a variable to eliminate first (say zz).
  2. Multiply equations by constants so that when you add or subtract two of them, zz cancels out. Do this with two different pairs of equations to get two new equations in just xx and yy.
  3. Solve that two-variable system using elimination or substitution.
  4. Substitute your values for xx and yy back into any original equation to find zz.

Substitution method:

  1. Solve one equation for one variable in terms of the other two (e.g., solve for zz).
  2. Substitute that expression into the other two equations. You now have a two-variable system.
  3. Solve the two-variable system.
  4. Plug those values back into your expression from step 1 to find the third variable.

Both methods should give you the same answer. For example, a system might have the solution (x,y,z)=(2,1,3)(x, y, z) = (2, -1, 3). Always check your solution by substituting all three values into every original equation.

The term "linear combination method" just refers to adding multiples of equations together, which is really what elimination does. You'll see these terms used interchangeably.

Solving three-variable linear systems, OpenAlgebra.com: Free Algebra Study Guide & Video Tutorials: Solving Linear Systems by Elimination

Consistency of three-equation systems

Each equation in a three-variable system represents a plane in 3D space. The solution to the system is wherever all three planes meet. There are three possible outcomes:

  • Consistent with a unique solution: The three planes intersect at exactly one point.
    • Example: x+y+z=6x + y + z = 6, 2xy+z=52x - y + z = 5, x2y+3z=7x - 2y + 3z = 7 has the unique solution (1,2,3)(1, 2, 3).
  • Inconsistent (no solution): The three planes never all meet at the same place. When you try to solve the system, you'll hit a contradiction like 0=50 = 5.
    • Example: x+y+z=4x + y + z = 4, 2x+2y+2z=92x + 2y + 2z = 9, 3x+3y+3z=123x + 3y + 3z = 12. The first equation says x+y+z=4x + y + z = 4, but the second says x+y+z=4.5x + y + z = 4.5. Those can't both be true.
  • Dependent (infinitely many solutions): At least one equation is a multiple or combination of the others, so you effectively have fewer than three independent equations. The planes overlap along a line or coincide entirely.
    • Example: x+y+z=5x + y + z = 5, 2x+2y+2z=102x + 2y + 2z = 10, 3x+3y+3z=153x + 3y + 3z = 15. All three equations simplify to x+y+z=5x + y + z = 5, so any point on that plane is a solution.
Solving three-variable linear systems, OpenAlgebra.com: Free Algebra Study Guide & Video Tutorials: Solving Linear Systems by Substitution

Interpreting Solutions for Dependent Systems

Solutions for dependent linear systems

When a system is dependent, you can't pin down a single answer. Instead, you express the solution set using parameters (free variables, usually called tt or ss).

How this works depends on how many independent equations you actually have:

  • Two independent equations (solution is a line): Set one variable equal to tt and express the other two in terms of tt.
    • Example: If reducing the system gives you x=2tx = 2t and y=3ty = 3t with z=tz = t, the full solution is (x,y,z)=(2t,3t,t)(x, y, z) = (2t, 3t, t) for any real number tt. Each value of tt gives a different point on the line.
  • One independent equation (solution is a plane): You need two parameters. Set two variables free and express the third.
    • Example: The system x+y+z=6x + y + z = 6, 2x+2y+2z=122x + 2y + 2z = 12, 3x+3y+3z=183x + 3y + 3z = 18 reduces to just x+y+z=6x + y + z = 6. The solution is (x,y,6xy)(x, y, 6 - x - y) for any real values of xx and yy.

Every point in the parametric solution satisfies all three original equations. You can verify this by plugging a specific parameter value back in.

Matrix Representation and Analysis

Matrices give you a compact way to organize and solve these systems.

  • The coefficient matrix holds just the coefficients of xx, yy, and zz from each equation. The augmented matrix includes the constants on the right side as well.
  • Using row operations, you can reduce the augmented matrix to reduced row echelon form (RREF). This is equivalent to doing elimination but in a more systematic format.
  • The rank of the coefficient matrix tells you how many independent equations you have. If the rank equals 3, there's a unique solution. If the rank is less than 3, the system is either dependent or inconsistent (compare the rank of the coefficient matrix to the rank of the augmented matrix to tell which).
  • A homogeneous system is one where every equation equals zero (e.g., x+y+z=0x + y + z = 0). Homogeneous systems always have at least the trivial solution (0,0,0)(0, 0, 0), so they're never inconsistent.