The gradient measures vertical change per unit of horizontal change. For distinct points \(A{\left(x_1,y_1\right)}\) and \(B{\left(x_2,y_2\right)}\) with \(x_1\ne x_2\), \(m=\dfrac{y_2-y_1}{x_2-x_1}\). Similar right-angled triangles drawn on the same straight line have the same ratio of vertical to horizontal change, so any two points give the same gradient.
Reversing both point orders changes the signs of both differences: \(\dfrac{y_1-y_2}{x_1-x_2}=\dfrac{-(y_2-y_1)}{-(x_2-x_1)}=\dfrac{y_2-y_1}{x_2-x_1}\).
Rising line: positive gradient
For \(A{\left(-7,4\right)}\), \(B{\left(5,13\right)}\), \(m=\dfrac{13-4}{5-(-7)}=\dfrac9{12}=\dfrac34\). As \(x\) increases, \(y\) increases.
Falling line: negative gradient
For \(C{\left(-12,23\right)}\), \(D{\left(-4,13\right)}\), \(m=\dfrac{13-23}{-4-(-12)}=\dfrac{-10}{8}=-\dfrac54\). As \(x\) increases, \(y\) decreases.
Horizontal line: zero gradient
For \(E{\left(-9,-8\right)}\), \(F{\left(-1,-8\right)}\), \(m=\dfrac{-8-(-8)}{-1-(-9)}=\dfrac08=0\). There is no vertical change.
Vertical line: undefined gradient
For \(G{\left(10,-7\right)}\), \(H{\left(10,2\right)}\), the vertical change is 9 and the horizontal change is 0. Division by zero is undefined, so the line has no defined gradient.
An unknown coordinate from a gradient
Write the coordinate differences in the gradient formula, state any forbidden zero denominator, cross-multiply, then solve. Check the result in the original ratio.
Example: the line through \(\left(-8,4\right)\) and \(\left(k,-5\right)\) has gradient \(-\dfrac37\). Here \(k\ne-8\).
\(\dfrac{-5-4}{k-(-8)}\)\({}=-\dfrac37\)\(-63\)\({}=-3(k+8)\)\(k\)\({}=13\)
Check: \(\dfrac{-9}{13+8}=-\dfrac37\). The line falls from left to right, as its negative gradient requires.
\(\dfrac{y_2-y_1}{x_1-x_2}\) mixes the subtraction orders and reverses the gradient's sign. Use one point order for both changes.
A vertical line does not have gradient 0: its horizontal change is 0 and division is undefined. Gradient 0 belongs to a horizontal line.
680+ questions here come with free worked solutions. A free account saves your questions and progress; this one needs a course plan.
Create a free account to practise similar questions.
Need help? Join our E-Maths tuition for the SEC, the exam that replaces the O-Levels.
Learn more