The slope of the line through (x1,y1) and (x2,y2) is
m=x2−x1y2−y1
Parallel lines: m1=m2.
Perpendicular lines: m1m2=−1.
Forms of the equation
Form
Equation
point-slope
y−y1=m(x−x1)
two-point
x−x1y−y1=x2−x1y2−y1
slope-intercept
y=mx+c
general form
Ax+By+C=0
From the general form Ax+By+C=0:
slope=−BA,x-intercept=−AC,y-intercept=−BC
Common mistake: the slope of 3x−4y+12=0 is −−43=43. Watch the two minus signs.
Distance, mid-point and point of division
For A(x1,y1) and B(x2,y2):
Distance AB=(x2−x1)2+(y2−y1)2
Mid-point =(2x1+x2,2y1+y2)
P divides AB internally in the ratio r:s:
P=(r+ssx1+rx2,r+ssy1+ry2)
Note the cross-over: s goes with A and r goes with B.
Intersection of two lines
Solve the two equations simultaneously.
Locus
A locus is the path traced by a moving point P that satisfies a condition:
Condition on P
Locus
A fixed distance r from a point C
A circle with centre C and radius r
Equidistant from two points A and B
The perpendicular bisector of AB
Equidistant from two parallel lines
A line parallel to both, midway between them
Equidistant from two intersecting lines
The pair of angle bisectors
To find the equation, let P=(x,y), write the condition with the distance formula, then simplify.
Perpendicular bisector
The perpendicular bisector of AB passes through the mid-point of AB and has slope −mAB1. Every point on it is equidistant from A and B.
Exam tip: give the final answer in general form Ax+By+C=0 with integer coefficients unless the question asks otherwise.
In the DSE exam
Syllabus scope
You need: slope, parallel and perpendicular lines, the equations of a straight line, intercepts, intersection of two lines, distance and mid-point formulas, the point of internal division, and loci (describing a locus and finding its equation).
How it is tested
Paper 1 Sections A(2) and B: "Find the equation of L", "P is a moving point such that P is equidistant from A and B. Denote the locus of P by Γ. Describe the geometric relationship between Γ and AB, and find the equation of Γ."
Paper 2 MC: slope and intercepts from a general-form equation; which graph represents ax+by+c=0 given the signs of a, b, c.
How to answer
Give the equation in general form Ax+By+C=0 unless told otherwise.
Describe loci in words, e.g. Γ is the perpendicular bisector of AB.