Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games

Opening subject page...

Loading your content

  1. Middle School Math
  2. Solving Systems of Two Linear Equations

8TH GRADE MATHEMATICS • EXPRESSIONS & EQUATIONS

Solving Systems of Two Linear Equations

Learn to find where two lines meet — using algebra, graphs, and smart inspection.

Section 1

Where Did Systems of Equations Come From?

People have been solving problems with two unknowns for thousands of years. Whenever you have two pieces of information and two things you don't know, you're working with a system of equations. Ancient mathematicians figured this out long before modern algebra even existed!

≈ 200 BCE
Chinese mathematicians wrote The Nine Chapters on the Mathematical Art, which included methods for solving systems with multiple unknowns. They used a counting-rod method that looks a lot like what we now call elimination.
≈ 250 CE
The Greek mathematician Diophantus solved word problems involving two unknowns in his book Arithmetica. He used clever reasoning rather than a formal method, but the problems looked a lot like ours today.
≈ 820 CE
Al-Khwarizmi, a Persian scholar, wrote the first algebra textbook. His step-by-step problem-solving approach gave us the word "algebra" (from the Arabic al-jabr). He laid the groundwork for solving equations systematically.
1637
René Descartes connected algebra and geometry by inventing the coordinate plane. Now you could see equations as lines on a graph — and finding where two lines cross became a visual way to solve a system.
Today
Systems of equations are everywhere: from GPS satellites figuring out your location, to businesses planning their budgets, to game designers calculating where two characters will collide on screen.

The big question this lesson answers: if you have two equations and two unknowns, how do you find the values that make both equations true at the same time?

Section 2

Core Ideas You Need to Know

Before we dive into solving, let's nail down the vocabulary. A system of linear equations is a set of two (or more) equations that share the same variables. A solution to the system is any ordered pair (x, y) that makes every equation in the system true.

1

Linear Equation

An equation whose graph is a straight line. It looks like y = mx + b or ax + by = c. No exponents higher than 1, no curves.
2

System of Equations

Two or more equations considered together. We need both to be true at once. Think of it as two rules that must be followed at the same time.
3

Solution (Ordered Pair)

The point (x, y) that satisfies both equations. Graphically, it's the exact spot where the two lines cross each other.
4

Three Possible Outcomes

Two lines can cross once (one solution), be parallel (no solution), or lie on top of each other (infinitely many solutions).
✦ KEY TAKEAWAY
Think of a system of equations like a treasure hunt with two clues. Each clue alone narrows down where the treasure could be, but you need both clues together to find the exact spot. The solution is the one point that satisfies both clues at the same time.
Section 3

Seeing Systems on a Graph

Every linear equation draws a straight line on the coordinate plane. When you graph two equations together, the point where the lines intersect is the solution. Let's look at the system y = 2x − 1 and y = −x + 5.

xy1234512340(2, 3)y = 2x − 1y = −x + 5
Two lines intersecting at (2, 3) — the one solution to this system.

Notice the gold dot at (2, 3). Plug x = 2 into the first equation: y = 2(2) − 1 = 3. ✓ Plug x = 2 into the second: y = −(2) + 5 = 3. ✓ Both equations give y = 3 when x = 2, so (2, 3) is the solution.

Graphing is a great way to estimate a solution. You draw both lines and see roughly where they cross. But if the lines cross at a point like (1.37, 2.74), it's hard to read that exactly off a graph. That's why we also learn algebraic methods — they give us the exact answer.

Section 4

Three Algebraic Methods

There are three main ways to solve a system of equations: substitution, elimination, and inspection. Each one has its own strengths. Let's learn all three.

Method 1 — Substitution

Substitution means solving one equation for a variable, then plugging that expression into the other equation. It works best when one equation is already solved for y (or x).

Substitution Strategy
1. Solve one equation for y (or x) 2. Substitute that expression into the other equation 3. Solve for the remaining variable 4. Plug back in to find the other variable

