Year 1 · Notes: Spatial Sense (Part 1) – Straight Lines
Topic: S.S1 Y1 SPATIAL SENSE
Distance and midpoint, dividing a line in a ratio, gradient, the equation of a line in different forms, parallel and perpendicular lines, the perpendicular distance from a point to a line and the angle between two lines.
Year 1 · Notes: Spatial Sense (Part 1) – Straight Lines
Imagine a map of your town drawn on graph paper: your house at one point, the school at another, the market at a third. Coordinate geometry lets you answer questions about such a map with numbers: how far apart two places are, where the halfway point is, which road is steeper, and whether two roads will ever meet.
IN THIS NOTE
The distance between two points and the midpoint of a line segment.
Dividing a line segment internally or externally in a given ratio.
Gradient and the equation of a straight line in its different forms.
Parallel and perpendicular lines, and the perpendicular bisector.
The perpendicular distance from a point to a line.
The acute angle between two intersecting lines.
1. Distance and midpoint
The distance between \(A(x_1, y_1)\) and \(B(x_2, y_2)\) comes from Pythagoras' theorem: the horizontal gap \(x_2 - x_1\) and the vertical gap \(y_2 - y_1\) are the two short sides of a right-angled triangle, and \(AB\) is the hypotenuse. \[AB = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}.\]
The midpoint is halfway along both gaps, so it is the average of the coordinates: \[M = \left(\frac{x_1 + x_2}{2},\ \frac{y_1 + y_2}{2}\right).\]
WORKED EXAMPLE · Distance and midpoint
For \(A(1, 2)\) and \(B(4, 6)\): \(AB = \sqrt{3^2 + 4^2} = 5\) units, and the midpoint is \((2.5,\ 4)\).
2. Dividing a line in a ratio
A point \(P\) divides \(AB\) internally in the ratio \(m : n\) if it lies between \(A\) and \(B\) with \(AP : PB = m : n\). Its coordinates are a weighted average: \[P = \left(\frac{nx_1 + mx_2}{m + n},\ \frac{ny_1 + my_2}{m + n}\right).\]
It divides \(AB\) externally in the ratio \(m : n\) if it lies on the line beyond \(A\) or \(B\) with \(AP : PB = m : n\): \[P = \left(\frac{mx_2 - nx_1}{m - n},\ \frac{my_2 - ny_1}{m - n}\right).\]
WORKED EXAMPLE · Internal and external division
\(A(1, 2)\), \(B(7, 5)\). Internally in the ratio \(1 : 2\): \(P = \left(\dfrac{2(1) + 1(7)}{3},\ \dfrac{2(2) + 1(5)}{3}\right) = (3, 3)\).
Externally in the ratio \(2 : 1\): \(P = \left(\dfrac{2(7) - 1(1)}{1},\ \dfrac{2(5) - 1(2)}{1}\right) = (13, 8)\).
3. Gradient and the equation of a line
The gradient measures steepness: how much the line rises for each step to the right. \[m = \frac{y_2 - y_1}{x_2 - x_1}.\] A line going up to the right has a positive gradient, one going down has a negative gradient, a horizontal line has gradient 0, and a vertical line has no defined gradient.
Form | Equation | Use it when you know… |
|---|---|---|
Gradient–intercept | \(y = mx + c\) | the gradient \(m\) and the \(y\)-intercept \(c\) |
Point–gradient | \(y - y_1 = m(x - x_1)\) | a point and the gradient |
Two-point | \(\dfrac{y - y_1}{y_2 - y_1} = \dfrac{x - x_1}{x_2 - x_1}\) | two points on the line |
Intercept | \(\dfrac{x}{a} + \dfrac{y}{b} = 1\) | the \(x\)-intercept \(a\) and \(y\)-intercept \(b\) |
General | \(ax + by + c = 0\) | the standard way to write the final answer |
WORKED EXAMPLE · Equations of lines
(a) Through \((2, 3)\) with gradient 4: \(y - 3 = 4(x - 2)\), so \(y = 4x - 5\).
(b) Through \((1, 2)\) and \((3, 8)\): \(m = \dfrac{8 - 2}{3 - 1} = 3\), so \(y - 2 = 3(x - 1)\), \(y = 3x - 1\).
(c) Intercepts 4 on the \(x\)-axis and 3 on the \(y\)-axis: \(\dfrac{x}{4} + \dfrac{y}{3} = 1\), i.e. \(3x + 4y = 12\).
4. Parallel and perpendicular lines
Parallel lines have the same gradient: \(m_1 = m_2\). Perpendicular lines (meeting at \(90^\circ\)) have gradients that multiply to \(-1\): \(m_1 m_2 = -1\), so each is the negative reciprocal of the other. If one line has gradient \(\tfrac{2}{3}\), a perpendicular line has gradient \(-\tfrac{3}{2}\).
WORKED EXAMPLE · A perpendicular line
Find the line through \((1, 1)\) perpendicular to \(2x + 3y = 6\). The given line is \(y = -\tfrac{2}{3}x + 2\), gradient \(-\tfrac{2}{3}\). The new gradient is \(\tfrac{3}{2}\): \(y - 1 = \tfrac{3}{2}(x - 1)\), which gives \(3x - 2y - 1 = 0\).
WORKED EXAMPLE · The perpendicular bisector
The perpendicular bisector of \(A(1, 2)\) and \(B(5, 6)\) passes through the midpoint \((3, 4)\) at right angles to \(AB\). \(AB\) has gradient 1, so the bisector has gradient \(-1\): \(y - 4 = -(x - 3)\), i.e. \(x + y = 7\).
5. The perpendicular distance from a point to a line
The shortest distance from a point to a line is measured along the perpendicular. For the point \((x_0, y_0)\) and the line \(ax + by + c = 0\): \[d = \frac{|ax_0 + by_0 + c|}{\sqrt{a^2 + b^2}}.\]
WORKED EXAMPLE · Shortest distance
Distance from \((3, 4)\) to \(3x + 4y - 5 = 0\): \(d = \dfrac{|9 + 16 - 5|}{\sqrt{9 + 16}} = \dfrac{20}{5} = 4\) units.
6. The angle between two lines
If two lines have gradients \(m_1\) and \(m_2\), the acute angle \(\theta\) between them satisfies \[\tan\theta = \left|\frac{m_1 - m_2}{1 + m_1 m_2}\right|.\]
WORKED EXAMPLE · Angle between lines
\(y = 2x + 1\) and \(y = -x + 3\): \(\tan\theta = \left|\dfrac{2 - (-1)}{1 + (2)(-1)}\right| = |{-3}| = 3\), so \(\theta = \tan^{-1} 3 \approx 71.6^\circ\).
Additional Mathematics
Senior High
More on SPATIAL SENSE
Other resources you can find on TudHub.