Skill packs · Pack E
Linear Models and Inequalities
Many quantities start somewhere and then change by the same amount at every step: a taxi fare, a draining tank, a plant, a temperature that falls through the evening. This pack turns that picture into algebra. It first says what the slope of a line means as a rate of change, with its units, and why any two points of a line give the same one. Then it writes the model $y = mx + b$ from a story, from two points or from a table, and uses it to predict a value and to find when a quantity reaches a target. The last two sections turn to inequalities: the numbers that satisfy one, where a negative multiplier turns the sign around, and the regions of the plane that satisfy one or two at once.
A taxi ride of $3$ miles costs $\$11$, and a ride of $5$ miles costs $\$17$. If the fare follows a straight line, what does a ride of $10$ miles cost?
- $\$22$
- $\$32$
- $\$34$
Doubling the fare for $5$ miles is tempting, and it fails, because part of the fare is charged before the taxi moves at all. Two rides are enough to find both the part that grows with the distance and the part that does not. The first section finds the part that grows, the rate of change. (The second section finds the fixed part and writes the whole fare as one expression. The last two ask the question in the other direction: how long a ride a given budget allows, and which pairs of values a budget permits.)
This pack leans on fractions and decimals as numbers (Chapter 1) and on solving an equation in one unknown (Chapter 2). You can read the pack at any point alongside the course.
Three quick ones to wake up what the pack stands on. They are not scored. If one doesn't come to you, its solution says where to look.
Compute $\dfrac{17 - 5}{6 - 2}$.
Answer: $3$
The top is $12$ and the bottom is $4$, and $12 \div 4 = 3$. Check: $3 \cdot 4 = 12$ ✓. This quotient of two differences is the shape of everything in the pack.
Evaluate $18 - 4x$ when $x = 3$.
Answer: $6$
$4 \cdot 3 = 12$, and $18 - 12 = 6$. Check: $6 + 12 = 18$ ✓.
Solve $3x + 4 = 19$.
Answer: $x = 5$
Subtract $4$ from both sides to get $3x = 15$, then divide both sides by $3$. See §2.1. Check: $3 \cdot 5 + 4 = 19$ ✓.
E.1 Slope as a rate of change
Take two points on a line, with $x$ across and $y$ up. Going from the first to the second, $x$ changes by some amount, the run, and $y$ changes by some amount, the rise, which is negative when $y$ falls. The slope of the line is the rise divided by the run: $$m = \frac{\text{rise}}{\text{run}} = \frac{y_2 - y_1}{x_2 - x_1}.$$ Subtract in the same order on the top and the bottom. Swap the two points and both differences change sign, so the quotient is the same.
Does it matter which two points you pick? It does not, and this is why slope belongs to the line and not to the pair. Draw the rise-and-run triangle for one pair of points, and another for a second pair on the same line. In each, the run is horizontal, the rise is vertical and the line itself is the slanted side. Both triangles have a right angle. The horizontal sides are parallel, so the line meets them at the same angle in each triangle. Two equal angles make the triangles similar, and similar triangles have their sides in the same ratio, so rise over run comes out the same in both. If the line falls, the triangle sits below the horizontal and the rise is negative, and the argument is the same.
Now use it. Take a run of exactly $1$: the rise is then $m$ itself. So the slope says how much $y$ changes for one more $x$, and when the axes carry units, so does the slope: the units of $y$ per unit of $x$. A fare that rises $\$6$ over $2$ miles has slope $\frac{6}{2} = 3$ dollars per mile. This is the rate of change. A table of a straight line works the same way. Pick any two rows. If the steps in $x$ are not equal, divide by the actual gap in $x$ and not by the number of rows between them.
The sign tells the story. A positive slope means $y$ rises as $x$ grows, a negative slope means it falls, and a slope of zero means it stays flat, because a rise of zero over any run is zero. In the model $y = mx + b$, the number $m$ is the slope, and $b$ is the value of $y$ when $x = 0$, the starting value. For $y = 15 + 25h$, the cost $y$ of $h$ hours, each hour adds $25$ dollars and the start is $15$ dollars. The rate and the total are different things: the total changes from hour to hour, and the rate is how fast it changes.
Read the story with care. “$\$40$ for the first hour and $\$25$ for each hour after” gives a rate of $25$ dollars per hour, not $40$. At $1$ hour the cost is $40$, and one hour earlier, at $0$ hours, it would be $40 - 25 = 15$. (Lines get a full chapter later, in Chapter 10, and Pack B's scatterplots used the slope of a line of fit. Neither is needed here.)
Example 1. Slope from two points, with its unit
A balloon is $300$ feet up after $2$ minutes and $780$ feet up after $8$ minutes. At what rate is it rising?
- The rise is the change in height: $780 - 300 = 480$ feet. The run is the change in time: $8 - 2 = 6$ minutes.
- $m = \dfrac{480\text{ ft}}{6\text{ min}} = 80$ feet per minute.
- The slope is positive, and the balloon is going up, as the numbers said.
- Check by the other order: $\dfrac{300 - 780}{2 - 8} = \dfrac{-480}{-6} = 80$ ✓. Check by using it: $6$ minutes at $80$ feet per minute is $480$ feet, and $300 + 480 = 780$ ✓. $\blacksquare$
The unit of the answer comes from the question: feet on the top, minutes on the bottom.
A line passes through $(1, 4)$ and $(5, 12)$. What is its slope?
Answer: $2$
$\dfrac{12 - 4}{5 - 1} = \dfrac{8}{4} = 2$. Check: four steps of $2$ take $y$ from $4$ to $4 + 8 = 12$ ✓.
The cost in dollars of renting a ladder for $h$ hours is $C = 12 + 7h$. How many dollars per hour does the cost change?
Answer: $7$ dollars per hour
The number that multiplies $h$ is the rate, $7$. The $12$ is the start. Check: at $0$ hours the cost is $12$, at $1$ hour it is $19$, and $19 - 12 = 7$ ✓.
Example 2. A table with uneven steps
The water level in a pond is measured on four days. Is it changing at a steady rate, and if so what is the rate?
| Day | Level (centimeters) |
|---|---|
| 0 | $80$ |
| 2 | $74$ |
| 5 | $65$ |
| 9 | $53$ |
- The days are $2$, $3$ and $4$ apart, so compare each step with its own gap. Days $0$ to $2$: $\frac{74 - 80}{2 - 0} = -3$. Days $2$ to $5$: $\frac{65 - 74}{5 - 2} = -3$. Days $5$ to $9$: $\frac{53 - 65}{9 - 5} = -3$.
- All three agree, so the level changes at a steady rate: $-3$ centimeters per day.
- The slope is negative, so the pond is falling.
- Check from the ends: $\frac{53 - 80}{9 - 0} = \frac{-27}{9} = -3$ ✓. $\blacksquare$
Each change in level goes with its own gap in days; a change from one step over the gap of another gives a wrong rate.
A parking garage charges $\$9$ for the first hour and $\$4$ for each hour after. What would the line through these charges give for $0$ hours, in dollars?
Answer: $\$5$
The cost at $1$ hour is $9$, and one hour earlier it is $4$ less: $9 - 4 = 5$. Check: the line $5 + 4h$ gives $9$ at $1$ hour and $13$ at $2$ hours, and $13 = 9 + 4$ ✓.
E.2 Writing a linear model
Many situations have a starting value and a constant rate. A bike rental costs $\$6$ to start and $\$4$ for each hour. The cost after $x$ hours is the start plus $x$ copies of the rate, because each hour adds the same amount: $6 + 4x$. In general a quantity that starts at $b$ and changes by $m$ for every one more $x$ is $$y = mx + b,$$ where $b$ is the value when $x = 0$ and $m$ is the change per one more $x$. When the quantity falls, $m$ is negative, and the model subtracts.
To write a model from a story, name the count with a letter, find the start (the value before anything has happened) and find the rate (the amount that repeats). Then write start plus rate times count, and read the units: dollars plus dollars per hour times hours leaves dollars.
To write it from two data points, find $m$ first, as in the last section. Then put one point and $m$ into $y = mx + b$ and solve for $b$. Why do two points settle the line? Two points fix the slope, by rise over run. And the slope together with one point fixes $b$: from that point, each step of $1$ in $x$ moves $y$ by $m$, so going back to $x = 0$ lands on exactly one value. Nothing is left to choose. A table works the same way, since two of its rows are two points.
Check the model against a point you did not use. The two points that built it fit by construction, so they prove nothing. A third point that fits is evidence, and one that does not means a slip, or a situation that is not linear.
Then use it. To predict, put a value of $x$ into the model. To answer a “when” question, set the model equal to the target and solve $mx + b = T$: subtract $b$ from both sides, then divide by $m$. Last, ask when the model makes sense. A count of tickets is a whole number that is not negative, and a plant does not grow at the same rate forever. Inside the range of the data the model is a good description. Beyond it, as Pack B said of lines of fit, it is a guess.
Example 3. A model from a table, checked at a third row
A tutoring service lists the total paid after some sessions. Write the total in dollars after $n$ sessions, assuming a fixed fee plus a price per session.
| Sessions | Total (dollars) |
|---|---|
| 2 | $95$ |
| 5 | $215$ |
| 8 | $335$ |
- Use the first two rows. The rate is $m = \frac{215 - 95}{5 - 2} = \frac{120}{3} = 40$ dollars per session.
- Put the first row into $y = 40n + b$: $95 = 40 \cdot 2 + b$, so $b = 95 - 80 = 15$.
- The model is $y = 40n + 15$: a fee of $\$15$ and $\$40$ for each session.
- Check at the third row, which was not used: $40 \cdot 8 + 15 = 335$ ✓. Check $b$ from the other row: $215 - 40 \cdot 5 = 15$ ✓. $\blacksquare$
The fee $b$ is the value at $0$ sessions, which the table never lists. The model finds it.
A sprout is $5$ centimeters tall and grows $3$ centimeters each week. Write its height in centimeters after $n$ weeks, in terms of $n$.
Answer: $3n + 5$
Start $5$, plus $3$ for each of the $n$ weeks. Check at $n = 2$: the formula gives $11$, and the story gives $5 + 3 + 3 = 11$ ✓.
A candle's height in centimeters after $t$ hours is $H = 20 - 2.5t$. How tall is it after $6$ hours?
Answer: $5$ centimeters
$20 - 2.5 \cdot 6 = 20 - 15 = 5$. Check hour by hour: $17.5$, $15$, $12.5$, $10$, $7.5$, $5$ ✓.
Example 4. When does it reach the target?
A tank holds $260$ gallons and drains $8$ gallons each minute. After how many minutes does it hold $100$ gallons? For how long does the model make sense?
- The model is $G = 260 - 8t$, with $t$ in minutes. We want $G = 100$.
- $260 - 8t = 100$. Subtract $260$ from both sides: $-8t = -160$. Divide by $-8$: $t = 20$ minutes.
- The model makes sense while the tank has water in it, from $t = 0$ until $G = 0$, that is until $t = 260 \div 8 = 32.5$ minutes.
- Check by substituting: $260 - 8 \cdot 20 = 100$ ✓. Check another way: the tank must lose $260 - 100 = 160$ gallons, and at $8$ gallons a minute that takes $160 \div 8 = 20$ minutes ✓. $\blacksquare$
After $32.5$ minutes the formula would give a negative amount of water, which is impossible. The domain of the model is the range where the story holds.
A line has slope $4$ and passes through $(3, 20)$. What is $b$, the value of $y$ when $x = 0$?
Answer: $8$
$20 = 4 \cdot 3 + b$, so $b = 20 - 12 = 8$. Check: $4 \cdot 3 + 8 = 20$ ✓.
E.3 Inequalities in one unknown
An equation picks out a number, and an inequality picks out a set of numbers. The statement $x > 3$ is true of every number to the right of $3$ on the number line, and the solution of $2x + 1 > 7$ is the set of all $x$ that make it true. To solve it is to describe that set as simply as $x > 3$, which you can also say in words: $x$ is any number greater than $3$.
Solving works as it does for an equation, with one new rule, and the number line says why. Adding the same number to both sides slides the whole line along: two points move the same distance in the same direction, so the one that was on the left is still on the left. Subtracting is the same slide the other way. Multiplying by a positive number stretches the line away from $0$, or squeezes it toward $0$, without carrying any point across $0$ or past another, so the order stays. Multiplying by a negative number does that and then reflects the line through $0$, and a reflection swaps left and right: $1 < 6$, but $-1 > -6$. So dividing both sides by a negative number flips the sign. This is the one move to watch.
To solve $ax + b \le c$, subtract $b$ from both sides and then divide by $a$, turning the sign around when $a$ is negative. Write the result as $x \ge k$ or $x \le k$ and say it in words. Then check with one test number on each side of $k$, put into the original inequality: the number on the solution side must make it true and the other must make it false. The boundary $k$ itself makes it true for $\le$ and $\ge$, and false for $<$ and $>$. A forgotten flip shows up at once, because the true side and the false side come out swapped.
Stories use words for the signs. “At most”, “no more than” and “within budget” mean $\le$. “At least” means $\ge$. “Fewer than”, “less than” and “under” mean $<$, and “more than” and “over” mean $>$. When the unknown counts things, only whole numbers count. If the solution is $n \le 7.4$, the greatest whole number that works is $7$, and if it is $n \ge 5.2$, the least is $6$. Move into the solution set, never to the nearest whole number.
Two conditions joined by “and” make a range, and the solution is where they overlap. “Between $10$ and $20$ inclusive” is $10 \le x \le 20$, which is $x \ge 10$ and $x \le 20$ together, and its integers are $10, 11, \dots, 20$. With strict signs the end numbers drop out: $10 < x < 20$ leaves $11$ through $19$. (Chapter 3's order section is where this began, with the same rules proved from the axioms. You do not need it here.)
Example 5. Dividing by a negative number
Solve $11 - 2x \le 3$.
- Subtract $11$ from both sides. The sign stays: $-2x \le -8$.
- Divide both sides by $-2$. The number is negative, so the sign turns around: $x \ge 4$.
- In words: $x$ is any number that is at least $4$.
- Check with a number on each side. For $x = 5$, on the solution side: $11 - 10 = 1$, and $1 \le 3$ is true. For $x = 3$, on the other side: $11 - 6 = 5$, and $5 \le 3$ is false. The boundary $x = 4$ gives $11 - 8 = 3 \le 3$, true ✓. $\blacksquare$
Had the sign not been turned, the answer would read $x \le 4$, which includes $3$, and the test of $3$ fails. A test number on each side catches a missed flip.
A ride has a sign: riders must be under $48$ inches tall. With $h$ the height in inches, which inequality describes who may ride?
- $h \le 48$
- $h < 48$
- $h > 48$
- $h \ge 48$
Answer: $h < 48$
“Under” means below, and a rider exactly $48$ inches tall is not under $48$, so the sign is strict. $h \le 48$ would let in a rider of exactly $48$ inches, and $h > 48$ and $h \ge 48$ point the wrong way. Check: a rider of $40$ inches is under $48$, and $40 < 48$ ✓.
Example 6. How many whole hours?
A kayak rental charges a $\$20$ fee plus $\$6$ for each hour. You have $\$85$. What is the greatest whole number of hours you can rent for?
- For $h$ hours the cost is $20 + 6h$, and “you have $\$85$” means it must be at most $85$: $20 + 6h \le 85$.
- Subtract $20$: $6h \le 65$. Divide by $6$, which is positive, so the sign stays: $h \le \frac{65}{6}$, about $10.83$.
- Hours are counted in whole numbers, and $11$ is above $10.83$, so the greatest is $10$ hours.
- Check both neighbors in the story. $10$ hours cost $20 + 60 = 80$, and $80 \le 85$ ✓. $11$ hours cost $20 + 66 = 86$, and $86 > 85$, so it is too much. $\blacksquare$
Rounding $10.83$ to the nearest whole number gives $11$, which costs too much. Move toward the side the inequality allows.
What is the greatest integer $x$ with $-3x > 12$?
Answer: $-5$
Divide both sides by $-3$ and turn the sign around: $x < -4$. The sign is strict, so $-4$ is out and the greatest integer is $-5$. Without the flip the solution would read $x > -4$, which has no greatest integer at all. Check one number on each side: $x = -5$ gives $-3 \cdot (-5) = 15 > 12$, true, and $x = -4$ gives $12 > 12$, false ✓.
List all the integers $x$ with $-2 < x \le 3$, separated by commas.
Answer: $-1, 0, 1, 2, 3$
The left end is strict, so $-2$ is out and the least integer is $-1$. The right end is not strict, so $3$ is in. Check: from $-1$ to $3$ is five integers, and $-2 < -1$ and $3 \le 3$ both hold, while $-2 < -2$ and $4 \le 3$ both fail ✓.
E.4 Inequalities in two unknowns and systems
With two unknowns, a solution is a pair $(x, y)$, a point of the plane, and the solutions of an inequality fill a region. Take $y > 2x + 1$. The points with $y = 2x + 1$ form a line, and the line is the boundary: it is where the two sides are equal, so it is where the inequality changes from true to false. Which side is the solution?
Stand on any point of the line and look straight up. The $x$ has not changed, so $2x + 1$ has not changed, but $y$ is larger, so $y > 2x + 1$ is true. Straight down, $y$ is smaller and it is false. So the points above the line are the solution of $y > 2x + 1$, and the points below it are the solution of $y < 2x + 1$. This page draws no figures. A region is described in words, as “above the line”, and settled with a point.
Every point above the line sits straight above a point of the line with the same $x$. Moving from one point to another without crossing the line cannot turn true into false, since the two sides would have to be equal where it crosses. So one point off the line will decide a whole side. Fixing $x$ also fixes a column of points, so “the greatest $y$ for this $x$” is a question with one unknown.
Not every inequality arrives solved for $y$, and $3x + 2y \le 24$ does not. A test point works for any of them. Choose a point that is not on the boundary, often $(0, 0)$, and put it in. If it makes the inequality true, the solution is the side that holds the point, and if false, the other side. One point decides a whole side, for the reason in the last paragraph.
The boundary belongs to the solution for $\le$ and $\ge$, drawn as a solid line, and not for $<$ and $>$, drawn as a dashed one. A point on the line makes the two sides equal, so it passes the first pair and fails the second.
A constraint from a story is an inequality like this. Pens at $\$3$ and pads at $\$2$ with $\$24$ to spend give $3x + 2y \le 24$, and $x \ge 0$ and $y \ge 0$ as well, because counts are not negative. A system of inequalities is several at once. A point satisfies the system when it satisfies every one of them, so the solution is the overlap of the regions. The corner where two boundary lines meet is found by solving the two equations together, as in Chapter 2's two unknowns, where this method began. To count the whole-number points of a small region, go through the values of $x$ one at a time and list the $y$ that work.
Example 7. Which side, and does the line belong?
Describe the region $y \le \frac12 x - 2$, and say whether the line belongs to it.
- The boundary is the line $y = \frac12 x - 2$. The origin is not on it, since $\frac12 \cdot 0 - 2 = -2$ and not $0$, so use $(0, 0)$ as the test point.
- Put it in: $0 \le -2$ is false. The origin is not in the region, so the region is the other side, below the line (the origin is above it).
- The sign is $\le$, so the line belongs to the region and is drawn solid.
- Check with points. $(0, -5)$ is below the line: $-5 \le -2$, true. $(4, 0)$ is on the line, since $\frac12 \cdot 4 - 2 = 0$: $0 \le 0$, true. $(0, 1)$ is above the line: $1 \le -2$, false ✓. $\blacksquare$
The test point was false, so the answer is the side away from it. A true test point would have given the side it sits on.
A region is described by $y < 2x + 3$. For the points of the region with $x = 4$, what is the greatest integer $y$?
Answer: $10$
At $x = 4$ the right side is $2 \cdot 4 + 3 = 11$, so $y < 11$, and $11$ itself is not allowed. Check: $10 < 11$ is true and $11 < 11$ is false ✓.
Tickets cost $\$4$ and snacks cost $\$3$, and the budget is $\$50$, so $4x + 3y \le 50$ with $x \ge 0$ and $y \ge 0$. If $2$ tickets are bought, what is the greatest number of snacks that can also be bought?
Answer: $14$
With $x = 2$: $3y \le 50 - 8 = 42$, so $y \le 14$. Check by cost: $2$ tickets and $14$ snacks cost $8 + 42 = 50$, which is within the budget, and $15$ snacks cost $53$, which is not ✓.
Example 8. A system and its corner
A point must satisfy $x + y \le 8$ and $x - y \ge 2$. Find the corner where the two boundary lines meet, and decide whether $(4, 1)$ is a solution of the system.
- The boundary lines are $x + y = 8$ and $x - y = 2$. At the corner both hold.
- Adding the two equations removes $y$: $2x = 10$, so $x = 5$, and then $y = 8 - 5 = 3$. The corner is $(5, 3)$.
- Test $(4, 1)$ in both: $4 + 1 = 5 \le 8$, true, and $4 - 1 = 3 \ge 2$, true. It satisfies both, so it is a solution of the system.
- Check the corner in the other equation of each line: $5 - 3 = 2$ and $5 + 3 = 8$, so it is on both lines ✓. A point outside, $(6, 3)$, gives $6 + 3 = 9 \le 8$, false, so it is correctly left out. $\blacksquare$
The corner satisfies both inequalities, because both are $\le$ or $\ge$ and the corner is on both boundaries.
The lines $y = 2x - 3$ and $x + y = 12$ are the boundaries of a system. What is the $y$-coordinate of the corner where they meet?
Answer: $7$
Put $y = 2x - 3$ into the second equation: $x + 2x - 3 = 12$, so $3x = 15$ and $x = 5$, and $y = 2 \cdot 5 - 3 = 7$. Check in the other equation: $5 + 7 = 12$ ✓.
Practice
Give each answer as a number in the unit the question names, without writing the unit. Use a decimal, such as $4.5$, where the answer is not whole, and a negative number where the quantity falls. Where a question asks for an expression, use the letter it names. Money is in dollars. An inequality is never typed as an answer. A question about one asks for a number (a boundary, or the greatest or least whole number that works), or for a list of integers separated by commas, or for one choice among the options shown.
Find the slope of the line through $(2, 9)$ and $(5, 21)$.
Answer: $4$
$\dfrac{21 - 9}{5 - 2} = \dfrac{12}{3} = 4$. Check in the other order: $\dfrac{9 - 21}{2 - 5} = \dfrac{-12}{-3} = 4$ ✓.
Find the slope of the line through $(-3, 10)$ and $(1, -2)$.
Answer: $-3$
$\dfrac{-2 - 10}{1 - (-3)} = \dfrac{-12}{4} = -3$. Check in the other order: $\dfrac{10 - (-2)}{-3 - 1} = \dfrac{12}{-4} = -3$ ✓. The line falls as $x$ grows, so a negative slope fits.
Find the slope of the line through $(-2, 1)$ and $(3, 5)$. Give it as a fraction.
Answer: $\dfrac45$
$\dfrac{5 - 1}{3 - (-2)} = \dfrac{4}{5}$, already in lowest terms. Check in the other order: $\dfrac{1 - 5}{-2 - 3} = \dfrac{-4}{-5} = \dfrac45$ ✓.
A plumber's bill is $\$140$ for a $2$-hour job and $\$260$ for a $4$-hour job. If the bill follows a straight line, what is the plumber's rate of change, in dollars per hour?
Answer: $60$ dollars per hour
$\dfrac{260 - 140}{4 - 2} = \dfrac{120}{2} = 60$. Check: two more hours at $60$ is $120$, and $140 + 120 = 260$ ✓.
A gardener measures a plant. What is its rate of change, in centimeters per week?
| Week | Height (centimeters) |
|---|---|
| 1 | $14$ |
| 2 | $17.5$ |
| 4 | $24.5$ |
| 7 | $35$ |
Answer: $3.5$ centimeters per week
From week $1$ to week $7$: $\dfrac{35 - 14}{7 - 1} = \dfrac{21}{6} = 3.5$. Check with the other rows, each over its own gap: $\frac{17.5 - 14}{1} = 3.5$, $\frac{24.5 - 17.5}{2} = 3.5$ and $\frac{35 - 24.5}{3} = 3.5$ ✓.
A tank holds $400$ gallons after $4$ minutes of draining and $325$ gallons after $9$ minutes. What is the rate of change of the water, in gallons per minute?
Answer: $-15$ gallons per minute
$\dfrac{325 - 400}{9 - 4} = \dfrac{-75}{5} = -15$. Check: $5$ minutes at $-15$ is $-75$, and $400 - 75 = 325$ ✓.
The temperature in degrees Fahrenheit $h$ hours after midnight is $T = 62 - 1.5h$. By how many degrees does it change over $6$ hours? Use a negative number for a fall.
Answer: $-9$ degrees
The rate is $-1.5$ degrees per hour, and $-1.5 \cdot 6 = -9$. Check: $T(0) = 62$ and $T(6) = 62 - 9 = 53$, and $53 - 62 = -9$ ✓.
A gym charges a $\$35$ membership fee and $\$20$ each month. Write the total cost in dollars after $n$ months, in terms of $n$.
Answer: $20n + 35$
The fee is the start, $35$, and each of the $n$ months adds $20$. Check at $n = 2$: the formula gives $75$, and the story gives $35 + 20 + 20 = 75$ ✓.
A phone battery is at $100$ percent and loses $6$ percent each hour. Write the percent left after $t$ hours, in terms of $t$.
Answer: $100 - 6t$
Start at $100$ and take away $6$ for each of the $t$ hours. Check at $t = 3$: the formula gives $100 - 18 = 82$, and the story gives $100 - 6 - 6 - 6 = 82$ ✓.
A taxi company lists two fares. If the fare follows a straight line, what is the starting charge, the fare for $0$ miles, in dollars?
| Distance (miles) | Fare (dollars) |
|---|---|
| 2 | $10$ |
| 6 | $24$ |
Answer: $\$3$
The rate is $\frac{24 - 10}{6 - 2} = \frac{14}{4} = 3.5$ dollars per mile, and $10 = 3.5 \cdot 2 + b$ gives $b = 10 - 7 = 3$. Check with the other row: $24 - 3.5 \cdot 6 = 24 - 21 = 3$ ✓.
A plant is $19$ centimeters tall after $3$ weeks and $31$ centimeters tall after $6$ weeks. Assuming it keeps growing at the same steady rate, how many centimeters tall is it after $10$ weeks?
Answer: $47$ centimeters
The rate is $\frac{31 - 19}{6 - 3} = 4$ centimeters per week, and $b = 19 - 4 \cdot 3 = 7$, so $H = 7 + 4n$, with $n$ the number of weeks, and $H(10) = 47$. Check from week $6$: four more weeks at $4$ is $16$, and $31 + 16 = 47$ ✓. This is beyond the data, so it is a prediction and not a measurement.
A savings account holds $\$150$ and gains $\$35$ each week. After how many weeks does it hold $\$500$?
Answer: $10$ weeks
$150 + 35w = 500$, so $35w = 350$ and $w = 10$. Check: $150 + 35 \cdot 10 = 500$ ✓.
At 4 p.m. the temperature is $76$°F and it falls $4$°F each hour. After how many hours does it reach $40$°F?
Answer: $9$ hours
$76 - 4h = 40$, so $4h = 36$ and $h = 9$. Check: $76 - 4 \cdot 9 = 40$ ✓.
A repair shop charges $\$55$ for the first hour and $\$35$ for each hour after. Write the charge in dollars for a job of $h$ hours, in terms of $h$.
Answer: $35h + 20$
The rate is $35$ dollars per hour. At $1$ hour the charge is $55$, so one hour earlier it would be $55 - 35 = 20$, the start. Check at $h = 3$: the formula gives $20 + 105 = 125$, and the story gives $55 + 35 + 35 = 125$ ✓.
The solution of $5x - 6 \ge 29$ is every $x$ on one side of a boundary $x = k$. What is $k$?
Answer: $7$
Add $6$: $5x \ge 35$. Divide by $5$, which is positive, so the sign stays: $x \ge 7$. Check a number on each side: $x = 8$ gives $40 - 6 = 34 \ge 29$, true, and $x = 6$ gives $30 - 6 = 24 \ge 29$, false ✓.
What is the least integer $x$ with $22 - 6x < 4$?
Answer: $4$
Subtract $22$: $-6x < -18$. Divide by $-6$, which is negative, so the sign turns around: $x > 3$. The sign is strict, so $3$ is out and the least integer is $4$. Without the flip the solution would read $x < 3$, which has no least integer. Check: $x = 4$ gives $22 - 24 = -2 < 4$, true. $x = 3$ gives $22 - 18 = 4 < 4$, false, and $x = 2$ gives $10 < 4$, false ✓.
What is the greatest integer $x$ with $-\dfrac{x}{2} + 3 > 8$?
Answer: $-11$
Subtract $3$: $-\frac{x}{2} > 5$. Multiply by $-2$, which is negative, so the sign turns around: $x < -10$. The sign is strict, so $-10$ is out and the greatest integer is $-11$. Without the flip the solution would read $x > -10$, which has no greatest integer. Check: $x = -11$ gives $5.5 + 3 = 8.5 > 8$, true, and $x = -10$ gives $5 + 3 = 8 > 8$, false ✓.
Dana solved $-4x > 20$ and wrote $x > -5$. What went wrong?
- Nothing: the answer is correct.
- The sign should stay but the number should be $5$, giving $x > 5$.
- Dividing by $-4$ should have turned the sign around, giving $x < -5$.
- The number should be $5$ and the sign turned around, giving $x < 5$.
Answer: dividing by $-4$ should have turned the sign around, giving $x < -5$
Dividing by $-4$ is dividing by a negative number, so the sign turns around: $x < -5$. Check with numbers: $x = -6$ gives $24 > 20$, true, and it fits $x < -5$. $x = 0$ gives $0 > 20$, false, yet Dana's answer includes $0$ ✓.
A school buys notebooks at $\$3.50$ each, with a $\$12$ shipping fee for the order. The budget is $\$100$. What is the greatest number of notebooks it can buy?
Answer: $25$ notebooks
$12 + 3.5n \le 100$, so $3.5n \le 88$ and $n \le 25.14\ldots$, and the greatest whole number is $25$. Check both neighbors: $25$ notebooks cost $12 + 87.5 = 99.5 \le 100$, and $26$ cost $12 + 91 = 103 > 100$ ✓.
An order qualifies for free shipping when it is at least $\$75$. A customer's cart holds $\$28$ and the customer adds books at $\$9$ each. What is the fewest number of books that makes the order qualify?
Answer: $6$ books
$28 + 9b \ge 75$, so $9b \ge 47$ and $b \ge 5.22\ldots$, and the least whole number is $6$. Check both neighbors: $5$ books give $28 + 45 = 73 < 75$, which is not enough, and $6$ books give $28 + 54 = 82 \ge 75$ ✓.
List all the integers $x$ that satisfy both $5 - x \ge 1$ and $x > -2$, separated by commas.
Answer: $-1, 0, 1, 2, 3, 4$
From $5 - x \ge 1$: $-x \ge -4$, and dividing by $-1$ turns the sign around, so $x \le 4$. Together with $x > -2$ the integers run from $-1$ to $4$. Check the ends in the original inequalities: $x = 4$ gives $1 \ge 1$ and $4 > -2$, both true; $x = 5$ gives $0 \ge 1$, false; $x = -2$ gives $-2 > -2$, false ✓.
Which description matches the points $(x, y)$ with $y > 3x - 1$?
- Above the line $y = 3x - 1$, and the line itself is included.
- Above the line $y = 3x - 1$, and the line itself is not included.
- Below the line $y = 3x - 1$, and the line itself is not included.
- Below the line $y = 3x - 1$, and the line itself is included.
Answer: above the line, and the line itself is not included
Straight up from a point of the line, $y$ grows while $3x - 1$ stays the same, so $y > 3x - 1$ is true above the line. The sign is strict, so a point on the line, where the two sides are equal, fails. Check: $(0, 0)$ is above the line and $0 > -1$, true, while $(0, -1)$ is on the line and $-1 > -1$, false ✓.
How many of the points $(1, 2)$, $(0, 5)$, $(2, 5)$ and $(-2, -3)$ satisfy $y \le x + 3$?
Answer: $3$ points
$(1, 2)$: $2 \le 4$, true. $(0, 5)$: $5 \le 3$, false. $(2, 5)$: $5 \le 5$, true, because the sign is $\le$ and the point is on the line. $(-2, -3)$: $-3 \le 1$, true. That is three points. Check by the line: at $(1, 2)$ the line is at $4$, and $2$ is below it. At $(2, 5)$ the line is at $5$, and the point is on it. At $(-2, -3)$ the line is at $1$, and $-3$ is below it. Only $(0, 5)$ sits above its line, which is at $3$ there ✓.
A region is described by $y \le 1.5x + 2$. For the points of the region with $x = 3$, what is the greatest integer $y$?
Answer: $6$
At $x = 3$ the right side is $1.5 \cdot 3 + 2 = 6.5$, so $y \le 6.5$. The boundary $6.5$ is allowed but is not an integer, so the greatest integer is $6$. Check: $6 \le 6.5$ is true and $7 \le 6.5$ is false ✓.
Wraps cost $\$7$ and smoothies cost $\$4$. With $\$80$ to spend, $7x + 4y \le 80$ where $x$ counts wraps and $y$ counts smoothies. If $6$ wraps are bought, what is the greatest number of smoothies that can also be bought?
Answer: $9$ smoothies
With $x = 6$: $4y \le 80 - 42 = 38$, so $y \le 9.5$, and the greatest whole number is $9$. Check by cost: $6$ wraps and $9$ smoothies cost $42 + 36 = 78 \le 80$, and $10$ smoothies would cost $82$, which is over ✓.
The boundary lines $x + 2y = 14$ and $x - y = 2$ of a system meet at a corner. What is its $y$-coordinate?
Answer: $4$
Subtracting the second equation from the first removes $x$: $3y = 12$, so $y = 4$, and then $x = 2 + 4 = 6$. Check in both equations: $6 + 2 \cdot 4 = 14$ and $6 - 4 = 2$ ✓.
How many points $(x, y)$ with whole-number coordinates satisfy $x \ge 0$, $y \ge 0$ and $x + 2y \le 6$?
Answer: $16$ points
By $x$: $x = 0$ allows $y \le 3$ (4 points), $x = 1$ allows $y \le 2.5$ (3), $x = 2$ allows $y \le 2$ (3), $x = 3$ allows $y \le 1.5$ (2), $x = 4$ allows $y \le 1$ (2), $x = 5$ allows $y \le 0.5$ (1) and $x = 6$ allows $y = 0$ (1): $4 + 3 + 3 + 2 + 2 + 1 + 1 = 16$. Check by $y$ instead: $y = 0$ allows $x \le 6$ (7 points), $y = 1$ allows $x \le 4$ (5), $y = 2$ allows $x \le 2$ (3) and $y = 3$ allows $x = 0$ (1): $7 + 5 + 3 + 1 = 16$ ✓.
Which point satisfies both $y \ge x - 2$ and $y < 4 - x$?
- $(3, 1)$
- $(1, 3)$
- $(0, -3)$
- $(2, 0)$
Answer: $(2, 0)$
$(2, 0)$: $0 \ge 0$ and $0 < 2$, both true. $(3, 1)$: $1 \ge 1$ is true but $1 < 1$ is false, since the second sign is strict. $(1, 3)$: $3 \ge -1$ is true but $3 < 3$ is false. $(0, -3)$: $-3 \ge -2$ is false. Check: only $(2, 0)$ passes both ✓.
Recap
A ride of $10$ miles costs $\$32$. The rate is $\frac{17 - 11}{5 - 3} = 3$ dollars per mile, and from $11 = 3 \cdot 3 + b$ the fixed charge is $b = 2$ dollars, so the fare is $2 + 3x$ and $2 + 30 = 32$. A second route: from the $5$-mile ride, five more miles add $5 \cdot 3 = 15$, and $17 + 15 = 32$. Doubling $\$17$ gives $34$ for $10$ miles, which is too much, because it counts the fixed charge twice.
- The slope is $\dfrac{y_2 - y_1}{x_2 - x_1}$, with the points subtracted in the same order, and it is the same for any two points of a line because the rise-and-run triangles are similar.
- The slope means how much $y$ changes for one more $x$, in units of $y$ per unit of $x$. A positive slope rises, a negative one falls, and zero is flat.
- From a table, use the actual gap in $x$. From a story such as “$\$40$ for the first hour and $\$25$ for each hour after”, the rate is the amount that repeats.
- In $y = mx + b$, $m$ is the rate and $b$ is the value at $x = 0$. The total changes, and the rate is how fast.
- Write a model as start plus rate times count. Two points fix a line: the slope first, then $b$ from one point.
- Check a model at a point you did not use, predict by putting in a value, and find when by solving $mx + b = T$.
- A model makes sense for the counts that occur, and beyond the data it is a guess.
- Add or subtract anything, or multiply or divide by a positive number, and an inequality keeps its direction. Multiply or divide by a negative number and the sign turns around, since a reflection through $0$ swaps left and right.
- A constraint from a story, such as $px + qy \le T$ with $x \ge 0$ and $y \ge 0$, is an inequality in two unknowns. A range joined by “and” is the overlap of two conditions, and its integers are listed.
- Check a solution with a test number on each side of the boundary. The boundary itself is in the set for $\le$ and $\ge$ and not for $<$ and $>$. A count asks for a whole number inside the solution set.
- In the plane, $y > mx + b$ is the region above the line and $y < mx + b$ the region below it. A test point such as $(0, 0)$ settles the side of any inequality. A system is the overlap, and its corner comes from solving the two boundary equations.