For example, with y = 2x − 1 and x + y = 5, the first equation already tells you what y equals. Substitute 2x − 1 in place of y in the second equation: x + (2x − 1) = 5. Now you have one equation with one unknown — much easier!

Method 2 — Elimination

Elimination (also called the addition method) means adding or subtracting the two equations so that one variable cancels out. It works best when the coefficients (the numbers in front of x or y) match up nicely.

Elimination Strategy
1. Line up both equations in standard form (ax + by = c) 2. Multiply one or both equations so a variable's coefficients are opposites 3. Add the equations — one variable disappears 4. Solve for the remaining variable, then plug back in

For instance, if you have 2x + y = 7 and 2x − y = 1, adding them gives 4x = 8. The y terms cancel because +y and −y add to zero. That's elimination in action!

Method 3 — Inspection (Solving by Looking)

Inspection means recognizing the answer without heavy algebra. Some systems are simple enough that you can spot the solution just by looking. This works well when the numbers are small or when the equations have a clear structure.

Inspection Examples
x + y = 10 and x − y = 4
Think: "What two numbers add to 10 and subtract to 4?" → x = 7, y = 3

Inspection also helps you quickly see special cases. If both equations simplify to the same line (like y = 2x + 1 and 2y = 4x + 2), you know there are infinitely many solutions. If they have the same slope but different y-intercepts (like y = 3x + 1 and y = 3x + 5), they're parallel — no solution.

✦ KEY TAKEAWAY
Think of these three methods as three different tools in a toolbox. Substitution is like a screwdriver — precise and always works. Elimination is like pliers — great when things line up. Inspection is like your eyes — the fastest tool when the job is simple enough. A good math student knows when to reach for each one.
Section 5

The Three Types of Solutions

Not every system has exactly one answer. When you graph two lines, three things can happen. Understanding these three outcomes helps you make sense of your algebraic work too.

ONE SOLUTIONLines cross at one pointNO SOLUTIONParallel — never crossINFINITE SOLUTIONSSame line — overlap everywhere
The three possible outcomes when you graph a system of two linear equations.
TypeGraph Looks LikeAlgebra Tells YouExample
One solutionLines cross at one pointYou find specific values for x and yy = x + 1, y = −x + 3 → (1, 2)
No solutionLines are parallelYou get a false statement like 0 = 5y = 2x + 1, y = 2x + 4
Infinitely manyLines lie on top of each otherYou get a true statement like 0 = 0y = 3x − 2, 2y = 6x − 4

Here's how to spot these during algebra. If you eliminate a variable and get something like 0 = 5, stop — there's no solution. If you get 0 = 0, stop — there are infinitely many solutions (the equations describe the same line). If you get a normal number, like x = 4, that means there's exactly one solution, and you should keep going to find the other variable.

Section 6

Worked Example — Start to Finish

Let's solve this system using both substitution and elimination, so you can see how they compare.

The System
3x + 2y = 16 x − y = 2

Method A — Substitution

Step 1 — Solve one equation for a variable

The second equation is simpler, so solve it for x:
x − y = 2 → x = y + 2

Step 2 — Substitute into the other equation

Replace x with (y + 2) in the first equation:
3(y + 2) + 2y = 16

Step 3 — Solve for y

Distribute the 3, then combine like terms:
3y + 6 + 2y = 16 → 5y + 6 = 16 → 5y = 10 → y = 2

Step 4 — Find x

Plug y = 2 back into x = y + 2:
x = 2 + 2 = 4

Step 5 — Check both equations

Does (4, 2) work?
3(4) + 2(2) = 12 + 4 = 16 ✓ and 4 − 2 = 2 ✓. The solution is (4, 2).

Method B — Elimination

Step 1 — Line up the equations

3x + 2y = 16 and x − y = 2

Step 2 — Multiply the second equation by 2

We want the y-coefficients to be opposites (+2y and −2y):
2(x − y) = 2(2) → 2x − 2y = 4

Step 3 — Add the equations

3x + 2y = 16 + 2x − 2y = 4
5x = 20 → x = 4

