Introduction
A straight line on a Cartesian plane can be described using its slope and an equation.
Concept
Slope measures the change in y divided by the change in x. The slope-intercept form is y = mx + c.
Mnemonic
Slope is rise over run: vertical change over horizontal change.
Explanation
A positive slope rises from left to right, a negative slope falls, a zero slope is horizontal, and an undefined slope describes a vertical line. The slope-intercept equation uses m for slope and c for the y-intercept.
Step By Step
Identify two distinct points on the line.
Calculate the difference in their y-coordinates.
Calculate the difference in their x-coordinates.
Divide vertical change by horizontal change.
Substitute the slope and a known point into a suitable line equation.
Simplify and check the equation.
Examples
| Problem | Solution | Result |
|---|---|---|
Find the slope through (1, 2) and (3, 6). | m = (6 − 2)/(3 − 1) = 4/2. | 2 |
Find the equation of a line with slope 3 and y-intercept 2. | Use y = mx + c. | y = 3x + 2 |
Identify the slope of the line x = 5. | The line is vertical, so its slope is undefined. | Undefined |
Limitations
The slope formula requires different x-coordinates. Vertical lines have undefined slope and cannot be expressed in slope-intercept form.
Common Mistakes
Reversing rise and run.
Calling a vertical line's slope zero.
Confusing the slope with the y-intercept.
Practice
Find the slope through (2, 3) and (5, 9).
Write the equation of a line with slope 4 and y-intercept −2.
Explain why horizontal lines have zero slope.