MATH 1 • MODELING & APPLICATIONS

Defining Variables & Writing Equations — I can define variables and write linear equations to model a real-world situation.

Turn everyday situations into precise algebraic equations that reveal hidden patterns and solve real problems.

Historical Context & Motivation

Humans have been solving word problems for thousands of years, but for most of history they did it entirely in words — no variables and no symbolic equations. Ancient Egyptian scribes, working around 1650 BCE, recorded problems on the Rhind Papyrus that sound remarkably modern: "A quantity, its half, and its third, added together, give 10. What is the quantity?" They solved these puzzles with clever arithmetic tricks, but without a general-purpose notation system, every new problem required a new trick.

The breakthrough came gradually. Greek mathematicians like Diophantus began using shorthand symbols for unknown quantities around 250 CE, and Islamic scholars like al-Khwārizmī systematized equation-solving into what we now call algebra (from the Arabic word al-jabr). Yet it was not until the 1600s that European mathematicians like François Viète and René Descartes introduced the letter-based notation we use today — letters like x and y for unknowns, and a, b, c for known constants.

~1650 BCE
The Rhind Papyrus
Egyptian scribes record word problems and solutions using purely verbal descriptions — the earliest known "story problems."
~250 CE
Diophantus of Alexandria
In his work Arithmetica, Diophantus introduces abbreviated symbols for unknown quantities, moving algebra toward a symbolic language.
~820 CE
Al-Khwārizmī's Algebra
The Persian scholar publishes a systematic treatise on solving equations, giving the field its name and establishing algebra as a discipline.
1637
Descartes' Modern Notation
René Descartes standardizes the use of letters at the end of the alphabet (x, y, z) for unknowns and letters at the start (a, b, c) for constants — the system still used today.

Today, the ability to take a real-world situation, identify the unknown quantity, and represent the situation as a linear equation is one of the most practical skills in mathematics. Whether you are budgeting for a road trip, comparing cell phone plans, or figuring out how many hours you need to work to afford a new pair of shoes, the process is the same: define what you do not know, express the relationships you do know, and write an equation that connects them.

Core Principles & Definitions

Before you can write an equation, you need to understand the building blocks. The entire modeling process rests on a few key ideas that, once mastered, let you tackle virtually any real-world scenario that changes at a constant rate.

1

Variable

A letter (such as x or t) that represents an unknown or changing quantity. Always state in words what the variable stands for, including its units.
2

Constant

A fixed value in the problem that does not change. Examples include a flat fee, a starting amount, or a tax rate. Constants appear as specific numbers in your equation.
3

Coefficient

The number multiplied by the variable. In the term 5x, the coefficient is 5. It typically represents a rate — dollars per hour, miles per gallon, points per game.
4

Linear Equation

An equation whose variable has an exponent of 1 (no squares, cubes, or roots). It graphs as a straight line and takes the general form y = mx + b.
5

Mathematical Model

An equation or set of equations that describes a real-world situation. A good model simplifies reality enough to be useful while capturing the essential relationships.
KEY TAKEAWAY
Think of defining a variable like labeling a container. If you put a label on an empty box that says "number of hours worked," then everyone who reads your equation knows exactly what the box holds. Without the label, the box is meaningless — and so is the equation. A clearly defined variable is the single most important step in translating English into algebra.

Visual Explanation — From Words to Symbols

The diagram below illustrates the four-step process for translating a word problem into a linear equation. Follow the arrows from the original English sentence all the way to a finished equation that you can solve.

The flowchart shows how the English sentence "Maya earns $12/hr plus a $25 bonus" is broken into its components and reassembled as the linear equation E = 12h + 25, where E represents total earnings and h represents hours worked.

Notice that Step 2 — defining the variable — comes before anything else algebraic. You cannot decide whether $12 is a coefficient or a constant until you know what the variable represents. In this case, because h is hours, $12 is the rate per hour (the coefficient), and $25 is the fixed starting value (the constant). The equation E = 12h + 25 is now a mathematical model: plug in any number of hours, and it returns Maya's total earnings.

Mathematical Framework

