Straight-Line Graphs
Plotting, gradient, intercept and the equation y = mx + c β AQA spec A8, A9, A10
Every straight line can be written in the form:
where is the gradient (steepness) and is the -intercept (where the line crosses the -axis).
Calculating gradient:
A positive gradient slopes upward left-to-right; a negative gradient slopes downward.
Finding the equation from two points:
Through and :
Substitute into : , so .
Parallel and perpendicular lines:
- Parallel lines have equal gradients.
- Perpendicular lines have gradients that are negative reciprocals: .
Rearrange to first β never read off or from other forms
A horizontal line has , equation ; a vertical line has undefined gradient, equation
Perpendicular to has gradient
Common pitfall
When picking two points to calculate gradient, make sure they are clearly on the line and as far apart as possible to minimise reading errors. Always divide rise by run, not run by rise.