P1.2 - Coordinate geometry in the (x, y) plane
- Syllabus
- 2019
- Topic
- P1.2
- Level
- AS
m=x2−x1y2−y1,y−y1=m(x−x1),ax+by+c=0
A straight line has constant gradient m. Two points determine that gradient when x2=x1; substituting either point into y−y1=m(x−x1) then fixes the unique line. Expand and collect terms only if a requested form such as ax+by+c=0 is needed.
| Required line | Gradient to use |
|---|---|
| through two points | m=(y2−y1)/(x2−x1) |
| parallel through a point | the given line's gradient |
| perpendicular through a point | the negative reciprocal of the given gradient |
For the line perpendicular to 3x+4y=18 through (2,3), first write the given line as y=−43x+29. Its perpendicular gradient is 34, so the required equation is y−3=34(x−2). Equivalently, 4x−3y+1=0. Substituting (2,3) checks the point lies on it.
The gradient formula is undefined when x2=x1; that line is vertical and has equation x=x1. Do not take a negative reciprocal when constructing a parallel line, and do not lose the given point while changing equation form.
Gradient records a line's direction. Lines with the same direction are parallel; a quarter-turn changes a non-zero finite gradient to its negative reciprocal.
| Relationship | Condition for non-vertical lines |
|---|---|
| parallel | m1=m2 |
| perpendicular | m1m2=−1, equivalently m2=−1/m1 |
A line through P(−3,7) and Q(9,11) has gradient 9−(−3)11−7=31. A line through Q(9,11) and R(12,2) has gradient 12−92−11=−3. Their product is −1, so the lines are perpendicular and ∠PQR=90∘.
For parallel lines, equal gradients establish equal direction. To show they are distinct rather than the same line, compare their intercepts or test whether a point on one lies on the other.
The product rule applies only when both gradients are defined. Vertical lines x=a are parallel to other vertical lines and perpendicular to horizontal lines y=b. Opposite signs alone do not prove perpendicularity; the magnitudes must also be reciprocal.