How To Solve Three Equations With Three Variables

6 min read

Introduction

Solving three equations with three variables is a fundamental skill in algebra that opens the door to more advanced mathematics, physics, engineering, and economics. Whether you are tackling a word problem, designing a structural model, or analyzing data, the ability to find a unique solution (or determine if none exists) is invaluable. This article walks you through the core concepts, popular solving methods, and practical tips so you can confidently handle any system of three linear equations in three unknowns.

Understanding the System of Equations

A system of three equations with three variables typically looks like this:

  1. a₁x + b₁y + c₁z = d₁
  2. a₂x + b₂y + c₂z = d₂
  3. a₃x + b₃y + c₃z = d₃

Here, x, y, and z are the unknowns, while aᵢ, bᵢ, cᵢ, and dᵢ are constants. The goal is to find values for x, y, and z that satisfy all three equations simultaneously. Graphically, each equation represents a plane in three‑dimensional space, and the solution corresponds to the point where the three planes intersect—provided they do intersect at a single point.

Methods for Solving

There are three primary techniques that work reliably for linear systems: substitution, elimination, and matrix methods (including Gaussian elimination and Cramer’s rule). Each method has its strengths, and mastering all three gives you flexibility depending on the problem’s structure It's one of those things that adds up..

1. Substitution Method

The substitution approach reduces the system step‑by‑step by expressing one variable in terms of the others and plugging it back into the remaining equations Nothing fancy..

  1. Solve one equation for a single variable (choose the simplest).
  2. Insert that expression into the other two equations, turning them into equations with two variables.
  3. Solve the resulting two‑equation system using substitution again or elimination.
  4. Back‑substitute the found values to determine the third variable.

Tip: Substitution works best when one of the equations already isolates a variable or has a coefficient of 1 or –1.

2. Elimination Method

Elimination removes variables by adding or subtracting equations, creating a simpler system.

  1. Align the equations so like terms line up.
  2. Multiply equations by constants if needed to make coefficients of a chosen variable equal (or opposite).
  3. Add or subtract the equations to eliminate that variable, yielding a new equation with two variables.
  4. Repeat the process with another pair of equations to eliminate a second variable.
  5. Solve the remaining two‑variable equation, then back‑substitute to find the third variable.

This method is especially efficient when the coefficients are integers and you can easily create matching values.

3. Matrix Methods

Matrix techniques treat the system as a compact representation, making large problems easier to handle programmatically That's the whole idea..

  • Augmented Matrix: Write the coefficients and constants in a matrix form ([A | B]).
  • Gaussian Elimination: Perform row operations (swap, multiply, add) to transform the matrix into row‑echelon form, then back‑substitute.
  • Cramer’s Rule: Use determinants. If the determinant of the coefficient matrix (D) is non‑zero, each variable is given by (x = D_x/D), (y = D_y/D), (z = D_z/D), where (D_x), (D_y), (D_z) are determinants formed by replacing the respective column with the constants.

Matrix methods are powerful for computer algebra systems and for understanding the determinant concept, which also tells you whether a unique solution exists Simple, but easy to overlook..

Step‑by‑Step Example Using Elimination

Let’s solve the following system:

  1. (2x + 3y - z = 5)
  2. (x - y + 2z = 3)
  3. (3x + 2y + z = 8)

Step 1: Align coefficients

We’ll eliminate z first because its coefficients are ( -1, 2, 1). Multiply equation 1 by 2 to get (-2z) and add to equation 2 (which has (+2z)) It's one of those things that adds up..

  • (4x + 6y - 2z = 10) (Equation 1 × 2)
  • (x - y + 2z = 3) (Equation 2)

Add them: ((4x + x) + (6y - y) + (-2z + 2z) = 10 + 3) → (5x + 5y = 13).

Call this Equation 4: (5x + 5y = 13).

Step 2: Eliminate z again

Multiply equation 3 by 1 (keep as is) and add to equation 1 (original) to cancel z:

  • Equation 1: (2x + 3y - z = 5)
  • Equation 3: (3x + 2y + z = 8)