Step 4 — Plug back in to find y

4 − y = 2 → y = 2
Same answer: (4, 2). Both methods give the same solution — they're just different paths to get there.
Section 7

Comparing the Methods

Each method has situations where it shines. Here's a side-by-side look to help you decide which tool to grab.

MethodBest When…Watch Out For…
GraphingYou want a visual estimate or to understand the system's big pictureHard to read exact answers if the solution has fractions or decimals
SubstitutionOne equation is already solved for x or y (like y = 3x + 1)Can get messy with large coefficients or lots of fractions
EliminationBoth equations are in standard form and coefficients match up easilyYou might need to multiply first; don't forget to multiply the entire equation
InspectionThe system is simple, with small numbers or obvious patternsOnly works for easy systems — most real problems need algebra
✦ KEY TAKEAWAY
Imagine you need to get across a river. You could swim (graphing — works but imprecise), take a bridge (substitution — reliable), take a ferry (elimination — efficient when the route is right), or just step across some stepping stones (inspection — fastest when conditions are perfect). The key is picking the right crossing for the river in front of you.

No matter which method you use, always check your answer by plugging the x and y values back into both original equations. If both equations are true, you've found the right solution.

Section 8

Where This Leads Next

Right now, you're learning to solve systems with two equations and two variables. But this is just the beginning! As you move into high school, you'll encounter bigger systems, new tools, and real-world applications that build directly on what you're learning here.

What You Know NowWhat Comes Next
2 equations, 2 variables3 equations with 3 variables (x, y, and z) — same ideas, just bigger
Graphing on a 2D planeGraphing in 3D — equations become planes, and the solution is where three planes meet
Substitution and eliminationMatrices and row reduction — a super-efficient way to solve many equations at once
Linear equations onlySystems with curves (parabolas, circles) — where a line meets a curve

Systems of equations are used every day in science, business, and technology. When engineers design a bridge, they solve huge systems to calculate the forces on every beam. When economists predict prices, they set up systems that model supply and demand. The small 2×2 systems you're solving right now are the foundation for all of that.

Section 9

Practice Problems

Try these on your own. Work through each one on paper before clicking "Show Answer." Remember — checking your solution in both equations is the final step!

PROBLEM 1 — CONCEPTUAL
If you graph two linear equations and the lines cross at exactly one point, how many solutions does the system have? What if the lines are parallel?
PROBLEM 2 — BASIC CALCULATION
Solve by inspection: x + y = 8 and x − y = 2.
PROBLEM 3 — INTERMEDIATE
Solve the system using substitution: y = 3x − 4 and 2x + y = 11.
PROBLEM 4 — APPLIED / WORD PROBLEM
A school store sells pencils for $0.50 each and erasers for $0.75 each. Maria buys some pencils and erasers. She buys 10 items total and spends exactly $6.00. How many pencils and how many erasers did she buy?
PROBLEM 5 — CHALLENGE / CRITICAL THINKING
Consider the system: 4x + 6y = 12 and 2x + 3y = 6. Try to solve it using elimination. What happens? How many solutions does this system have, and how can you tell?
Summary

Putting It All Together

A system of linear equations is a pair of equations with two variables (usually x and y) that you solve at the same time. The solution is the ordered pair that makes both equations true. You can find it by graphing (drawing both lines and finding where they cross), by substitution (replacing one variable with an expression from the other equation), by elimination (adding or subtracting equations to cancel a variable), or by inspection (spotting the answer when the system is simple).

Every system has one of three outcomes: exactly one solution (the lines cross once), no solution (the lines are parallel), or infinitely many solutions (the lines are the same). When you solve algebraically, a false statement like 0 = 5 means no solution, while 0 = 0 means infinite solutions. Whichever method you choose, always check your answer by plugging back into both original equations. Master these skills now, and you'll have a solid foundation for algebra, geometry, and beyond!

Varsity Tutors • 8th Grade Mathematics (Common Core) • Solving Systems of Linear Equations