Every straight line can be written in the form y = m𝑥 + c, where:
m = the gradient (how steep the line is)
c = the y-intercept (where it crosses the y-axis)
The gradient measures the rate of change — how much y changes for each unit increase in 𝑥.
Gradient from two points: m = (y2 − y1) / (𝑥2 − 𝑥1)
This is often described as 'rise over run'.
Two lines are parallel if they have the same gradient. (Perpendicular lines are covered in 'Parallel & Perpendicular Lines'.)
To find the equation of a line, you need:
The gradient AND one point, OR
Two points (find the gradient first, then use one point)