Solving Systems of Equations: Substitution, Elimination, and Matrices

Systems of equations appear throughout algebra, science, and engineering whenever you have multiple unknowns. This guide covers three solution methods โ€” substitution, elimination, and matrices โ€” with worked examples and real-world applications.

What Systems of Equations Represent

A system of equations is two or more equations whose variables must be satisfied simultaneously. The solution is a set of values that makes every equation true at once.

Example:

\begin{cases} 2x + y = 7 \\ x - y = 2 \end{cases}

Solving this system means finding the values of x and y that satisfy both equations. Here (3, 1) works: 2(3) + 1 = 7 โœ“ and 3 - 1 = 2 โœ“.

Systems arise whenever multiple functions must be matched โ€” from finding intersections of lines, to mixing solutions, to solving application problems that involve multiple constraints. Systems involving quadratic equations also appear in calculus and physics.

Graphical Interpretation

Each equation in a 2-variable system graphs as a curve (a line for linear equations). The solution is the point of intersection โ€” where all curves meet.

Three possibilities for linear systems:

  • Exactly one solution: the lines cross at one point (different slopes).
  • No solution: the lines are parallel (same slope, different intercepts).
  • Infinitely many solutions: the lines are identical (same slope AND intercept).

Systems with more variables or nonlinear equations can have more intersection points (e.g., a line and a parabola can meet at 0, 1, or 2 points).

Substitution Method

Substitution works best when one equation is already solved for a variable (or can be easily rearranged). Steps:

  1. Solve one equation for one variable.
  2. Substitute that expression into the other equation.
  3. Solve for the remaining variable.
  4. Back-substitute to find the first variable.

Example: Solve

\begin{cases} y = 3x - 1 \\ 2x + y = 9 \end{cases}

The first equation gives y explicitly. Substitute into the second:

2x + (3x - 1) = 9 \implies 5x = 10 \implies x = 2

Now back-substitute:

y = 3(2) - 1 = 5, \text{ so } (x, y) = (2, 5)

Elimination Method

Elimination adds or subtracts the equations to cancel one variable. It works best when neither equation is easily solvable for a variable.

Example: Solve

\begin{cases} 3x + 2y = 16 \\ 2x - 2y = 4 \end{cases}

The y-coefficients are already opposites. Add the equations:

5x = 20 \implies x = 4

Back-substitute to find y:

3(4) + 2y = 16 \implies y = 2

If no coefficient pair is ready to cancel, multiply one (or both) equations through by a constant to create matching coefficients first.

Want to check your understanding?

Our interaction checks test whether you truly understand a concept โ€” not just whether you can repeat a procedure.

Try an interaction check

Systems with Three Variables

Systems with three equations in three unknowns are common in physics, economics, and engineering. The strategy: reduce to a 2-variable system by eliminating one variable using two pairs of equations, solve the resulting 2-variable system, then back-substitute.

Example:

\begin{cases} x + y + z = 6 \\ 2x - y + z = 3 \\ x + 2y - z = 2 \end{cases}

Eliminate z from equations 1 and 2 (subtract), then from equations 1 and 3 (add). That gives a 2-variable system in x and y, solve that, then back-substitute for z. (Solution: x = 1, y = 2, z = 3.)

Matrix Method Preview

Any linear system can be written in matrix form Ax = b:

\begin{bmatrix} 3 & 2 \\ 2 & -2 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 16 \\ 4 \end{bmatrix}

For 2ร—2 systems, the solution is x = Aโปยนb, where Aโปยน is the inverse matrix. For larger systems, Gaussian elimination (row reduction) is the standard algorithm.

Matrices become essential once you have 3+ unknowns or need to solve many systems with the same coefficient structure โ€” they're the foundation of linear algebra and the basis for computational solvers used in engineering, graphics, and machine learning.

Applications and Word Problems

Most application problems give two constraints involving two unknowns โ€” a classic setup for a system of equations.

Example (mixing): A theater sells adult tickets for $12 and child tickets for $8. A showing sold 200 tickets for total revenue of $1960. How many of each?

Let a = adult tickets, c = child tickets:

\begin{cases} a + c = 200 \\ 12a + 8c = 1960 \end{cases}

Solve by elimination or substitution: a = 90, c = 110. Always interpret the answer in context โ€” negative or non-integer solutions should be checked against the problem's constraints.

Common Mistakes

Solving for the wrong variable first

Choose the variable that is easiest to isolate. Picking the wrong one leads to unnecessary fractions and complexity.

Forgetting to substitute back

After finding one variable, you must substitute back to find the others. A system is not solved until all unknowns are determined.

Practice Problems

Solve each system using any method. Check your answer by substituting into both equations.

  1. \begin{cases} x + y = 10 \\ x - y = 4 \end{cases}
  2. \begin{cases} 2x + 3y = 12 \\ 4x - y = 10 \end{cases}
  3. \begin{cases} y = 2x + 1 \\ y = -x + 7 \end{cases}
  4. \begin{cases} 3x - 2y = 6 \\ 6x - 4y = 12 \end{cases}
  5. \begin{cases} x + y = 5 \\ x + y = 8 \end{cases}

Answers

  1. (7, 3) โ€” elimination by adding
  2. (3, 2) โ€” multiply second equation by 3 and add to first
  3. (2, 5) โ€” substitute 2x+1 = -x+7
  4. Infinitely many solutions โ€” equations are multiples of each other
  5. No solution โ€” lines are parallel

Related Guides

Frequently Asked Questions

What is a system of equations?

A system of equations is a set of two or more equations with the same variables. The solution is the set of values that satisfies all equations simultaneously. Graphically, the solution is the point (or points) where the graphs of the equations intersect.

When should you use substitution vs elimination?

Use substitution when one variable is already isolated or easy to isolate (like y = 2x + 1). Use elimination when coefficients can be easily matched for cancellation. For larger systems (3+ variables), matrix methods are usually most efficient.

Can a system of equations have no solution?

Yes. A system with no solution is called inconsistent. Graphically, this means the lines (or planes) are parallel and never intersect. An example is y = 2x + 1 and y = 2x + 5 โ€” same slope, different intercepts.

What does it mean when a system has infinitely many solutions?

Infinitely many solutions occur when the equations describe the same line (or plane). This is called a dependent system. Every point on the line satisfies both equations. The equations are scalar multiples of each other.

How do you solve a system of three equations?

Use elimination or substitution to reduce the system step by step: combine pairs of equations to eliminate one variable, reducing to a 2-variable system. Then solve the 2-variable system normally. Matrix methods (Gaussian elimination, Cramer's rule) also work well for 3+ variable systems.

Where are systems of equations used in real life?

Systems of equations model situations with multiple unknowns: mixing solutions in chemistry, balancing budgets, network flow problems, supply-and-demand equilibrium, electrical circuit analysis (Kirchhoff's laws), and optimization problems in engineering.

About Sense of Study

Sense of Study is a concept-first learning platform that helps students build deep understanding in math, physics, chemistry, statistics, and computational thinking. Our approach maps prerequisite relationships between concepts so students master foundations before moving forward โ€” eliminating the gaps that cause confusion later.

With 800+ interconnected concepts and mastery tracking, we help students and parents see exactly where understanding breaks down and how to fix it.

Start Your Concept Mastery Journey

Explore 800+ interconnected concepts with prerequisite maps, mastery tracking, and interaction checks that build real understanding.