Solving a system of equations means finding values that satisfy all equations simultaneously. The three standard techniques each have a sweet spot — knowing which to pick saves time on every homework set.
Method 1: Substitution
Best when one variable is already isolated (or easy to isolate).
Procedure:
- Solve one equation for one variable.
- Substitute that expression into the other equation.
- Solve the resulting one-variable equation.
- Back-substitute to find the second variable.
Example:
- is already isolated. Substitute into the second: , so , .
- Back-substitute: .
- Solution: .
Method 2: Elimination (Linear Combination)
Best when coefficients line up to cancel a variable by adding / subtracting.
Procedure:
- Multiply one or both equations by constants so a variable's coefficients are opposites (e.g. and ).
- Add the equations to eliminate that variable.
- Solve the remaining one-variable equation.
- Back-substitute.
Example:
- and already opposite. Add: , .
- Back-substitute: , , .
- Solution: .
Method 3: Matrix methods
For larger systems (3+ variables) or computer-aided solving:
- Cramer's rule: where is with the -th column replaced by the constants. Works for any size, but computation grows fast.
- Gaussian elimination: row-reduce the augmented matrix to row echelon form, back-substitute. The standard method for large systems.
- Inverse matrix: . Works only if is square and invertible (non-zero determinant).
For 2×2 systems by hand, substitution or elimination almost always wins. Matrix methods shine for 3+ variables.
Three possibilities for the solution set
Every linear system has exactly one of:
- One unique solution: lines (or planes) intersect at one point.
- No solution: equations contradict (parallel lines that don't meet) — system is inconsistent.
- Infinite solutions: equations describe the same line / plane — system is dependent.
Algebraic signal:
- "" → unique.
- "" → contradiction → no solution.
- "" → tautology → infinite solutions.
Common mistakes
- Sign errors when distributing during substitution. Bracket carefully.
- Forgetting to multiply both sides during elimination scaling.
- Stopping after finding . Both variables matter; back-substitute.
- Ignoring inconsistency. If you get , that's the answer ("no solution"), not a calculation error.
Try it yourself
Drop any system into our free System of Equations Solver — the AI picks substitution / elimination automatically and shows every step.
Related: