A linear equation represents a straight-line relationship. The key idea is that the rate of change is constant: every time increases by some amount, changes by the same amount.
The gradient is constant
The gradient tells us how steep the line is. A positive gradient rises from left to right, while a negative gradient falls.
If we know two points on a line, we can calculate the gradient using their coordinates.
Finding gradient from two points
For example, using and :
The most common form of a straight-line equation is gradient-intercept form.
The equation of a line
Here, is the gradient and is the y-intercept.
This line has gradient and y-intercept .
Once we know the gradient and one point on a line, we can find the full equation.
Finding the full equation
Suppose a line has gradient and passes through .
Parallel and perpendicular lines are controlled by their gradients.
Parallel lines
Parallel lines have the same gradient but different intercepts.
Example
Perpendicular lines
Perpendicular lines meet at a right angle. Their gradients are negative reciprocals, meaning they multiply to .
This is useful because knowing the gradient of one line allows us to find the gradient of the other. If we know , we use the equation to find .
Parallel versus perpendicular lines
Use the picture to connect the visual idea with the gradient rule.
Common mistakes
- Mixing up and when using the gradient formula.
- Thinking is the x-intercept instead of the y-intercept.
- Saying perpendicular lines have opposite gradients. They must be negative reciprocals.
- Finding the gradient but forgetting to find .
Worked walkthrough