Start at the y-intercept and walk the slope
Quick review (2 minutes)
Picture walking along a ramp drawn on a map.
Rule: In y = mx + b, the y-intercept is (0, b) and m = = , with ≠ .
1. Read b, then substitute 0 to verify the point (0, b).
2. Read m. Write a whole-number slope over 1.
3. Choose signed rise and run whose quotient is m.
4. Start at (0, b), move by that run and rise, and repeat.
5. Draw the line through the points. Check one point by substitution.
Identify the y-intercept (0, b).
Turn m into a signed rise divided by a signed run.
Walk that change at least twice.
Check the plotted outputs in the original equation.
Graph the line y = −x + 6 by starting at its y-intercept and walking the slope. State the y-intercept, give a signed rise and run that match the slope, find two more points to the right of the y-axis and one point to the left of it, then draw the line and check one of your points by substitution.
The y-intercept is (0, 6). With rise −3 and run 2, the walk lands on (2, 3) and (4, 0); with rise 3 and run −2 it lands on (−2, 9). The graph is the straight line through these points. It falls 3 units for every 2 units to the right and crosses the x-axis at (4, 0).
Reading − as down 3 and right 2. The top is rise, the bottom is run. Write the two movements beside the fraction before plotting.
linear function
A rule of the form f(x) = mx + b, with fixed numbers m and b. Its graph is a straight nonvertical line, and equal input changes give equal output changes.
graph
A picture of number pairs. Each plotted point places its first number horizontally and its second number vertically. A function's graph shows its inputs and corresponding outputs.
input
The number you put into a function's rule. It appears inside the function's parentheses and is usually the horizontal coordinate x on its graph.
output
The number a function gives after using its input. It is written f(x), and it is the vertical coordinate y when the function is graphed.
x-axis
The horizontal number line on a coordinate graph. Every point on it has y = 0. Positive x goes right and negative x goes left.
y-axis
The vertical number line on a coordinate graph. Every point on it has x = 0. Positive y goes up and negative y goes down.
y-intercept
Where a graph meets the y-axis. Its input is x = 0. For y = mx + b, the intercept value is b and the intercept point is (0, b).
initial value
The output when the input is 0. In a linear function f(x) = mx + b, it is b. It describes the amount present before input-dependent change begins.
slope
A line's signed vertical change divided by its signed horizontal change. It tells the output change per input unit. A vertical line has no defined slope because its horizontal change is 0.
rate of change
How much an output changes for each unit of input change. For a linear function it is constant and equals the slope. Its units are output units per input unit.
rise
The signed vertical change between two points, − . An upward move has positive rise, and a downward move has negative rise.
run
The signed horizontal change between two points, − . A rightward move has positive run, and a leftward move has negative run.
function
A rule assigning exactly one output to each allowed input. Different inputs may share an output, but one input cannot receive two different outputs.
domain
The collection of allowed inputs for a function. A formula may accept every real input while a practical situation permits only meaningful quantities.
coefficient
The number multiplying a variable. In a linear function's slope-intercept form, the coefficient of the input variable is its slope.
fraction
One number divided by another nonzero number, written with a top and bottom. It can describe part of a whole, a quotient or a comparison.
ratio
A comparison made by division. Slope compares vertical change with horizontal change as the ratio rise divided by run.
equation
A statement that two expressions have equal values. A solution makes the equality true. Adding the same amount to both sides preserves their equality.
vertical displacement
The signed change in vertical position. Between graph points it is the rise, − . Going down produces a negative displacement.
horizontal displacement
The signed change in horizontal position. Between graph points it is the run, − . Going left produces a negative displacement.
product
The answer to multiplication.
term
One piece being added or subtracted in an expression.
quotient
The answer to division.
constant
A fixed number. A constant term has no changing variable attached.
1 In plain words
Picture walking along a ramp drawn on a map. You need a starting address and instructions for each move. The y-intercept is the point where the line meets the upright y-axis. That axis has input 0, so the starting address is (0, b). The slope tells you how the height changes as you move across. Rise is vertical displacement, meaning change in height, negative when you go down. Run is horizontal displacement, meaning change across. A slope of two thirds tells you to go up 2 for every 3 right. A slope of negative two thirds sends you down 2 for every 3 right. Repeating the same move keeps you on the line.
2 Picture it
Reminder
Reminder: Substitution, Reducing fractions, Subtracting a negative, Signs in division, Axis position
- Substitution. At x = 0, 3x + 7 becomes 3 × 0 + 7 = 7.
- Reducing fractions. = because both top and bottom divide by 2.
- Subtracting a negative. 4 − (−2) = 6; removing a backward amount adds a forward amount.
- Signs in division. is negative, while is positive.
- Axis position. A point (0, 5) is on the y-axis because it has no horizontal move.
3 Why
Substitute x = 0 into y = mx + b. The product m × 0 disappears, leaving y = b. This output at input 0 is called the initial value; its graph point is the y-intercept. For two points, subtract their equations: − = m( − ). Divide by their nonzero horizontal change to obtain the slope formula. This explains why the walk is rise divided by run. You may reverse both directions because a negative divided by a negative gives the same slope. Reversing only one changes the slope.
4 The rule
In mx , the y-intercept is (0, b) and , with .
The same idea, five ways
slope is height change for each change across.
A linear function has a constant rate of change and starts at output b when the input is 0.
- y = mx + b
- b = f(0)
A ramp has a fixed climb for each distance forward.
The same idea, other ways
For m = −, start at (0, 5), go right 3 and down 2 to (3, 3). Reverse both moves to go left 3 and up 2 to (−3, 7).
If you pay $2 per mile, three more miles add $6. The rate is = 2. The fixed starting charge is separate from that rate.
For y = 2x + 1, input 0 gives output 1. Moving from input 0 to input 1 changes the output from 1 to 3: a rise of 2 for a run of 1.
The same b is added to both outputs. Subtracting them cancels b, leaving only m times the input change.
− = (m + b) − (m + b)
5 How
- Read b, then substitute 0 to verify the point (0, b).
- Read m. Write a whole-number slope over 1.
- Choose signed rise and run whose quotient is m.
- Start at (0, b), move by that run and rise, and repeat.
- Draw the line through the points. Check one point by substitution.
Graph using one point and the slope
- Identify the y-intercept (0, b).
- Turn m into a signed rise divided by a signed run.
- Walk that change at least twice.
- Check the plotted outputs in the original equation.
6 Worked example
Worked example
Walk a negative fraction slope from the y-intercept
Graph the line y = −x + 6 by starting at its y-intercept and walking the slope. State the y-intercept, give a signed rise and run that match the slope, find two more points to the right of the y-axis and one point to the left of it, then draw the line and check one of your points by substitution.
Show the steps and the answer
- Read b: in the constant term is 6, so . Substitute to verify: . Plot the y-intercept (0, 6).The y-intercept is the point where x = 0. There the term mx is zero, so y = b. Substituting 0 confirms that (0, 6) is on the line before every later step is built on it.
- Read m: the coefficient of x is , so . It is already a fraction, so it needs no rewriting. (Only a whole-number slope needs rewriting: for example, 5 would become .)The slope is , so it has to be seen as a top number over a bottom number before it can be walked. The minus sign in front belongs to m and must not be dropped.
- Put the minus sign on the top number: , so rise and run . On the grid that is 2 units right and 3 units down. The same slope can be written : 2 units left and 3 units up.The rise is the vertical change and the run is the horizontal change, and their quotient must be m. A negative quotient needs exactly one negative part: and both equal −, but = , which would make the line climb.
- Start at (0, 6) and add the run to x and the rise to y: . Repeat from (2, 3): . For a point on the left, return to (0, 6) and use run , rise 3: .For any two points on the line, = m. Each step changes x by the run and y by the rise, so that ratio stays − and every landing point is on the line. A second step gives a third point, which makes the line easier to draw accurately.
- Draw one straight line through , (0, 6), (2, 3) and (4, 0) and extend it past both end points. Check (4, 0) by substitution: , which is its y-coordinate.Two points fix a line, so the other points test the walk: if they were not in one straight row, a step went wrong. Substitution tests a point against the equation itself, not against the walk that produced it.
- The y-intercept is (0, 6). With rise −3 and run 2, the walk lands on (2, 3) and (4, 0)
- with rise 3 and run −2 it lands on (−2, 9). The graph is the straight line through these points. It falls 3 units for every 2 units to the right and crosses the x-axis at (4, 0).
Work to write
- y = −(0) + 6 = 6, so the y-intercept is (0, 6)
- m = − = , so rise = −3 and run = 2
- (0 + 2, 6 − 3) = (2, 3) and (2 + 2, 3 − 3) = (4, 0)
- Line drawn through (−2, 9), (0, 6), (2, 3) and (4, 0)
- Check: −(4) + 6 = −6 + 6 = 0, so (4, 0) is on the line
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 4
A whole-number slope
You need to draw y = x + 2 from one starting point and a one-unit move.
Show the steps and the answer
- At input 0, , so plot (0, 2).This verifies the y-intercept.
- Write the slope 1 as . Go right 1 and up 1 to (1, 3), then to (2, 4).Each move has rise divided by run equal to 1.
Rung 2 of 4
A positive fractional slope
You need to draw y = x − 1 using whole-number movements.
Show the steps and the answer
- At input 0, , so plot .The product with 0 vanishes.
- Use rise 1 and run 2. Move to (2, 0), then (4, 1).The fraction measures the two-unit run, so no fractional coordinate is needed.
Rung 3 of 4
A negative slope
You need to draw y = −x + 4 and keep the downward direction correct.
Show the steps and the answer
- Input 0 gives output 4. Plot (0, 4).This finds the starting point on the y-axis.
- Move right 2 and down 3 to (2, 1), then .The signed quotient is the given slope.
Rung 4 of 4
A negative input
You need a point to the left of the y-axis on f(x) = −x + 5.
Show the steps and the answer
- Start at (0, 5). Reverse the rightward move: go left 3 and up 2.Changing both directions preserves = −.
- The new point is (−3, 7). Substitute −3: .Plugging the found input back in checks that the point is on the original graph.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Memory cue: rise over run. Say the top movement before the bottom movement.
- A downward line from left to right must have negative slope; compare the picture with your sign.
- Each unrestricted linear function has a y-intercept because input 0 is allowed. A context may restrict inputs, so check its stated domain.
7 The trap
Reading − as down 3 and right 2. The top is rise, the bottom is run. Write the two movements beside the fraction before plotting.
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.