GRADE 9 MATH • MODELING & APPLICATIONS

Defining Variables & Modeling — I can define variables and write a linear equation to model a real situation.

Learn to translate everyday scenarios into algebraic equations that reveal patterns and predict outcomes.

Historical Context & Motivation

Humans have always looked for ways to describe the world around them using numbers and symbols. Long before modern algebra existed, ancient civilizations used word problems and geometric reasoning to solve practical questions about trade, farming, and construction. The breakthrough came when mathematicians realized that letters could stand in for unknown quantities, turning lengthy verbal descriptions into compact equations that anyone could manipulate. This single idea—using variables—transformed mathematics from a collection of specific tricks into a universal language for modeling the real world.

~1800 BCE
Babylonian Word Problems
Babylonian scribes solved problems about land areas and grain storage using verbal recipes written on clay tablets—essentially algebra without symbols.
~250 CE
Diophantus & Symbolic Shorthand
The Greek mathematician Diophantus introduced abbreviations for unknowns and operations, earning him the title 'Father of Algebra.'
820 CE
Al-Khwarizmi's Al-Jabr
Al-Khwarizmi's treatise gave us the word 'algebra' and systematic methods for solving linear and quadratic equations in words.
1637
Descartes & Modern Notation
René Descartes popularized using x, y, and z for unknowns and a, b, c for constants—the notation you still use in class today.
Today
Mathematical Modeling Everywhere
From predicting weather to setting prices in an online store, linear equations built on clearly defined variables remain one of the most-used tools in science, engineering, and business.

The central question this lesson addresses is straightforward yet powerful: How do you take a real-world situation described in words and convert it into a linear equation you can actually solve? The answer starts with one critical skill—defining your variables clearly—and builds toward writing an equation that faithfully models the scenario.

Core Principles & Definitions

Before you can write any equation, you need to understand the vocabulary and the thinking process behind modeling. A variable is a letter (such as x, t, or n) that represents a quantity that can change. A constant is a fixed number that does not change in a given problem. A linear equation is an equation whose graph is a straight line; it involves variables raised only to the first power. Finally, a mathematical model is a simplified representation of a real situation using mathematical language—numbers, variables, and equations.

1

Read & Identify

Read the problem carefully. Identify what quantity you want to find (the unknown) and what information is given (the knowns). Underline key phrases like 'each,' 'per,' 'total,' and 'more than.'
2

Define Variables Precisely

Assign a letter to each unknown and write a brief sentence explaining what it represents, including units. For example: 'Let t = the number of hours worked.'
3

Determine Relationships

Decide how the quantities relate. Look for a constant rate of change (slope) and a starting value (y-intercept). These form the backbone of a linear model.
4

Write the Equation

Translate the relationship into the form y = mx + b, where m is the rate of change and b is the initial value. Double-check that each side of the equation represents the same quantity.
5

Validate the Model

Plug in a known data point or use common sense to check your equation. If the answer doesn't make sense in context, revisit your variable definitions.
✦ KEY TAKEAWAY
Think of defining a variable like labeling a box before you pack it. If you write 'kitchen stuff' on a box, anyone who sees it knows what's inside and where it goes. Similarly, writing 'Let n = the number of tickets sold' tells everyone—including your future self—exactly what that letter means, so your equation stays organized and meaningful.

Visual Explanation — From Words to Equation

The diagram below illustrates the entire modeling process as a flowchart. On the left you start with a real-world scenario described in English, and on the right you arrive at a finished linear equation. Each arrow represents one of the core steps you learned in Section 2.

The five-step modeling process: read the problem, define variables with clear labels, identify the constant rate and starting value, write the equation in y = mx + b form, and check it with a test value.

Notice in the example at the bottom of the diagram that the word 'per month' signals a constant rate of change (the slope, $15), while the phrase 'to join' signals a one-time starting cost (the y-intercept, $30). Recognizing these verbal cues is one of the most important skills you'll develop in this lesson.

Mathematical Framework

Every linear model you write in this course will follow the same fundamental structure. Understanding the anatomy of a linear equation makes it much easier to translate words into algebra.

