Linear word problems
Unit 1: Writing an equation from a story
Key points
- The constant is the fixed or starting amount. It is counted once.
- The unknown number is a rate times the variable: so much per item, per hour or per month.
- The ending number is the total.
- Constant plus rate times variable equals total. If the amount goes down, subtract instead of add.
See it solved
Example
A plumber charges a call-out fee of plus for each hour of work. The plumber charges for one job. Which equation gives , the number of hours the job took?
- A
- B
- C
- D
Worked by hand
The plan
- Determine the constant
- Determine the unknown number
- Determine the ending number
Desmos: Desmos does not write the equation for you. It only solves the finished equation, as a check.
Step 1: Determine the constant
- The call-out fee, , is charged once. It is the constant.
- That rules out choice A, which multiplies by , and choice D, which has no constant.
Step 2: Determine the unknown number
- The work costs for each hour, for hours: dollars.
Step 3: Determine the ending number
- The total is . The fee is added to the work, not taken away.
- . That rules out choice C.
- Check by solving. Subtract from both sides: .
- Divide both sides by : hours.
- hours of work cost dollars, and . It matches.
The same example in Desmos
new graph
Desmos shows: A vertical line, with for the hours.
click where the line meets the x-axis
Desmos shows: : the job took hours, which fits the story.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A tank holds liters of water. Water drains out at liters per minute. After minutes, liters remain. What is the value of ?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the constant
- The tank starts with liters. That is the constant.
Step 2: Determine the unknown number
- liters drain each minute, for minutes: liters.
- The water goes down, so this part is subtracted.
Step 3: Determine the ending number
- liters remain: .
- Subtract from both sides: .
- Divide both sides by : .
Traps
- Putting the rate on the wrong number. charges the call-out fee every hour. That is choice A, a wrong answer.
- Adding the two numbers before multiplying. also charges the fee every hour. That is choice D, a wrong answer.
Unit 2: Two amounts that make a total
Key points
- Two parts add up to a total: .
- Each part is a rate times its own variable: price times how many, or speed times time.
- The total stands by itself on the other side.
- If one amount is known, plug it in and solve for the other.
See it solved
Example
A bakery sells muffins for each and cookies for each. One day it sells muffins and cookies for a total of . It sells muffins that day. How many cookies does it sell?
Worked by hand
The plan
- Determine the unknown numbers
- Determine the ending number
- Determine the value of
Desmos: Desmos does not help you write the equation. Once it is written, typing it is only a check.
Step 1: Determine the unknown numbers
- Muffins: each, and of them. That part is dollars.
- Cookies: each, and of them. That part is dollars.
Step 2: Determine the ending number
- The two parts add up to the total, .
- .
Step 3: Determine the value of
- Plug in : .
- , so .
- Subtract from both sides: .
- Divide both sides by : .
- Check: . It matches.
The same example in Desmos
new graph
Desmos shows: A vertical line. Here stands for the number of cookies.
click where the line meets the x-axis
Desmos shows: : cookies.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A printer takes seconds to print a color page and seconds to print a black-and-white page. One job has color pages and black-and-white pages, and it takes seconds. The job has black-and-white pages. How many color pages does it have?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the unknown numbers
- Color pages: seconds each, and of them. That part is seconds.
- Black-and-white pages: seconds each, and of them. That part is seconds.
Step 2: Determine the ending number
- The two parts add up to the total, seconds.
- .
Step 3: Determine the value of
- Plug in : .
- , so .
- Subtract from both sides: .
- Divide both sides by : .
Traps
- Swapping the two rates. puts the cookie price on the muffins. Then , and , a wrong answer.
- Adding the counts instead of the costs. counts items, not dollars. It gives , a wrong answer.
Unit 3: Building a linear model
Key points
- A linear model is a starting amount plus the same change for each step: .
- The constant, , is the fixed or starting amount: the value when .
- The slope, , is the change for each step of in . Its units have ‘per’ in them, like dollars per month.
- Two situations in a story give you two points: (input, output).
- A negative slope is a steady drop: means ‘down each time’.
See it solved
Example
A gym charges a joining fee plus the same fee each month. After months, a member has paid in all. After months, the total is . Write a linear function for the total cost, in dollars, after months.
Worked by hand
The plan
- Determine the slope
- Determine the constant
Desmos: With messy numbers, Desmos is quicker: put the two situations in a table and fit a line.
Step 1: Determine the slope
- Each situation is a point (months, dollars): and .
- The months go up by .
- The total goes up by .
- . That is per month.
Step 2: Determine the constant
- Plug and into .
- .
- , so .
- . That is the joining fee, .
- Check: months gives . It matches.
- The model is .
The same example in Desmos
new graph, then Add item + and Table
Table x1 y1 2 90 6 190 Desmos shows: The two situations as points (months, dollars).
Keys:
y1~mx1+bDesmos shows: and .
Desmos shows: The model's line, through both points.
click the line, then its gray point on the y-axis
Desmos shows: : at months the cost is , the joining fee.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A tank drains at a constant rate. After minutes, it holds gallons of water. After minutes, it holds gallons. Write a linear function for the gallons in the tank after minutes.
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the slope
- Points (minutes, gallons): and .
- The minutes go up by .
- The water changes by . It drops gallons.
- . The tank loses gallons each minute.
Step 2: Determine the constant
- Plug and into .
- .
- , so .
- . The tank held gallons at the start.
- . That is the same as .
Traps
- Dividing one total by its months. , but the includes the joining fee, so is not the monthly fee. That slip gives , a wrong answer. Use the change between two situations.
- Losing the minus sign. When the amount goes down, the change is negative: , not . Using gives a slope of . Then . , so . That gives , a wrong answer.
Unit 4: What the numbers in a model mean
Key points
- The slope, , is the change in for each more of . Its units have ‘per’ in them, like dollars per hour.
- The constant, , is the value of when : a fixed fee, or a starting amount.
- A negative slope means the amount goes down: means ‘ less each time’.
- When a model is fitted to data, the slope is an estimate: the average change, not an exact one.
See it solved
Example
A bike shop charges dollars to rent a bike for hours. What does mean? What does mean?
Worked by hand
The plan
- Determine the components of the equation
Desmos: Desmos does not help you decide what a number means. Use it only as a check.
Step 1: Determine the components of the equation
- is the total cost, in dollars. is the number of hours.
- is times the hours: the part that grows with each hour.
- is added once, whatever the hours.
- Plug in : .
- So is the cost at hours: a fee, paid once.
- Plug in : .
- . So each hour adds .
- is in dollars per hour: the cost for each hour.
The same example in Desmos
new graph
Desmos shows: The model, with for the hours.
Desmos shows: , at the right of the row: the cost at hours.
Desmos shows: : what one more hour adds.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A candle is lit. Its height, in centimeters, hours later is . What does mean? What does the in mean?
Show the answerHide the answer
Answer
is the height when the candle is lit: centimeters. is how much shorter it gets each hour: centimeters per hour.
Step 1: Determine the components of the equation
- is the height, in centimeters. is the hours since the candle was lit.
- Plug in : .
- So is the height at the start: centimeters.
- Plug in : .
- . So each hour, the candle gets centimeters shorter.
- The slope is , in centimeters per hour.
Traps
- Swapping the two numbers. has no ‘per hour’ in it, so it is not the cost per hour. The number with ‘per’ in its units is the slope; the value at hours is the constant. ‘ per hour’ is a wrong answer.
- The fee is not the cost of the first hour. The first hour costs dollars. is the cost at hours: the fee alone. ‘The cost of the first hour’ is a wrong answer for .
Unit 5: Systems from word problems
Key points
- Two unknowns need two equations.
- One equation counts things: how many in all.
- The other equation adds values: the cost, the points or the weight in all.
- Say in words what each variable stands for before you write anything.
- Answer what the question asks. It may want only one of the two unknowns.
See it solved
Example
A theater sold tickets for a show. Adult tickets cost each and student tickets cost each. The theater collected in all. How many adult tickets were sold?
Worked by hand
The plan
- Identify the two variables
- Determine the system of equations
- Solve the system of equations
Desmos: Write the two equations by hand. Then Desmos is quicker for Step 3: type both and click the crossing.
Step 1: Identify the two variables
- Let be the number of adult tickets.
- Let be the number of student tickets.
Step 2: Determine the system of equations
- Count the tickets: .
- Add the money: .
Step 3: Solve the system of equations
- Multiply the first equation by : .
- Subtract it from the second equation.
- and .
- .
- , so .
- Check: . and .
- . It matches.
The same example in Desmos
new graph
Desmos shows: The count, with for adult tickets and for student tickets.
Desmos shows: The money.
zoom out until the lines cross, then click the crossing
Desmos shows: : adult tickets and student tickets.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A coffee shop sold drinks one morning. A small drink costs and a large drink costs . The shop collected in all. How many large drinks did it sell?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Identify the two variables
- Let be the number of small drinks.
- Let be the number of large drinks.
Step 2: Determine the system of equations
- Count the drinks: .
- Add the money: .
Step 3: Solve the system of equations
- Multiply the first equation by : .
- Subtract it from the second equation.
- and .
- .
- , so .
Traps
- Swapping the prices. puts the student price on the adult tickets. With , it gives , a wrong answer.
- Answering with the other variable. is the number of student tickets. The question asks for adult tickets: .
Unit 6: Inequalities from word problems
Key points
- ‘At least’ means . ‘At most’ and ‘no more than’ mean .
- ‘More than’ means . ‘Fewer than’ and ‘less than’ mean .
- Write it like an equation from a story: a constant, plus a rate times the variable, compared with the limit.
- When the answer counts whole things, round down for a maximum and round up for a minimum.
See it solved
Example
Maya has to spend at a fair. Entry costs , and each ride ticket costs . What is the greatest number of ride tickets she can buy?
Worked by hand
The plan
- Determine the variables
- Determine the conditional relationship
- Determine the condition
Desmos: Desmos does not help you choose the symbol or round the answer. Use it only to check the boundary value.
Step 1: Determine the variables
- Let be the number of ride tickets.
Step 2: Determine the conditional relationship
- Entry is , paid once. The tickets cost dollars.
- She can spend at most : .
Step 3: Determine the condition
- Subtract from both sides: , so .
- Divide both sides by : .
- and . So is between and .
- Tickets are whole, and this is a maximum, so round down: .
- Check: tickets cost dollars, which she has. tickets cost dollars, which is too much.
The same example in Desmos
new graph
Desmos shows: A vertical line, with for the tickets.
zoom out, then click where the line meets the x-axis
Desmos shows: About . She cannot buy part of a ticket, and costs too much, so the answer is .


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A club needs to raise at least . It already has , and it earns for each shirt it sells. What is the least number of shirts the club must sell?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Determine the variables
- Let be the number of shirts.
Step 2: Determine the conditional relationship
- The club has already. The shirts bring in dollars.
- It needs at least : .
Step 3: Determine the condition
- Subtract from both sides: , so .
- Divide both sides by : .
- and . So is between and .
- Shirts are whole, and this is a minimum, so round up: .
- Check: shirts give dollars, which is not enough. shirts give dollars, which is enough.
Traps
- Rounding to the nearest whole number. is about , which rounds to . But tickets cost dollars, more than she has. is a wrong answer.
- Leaving out the fixed cost. gives , so tickets. But the entry fee uses up first. is a wrong answer.
Unit 7: Constraints in words, and the best corner
Key points
- Each limit in the story is its own inequality.
- A limit on how many: the number allowed.
- A limit on money or time: each price times its own variable, added, compared with the budget or the goal.
- The most or the least of something is found at a corner, where two boundary lines cross.
See it solved
Example
A food truck sells tacos for each and burritos for each. It can make at most items in a day, and it wants at least in sales. On a day when it sells exactly items, what is the least number of burritos it must sell to reach its goal?
Worked by hand
The plan
- Identify the two variables
- Determine the inequality for each constraint
- Solve the two boundaries at the corner
Desmos: Write the inequalities by hand. Then Desmos is quicker for the corner: graph the two boundary lines and click where they cross.
Step 1: Identify the two variables
- Let be the number of tacos.
- Let be the number of burritos.
Step 2: Determine the inequality for each constraint
- Items: ‘at most ’ means . So .
- Sales: tacos bring in dollars and burritos bring in dollars.
- ‘At least ’ means . So .
Step 3: Solve the two boundaries at the corner
- The truck sells exactly items: , so .
- The tacos bring in dollars. That is .
- The burritos bring in dollars.
- Add them: , so the sales are dollars.
- The sales must be at least : .
- Subtract from both sides: .
- Divide both sides by : . The least number of burritos is .
- Check: and , and dollars.
The same example in Desmos
new graph
Desmos shows: The item limit, with for tacos and for burritos.
Desmos shows: The sales goal.
zoom out until the lines cross, then click the crossing
Desmos shows: : tacos and burritos. At this corner the sales are exactly .


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A workshop runs two machines for at most hours a week in total. Machine A makes parts an hour and machine B makes parts an hour. The workshop needs at least parts a week. In a week when the machines run for exactly hours in total, what is the least number of hours that machine A must run?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Identify the two variables
- Let be the hours that machine A runs.
- Let be the hours that machine B runs.
Step 2: Determine the inequality for each constraint
- Hours: ‘at most ’ means .
- Parts: ‘at least ’ means .
Step 3: Solve the two boundaries at the corner
- The machines run for exactly hours: , so .
- Machine A makes parts.
- Machine B makes parts. That is .
- Add them: , so the total is parts.
- The total must be at least : .
- Subtract from both sides: .
- Divide both sides by : . Machine A must run for at least hours.
Traps
- Turning the symbol the wrong way. ‘At most ’ is , and ‘at least ’ is . Writing says the truck makes items or more, which it cannot.
- Swapping the prices. prices a taco at . At the corner the sales become dollars, which gives , a wrong answer.
Unit 8: When two models are equal
Key points
- Two plans, or two things that change, each have their own expression.
- ‘The same cost’, ‘the same amount’ and ‘catches up’ all mean: set the two expressions equal.
- Solving gives the input: when it happens, or how many.
- If the question asks for the shared amount, plug the input back in.
See it solved
Example
Tank A holds gallons of water and gains gallons each minute. Tank B holds gallons and gains gallons each minute. At some moment the two tanks hold the same amount of water. How many gallons does each tank hold at that moment?
Worked by hand
The plan
- Equate the two expressions
- Determine the value of
- Plug the input into the function
Desmos: Once the two expressions are written, Desmos is quicker: graph both and click the crossing. It shows the input and the shared amount together.
Step 1: Equate the two expressions
- Let be the number of minutes.
- Tank A holds gallons. Tank B holds gallons.
- The same amount: .
Step 2: Determine the value of
- Subtract from both sides: .
- Subtract from both sides: .
- .
Step 3: Plug the input into the function
- Tank A: .
- , so .
- Check with tank B: . It matches.
The same example in Desmos
new graph
Desmos shows: Tank A, with for the minutes.
Desmos shows: Tank B.
zoom out until the lines cross, then click the crossing
Desmos shows: : after minutes, each tank holds gallons.