Every linear equation you write from a word problem follows the same underlying structure. Understanding that structure lets you handle any scenario, not just the specific examples you have practiced.

SLOPE-INTERCEPT FORM
y = mx + b
y = the output or dependent quantity (what you are measuring or solving for). m = the rate of change, also called the slope (how much y changes for each 1-unit increase in x). x = the input or independent quantity (the thing you can control or that is changing). b = the initial value or y-intercept (what y equals when x = 0).
STANDARD FORM
Ax + By = C
An alternative way to write a linear equation, often useful when a problem involves two unknown quantities (for example, two different items being purchased). A, B, and C are constants. Both x and y are variables.

Key-Word to Operation Translation

Common English-to-algebra translations for building linear equations.
English PhraseOperationExample
sum, total, plus, increased by, more thanAddition (+)"5 more than x" → x + 5
difference, minus, decreased by, less than, fewerSubtraction (−)"3 less than x" → x − 3
product, times, per, each, ofMultiplication (×)"$8 per hour" → 8h
quotient, divided by, ratio, split equallyDivision (÷)"split among 4 friends" → x ÷ 4
is, equals, gives, results in, yieldsEquals (=)"total is 100" → … = 100
⚠️ Watch Out!
"Less than" reverses the order. "5 less than x" is x − 5, not 5 − x. Similarly, "3 more than y" is y + 3, not 3 + y (although addition is commutative, building the habit of placing the variable first helps avoid errors with subtraction).

Detailed Breakdown — The Modeling Process

The diagram below expands on the four-step process and shows the types of questions you should ask yourself at each stage. Think of it as a mental checklist you can use whenever you encounter a word problem.

Each box represents a stage in the modeling process. The example at the bottom shows a gym membership scenario modeled by C = 30m + 50, where C is total cost and m is months.

Let's walk through the verification step for the gym example. When m = 0 (zero months), the equation gives C = 30(0) + 50 = 50, which matches the signup fee — good. After 3 months, C = 30(3) + 50 = 140, meaning you would pay $140 total for three months of gym membership plus the initial fee. That lines up with common sense, which confirms the model is correct.

💡 Pro Tip: Choose Descriptive Letters
Using meaningful letters makes your work easier to follow. Use t for time, d for distance, n for a number of items, and C for total cost. Your teacher and your future self will thank you.

Worked Example

Let's apply the full process to a realistic scenario. Read the problem carefully, then follow each labeled step.

🎵 Problem
A streaming music service costs $9.99 per month. There is also a one-time activation fee of $15. Write a linear equation that models the total cost after m months. Then use the equation to find the total cost after one full year.
Streaming Service Cost
1
Step 1 — Understand the SituationWe need to find the total cost of a music subscription. There are two components: a monthly fee that repeats every month and a one-time activation fee that is paid once.
2
Step 2 — Define the VariablesLet m = the number of months of the subscription. Let C = the total cost in dollars.
m = months, C = total cost ($)
3
Step 3 — Identify the Rate and Initial ValueThe rate is $9.99 per month — this is how much the cost increases each month, so it becomes the coefficient of m. The one-time activation fee of $15 is the constant (the initial value when m = 0).
Rate = 9.99, Initial value = 15
4
Step 4 — Write the EquationSubstitute into the slope-intercept structure y = mx + b:
C = 9.99m + 15
5
Step 5 — Verify & ApplyQuick check: when m = 0, C = 9.99(0) + 15 = 15. This makes sense — you pay only the activation fee before any months pass. Now apply the equation for one full year (m = 12): C = 9.99(12) + 15 = 119.88 + 15 = 134.88.
After 12 months, the total cost is $134.88.

Common Mistakes & How to Avoid Them

Even after learning the process, certain pitfalls trip up students repeatedly. The table below catalogs the most common errors and pairs each one with a strategy for avoiding it.

