ALGEBRA 1 • SYSTEMS OF EQUATIONS

Solving Systems of Linear Equations

Learn how to find the exact point where two lines meet — using graphs, substitution, and elimination — and discover why this skill unlocks real-world problem solving.

Where Did Systems of Equations Come From?

Long before anyone called them "systems of equations," people were already solving problems that involved two unknown quantities at the same time. A farmer might need to figure out how many goats and chickens he owns, knowing only the total number of animals and the total number of legs. Ancient mathematicians across several civilizations developed techniques to handle exactly this kind of puzzle, and those techniques evolved into the methods you'll learn in this lesson.

~200 BCE — China
The Chinese mathematical text The Nine Chapters on the Mathematical Art presented problems involving multiple unknowns and solved them using a method very similar to what we now call elimination. This is one of the earliest recorded approaches to systems of equations.
~250 CE — Greece
Diophantus of Alexandria wrote Arithmetica, exploring equations with multiple unknowns. His work focused mostly on finding integer solutions and laid groundwork for algebraic notation in Europe.
~820 CE — Baghdad
Al-Khwarizmi published Al-Kitab al-Mukhtasar fi Hisab al-Jabr wal-Muqabala, the book that gave us the word "algebra." He described systematic procedures for solving equations, influencing how we teach solving methods today.
1637 — France
René Descartes published La Géométrie, connecting algebra and geometry by introducing the coordinate plane. This is the key idea that lets us visualize a system of equations as intersecting lines on a graph.
1800s — Europe
Carl Friedrich Gauss formalized Gaussian elimination, a systematic algorithm for solving systems of any size. Today, computers use variations of this method to solve systems with thousands of variables in science and engineering.

The core question that drove all this work is one you'll answer in this lesson: if two conditions must be true at the same time, what values satisfy both of them? That's the essence of a system of equations.

Core Principles & Definitions

A system of linear equations is a set of two or more linear equations that share the same variables. In this lesson we focus on systems with exactly two equations and two variables, typically called x and y. The solution to the system is the ordered pair (x, y) that makes both equations true at the same time. Geometrically, each linear equation represents a straight line on the coordinate plane, and the solution is the point where those two lines cross.

1

Linear Equation

An equation whose graph is a straight line. The standard form is ax + by = c, and slope-intercept form is y = mx + b. Every point on the line is a solution to that single equation.
2

System of Equations

Two or more equations considered together. We need a solution that works in all equations simultaneously — not just one at a time.
3

Solution of a System

The ordered pair (x, y) that satisfies every equation in the system. Graphically, it's where the lines intersect. You can verify a solution by plugging it into both equations.
4

Three Possible Outcomes

Two lines can intersect at one point (one solution), be parallel (no solution), or be the same line (infinitely many solutions). The slopes tell you which case you have.
✦ Key Takeaway
Think of a system of equations like meeting up with a friend. You each follow a different route (each equation is a line). The solution to the system is the exact spot where your paths cross and you find each other. If you're walking on parallel streets, you'll never meet (no solution). And if you're on the same street the whole time, every point along the way is a meeting point (infinitely many solutions).

Visualizing Systems on the Coordinate Plane

The most intuitive way to understand a system of two linear equations is to graph both lines and look at how they relate to each other. Below is a coordinate-plane diagram showing three different scenarios: one solution, no solution, and infinitely many solutions.

In the first case, the two lines have different slopes, so they cross at exactly one point — this is the most common situation you'll encounter. The coordinates of that crossing point are the solution. In the second case, the lines have the same slope but different y-intercepts, which makes them parallel; they never touch, so there's no solution. In the third case, both equations actually describe the same line (one equation is a multiple of the other), so every point on the line satisfies both equations — there are infinitely many solutions.

Graphing gives you a visual approximate answer. If the intersection point has "nice" integer coordinates, you can read it exactly. But if the lines cross at something like (2.37, −1.84), reading that off a hand-drawn graph is imprecise. That's why we also need exact algebraic methods — which we'll explore next.

Three Methods for Solving Systems

There are three main ways to solve a system of two linear equations in two variables. Each one has its advantages, and which one you choose often depends on how the equations are written.

