Fiveable

📘Intermediate Algebra Unit 4 Review

QR code for Intermediate Algebra practice questions

4.1 Solve Systems of Linear Equations with Two Variables

4.1 Solve Systems of Linear Equations with Two Variables

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
📘Intermediate Algebra
Unit & Topic Study Guides

Solving Systems of Linear Equations with Two Variables

A system of linear equations is two or more equations that share the same variables. Solving the system means finding the values of those variables that make all the equations true at the same time. This topic covers three main methods for solving two-variable systems: graphing, substitution, and elimination.

These methods show up constantly in later math courses and in real-world problems like budgeting, mixing solutions, or comparing rates. Each method has situations where it works best, so knowing all three gives you flexibility.

Verification of Linear Equation Solutions

An ordered pair (x,y)(x, y) is a solution to a system only if it makes both equations true. To check, plug the xx and yy values into each equation separately and simplify.

Example: Does (2,3)(2, 3) solve the system x+y=5x + y = 5 and 2xy=12x - y = 1?

  • First equation: 2+3=52 + 3 = 5
  • Second equation: 2(2)3=12(2) - 3 = 1

Both statements are true, so (2,3)(2, 3) is the solution. If even one equation comes out false, the ordered pair is not a solution to the system.

Verification of linear equation solutions, OpenAlgebra.com: Free Algebra Study Guide & Video Tutorials: Visual Solving Linear Systems

Graphing Systems of Linear Equations

Graphing is the most visual method. You graph both equations on the same coordinate plane and look for where the lines cross.

To graph each line, find at least two points (the xx- and yy-intercepts work well), plot them, and draw a straight line through them. The intersection point is your solution.

Example: Graph y=2x1y = 2x - 1 and y=x+5y = -x + 5. The lines cross at (2,3)(2, 3), so that's the solution.

There are three possible outcomes:

  • One solution: The lines intersect at exactly one point. This is called a consistent and independent system.
  • No solution: The lines are parallel (same slope, different intercepts) and never cross. This is an inconsistent system.
  • Infinitely many solutions: The lines are actually the same line (one equation is a multiple of the other). Every point on the line is a solution. This is a consistent and dependent system.

Graphing is great for understanding what's happening, but it's not precise when the solution involves fractions or decimals.

Verification of linear equation solutions, Systems of Linear Equations: Two Variables | Algebra and Trigonometry

Substitution Method for Linear Systems

Substitution works by isolating one variable in one equation, then plugging that expression into the other equation. This reduces the system to a single equation with one variable.

  1. Pick whichever equation is easiest to solve for one variable. For example, solve 2x+y=72x + y = 7 for yy to get y=72xy = 7 - 2x.

  2. Substitute that expression into the other equation. Replace yy in 3x2y=13x - 2y = 1 with (72x)(7 - 2x), giving you 3x2(72x)=13x - 2(7 - 2x) = 1.

  3. Solve for the remaining variable. Distribute: 3x14+4x=13x - 14 + 4x = 1, then 7x=157x = 15, so x=157x = \frac{15}{7}.

  4. Plug that value back into the expression from Step 1 to find the other variable: y=72(157)=197y = 7 - 2\left(\frac{15}{7}\right) = \frac{19}{7}.

  5. Write the solution as an ordered pair: (157,197)\left(\frac{15}{7}, \frac{19}{7}\right).

Substitution is especially efficient when one variable already has a coefficient of 1 or -1, since that avoids introducing fractions early.

Elimination Method for Linear Systems

Elimination (also called linear combination) works by adding or subtracting the equations so that one variable cancels out.

  1. If needed, multiply one or both equations by constants so that one variable has coefficients that are equal in magnitude but opposite in sign. For example, multiply 2x+y=72x + y = 7 by 2 to get 4x+2y=144x + 2y = 14.

  2. Add the equations together. Adding 4x+2y=144x + 2y = 14 and 3x2y=13x - 2y = 1 gives 7x=157x = 15 (the yy terms cancel).

  3. Solve for the remaining variable: x=157x = \frac{15}{7}.

  4. Substitute that value into either original equation to find the other variable.

  5. Write the solution as an ordered pair.

Watch for special cases: If both variables cancel and you get a true statement like 0=00 = 0, the system has infinitely many solutions. If you get a false statement like 0=50 = 5, there's no solution.

Choosing the Right Method

The structure of the equations should guide your choice:

  • Graphing is best for visualizing the relationship and estimating solutions. It's less practical when answers aren't whole numbers.
  • Substitution is your go-to when one equation already has a variable isolated (like y=3x+2y = 3x + 2) or when a variable has a coefficient of 1 or -1, making it easy to isolate.
  • Elimination shines when the coefficients are set up so that one variable cancels quickly, such as 2x+3y=102x + 3y = 10 and 2x3y=42x - 3y = 4 (the yy terms are already opposites).

Before diving in, take a few seconds to look at the coefficients and the form of each equation. Choosing the most efficient method saves time and reduces errors.