Let us first define the distanced between two points A and B whose coordinates are respectively a and b on a number line as
d=|a−b|=|b−a|
Fig.1 - Distance Between Points on the Number Line Note that because of the absolute value, the distance between points is always positive or equal to zero.
We now review the Pythagorean theorem: given a right triangle, as shown in figure 2 below, the hypotenuse (side opposite the right angle) and the two sides are related by:
h2=x2+y2orh=√x2+y2 Fig.2 - The Pythagorean Theorem
We now use the distance between points on a number line and the Pythagorean theorem to the right triangle in figure 3 to write the formula for the distance between any two points on a plane.
Given two points A=(ax,ay) and B=(bx,by), the formula that gives the distance d between the two points A and B, or the length of the line segment AB, is given by
d=√(bx−ax)2+(by−ay)2(I) Fig.3 - Distance Between two Points on a Plane Note that |bx−ax|2=(bx−ax)2 and |by−ay|2=(by−ay)2
Example
Find the distance d between the points A=(3,2) and B=(−3,−6) Solution
According to the formula (I), the distance d is given by
d=√(−3−3)2+(−6−2)2=√(−6)2+(−8)2=√36+64=√100=10
Midpoint Definition and Formula
The midpointM of the line segment AB is the point on the line segment AB such that the lengths of the segments MA and MB are equal. (See figure 4 below).
Given two points A=(ax,ay) and B=(bx,by), the formula that give the coordinates of the midpoint M of the segment AB is given by
M=(ax+bx2,ay+by2)(II) Note that the x and y coordinates of M are given by the average of the x and y coordinates of the points A and B respectively.
Fig.4 - Midpoint Example
Find the midpoint of the line segment AB given that A=(5,2) and B=(−7,−10) Solution
According to the formula (II), the coordinates of the midpoint M are given by
M=(5+(−7)2,2+(−10)2)=(−22,−82)=(−1,−4)
Questions
Part A
Find the distance between each pair of points in the number lines shown below.
Part B
Find the distance between the given pair of points.
A=(0,0),B=(−4,3)
C=(−2,−2),D=(6,4)
E=(4,7),F=(−4,7)
Part C
Find the midpoint between the segments defined by pair of points.
A=(−8,0),B=(−4,4)
C=(−3,−4),D=(8,3)
E=(4,7),F=(−4,7)
Part D
Given the points A=(x0,y0) and B=(−4,8). Find the coordinates of point A if the midpoint of the segment AB is the point M=(−2,0).
Part E
Given the points A=(3x0,−y0) and B=(x0,4y0). Find the coordinates of A and B if the midpoint of the segment AB is the point M=(2,6).
Part F
Find the midpoint M of the segment defined by the points A=(−4,1) and B=(2,5)
Find the lengths of the segments MA and MB. Are they equal?
Find the length of the line segment AB
Show that the length of the line segment MA is half the length of the line segment AB.
The coordinate of point A is equal to −2 and the coordinate of point B is equal to 9; hence the distance d1 between A and B is given by
d1=|−2−9|=|−11|=11 or d1=|9−(−2)|=|11|=11
The coordinate of point C is equal to −8 and the coordinate of point D is equal to −3; hence the distance d2 between C and D is given by
d2=|−8−(−3)|=|−8+3|=|−5|=5 or d2=|−3−(−8)|=|−3+8|=|5|=5
The coordinate of point E is equal to 3 and the coordinate of point F is equal to 10; hence the distance d3 between E and F is given by
d3=|3−10|=|−7|=7 or d=|10−3|=|7|=7
Given the points A=(x0,y0) and B=(−4,8),
the use of the formula of the midpoint M of AB gives: M=(x0+(−4)2,y0+82)
The coordinates of the midpoint are given as (−2,0)
We write that the coordinates of the midpoint are equal and therefore obtain the equations: x0+(−4)2=−2 (I) and y0+82=0 (II)
Multiply both sides of equation (I) above by 2: 2×x0+(−4)2=2×(−2)
Simplify: x0−4=−4
Solve for x0 to obtain x0=0
Multiply both sides of equation (II) above by 2:2×y0+82=2×(0)
Simplify: y0+8=0
Solve for y0 to obtain y0=−8
Since of A=(x0,y0), the coordinates of A are given by: A=(0,−8)
Part E
Given the points A=(3x0,−y0) and B=(x0,4y0),
the midpoint formula gives: M=(3x0+x02,−y0+4y02)
Group like terms in the above to obtain: M=(4x02,3y02)
The coordinates of the midpoint M are known as (2,6)
Hence the equality of the coordinates gives the equations: 4x02=2 (I) and 3y02=6 (II)
Multiply both sides of equation (I) above by 2: 2×4x02=2×2
Simplify: 4x0=4
Solve for x0 to obtain x0=1
Multiply both sides of equation (II) above by 2:2×3y02=2×6
Simplify: 3y0=12
Solve for y0 to obtain y0=4
Since of A=(3x0,−y0), the coordinates of A are given by: A=(3,−4)
The coordinates of B=(x0,4y0) are given by: B=(1,16)
Part F
Use the midpoint formula: M=(−4+22,1+52)=(−1,3)
The length of a line segment whose endpoints are A and B is equal to the distance between A and B whose formula is given above.
The length of segment MA is given by the distance formula: d(MA)=√(−4−(−1))2+(1−3)2=√(−3)2+(−2)2=√9+4=√13
The length of segment MB is given by: d(MB)=√(2−(−1))2+(5−3)2=√(3)2+(2)2=√9+4=√13
The lengths d(MA) and d(MB) of the segments MA and MB respectively are equal as expected because of the definition of the midpoint given above.
The length d(AB) is given by: d(AB)=√(2−(−4))2+(5−1)2=√62+42=√52=√4×13=2√13
12×d(AB)=12×2√13=√13=d(MA).
Again the above is expected from the definition of the midpoint given above.