The Distance Between two Points
The length of the line joining the points (x1, y1) and (x2, y2) is:
Find the distance between the points (5, 3) and (1, 4).
(So in this case, x2 = 1, x1 = 5, y2 = 4 and y1 = 3).
Distance = Ö[(1 - 5)2 + (4 - 3)2]
= Ö[16 + 1] = Ö17
The Midpoint of a Line Joining Two Points
The midpoint of the line joining the points (x1, y1) and (x2, y2) is:
- [½(x1 + x2), ½(y1 + y2)]
Find the coordinates of the midpoint of the line joining (1, 2) and (3, 1).
Midpoint = [½(3 + 1), ½(2 + 1)] = (2, 1.5)
The Gradient of a Line Joining Two Points
The gradient of the line joining the points (x1, y1) and (x2, y2) is:
y2 - y1
x2 - x1
Find the gradient of the line joining the points (5, 3) and (1, 4).
Gradient = 4 - 3 = 1 = -0.25
1 - 5 -4
Parallel and Perpendicular Lines
If two lines are parallel, then they have the same gradient.
If two lines are perpendicular, then the product of the gradients of the two lines is -1.
a) y = 2x + 1
b) y = -½ x + 2
c) ½y = x - 3
The gradients of the lines are 2, -½ and 2 respectively. Therefore (a) and (b) and perpendicular, (b) and (c) are perpendicular and (a) and (c) are parallel.
The Equation of a Line Using One Point and the Gra
The equation of a line which has gradient m and which passes through the point (x1, y1) is:
- y - y1 = m(x - x1)
Find the equation of the line with gradient 2 passing through (1, 4).
y - 4 = 2(x - 1)
y - 4 = 2x - 2
y = 2x + 2
Since m = y2 - y1
x2 - x1
The equation of a line passing through (x1, y1) and (x2, y2) can be written as:
y - y1 = y2 - y1
x - x1 x2 - x1