SECTION 1
Historical Context & Motivation
People have been solving problems with multiple unknowns for thousands of years. Ancient merchants needed to figure out the price of different goods when they only knew the totals of mixed purchases. Farmers needed to divide land into plots of different sizes that added up to a specific area. These everyday challenges led mathematicians to develop systems of linear equations — a set of two or more equations that share the same variables and must all be true at the same time.
The story of linear systems stretches across cultures and centuries. From ancient China to Renaissance Europe, mathematicians kept discovering better ways to organize and solve these problems. Today, linear systems are everywhere — in computer graphics, economics, engineering, and even the algorithms behind your favorite apps.
200 BCE • Ancient China: The Nine Chapters
628 CE • Brahmagupta's Rules
1750 • Cramer's Rule
1810 • Gauss and Elimination
Today • Modern Applications
But before you can solve a system, you need to know how to set one up. That means reading a problem, identifying the unknowns, and writing equations that capture all the relationships. This skill — translating words into math — is the focus of this lesson.
SECTION 2
Core Principles & Definitions
Before diving into examples, let's nail down the key ideas you'll use every time you set up a linear system. These four principles are your foundation.
Linear Equation
System of Equations
Variables (Unknowns)
Constraints
KEY TAKEAWAY
A key rule to remember: to find a unique solution for n unknowns, you generally need n independent equations. Two unknowns? You need two equations. Three unknowns? Three equations. This is your first checkpoint when setting up any system.
SECTION 3
Visualizing a Linear System
One of the best ways to understand a system of two linear equations is to graph both lines on the same coordinate plane. Each equation represents a straight line, and the solution to the system is the point where the lines intersect — the one (x, y) pair that makes both equations true.
In the diagram above, every point on the cyan line makes the equation x + y = 8 true. Every point on the violet line makes x − y = 2 true. But only the point (5, 3) sits on both lines at the same time. That's why it's the solution to the system. Setting up a system correctly means writing equations whose intersection gives you the answer you're looking for.
Three Possibilities
SECTION 4
Mathematical Framework
Now let's look at the standard forms you'll encounter when writing linear systems. Understanding these forms helps you organize your equations neatly and prepare them for solving.
STANDARD FORM OF A LINEAR EQUATION
Here, a and b are the coefficients (numbers in front of the variables), x and y are the unknowns, and c is the constant on the right side.
A SYSTEM WITH TWO EQUATIONS
Both equations use the same variables x and y. The subscripts (₁ and ₂) distinguish the coefficients and constants of each equation.
A SYSTEM WITH THREE UNKNOWNS
For three unknowns, you need three equations. Each equation includes terms for x, y, and z.
When setting up a system, your goal is to get every equation into a clean form like those above. That means all variables go on one side and the constant goes on the other. Once your equations are arranged this way, they're ready for any solving method — substitution, elimination, or matrices.
Tip: Choosing Variable Names
SECTION 5
The Step-by-Step Setup Process
Setting up a linear system from a word problem follows a reliable process. Once you practice these steps a few times, they become second nature. The diagram below shows the four stages you'll move through every time.
Let's walk through what each step means in practice. In Step 1, you read the problem carefully and ask yourself: what am I trying to find? The answer to this question tells you how many unknowns you have. In Step 2, you give each unknown a variable name and write a brief description of what it represents. This is important — a variable without a label is easy to confuse.
In Step 3, you look for every relationship the problem gives you. Common phrases like "the total is," "combined they make," "twice as many," or "the difference between" each point to a different equation. Finally, in Step 4, you convert those relationships into algebraic equations and arrange them neatly. Once all your equations are written, the setup is complete.
| Key Phrase in Problem | Mathematical Translation |
|---|---|
| "The total is 50" | x + y = 50 |
| "Twice as many A as B" | a = 2b (or a − 2b = 0) |
| "The difference is 12" | x − y = 12 |
| "3 apples and 2 bananas cost $7" | 3a + 2b = 7 |
| "5 more than y" | x = y + 5 (or x − y = 5) |
Common word-problem phrases and their algebraic equivalents
SECTION 6
Worked Example
Let's put the four-step process into action with a real problem.
Problem
Setting Up the System
- 1
Step 1 — Read & Identify the Unknowns
The problem asks for two things: the number of adult tickets sold and the number of student tickets sold. That gives us two unknowns, so we'll need two equations. - 2
Step 2 — Define Variables
Let a = the number of adult tickets sold. Let s = the number of student tickets sold. We used meaningful letters instead of x and y to keep things clear. - 3
Step 3 — Identify the Constraints
The problem gives us two pieces of information. Constraint 1: The total number of tickets is 200. Constraint 2: The total revenue is $1,180, with adult tickets at $8 and student tickets at $5. - 4
Step 4 — Write the Equations
From Constraint 1 (total tickets): a + s = 200. From Constraint 2 (total revenue): each adult ticket contributes $8 and each student ticket contributes $5, so 8a + 5s = 1180.The system is: a + s = 200 and 8a + 5s = 1,180 - 5
Step 5 — Verify the Setup
We have 2 unknowns and 2 equations — that's a good sign. Both equations are linear (no squared terms or products of variables). Each equation captures a different piece of information from the problem. Our system is ready to solve! For reference, the answer is a = 60 adult tickets and s = 140 student tickets.Check: 60 + 140 = 200 ✓ and 8(60) + 5(140) = 480 + 700 = 1,180 ✓
SECTION 7
Common Mistakes & How to Avoid Them
Setting up linear systems is all about careful translation from words to math. Here are the most common pitfalls students encounter, along with how to fix them.
| Common Mistake | Why It Happens | How to Fix It |
|---|---|---|
| Not enough equations | A constraint is missed or the same info is written two ways | Count unknowns first, then find that many independent relationships |
| Mixing up units | Adding dollars to number of items, or mixing hours and minutes | Label each equation with its units and make sure both sides match |
| Swapping variables | Writing "x is 3 more than y" as y = x + 3 instead of x = y + 3 | Plug in simple test numbers to check direction |
| Forgetting to define variables | Jumping straight to writing equations | Always write "Let x = ..." before any equations |
| Using non-linear equations | Writing x × y or x² when the relationship is actually linear | Re-read the problem. Most word problems at this level describe sums, differences, and multiples — all linear |
Five common setup mistakes and their solutions
KEY TAKEAWAY
SECTION 8
Connection to Matrices & Advanced Methods
Once you've mastered setting up linear systems by hand, you'll discover that mathematicians have developed a powerful shorthand for organizing these systems: matrices (a matrix is a rectangular grid of numbers). The same system you write as two equations can be packed into a compact matrix equation.
| Feature | Equation Form | Matrix Form |
|---|---|---|
| Representation | a + s = 200 and 8a + 5s = 1180 | [1 1 | 200] [8 5 | 1180] |
| Best for... | 2–3 variables, done by hand | Any number of variables, including computer solutions |
| Solving methods | Substitution, elimination | Row reduction (Gaussian elimination), inverse matrices |
| Scalability | Gets messy past 3 equations | Handles thousands of equations (with a computer) |
How equation form and matrix form compare
The key insight is this: the setup process is the same regardless of how you solve the system. Whether you use substitution, elimination, or matrices, you still need to identify unknowns, define variables, and write correct equations. Master the setup, and you'll be ready for any solving method that comes your way — from Algebra 1 all the way through college-level linear algebra.
Looking Ahead
SECTION 9
Practice Problems
Try these five problems on your own. Focus on the setup — writing the variables and equations — rather than solving. Check your answers afterward.
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
A system of linear equations is a set of two or more equations that share the same variables and must all be true simultaneously. To set one up from a word problem, follow four steps: read and identify the unknowns, define variables with clear labels, find the constraints (the relationships described in the problem), and write the equations in standard form with variables on the left and constants on the right.
Remember the golden rule: for n unknowns, you need n independent equations. Watch out for common pitfalls like mixing up units, swapping variable directions, or writing two equations that are really the same constraint in disguise. A correct setup is the essential first step — whether you solve the system by substitution, elimination, or matrices, it all begins with well-formed equations.