Add: ((2x + 3x) + (3y + 2y) + (-z + z) = 5 + 8) → (5x + 5y = 13).

We obtain the same Equation 4, confirming consistency.

Step 3: Solve for x and y

From Equation 4: (5x + 5y = 13) → divide by 5: (x + y = \frac{13}{5}).

Now we need another independent equation linking x and y. Let’s eliminate z using equations 2 and 3.

  • Equation 2: (x - y + 2z = 3)
  • Equation 3: (3x + 2y + z = 8)

Multiply Equation 3 by 2 to align z coefficients: (6x + 4y + 2z = 16) Most people skip this — try not to..

Subtract Equation 2 from this result:

((6x - x) + (4y + y) + (2z - 2z) = 16 - 3) → (5x + 5y = 13).

Again we get the same relationship, meaning the three original equations are dependent on each other in the x‑y plane. To find a unique solution, we need a third independent equation, but we already have three equations. The redundancy suggests the system may have infinitely many solutions or a line of solutions Worth keeping that in mind..

It sounds simple, but the gap is usually here.

Let’s solve for z using Equation 1 after expressing z in terms of x and y:

From Equation 1: (-z = 5 - 2x - 3y) → (z = 2x + 3y - 5) Worth knowing..

Plug this into Equation 2:

(x - y + 2(2x + 3y - 5) = 3) → (x - y + 4x + 6y - 10 = 3) → (5x + 5y = 13

Step 4: Solve for z

We already have ( z = 2x + 3y - 5 ). From Equation 4, we know that ( x + y = \frac{13}{5} ). Let’s express ( y ) in terms of ( x ):
[ y = \frac{13}{5} - x ]
Substitute this into the expression for ( z ):
[ z = 2x + 3\left(\frac{13}{5} - x\right) - 5 = 2x + \frac{39}{5} - 3x - 5 = -x + \frac{14}{5} ]

So now we have all variables expressed in terms of ( x ):
[ y = \frac{13}{5} - x, \quad z = -x + \frac{14}{5} ]

To find a specific solution, let’s choose a value for ( x ). Suppose ( x = 1 ):
[ y = \frac{13}{5} - 1 = \frac{8}{5}, \quad z = -1 + \frac{14}{5} = \frac{9}{5} ]

Check these values in the original equations:

  1. ( 2(1) + 3\left(\frac{8}{5}\right) - \frac{9}{5} = 2 + \frac{24}{5} - \frac{9}{5} = 2 + \frac{15}{5} = 2 + 3 = 5 ) ✅
  2. ( 1 - \frac{8}{5} + 2\left(\frac{9}{5}\right) = 1 - \frac{8}{5} + \frac{18}{5} = 1 + \frac{10}{5} = 1 + 2 = 3 ) ✅
  3. ( 3(1) + 2\left(\frac{8}{5}\right) + \frac{9}{5} = 3 + \frac{16}{5} + \frac{9}{5} = 3 + 5 = 8 ) ✅

All checks pass Easy to understand, harder to ignore..


General Solution

Since the system is dependent, there are infinitely many solutions parameterized by ( x ):
[ (x, y, z) = \left(x, \frac{13}{5} - x, -x + \frac{14}{5}\right) ]

For example:

  • If ( x = 0 ), then ( (x, y, z) = \left(0, \frac{13}{5}, \frac{14}{5}\right) )
  • If ( x = 2 ), then ( (x, y, z) = \left(2, \frac{3}{5}, \frac{4}{5}\right) )

Each point satisfies the original system.


Conclusion

Solving a system of three linear equations requires reducing it to two equations in two unknowns and then to one equation in one unknown. The elimination method works systematically through strategic multiplication and addition of equations. In some cases—like this one—the system may be dependent, leading to infinitely many solutions along a line in 3D space. Matrix methods such as Gaussian elimination and Cramer’s Rule provide alternative approaches, especially useful when working with larger systems or using computational tools. Understanding both algebraic and matrix-based techniques gives a complete toolkit for tackling any system of linear equations.

Up Next

Out the Door

Others Went Here Next

More Good Stuff

Thank you for reading about How To Solve Three Equations With Three Variables. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home