Historical Context & Motivation
People have been solving problems with multiple unknowns for thousands of years. Ancient merchants needed to figure out how many of each item they could buy with a fixed budget. Builders needed to calculate how much of each material they required. Over time, mathematicians developed a powerful tool for tackling these kinds of problems: systems of linear equations. A system of linear equations is simply two or more equations that share the same variables, and solving the system means finding values that make every equation true at the same time.
The central question this lesson addresses is: How do we turn a real-world situation into a set of equations, and then solve those equations to find the answer? This process is called modeling, and it is one of the most useful skills in all of mathematics.
Core Principles & Definitions
Before we dive into problem-solving, let's nail down the key ideas. A linear equation is any equation whose graph is a straight line. It has no exponents higher than 1, no variables multiplied together, and no square roots of variables. When you put two or more linear equations together and look for values that satisfy all of them simultaneously, you have a linear system.
Variables Represent Unknowns
Equations Come from Constraints
The Solution Satisfies All Equations
Two Equations, Two Unknowns
Check Your Answer
Visual Explanation — Graphing a System
The most intuitive way to understand a linear system is to see it on a graph. Each equation in the system produces a straight line. The point where the lines cross is the solution — the pair of values that satisfies both equations. The diagram below shows the system:
Notice that each line on its own has infinitely many points that satisfy it. But there is exactly one point that sits on both lines at the same time. That point, (4, 6), is the solution. You can verify: 4 + 6 = 10 ✓ and 2(4) − 6 = 8 − 6 = 2 ✓. Both equations check out.
Mathematical Framework — Solving Methods
Graphing is a great way to see the solution, but it is not always precise. Two algebraic methods give you exact answers every time: substitution and elimination. Both methods reduce a system of two equations down to a single equation with one variable, which you can solve easily.
Substitution Method
Elimination Method
General Form of a Linear System
The modeling process follows a clear pattern. First, define your variables. Second, write an equation for each constraint the problem gives you. Third, solve the system using substitution, elimination, or graphing. Finally, interpret and check your answer in the context of the original problem.
Types of Solutions — One, None, or Infinitely Many
Not every system has a single neat answer. When you graph two lines, there are exactly three things that can happen. The lines can cross at one point, giving one solution. The lines can be parallel and never meet, giving no solution. Or the lines can lie right on top of each other, giving infinitely many solutions. Understanding which case you are dealing with is an important part of modeling.
Worked Example — The Concert Ticket Problem
A school is selling tickets to a concert. Adult tickets cost $8 each and student tickets cost $5 each. The school sold 200 tickets in total and collected $1,180. How many adult tickets and how many student tickets were sold?
Comparing Solution Methods
You now know three ways to solve a linear system: graphing, substitution, and elimination. Each method has its strengths and weaknesses. The table below helps you decide which method to use in different situations.
| Method | Strengths | Limitations | Best When… |
|---|---|---|---|
| Graphing | Visual and intuitive; shows the big picture and approximate solution | Hard to read exact values; impractical for large or decimal solutions | You need a quick estimate or want to visualize the situation |
| Substitution | Gives exact answers; works well when one equation is already solved for a variable | Can get messy with fractions; requires careful algebra | One variable is already isolated (e.g., y = 3x + 1) |
| Elimination | Fast and efficient; handles systems with both equations in standard form | You may need to multiply equations first to line up coefficients | Coefficients are easy to match, like x + y = 10 and x − y = 4 |
Connection to Advanced Topics
Everything we have explored so far involves two variables. But real-world problems often have three, ten, or even thousands of unknowns. The great news is that the same core ideas — define variables, write equations, solve the system — scale up beautifully. In higher math courses, you will learn to use matrices (organized rectangular arrays of numbers) to represent and solve enormous systems efficiently.
| Feature | This Lesson (2 Variables) | Advanced (3+ Variables / Matrices) |
|---|---|---|
| Number of unknowns | 2 (x and y) | 3 or more (x, y, z, …) |
| Visual representation | Lines on a 2D plane | Planes in 3D space or beyond |
| Solution method | Substitution or elimination by hand | Gaussian elimination with matrices; computer algorithms |
| Real-world scale | Simple budget, mixture, or rate problems | Traffic networks, climate models, machine learning |
| Core idea | Find where lines intersect | Find where planes or hyperplanes intersect — same logic! |
The skills you are building right now — translating words into equations, choosing a solving strategy, and interpreting results — are the exact same skills used in advanced engineering, data science, and economics. The only difference is the size of the system. Mastering two-variable systems gives you a rock-solid foundation for everything that comes next.
Practice Problems
Lesson Summary
Modeling with linear systems is the art of turning real-world situations into mathematics you can solve. You start by defining variables for each unknown quantity, then translate every fact or constraint into a linear equation. When you have as many independent equations as unknowns, you can solve the system using graphing, substitution, or elimination. The solution is the point where all the lines intersect.
A system can have one solution (intersecting lines), no solution (parallel lines), or infinitely many solutions (identical lines). Always check your answer by plugging it back into every original equation and verifying that it makes sense in the context of the problem. These foundational skills extend directly to advanced topics like matrices and systems with many more variables, so mastering them now sets you up for success in higher-level math, science, and engineering.