Made with Desmos
Open Desmos (opens in a new tab)Your turn
A ride with company P costs plus per mile. A ride with company Q costs plus per mile. For how many miles do the two rides cost the same?
Show the answerHide the answer
Answer
The correct answer is .
Step 1: Equate the two expressions
- Let be the number of miles.
- Company P costs dollars. Company Q costs dollars.
- The same cost: .
Step 2: Determine the value of
- Subtract from both sides: .
- Subtract from both sides: .
- .
- Check: and . It matches.
Traps
- Stopping at the input. is when the tanks match. The question asks how many gallons, so plug back in to get . is a wrong answer.
- Mixing up the start and the rate. and are the starting amounts; and go with . Writing gives , so , a wrong answer.
Typing tips for Desmos
- In the keys lines, → means the right-arrow key.
- Typing / starts a fraction, and everything after it goes into the denominator until you press →. So 42/120*100 typed straight through becomes 42 ÷ (120 × 100). Type 42/120 → *100 instead.
- Desmos solves equations in x (and y) only. An equation in t, such as 3t + 7 = 22, gives an error until you retype it with x.
- Type y1 and Desmos shows y₁: a digit typed straight after a letter becomes a subscript. If you type the underscore yourself (y_1), press → after the digit: a ~ typed next lands inside the subscript (+, − and = leave it by themselves).
- The ~ key is Shift + ` on most keyboards (the key left of 1). Use ~, not =: ~ asks Desmos to find the unknown letters; = only draws or defines.
- A letter that already has a value, such as a slider m = 1 left over from earlier, is held fixed by a ~ fit, with no warning. Start a new graph, or delete old sliders, before each question.
- Start a new graph for each example. Rows left from an earlier example clash with the new ones: a second , or a second fit for and , is an error.
- Type y1 and Desmos shows : a digit typed straight after a letter becomes a subscript.
- The tilde, ~, is Shift and the key left of 1 on most keyboards. Use ~, not =: ~ finds the letters that make the line fit; = only draws or defines.
- Desmos works in and . Type any other letter, such as or , as .
Practice by lesson
- Lesson 1, Writing an equation from a story, 64 questions
- Lesson 2, Two amounts that make a total, 48 questions
- Lesson 3, Building a linear model, 80 questions
- Lesson 4, What the numbers in a model mean, 64 questions
- Lesson 5, Systems from word problems, 104 questions
- Lesson 6, Inequalities from word problems, 80 questions
- Lesson 7, Constraints in words, and the best corner, 24 questions
- Lesson 8, When two models are equal, 20 questions
Mixed practice: every lesson
All easy sets
- Set 1, 10 questions
- Set 2, 10 questions
- Set 3, 10 questions
- Set 4, 10 questions
- Set 5, 10 questions
- Set 6, 10 questions
- Set 7, 10 questions
- Set 8, 10 questions
- Set 9, 10 questions
- Set 10, 10 questions
- Set 11, 9 questions
- Set 12, 9 questions
- Set 1, 10 questions
- Set 2, 10 questions
- Set 3, 10 questions
- Set 4, 10 questions
- Set 5, 10 questions
- Set 6, 10 questions
- Set 7, 10 questions
- Set 8, 10 questions
- Set 9, 10 questions
- Set 10, 10 questions
- Set 11, 10 questions
- Set 12, 10 questions
- Set 13, 10 questions
- Set 14, 10 questions
- Set 15, 10 questions
- Set 16, 10 questions
- Set 17, 10 questions
- Set 18, 10 questions
- Set 19, 10 questions
- Set 20, 10 questions
- Set 21, 10 questions
- Set 22, 10 questions
- Set 23, 10 questions
- Set 24, 10 questions
- Set 25, 10 questions
- Set 26, 10 questions
- Set 27, 10 questions
- Set 28, 10 questions
800-level question
Loading the questions…