4.4
2,100+ reviews on G2
The slope of a line is the ratio of its vertical change to its horizontal change, rise over run, written m. With two points on the line you need four things:

(x₁, y₁) and (x₂, y₂), anywhere on the line.
y₂ − y₁, the change in y.
x₂ − x₁, the change in x.
m = rise ÷ run. Simplify the fraction.
Do your homework in Evernote. The AI Assistant explains any problem you photograph, step by step.
Call one point (x₁, y₁) and the other (x₂, y₂). It does not matter which is first, as long as you keep the order the same in both subtractions.
Subtract the y-values: y₂ − y₁.
Subtract the x-values in the same order: x₂ − x₁.
m = (y₂ − y₁) ÷ (x₂ − x₁). Reduce the fraction. A positive slope rises from left to right; a negative one falls.
From one point, move up by the rise and right by the run: you should land on the other point. In y = mx + b, the slope is the number in front of x.
Find the slope of the line through (2, 3) and (6, 11).
m = 2, and the line is y = 2x − 1
Swapping the points gives the same answer: (3 − 11) ÷ (2 − 6) = −8 ÷ −4 = 2.
The sign of the slope tells you which way the line goes, before you draw it.
| Slope | The line | Example |
|---|---|---|
| Positive | Rises from left to right | y = 2x − 1, m = 2 |
| Negative | Falls from left to right | y = −3x + 4, m = −3 |
| Zero | Horizontal: y = a number | y = 5, m = 0 |
| Undefined | Vertical: x = a number, the run is 0 | x = −2, no slope |
OpenStax Elementary Algebra 2e, section 4.4 "Understand Slope of a Line", and Intermediate Algebra 2e, section 3.2.
4.4
2,100+ reviews on G2
4.4
8,200+ reviews on Capterra
4.4
73,000+ reviews on App Store
248M
Registered users
m = (y₂ − y₁) ÷ (x₂ − x₁): the change in y divided by the change in x between two points on the line.
Pick two points where the line crosses grid corners. Count the rise (up is positive, down negative) and the run (right is positive), then divide rise by run.
Solve for y to get y = mx + b. The slope is m, the number in front of x. In 2x + 3y = 6, y = −(2/3)x + 2, so m = −2/3.
Zero. The y-value never changes, so the rise is 0.
Undefined. The x-value never changes, so the run is 0, and you cannot divide by 0.
A rate of change. If a graph shows cost against hours and the slope is 15, the cost goes up $15 for every hour.
Parallel lines have the same slope. Perpendicular lines have slopes that are negative reciprocals, like 2 and −1/2, as long as neither line is vertical.
Keep a Math notebook with your algebra formula sheet and a note for each problem you photograph.
Ask the AI Assistant to add the slope formula to your algebra formula sheet, with one worked example. It writes the formula in a formula block, so it reads like the textbook.
Add a photo of your algebra problem, such as the line through (2, 3) and (6, 11), and ask the Assistant to explain it step by step. It reads the photo and adds the steps under it.
Ask the Assistant for a repeating practice task, such as 10 slope problems every Tuesday and Thursday until the test. You get a reminder each time.
Build a formula sheet, photograph a problem for a step-by-step explanation, and practice on a schedule before the test.
Start for free