01 · Learn the idea
A straight line and its key features
A linear function changes by the same amount every time x goes up by 1. Take y = 2x − 4. Its table is x: 0, 1, 2, 3 and y: −4, −2, 0, 2. Each step of 1 in x adds 2 to y, so the points line up and the graph is a straight line.
Four key features describe that line. The rate of change, also called the slope, is how much y changes when x increases by 1. Here it is 2.
The y-intercept is the point where the line crosses the y-axis. It is the point where x = 0, so here it is (0, −4). The x-intercept is the point where the line crosses the x-axis. It is the point where y = 0, so here it is (2, 0).
The domain is the set of all x-values the function accepts, and the range is the set of all y-values it produces. A slanted line keeps going in both directions, so both are all real numbers. In set-builder notation the domain is {x | x is a real number} and the range is {y | y is a real number}.
- y = 2x − 4
02 · Build understanding
Worked example: graph from standard form
Graph 3x + 4y = 24 and find its key features. Standard form, Ax + By = C, makes the intercepts quick to find.
Step 1: Find the y-intercept. Every point on the y-axis has x = 0, so set x = 0. That leaves 4y = 24, and y = 6. The y-intercept is (0, 6).
Step 2: Find the x-intercept. Every point on the x-axis has y = 0, so set y = 0. That leaves 3x = 24, and x = 8. The x-intercept is (8, 0).
Step 3: Plot the two intercepts and draw the line through them. Two points are enough to fix a line.
Step 4: Find the rate of change from the two points. From (0, 6) to (8, 0), y changes by −6 while x changes by 8, so the slope is −6/8 = −3/4. The line falls 3 units for every 4 units it moves to the right.
Step 5: Check with a third point. Halfway between the intercepts, at x = 4, the line should be at y = 3. In the equation, 3(4) + 4(3) = 12 + 12 = 24. The point fits.
The line is slanted, so its domain and range are both all real numbers.
- 3x + 4y = 24
03 · Build understanding
Other forms, and a coefficient of zero
Slope-intercept form, y = mx + b, shows the slope m and the y-intercept (0, b) directly. Solving 3x + 4y = 24 for y gives y = −(3/4)x + 6, which shows the same slope and the same y-intercept you found from the graph.
Point-slope form, y − y₁ = m(x − x₁), shows the slope m and one point (x₁, y₁) on the line. The line y − 5 = −2(x − 1) has slope −2 and passes through (1, 5). To graph it, plot (1, 5), then move right 1 and down 2 to reach (2, 3).
You can still get both intercepts from point-slope form. Set x = 0: y − 5 = −2(0 − 1) = 2, so y = 7 and the y-intercept is (0, 7). Set y = 0: −5 = −2(x − 1), so x − 1 = 2.5 and the x-intercept is (3.5, 0).
Sometimes one variable has a coefficient of zero. The equation 0x + y = 3 is just y = 3. Every point on it has y-coordinate 3, so the graph is a horizontal line. Its rate of change is 0, its y-intercept is (0, 3), and it has no x-intercept. The domain is all real numbers, but the range is the single value {y | y = 3}.
The equation x + 0y = −2 is just x = −2, a vertical line. It pairs one x-value with every y-value, so it is a line but not a function.
04 · Build understanding
Worked example: a draining tank
A tank holds 120 gallons of water. A valve opens and the tank drains at a steady 8 gallons per minute. Model the amount of water, graph it and describe its key features.
Step 1: Write the function. The tank starts at 120 and loses 8 each minute, so V(t) = 120 − 8t, where t is the number of minutes since the valve opened and V(t) is the number of gallons left.
Step 2: Interpret the vertical intercept. V(0) = 120, so the point (0, 120) says the tank holds 120 gallons at the start.
Step 3: Interpret the rate of change. The slope is −8, so the amount of water drops by 8 gallons each minute.
Step 4: Find the horizontal intercept. Set V(t) = 0. Then 120 − 8t = 0, so t = 15. The point (15, 0) says the tank is empty after 15 minutes.
Step 5: Find the constraints. Time starts at 0, and the tank can’t hold less than nothing, so the model only makes sense for 0 ≤ t ≤ 15. That is the domain in this situation. The range is 0 ≤ V(t) ≤ 120. The graph is a segment, not a whole line.
Step 6: Check a point inside the domain. After 5 minutes the tank has lost 5 × 8 = 40 gallons, and V(5) = 120 − 40 = 80 gallons.
- V(t) = 120 − 8t
V(t) = 120 − 8t, for 0 ≤ t ≤ 15
05 · Build understanding
Three mistakes to watch for
Mixing up the intercepts. For 3x + 4y = 24, setting x = 0 gives y = 6. Setting x = 0 puts you on the y-axis, so this is the y-intercept (0, 6). It is not the point (6, 0).
Reading the slope straight off standard form. The slope of 3x + 4y = 24 is not 3, and it is not 3/4. Solve for y first, or use two points. Either way the slope is −3/4.
Forgetting the situation. As an equation, V = 120 − 8t accepts any value of t. As a model of the tank, t = 20 gives −40 gallons, which can’t happen. Ask which inputs make sense before you state the domain and range.
Apply and explain
Your turn
A phone shows 90 percent battery and loses 6 percent each hour while streaming. Write a function for the battery level after t hours. Then explain what each intercept means and which domain makes sense.
Use paper or explain your thinking aloud before opening the solution.
Check your reasoning
The function is B(t) = 90 − 6t. The vertical intercept (0, 90) is the battery level when streaming starts. Setting 90 − 6t = 0 gives t = 15, so the horizontal intercept (15, 0) is the moment the battery is empty. The rate of change, −6, is the percent lost each hour. Time can’t be negative and the level can’t drop below 0, so the domain is 0 ≤ t ≤ 15 and the range is 0 ≤ B(t) ≤ 90.
- Writes B(t) = 90 − 6t or an equivalent function.
- Interprets (0, 90) as the starting level and (15, 0) as the time the battery is empty.
- States the domain 0 ≤ t ≤ 15 and explains it from the situation.
Ready to practice?
Try the questions, get feedback, and review your reasoning.
Graph linear functions and read key features: practice →