Method 1 — Graphing

Graph both equations on the same coordinate plane and identify the point of intersection. This method is great for building intuition and getting an approximate answer, but it can be imprecise when the solution involves fractions or decimals. It's also the method you'd use with a graphing calculator or technology tool like Desmos.

Graphing Strategy
Write both equations in y = mx + b form → plot → find intersection
Best for: visual understanding, estimation, and checking your algebraic answer

Method 2 — Substitution

Solve one equation for one variable, then substitute that expression into the other equation. This turns the system into a single equation with one unknown, which you can solve directly. Substitution works especially well when one of the equations already has a variable isolated, like y = 3x − 5.

Substitution Steps
1. Solve one equation for x or y 2. Substitute into the other equation 3. Solve for the remaining variable 4. Back-substitute to find the other variable
Best for: when one variable is already isolated or has a coefficient of 1

Method 3 — Elimination (also called Linear Combination)

Add or subtract the two equations so that one variable cancels out. You may need to multiply one or both equations by a constant first so that the coefficients line up. This method is often the fastest for equations in standard form (ax + by = c).

Elimination Steps
1. Align equations in standard form: ax + by = c 2. Multiply to create opposite coefficients for one variable 3. Add equations to eliminate that variable 4. Solve, then back-substitute
Best for: equations in standard form, especially when coefficients are easy to match

No matter which method you use, always check your answer by plugging the solution back into both original equations. If both sides come out equal each time, your solution is correct.

✦ Key Takeaway
These three methods are like three different routes to the same destination. Graphing is like using a map to see the big picture. Substitution is like following GPS directions step-by-step. Elimination is like taking a shortcut by clearing obstacles from the path. They all lead to the same answer — the point where the two lines meet.

Detailed Breakdown: When to Use Each Method

