LINEAR ALGEBRA • PROBLEM-SOLVING & MODELING TOOLS

Modeling with Linear Systems

Translate real-world situations into systems of equations and solve them to make smart decisions.

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.

~200 BCE
Ancient China — The Nine Chapters
The Chinese mathematical text Jiuzhang Suanshu described methods for solving systems of linear equations using a procedure very similar to what we now call elimination.
~250 CE
Diophantus in Ancient Greece
The Greek mathematician Diophantus explored equations with multiple unknowns, laying groundwork for algebraic notation and systematic equation solving.
1750s
Cramer's Rule
Swiss mathematician Gabriel Cramer published a formula for solving systems of equations using determinants, giving mathematicians a reliable recipe for finding solutions.
1800s
Gauss and Elimination
Carl Friedrich Gauss refined the elimination method, making it the standard technique taught today. His approach is now called Gaussian elimination.
Today
Linear Systems Everywhere
Computers solve massive linear systems every day to power GPS navigation, video game physics, weather forecasting, financial modeling, and much more.

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.

1

Variables Represent Unknowns

Each unknown quantity in your problem gets its own variable, like x and y. Define clearly what each variable stands for.
2

Equations Come from Constraints

Each fact or condition in the problem becomes one equation. A budget limit, a total count, or a rate relationship each translate into a separate equation.
3

The Solution Satisfies All Equations

A solution is a set of values that makes every equation true at the same time. Graphically, it is the point where the lines intersect.
4

Two Equations, Two Unknowns

To find two unknowns, you generally need at least two independent equations. Each new unknown requires an additional equation.
5

Check Your Answer

Always substitute your answer back into the original equations and verify that both sides are equal. Also check that the answer makes sense in the real-world context.
KEY TAKEAWAY
Think of a linear system like a treasure map with two clues. One clue tells you the treasure is somewhere along a certain path (a line). The second clue tells you it is somewhere along a different path. The treasure is exactly where the two paths cross. Each equation is a clue, and the intersection point is 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:

SAMPLE SYSTEM
x + y = 10 and 2x − y = 2
Here x and y are unknowns we want to find. The solution is the point (4, 6).
The cyan line represents x + y = 10 and the pink line represents 2x − y = 2. The yellow dot marks their intersection at (4, 6), the one point that makes both equations true.

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

SUBSTITUTION IDEA
Solve one equation for one variable, then plug that expression into the other equation.
From x + y = 10, solve for y: y = 10 − x. Then substitute into the second equation.

Elimination Method

ELIMINATION IDEA
Add or subtract the equations to cancel out one variable.
Adding x + y = 10 and 2x − y = 2 gives 3x = 12, so x = 4. Then substitute back to find y = 6.

General Form of a Linear System

STANDARD FORM
a₁x + b₁y = c₁ and a₂x + b₂y = c₂
Here a₁, b₁, c₁, a₂, b₂, c₂ are known constants (numbers), and x and y are the unknowns you solve for.

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.

Left: Two lines cross at one point — the system has exactly one solution. Center: Two parallel lines never cross — the system has no solution and is called inconsistent. Right: The two equations describe the same line — every point on that line is a solution, and the system is dependent.
💡 How to Tell Without Graphing
Compare the slopes of the two lines. If the slopes are different, the lines cross — one solution. If the slopes are the same but y-intercepts differ, the lines are parallel — no solution. If slopes and intercepts are both the same, the lines are identical — infinitely many solutions.

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?

Solving the Concert Ticket Problem
1
Step 1 — Define the VariablesLet a = the number of adult tickets sold. Let s = the number of student tickets sold. Always write down what your variables mean.
2
Step 2 — Write the EquationsThe total number of tickets is 200, so: a + s = 200. The total revenue is $1,180, and each adult ticket is $8 while each student ticket is $5, so: 8a + 5s = 1180.
3
Step 3 — Solve Using SubstitutionFrom the first equation, solve for s: s = 200 − a. Substitute into the second equation: 8a + 5(200 − a) = 1180.
4
Step 4 — Simplify and SolveDistribute the 5: 8a + 1000 − 5a = 1180. Combine like terms: 3a + 1000 = 1180. Subtract 1000 from both sides: 3a = 180. Divide by 3: a = 60.
a = 60 adult tickets
5
Step 5 — Find the Second VariableSubstitute a = 60 back into s = 200 − a: s = 200 − 60 = 140.
s = 140 student tickets
6
Step 6 — Check the AnswerTotal tickets: 60 + 140 = 200 ✓. Total revenue: 8(60) + 5(140) = 480 + 700 = 1,180 ✓. Both equations check out, so the answer is correct.
60 adult tickets and 140 student tickets ✓
📋 MODELING CHECKLIST
Every word problem follows the same recipe: (1) define variables, (2) find equations from the facts, (3) solve the system, and (4) check your answer in the original context. If you follow these steps, even the trickiest word problems become manageable.

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.

Comparison of three methods for solving linear systems
MethodStrengthsLimitationsBest When…
GraphingVisual and intuitive; shows the big picture and approximate solutionHard to read exact values; impractical for large or decimal solutionsYou need a quick estimate or want to visualize the situation
SubstitutionGives exact answers; works well when one equation is already solved for a variableCan get messy with fractions; requires careful algebraOne variable is already isolated (e.g., y = 3x + 1)
EliminationFast and efficient; handles systems with both equations in standard formYou may need to multiply equations first to line up coefficientsCoefficients are easy to match, like x + y = 10 and x − y = 4
KEY TAKEAWAY
Think of these methods like tools in a toolbox. A hammer, a screwdriver, and pliers can all help you build something, but you pick the one that fits the job. Graphing is like a tape measure — great for getting the lay of the land. Substitution and elimination are like precision tools for getting the exact answer.

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.

How this lesson's concepts extend to advanced linear algebra
FeatureThis Lesson (2 Variables)Advanced (3+ Variables / Matrices)
Number of unknowns2 (x and y)3 or more (x, y, z, …)
Visual representationLines on a 2D planePlanes in 3D space or beyond
Solution methodSubstitution or elimination by handGaussian elimination with matrices; computer algorithms
Real-world scaleSimple budget, mixture, or rate problemsTraffic networks, climate models, machine learning
Core ideaFind where lines intersectFind 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

PROBLEM 1CONCEPTUAL
You graph a system of two linear equations and find that the lines are parallel. What does this tell you about the number of solutions? Explain your reasoning.
PROBLEM 2BASIC CALCULATION
Solve the system using substitution: y = 2x + 1 and 3x + y = 16.
PROBLEM 3INTERMEDIATE
Solve using elimination: 4x + 3y = 25 and 2x − 3y = −1.
PROBLEM 4APPLIED
A coffee shop sells small cups for $3 and large cups for $5. On Monday, the shop sold 120 cups and earned $460. How many of each size were sold? Set up and solve a system of equations.
PROBLEM 5CRITICAL THINKING
Consider the system: 2x + 4y = 10 and x + 2y = 5. Without solving fully, determine how many solutions the system has. Explain how you can tell, and describe what the graph of this system would look like.

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.

Varsity Tutors • Linear Algebra • Modeling with Linear Systems