The five most common mistakes when defining variables and writing equations.
Common MistakeWhy It HappensHow to Fix It
Not defining the variableStudents jump straight to writing an equation without stating what x represents.Always begin with "Let x = …" including units. This is worth points on tests and prevents confusion.
Swapping the coefficient and the constantMixing up which number is the rate and which is the starting value.Ask: "Which number changes with the variable?" That number is the coefficient. The fixed amount is the constant.
Reversing "less than" order"5 less than x" is incorrectly written as 5 − x instead of x − 5.Read the phrase backwards: "x, take away 5" → x − 5.
Using the wrong variable for the wrong quantityA problem asks for total cost, but the student solves for number of items.Re-read the question after writing the equation. Circle what it actually asks for.
Forgetting unitsUnits like dollars, hours, or miles are omitted, making the answer ambiguous.Include units in your variable definition and carry them through to your final answer.
KEY TAKEAWAY
Writing an equation is like giving GPS directions. If you enter the wrong destination (undefined variable), you will drive confidently in the wrong direction. If you enter the right destination but mix up "turn left" and "turn right" (swap coefficient and constant), you will still get lost. Taking 30 seconds to label everything correctly saves minutes of confusion later.

Connection to Advanced Topics

The skills you are learning now — defining variables and translating situations into equations — form the foundation for every future math course. The table below shows how this core skill evolves as the models grow more complex.

How linear modeling skills connect to advanced mathematics.
This Course (Linear)Future Course (Beyond Linear)
y = mx + b (constant rate of change)y = ax² + bx + c (quadratic — rate itself changes)
One equation, one unknownSystems of equations — two unknowns, two equations
Graphs as straight linesGraphs as parabolas, exponential curves, and more
Define one or two variablesDefine multiple variables with constraints (linear programming)
Rate is a fixed number (slope)Rate is a function (derivative in calculus)

The key insight is that defining variables clearly never stops being important. In fact, the more complex a problem becomes, the more critical it is that every quantity is labeled and every relationship is explicit. Students who develop strong variable-definition habits in Math 1 consistently perform better in Algebra 2, Pre-Calculus, and even college-level modeling courses because the foundational thinking process remains the same.

Practice Problems

Test your understanding with these five problems. Each one requires you to define variables and write an equation. Try to solve each problem before revealing the answer.

PROBLEM 1CONCEPTUAL
In the equation C = 4.50n + 3, a student claims that 3 is the rate and 4.50 is the starting value. Explain why the student is wrong, and describe what each number actually represents if n is the number of toppings on a pizza and C is the total cost.
PROBLEM 2BASIC CALCULATION
A taxi ride costs a flat fee of $3.50 plus $2.25 per mile. Define a variable for the number of miles, write a linear equation for the total fare, and calculate the fare for a 6-mile ride.
PROBLEM 3INTERMEDIATE
Jasmine has $200 in her savings account and withdraws $15 each week for spending money. Write an equation for the balance B after w weeks. Then determine after how many weeks the account balance will reach $50.
PROBLEM 4APPLIED
Two cell phone plans are available. Plan A charges $40 per month with no data limit. Plan B charges $25 per month plus $5 for each gigabyte of data used. Define variables, write an equation for the monthly cost of each plan, and determine how many gigabytes of data would make Plan B cost the same as Plan A.
PROBLEM 5CRITICAL THINKING
A student writes the equation T = 20h + 150 to model total earnings, where h is hours worked, 20 is the hourly wage, and 150 is a signing bonus. A second student models the same job but writes T = 20(h + 7.5). Are these equations equivalent? If so, prove it algebraically and explain what the number 7.5 means in the context of the problem. If not, explain the difference.

Lesson Summary

Modeling a real-world situation with algebra starts by defining a variable — a letter paired with a clear, unit-specific description of the unknown quantity. Once the variable is established, you identify the rate of change (the coefficient that multiplies the variable) and the initial or fixed value (the constant that does not depend on the variable). These components are assembled into a linear equation in slope-intercept form, y = mx + b.

Translating English into algebra requires attention to key words — phrases like "per," "each," and "plus" signal operations, while "is" or "equals" indicates where to place the equals sign. Always verify your equation by substituting simple values (especially x = 0) to confirm the result matches the real-world context. With consistent practice, this four-step process — understand, define, identify, and write — becomes second nature and forms the backbone of mathematical modeling in every future course.

Varsity Tutors • Math 1 • Defining Variables & Writing Equations