How can I sketch a straight-line function from its slope and intercept?
Quick answer
For a function in the form y = mx + b, plot the y-intercept at (0, b). Then use the slope m as rise over run: move vertically by its numerator and horizontally by its denominator to locate another point. Plot a second point and draw a straight line through both. For a negative slope, the vertical move goes down when you move right. [S1]
The question, the details, the next step.
A practical checklist
Write the equation in the form y = mx + b.
Plot the y-intercept at (0, b).
Express the slope as rise over run, keeping track of its sign.
Use the slope step to plot another point; repeat if useful.
Draw a straight line through the points and check the direction.
A few more useful answers
Can I move left instead of right when using the slope?
Yes. Reverse both parts of the step: for a slope of −2/3, move left 3 and up 2 instead of right 3 and down 2. Both moves follow the same line.
What if the slope is a whole number, like 4?
Treat 4 as 4/1: move up 4 and right 1 for a positive slope, or use the corresponding opposite vertical direction for a negative slope.
Do I need to plot more than two points?
Two points determine the line to draw in this plotting method. A third point can help you check that you followed the same rise-and-run step consistently.
Sources
References used for this guide.
- [S1] OpenStax Precalculus: Graphing Linear Functions Using Intercept and Slope openstax.org · Checked
