01 / 20
\(x\)
\(=\)
\(?\)

Defining Variables &
Writing Equations

Learn to translate real-world situations into mathematical equations by choosing smart variables and building linear models.

Math 1

What Is a Variable?

A variable is a letter or symbol that represents an unknown quantity that can change. Instead of guessing numbers, we use variables to set up equations we can solve.

\( x \)
Could represent the number of hours you work
\( p \)
Could represent the price of a single item
\( d \)
Could represent the total distance traveled

What Is a Linear Equation?

A linear equation is a mathematical statement that two expressions are equal, where the variable appears only to the first power.

\( y = mx + b \)
output rate input start

Why Does This Matter?

Equations let you predict, plan, and solve problems without trial-and-error. Once you write an equation, you can answer an infinite number of "what-if" questions.

Budgeting
"How many months until I save \$500?"
Science
"How far does a car travel in 3 hours?"
Business
"How many units do we sell to break even?"

The Translation Framework

Every word problem follows a pattern. Your job is to identify the pieces and plug them into the equation structure.

Word Problem Identify: unknown, rate, starting value, total Write Equation Key Translations "per" / "each"
→ rate (\(m\))
"starts at" / "initial"
→ start (\(b\))
"how many" / "number of"
→ variable (\(x\))
"total" / "altogether"
→ output (\(y\))
"less" / "decreases"
→ \( -m \)
"plus" / "more than" → addition

Defining vs. Labeling Variables

Many students confuse defining a variable (explaining what it means) with labeling it (just picking a letter). A proper definition includes quantity and units.

Weak Label Strong Definition
Example 1 "let \( x \) = hours" "let \( x \) = the number of hours worked"
Example 2 "let \( c \) = cost" "let \( c \) = total cost in dollars"
Example 3 "let \( n \) = tickets" "let \( n \) = the number of tickets sold"

How to Write an Equation

1
Read carefully. Underline the unknown, the rate, and any fixed (starting) value.
2
Define your variable. Write "Let \( x \) = ..." with a clear description and units.
3
Identify the rate. Look for "per," "each," or "every." This is your \( m \).
4
Identify the start. Look for "already," "starts at," or a one-time amount. This is your \( b \).
5
Assemble. Plug into \( y = mx + b \) and verify by testing one data point.

Example 1: Phone Plan

"A phone plan costs \$25 per month plus a one-time activation fee of \$50. Write an equation for the total cost after \( m \) months."

1
Define: let \( m \) = the number of months on the plan
2
Rate: \$25 per month → coefficient of \( m \)
3
Starting value: \$50 activation fee → constant
4
Equation: \( C = 25m + 50 \)

Visualizing \( C = 25m + 50 \)

Months (m) Cost ($) 75 100 125 150 175 50 1 2 3 4
\(b = 50\)
+1 month +$25

Example 2: Water Tank

"A water tank holds 200 gallons and drains at a rate of 8 gallons per minute. Write an equation for the water remaining after \( t \) minutes."

1
Define: let \( t \) = the number of minutes since draining began
2
Rate: \( -8 \) gallons per minute (negative because water decreases)
3
Starting value: 200 gallons (the tank starts full)
4
Equation: \( W = -8t + 200 \)

Example 3: Two Options

"Gym A charges \$30/month with a \$100 sign-up fee. Gym B charges \$45/month with no sign-up fee. Write equations for each gym and find when their costs are equal."

Gym A
Let \( m \) = months
\( A = 30m + 100 \)
Gym B
Let \( m \) = months
\( B = 45m \)

Interpreting Slope and Intercept

Once you write an equation, every piece has a real-world meaning. Being able to explain what \( m \) and \( b \) represent is just as important as finding them.

Slope (\( m \))
The rate of change: how much the output changes for each 1-unit increase in the input. Include units.
y-intercept (\( b \))
The initial value: the output when the input is zero. Often a starting fee, initial amount, or base cost.

When You Need Two Variables

Some problems have two unknowns. You can still write one equation if one unknown depends on the other, or write a system if both are truly independent.

"Adult tickets cost $12 and child tickets cost $8."
\( a = \text{adult tickets} \)
(number sold)
\( c = \text{child tickets} \)
(number sold)
\( \text{Revenue} = 12a + 8c \)

Common Mistakes to Avoid

✕ Vague Variables
Writing "let \( x \) = money" instead of "let \( x \) = the amount of money earned in dollars." Always include what and units.
✕ Swapping Rate and Start
Writing \( C = 50m + 25 \) when the rate is \$25/month and the fee is \$50. The rate multiplies the variable; the start is added.
✕ Forgetting the Sign
Using \( +8 \) when the problem says "drains 8 gallons." A decrease means negative rate: \( -8t \).

Summary Cheat Sheet

Word Clue Math Meaning Equation Part
"per," "each," "every" Constant rate \( m \) (slope)
"starts at," "initial," "fee" Fixed amount \( b \) (y-intercept)
"how many," "number of" Unknown count \( x \) (variable)
"total," "altogether" Combined result \( y \) (output)
"loses," "decreases," "drains" Negative change \( -m \)

Question 1 of 5

A streaming service charges \$12 per month after a one-time \$20 setup fee. Which equation represents the total cost \( C \) after \( m \) months?

Question 2 of 5

A pool has 10,000 gallons of water and is being drained at 250 gallons per hour. If \( h \) represents hours, which equation models the remaining water \( W \)?

Question 3 of 5

Which is the best variable definition for the sentence: "Maria earns money by tutoring"?

Question 4 of 5

A taxi charges a \$3.50 base fare plus \$2.25 per mile. If the total fare was \$21.50, which equation can you solve to find the number of miles \( d \)?

Question 5 of 5

In the equation \( P = 150 - 6w \), where \( w \) is weeks and \( P \) is the number of pages left in a book, what does the \( -6 \) represent?