The slope (gradient) of a non-vertical line through (x₁, y₁) and (x₂, y₂) is m = (y₂ − y₁)/(x₂ − x₁), the 'rise over run'. A positive slope means the line rises to the right, a negative slope means it falls, a zero slope gives a horizontal line, and a vertical line has undefined slope. The slope can also be written as m = tan θ, where θ is the angle the line makes with the positive x-axis.
Key terms
- Slope (gradient)
- rise divided by run
- y-intercept
- where the line crosses the y-axis
- x-intercept
- where the line crosses the x-axis
- Point–slope form
- y − y₁ = m(x − x₁)
- General form
- Ax + By + C = 0
- Inclination
- angle θ with the positive x-axis, m = tan θ
Key formulas
Summary
- Slope m = rise/run = tan θ.
- Point–slope, slope–intercept, intercept and general forms describe lines.
- Vertical lines: x = k; horizontal lines: y = k.
In everyday life: Road signs warning of a 10% gradient on mountain roads such as the descent into the Abay gorge describe a slope of 0.1: 10 m rise for every 100 m horizontally.
Try it in a virtual lab
Check yourself
- Find the slope through (−1, 4) and (3, −4).
- Write the line with slope −2 through (1, 5).
- Find the x-intercept of y = 3x − 12.
Practice questions
1. What is the slope of the line 2x + 4y − 8 = 0?
Show answer
Answer: -0.5
Solve for y: y = −½x + 2, so the slope is −½ = −0.5.
On WeLearn
The full lesson: reading notes, worked examples, class activities and the Unit 7 quiz
Study Equation of a Line on WeLearnTeach Equation of a Line with WeLearn
We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.