SLOPE-INTERCEPT FORM
y = mx + b
y = the dependent variable (output, what you're measuring), m = the slope (rate of change per unit of x), x = the independent variable (input, what you can control or count), b = the y-intercept (the starting value when x = 0).

In a modeling context, you often rename y and x with letters that reflect the situation. For a distance problem you might use d for distance and t for time. For a cost problem you might use C for total cost and n for the number of items. The form stays the same: dependent variable = rate × independent variable + initial value.

GENERAL MODELING TEMPLATE
Output = (rate of change) × (input) + (starting value)
The rate of change answers the question 'How much does the output change for each additional unit of input?' The starting value answers 'What is the output when the input is zero?'

Translating Key Phrases

Common verbal cues and their algebraic equivalents
Verbal PhraseMath MeaningRole in y = mx + b
per, each, every, for eachMultiplication (rate)Slope (m)
starts at, initial fee, one-time chargeAddition (fixed amount)y-intercept (b)
total, altogether, combinedThe output quantityDependent variable (y)
how many, number ofThe input quantityIndependent variable (x)
decreases by, loses, spendsNegative rateNegative slope (−m)
STANDARD FORM (ALTERNATIVE)
Ax + By = C
Some problems are easier to model in standard form, where A, B, and C are constants. For example, 'Tickets cost $5 for adults and $3 for children; the total revenue is $400' becomes 5a + 3c = 400.

Detailed Breakdown — Types of Variables & Choosing Wisely

Not every letter in an equation plays the same role. Understanding the distinction between independent variables, dependent variables, and constants is crucial for building a model that makes sense. The independent variable is the quantity you have control over or that drives the situation—like the number of hours you work. The dependent variable is the quantity that responds—like how much money you earn. Constants are values fixed by the problem, such as an hourly wage.

This coordinate-plane graph plots the plumber model C = 12h + 20. The y-intercept at (0, $20) shows the flat visit fee, and the slope triangle shows a rise of $12 for every 1-hour run—the hourly rate.

When you look at the graph, every point on the line is a prediction your model makes. At h = 0 (before any work is done), the cost is already $20—that's the visit fee, represented by the y-intercept. As h increases by 1 hour, C increases by $12—that's the slope. Choosing meaningful variable names like C and h (rather than just y and x) makes it easier to interpret your results and communicate them clearly.

💡 PRO TIP
Always include units when you define your variables. Writing 'Let h = hours worked' is much more helpful than 'Let h = time.' Including units helps you catch mistakes—if the units on both sides of the equation don't match, something is wrong.

Worked Example — Cell Phone Data Plan

Let's walk through a complete example from start to finish. Here is the scenario: A cell phone plan charges a flat monthly fee of $25 plus $0.10 for each text message sent. Write a linear equation that models the total monthly cost.

Modeling a Cell Phone Bill
1
Step 1 — Read & Identify Key InformationThe problem gives us two pieces of cost information. First, there is a flat monthly fee of $25—this does not depend on usage, so it is a fixed cost. Second, there is a charge of $0.10 per text message—this changes with usage, so it is a variable cost. We want to find the total monthly cost.
2
Step 2 — Define VariablesLet t = the number of text messages sent in the month (independent variable). Let C = the total monthly cost in dollars (dependent variable).
t = texts sent; C = total cost ($)
3
Step 3 — Identify the Rate and Starting ValueThe rate of change is $0.10 per text message. This is the slope (m = 0.10). The starting value is $25, the cost when t = 0 (no texts sent). This is the y-intercept (b = 25).
m = 0.10, b = 25
4
Step 4 — Write the EquationSubstitute the slope and y-intercept into the slope-intercept template: C = mt + b.
C = 0.10t + 25
5
Step 5 — Validate with a Test ValueSuppose you send 100 texts. Then C = 0.10(100) + 25 = 10 + 25 = 35. A $35 bill for 100 texts on top of a $25 base fee makes sense. The model checks out.
C = $35 when t = 100 ✓
🔑 WHY THIS MATTERS
Once you have the equation C = 0.10t + 25, you can answer any question about the plan. Want to know the cost if you send 500 texts? Just substitute t = 500. Want to know how many texts you can send and stay under $50? Set C = 50 and solve for t. The model turns a word problem into a prediction machine.

Strengths & Limitations of Linear Models

Linear models are incredibly useful, but they aren't perfect for every situation. Understanding when a linear model is appropriate—and when it isn't—is a sign of strong mathematical thinking.

Comparing the strengths and limitations of linear models
StrengthsLimitations
Simple to write and interpret — only two parameters (m and b)Cannot model situations where the rate of change itself changes (e.g., compound interest)
Easy to graph — just plot the y-intercept and use the slopePredicts values outside the given range (extrapolation) that may not be realistic
Makes predictions by substituting any x-valueAssumes perfectly constant rates — real-world rates often fluctuate
Widely applicable — cost, distance, temperature, and moreOnly describes one-to-one straight-line relationships
⚖️ WHEN IS LINEAR GOOD ENOUGH?
Think of a linear model like a straight ruler. It's perfect for measuring short, flat surfaces, and it gives a pretty good approximation for gently curved ones. But if the surface bends sharply—like the inside of a bowl—a ruler won't fit. If your real-world situation has a roughly constant rate of change over the range you care about, a linear model is an excellent choice.

Connection to Advanced Modeling

The skill of defining variables and writing equations does not stop at linear models. As you progress through high school math, you will encounter situations where the relationship between variables is not a straight line. The same five-step modeling process you learned here applies to those more advanced models—only the equation template changes.

Linear models vs. more advanced models — the variable-definition step never changes
FeatureLinear Model (This Lesson)Quadratic / Exponential (Future)
Equation formy = mx + by = ax² + bx + c or y = a · bˣ
Graph shapeStraight lineParabola or curve
Rate of changeConstant (same everywhere)Changes — increasing or decreasing
Example situationDriving at a steady speedFree-falling object or population growth
Variable-definition stepSame processSame process — always required

The takeaway is that defining variables and setting up equations is a transferable skill. Whether you're modeling the trajectory of a basketball (quadratic), the spread of a virus (exponential), or the monthly cost of a streaming service (linear), Step 1 and Step 2 are identical. Master them now, and you'll have a head start on every modeling problem you encounter in Algebra 2, precalculus, and beyond.

Practice Problems

PROBLEM 1 — CONCEPTUAL
In the equation C = 8n + 50, where C represents total cost in dollars and n represents the number of items purchased, explain in your own words what the 8 and the 50 each represent in a real-world context.
PROBLEM 2 — BASIC CALCULATION
A ride-share app charges a base fare of $3.50 plus $1.25 per mile. Define variables and write a linear equation for the total fare. Then find the fare for a 10-mile ride.
PROBLEM 3 — INTERMEDIATE
A swimming pool contains 12,000 gallons of water and is being drained at a rate of 500 gallons per hour. Define variables, write a linear equation for the amount of water remaining, and determine how long it takes to empty the pool completely.
PROBLEM 4 — APPLIED
Two friends are saving money. Aisha has $200 and saves $35 each week. Ben has $80 and saves $55 each week. Define variables, write an equation for each person's savings, and determine after how many weeks they will have the same amount.
PROBLEM 5 — CRITICAL THINKING
A student writes the equation y = 15x to model this situation: 'A store sells notebooks for $3 each and pens for $1.50 each. You buy x notebooks and 2 pens.' Identify the error, explain why it's wrong, and write the correct equation with properly defined variables.

Lesson Summary

In this lesson you learned how to move from a real-world scenario to a working linear equation using a reliable five-step process. The journey begins with reading the problem to identify knowns and unknowns, then assigning letters to create clearly defined variables (with units). You identify the rate of change (slope m) from phrases like 'per' or 'each,' and the starting value (y-intercept b) from phrases like 'initial fee' or 'starts at.' These components plug directly into the template y = mx + b.

Remember that a negative slope indicates a decreasing quantity, and always validate your model by substituting a test value to see if the result makes sense. Linear models are powerful tools for prediction and comparison, and the variable-definition skills you practiced here will transfer directly to quadratic, exponential, and other advanced models you'll encounter later in your math journey.

Varsity Tutors • Grade 9 Math • Defining Variables & Modeling