Gradients of intervals and lines
The gradient formula, parallel and perpendicular gradients, testing for collinear points, and the angle of inclination m = tan θ.
Gradient measures steepness. It is the most important idea in this chapter, because in calculus the derivative is just the gradient of a curve at a point. Get comfortable with it here.
The gradient formula
Gradient is rise over run: how far you go up for each step you go across. Moving from $P(x_1, y_1)$ to $Q(x_2, y_2)$, the rise is $y_2 - y_1$ and the run is $x_2 - x_1$.
- Positive gradient: the line goes up as you move right. Negative: it goes down.
- Horizontal: the rise is always $0$, so $m = 0$.
- Vertical: the run is always $0$, and you can't divide by zero, so a vertical line has no gradient (it is undefined, not zero).
Why does a line have one gradient, whichever two points you pick? Any two rise–run triangles on the same line are similar (they have the same angles), so the ratio rise : run is the same in every one.
The angle of inclination
The angle of inclination $\theta$ is the angle the line makes with the positive direction of the $x$-axis, measured anticlockwise, with $0^\circ \le \theta \lt 180^\circ$. Draw a rise–run triangle with the run along the $x$-axis: the rise is opposite $\theta$ and the run is adjacent, so rise over run is $\tan\theta$.
Acute angles give positive gradients. Obtuse angles give negative gradients, because $\tan$ is negative in the second quadrant.
Acute angles give positive gradients. Obtuse angles give negative gradients.
Predict first, then check: which angle gives gradient $1$? Which gives gradient $-1$? What happens to the gradient as $\theta$ gets close to $90^\circ$ from either side?
Find the angle of inclination of the line through $A(4, 1)$ and $B(-2, 4)$, to the nearest degree.
Parallel lines and collinear points
Parallel lines have the same steepness, so two non-vertical lines are parallel exactly when $m_1 = m_2$.
Three points $A$, $B$, $C$ are collinear (on one line) when $AB$ and $BC$ have the same gradient. Equal gradients alone would only make them parallel. It is the shared point $B$ that forces them onto the same line.
Perpendicular lines
Show that the triangle with vertices $P(-2, 1)$, $Q(2, 3)$ and $R(3, 1)$ is right-angled.
Your turn
The line through $A(1, -2)$ and $B(4, k)$ is perpendicular to a line with gradient $-3$. Find $k$.
Show the working
The perpendicular gradient is $\tfrac13$. So $\dfrac{k - (-2)}{4 - 1} = \dfrac13$, which gives $k + 2 = 1$ and $k = -1$.
Find the gradient of the line through $(-2, 5)$ and $(4, 2)$. Give a decimal.
$\dfrac{2 - 5}{4 - (-2)} = \dfrac{-3}{6} = -0.5$.
A line perpendicular to one with gradient $4$ has gradient:
Negative reciprocal: flip $4$ to $\tfrac14$ and change the sign. Check: $4 \times \left(-\tfrac14\right) = -1$.
A line has gradient $\sqrt3$. Find its angle of inclination in degrees.
$\tan\theta = \sqrt3$, and $\tan 60^\circ = \sqrt3$, so $\theta = 60^\circ$.
A line has angle of inclination $135^\circ$. Its gradient is:
$\tan 135^\circ = -\tan 45^\circ = -1$. Obtuse angles give negative gradients.
The line through $(1, 2)$ and $(3, k)$ is parallel to $y = 2x + 5$. Find $k$.
Parallel means the gradient is $2$: $\dfrac{k - 2}{3 - 1} = 2$, so $k - 2 = 4$ and $k = 6$.
The points $(0, 1)$, $(2, 4)$ and $(4, k)$ are collinear. Find $k$.
The first two give gradient $\dfrac{4 - 1}{2 - 0} = \dfrac32$. The second pair must match: $\dfrac{k - 4}{4 - 2} = \dfrac32$, so $k - 4 = 3$ and $k = 7$.
Find the angle of inclination of a line with gradient $-\tfrac12$, to the nearest degree.
$\tan^{-1}\tfrac12 \approx 26.6^\circ$. The gradient is negative, so the angle is obtuse: $180^\circ - 26.6^\circ \approx 153^\circ$.
The triangle $A(-1, 0)$, $B(3, 2)$, $C(4, 0)$ is right-angled. At which vertex is the right angle?
$m_{AB} = \dfrac{2}{4} = \dfrac12$ and $m_{BC} = \dfrac{0 - 2}{4 - 3} = -2$. Their product is $-1$, so $AB \perp BC$ and the right angle is at $B$.
A line passes through $A(-2, 4)$ and $B(1, k)$, and is perpendicular to a line with gradient $-3$. Find $k$.
The perpendicular gradient is $\tfrac13$. So $\dfrac{k - 4}{1 - (-2)} = \dfrac13$, giving $k - 4 = 1$ and $k = 5$.
Exam style: $P(k, 1)$, $Q(-2, -3)$, $R(2, 3)$ and $S(1, k)$ are such that $PQ \parallel RS$. Find both values of $k$, separated by &.
$m_{PQ} = \dfrac{1 - (-3)}{k - (-2)} = \dfrac{4}{k + 2}$ and $m_{RS} = \dfrac{k - 3}{1 - 2} = 3 - k$. Setting them equal: $4 = (3 - k)(k + 2) = -k^2 + k + 6$, so $k^2 - k - 2 = 0$, which is $(k - 2)(k + 1) = 0$. So $k = 2$ or $k = -1$.
Coaching Centre