Understanding when a method shines (and when it doesn't) will save you time on homework and tests. The diagram below maps the decision process, and the table that follows gives a side-by-side comparison.

Decision flowchart for choosing the most efficient solving method
MethodWhen It's BestAccuracySpeed
GraphingVisual estimation, checking answers, graphing calculator availableApproximate (exact only if intersection has integer coordinates)Fast for estimation; slower by hand
SubstitutionOne equation already solved for a variable, or a coefficient is 1ExactFast when setup is favorable
EliminationBoth equations in standard form, coefficients match or are easy multiplesExactOften the fastest algebraic method

Remember: you can always convert a system to favor any method. If elimination looks messy, try substitution. If both algebraic methods seem tedious, graph the equations on a calculator for a quick check. Flexibility is your biggest advantage.

Worked Example

Let's solve the following system using all three methods so you can see how each one works on the same problem.

The System
2x + y = 7 x − y = 2
Method A — Graphing
1
Step 1 — Rewrite in slope-intercept formEquation 1: 2x + y = 7y = −2x + 7 (slope = −2, y-intercept = 7). Equation 2: x − y = 2y = x − 2 (slope = 1, y-intercept = −2).
2
Step 2 — Plot both linesFor y = −2x + 7, plot points like (0, 7), (1, 5), (2, 3), (3, 1). For y = x − 2, plot (0, −2), (1, −1), (2, 0), (3, 1). The lines appear to cross at (3, 1).
Method B — Substitution
1
Step 1 — Solve one equation for one variableEquation 2 is easy to rearrange: x − y = 2x = y + 2.
2
Step 2 — Substitute into the other equationReplace x in Equation 1 with (y + 2): 2(y + 2) + y = 72y + 4 + y = 73y + 4 = 73y = 3
y = 1
3
Step 3 — Back-substitutePlug y = 1 into x = y + 2: x = 1 + 2 =
3
Method C — Elimination
1
Step 1 — Stack the equations 2x + y = 7 x − y = 2
2
Step 2 — Add the equationsNotice the y terms are +y and −y. Adding the equations directly cancels y: (2x + x) + (y − y) = 7 + 23x = 9
x = 3
3
Step 3 — Back-substitutePlug x = 3 into Equation 2: 3 − y = 2
y = 1
4
Step 4 — VerifyCheck in Equation 1: 2(3) + 1 = 6 + 1 = 7 ✓. Check in Equation 2: 3 − 1 = 2 ✓
The solution is (3, 1). All three methods agree.

Strengths & Limitations of Each Method

No single method is "the best" in every situation. Here's an honest comparison that will help you make smart choices.

FeatureGraphingSubstitutionElimination
Gives exact answer?Only if intersection is at "nice" coordinatesYes, alwaysYes, always
Shows the big picture?Yes — you see parallel, intersecting, or identical lines visuallyNot visually, but leads to correct classification algebraicallyNot visually, but same algebraic classification
Error-prone stepsImprecise plotting, reading the graph wrongDistribution mistakes, sign errors when substitutingMultiplying incorrectly, forgetting to multiply the entire equation
Best equation formSlope-intercept: y = mx + bOne variable already isolatedStandard form: ax + by = c
Handles special casesParallel lines: visually obvious. Same line: also obvious.No-solution: gives a false statement (e.g., 0 = 5). Infinite: gives 0 = 0.Same algebraic signals as substitution
✦ Key Takeaway
Think of these methods like tools in a toolbox. A wrench, pliers, and a socket set can all loosen the same bolt, but one might be more convenient depending on the bolt's position. Similarly, the "right" solving method depends on how the equations are set up. The more methods you master, the more flexible and efficient you become as a problem-solver.

Connection to Advanced Topics

The ideas you're learning now are the foundation for much bigger topics that show up later in your math education and in real-world applications. Here's a preview of where systems of equations lead.

This LessonWhat Comes Next
Systems of 2 equations, 2 variablesSystems of 3+ equations and 3+ variables (Algebra 2, Pre-Calculus)
Graphing two lines on a planeGraphing planes in 3D space; linear programming and optimization
Substitution & elimination by handMatrix methods (row reduction, inverse matrices) in Linear Algebra
Linear equations onlyNonlinear systems involving parabolas, circles, and other curves
Exact and approximate solutionsComputer algorithms that solve millions of equations at once for science, economics, and AI

In the real world, systems of equations appear constantly. Businesses use them to balance costs and revenue. Engineers use them to analyze forces in bridges. Economists model supply and demand with them. Even your phone's GPS uses a system of equations to figure out your location from satellite signals. The two-equation, two-variable systems you're solving now are the entry point to all of this — and the logic is exactly the same, just scaled up.

Practice Problems

Try each of these on your own before revealing the answer. They increase in difficulty from conceptual to challenging.

PROBLEM 1CONCEPTUAL
The system below has no solution. Explain why, without solving it algebraically. y = 2x + 5 y = 2x − 3
PROBLEM 2BASIC CALCULATION
Solve the system using substitution: y = 4x − 1 2x + y = 11
PROBLEM 3INTERMEDIATE
Solve the system using elimination: 3x + 2y = 16 5x − 2y = 8
PROBLEM 4APPLIED / MULTI-STEP
A movie theater sells adult tickets for $10 each and student tickets for $6 each. One evening, the theater sells 200 tickets and collects $1,560 in total revenue. How many adult tickets and how many student tickets were sold?
PROBLEM 5CRITICAL THINKING
Consider this system: 4x − 6y = 10 −2x + 3y = −5 Without graphing, determine how many solutions the system has. Explain your reasoning, and describe what the graph of this system would look like.

Lesson Summary

A system of linear equations is a pair of equations with two shared variables, and the solution is the ordered pair (x, y) that makes both true simultaneously. Geometrically, each equation represents a line, and the solution is their point of intersection. Two lines with different slopes always intersect at exactly one point; lines with the same slope are either parallel (no solution) or the same line (infinitely many solutions).

You have three methods at your disposal. Graphing provides an approximate, visual answer and helps you see the big picture. Substitution works by isolating one variable and plugging it into the other equation — ideal when a variable is already solved for. Elimination works by adding or subtracting the equations to cancel a variable — efficient when equations are in standard form. Regardless of method, always verify your solution by substituting it back into both original equations. Mastering these three approaches gives you a powerful toolkit for solving problems in algebra and far beyond.

Varsity Tutors • Algebra 1 (Common Core) • Systems of Linear Equations