Slope-Intercept Form
What is the Slope-Intercept Form?
Slope-intercept form immediately tells you two key facts about a line just by reading its equation: how steep it is (m) and where it crosses the y-axis (b). That makes it the most convenient form for graphing a line quickly.
If you're instead given two points on the line rather than m and b directly, find the slope first with m = (yโ โ yโ) / (xโ โ xโ), then substitute one point into y = mx + b to solve for b.
What Each Variable Means
When to Use It
- Graphing a line quickly from its equation
- Writing the equation of a line when the slope and y-intercept are known or easy to find
- Comparing two lines' steepness or predicting where they'll cross the y-axis
Step-by-Step Example
Problem: A line has slope 2 and y-intercept โ3. Write its equation and find y when x = 4.
Read the slope and y-intercept from the problem.
m = 2, b = -3Substitute m and b into y = mx + b.
y = 2x - 3Plug in the given x value.
y = 2(4) - 3 = 8 - 3Interactive Calculator
Common Mistakes
Mistake: Confusing the slope and y-intercept when reading an equation.
Fix: In y = mx + b, m is always the coefficient of x (the slope), and b is the standalone constant (the y-intercept) โ the order never changes.
Mistake: Forgetting the sign of a negative y-intercept.
Fix: y = mx + b with b = -3 must be written as y = mx โ 3, not y = mx + 3.
Practice Questions
Write the equation of a line with slope โ1 and y-intercept 5, then find y when x = 2.
A line passes through (0, 4) and (2, 8). Find its slope-intercept equation.
Hint: The y-intercept is given directly by the point (0, 4); find the slope from the two points first.
Frequently Asked Questions
What if the line is vertical?
A vertical line (x = constant) has an undefined slope and cannot be written in slope-intercept form at all โ it isn't a function of x.
How do I find the slope from two points?
m = (yโ โ yโ) / (xโ โ xโ). Once you have m, substitute either point into y = mx + b and solve for b.
Related Formulas
Distance Formula
Calculates the straight-line distance between two points on a coordinate plane.
Learn more โMidpoint Formula
Finds the exact point halfway between two coordinates by averaging their x- and y-values.
Learn more โ