Solving Systems of Linear Equations with Three Variables
Solving three-variable linear systems
A system of three linear equations with three variables looks like three equations, each containing some combination of , , and . Your goal is to find the values of all three variables that satisfy every equation at once. Two main methods get you there: elimination and substitution.
Elimination method
The core idea is to strategically combine equations so that variables cancel out, reducing the system step by step until you can solve for a single variable.
- Pick a variable to eliminate first (say ). Multiply equations by constants so that when you add or subtract two equations, drops out. Do this with two different pairs of equations.
- You now have two equations with only and . Use elimination again to remove one of those variables.
- Solve the resulting single-variable equation.
- Substitute that value back into one of your two-variable equations to find the second variable.
- Substitute both known values into any original equation to find the third variable.
Substitution method
- Pick one equation and solve it for one variable in terms of the other two (for example, express in terms of and ).
- Substitute that expression into the other two equations. You now have a two-variable system.
- Solve the two-variable system using either substitution or elimination.
- Plug the two known values back into your expression from step 1 to find the third variable.
Both methods give the same answer. Elimination tends to be cleaner when coefficients line up nicely; substitution works well when one variable is already isolated or has a coefficient of 1.
Consistency of three-equation systems
Not every system has a neat single answer. Before you solve, it helps to know what kinds of outcomes are possible.
- Consistent and independent: The system has exactly one solution, an ordered triple . Geometrically, the three planes intersect at a single point.
- Consistent and dependent: The system has infinitely many solutions. The three planes intersect along a line (or all three are the same plane). You'll notice during solving that one equation is a combination of the others, and at least one variable is "free," meaning it can take any value.
- Inconsistent: The system has no solution. At some point during elimination, you'll get a contradiction like . Geometrically, the planes never all meet at a common point. This can happen when two or more planes are parallel, or when the three planes form a triangular "prism" shape with no shared intersection.

Interpreting solutions for three-equation systems
One solution (consistent and independent)
The solution is an ordered triple . Always verify by plugging the values back into all three original equations.
No solution (inconsistent)
If your algebra produces a false statement (like ), the system is inconsistent. There's no point that lies on all three planes.
Infinitely many solutions (consistent and dependent)
When you end up with an identity like instead of a value for a variable, the system is dependent. To express the solution set:
- Designate one variable as a free variable (often called ). This variable can be any real number.
- Express the other two variables in terms of .
- Write the solution in parametric form: , , (or whichever variable you chose as free).
For example, if solving gives you and with free, you'd let and write the solution as .
Matrix Representation and Row Reduction
You can organize a three-variable system into an augmented matrix, where each row holds the coefficients of one equation and the constant on the right side. Then you use row operations to solve it without rewriting variables over and over.
The goal is to reach row echelon form:
- Each leading coefficient (called a pivot) is 1.
- Each pivot sits to the right of the pivot in the row above.
- Rows of all zeros go to the bottom.
From there, you can back-substitute to find each variable. For an even cleaner result, continue to reduced row echelon form (RREF), where every column with a pivot has zeros in all other entries. In RREF, you can read the solution directly from the matrix.
If a row reduces to something like , the system is inconsistent. If you get a row of all zeros , the system is dependent and you'll have a free variable.

Applying Systems of Linear Equations with Three Variables
Solving real-world problems with three-variable linear systems
Three-variable systems show up whenever a problem involves three unknown quantities connected by three relationships. Setting these up correctly is half the battle.
- Define your variables clearly. For example: let = number of adult tickets, = number of student tickets, = number of child tickets.
- Translate each piece of information into an equation. If the problem says "200 total tickets were sold," that gives you . Each distinct relationship becomes one equation.
- Solve the system using elimination, substitution, or row reduction.
- Check that your answer makes sense in context. If you're counting physical objects, negative or fractional answers signal an error. Always substitute back into the original equations to verify.
A common mistake is writing equations that are actually restatements of each other, which gives you a dependent system instead of a unique answer. Make sure each equation captures genuinely different information from the problem.