For P(x1,y1) and Q(x2,y2), the horizontal and vertical differences are x2−x1 and y2−y1. Pythagoras' theorem gives the distance; take the non-negative square root.
PQ=(x2−x1)2+(y2−y1)2
Distance between two points
PQ=(x2−x1)2+(y2−y1)2=(x1−x2)2+(y1−y2)2
Reversing the order of the points gives the same distance.
Distance from the origin
OP=x2+y2
Set one point equal to the origin (0,0).
Distance between points on one axis
On the x-axis: ∣x2−x1∣;on the y-axis: ∣y2−y1∣
Use the absolute difference of the coordinates that vary.
Finding the distance
Write the points as P(x1,y1) and Q(x2,y2).
Find the differences between corresponding coordinates.
x2−x1,y2−y1
Square the differences, add them, and take the positive square root.
PQ=(x2−x1)2+(y2−y1)2
Worked example
Find the distance between P(4,6) and Q(6,8).
Find the distance between P(4,6) and Q(6,8).
Substitute the coordinate differences into the distance formula.
PQ=(6−4)2+(8−6)2
Square, add, and simplify.
PQ=22+22=8=22
Answer:22 units
⚠ Common mistake
Do not treat a coordinate difference as a distance without considering its sign; square the differences and use the non-negative square root.
Using Distance to Study Points and Figures
Converse of Pythagoras' theorem
If the squares of the two shorter sides add to the square of the longest side, the triangle is right-angled.
a2+b2=c2
Definition
Equidistant point — A point is equidistant from two fixed points when its distances to them are equal; all such points lie on their perpendicular bisector.
Testing a shape or point relationship
Use the distance formula to calculate the required side lengths.
Compare lengths to test equal sides, diagonals, or a collinearity relation.
For a right angle, use the converse of Pythagoras' theorem; for equidistance, set the squared distances equal and simplify.
Practice
Do P(3,2), Q(−2,−3) and R(2,3) form a triangle? If so, classify it.
Hint: Find the three distances, check the triangle inequality, then compare the squared lengths.
Key step: Check whether PQ2+PR2=QR2.
Solution:PQ=50, PR=2, and QR=52. Since PQ+PR>QR and PQ2+PR2=QR2, they form a right triangle, right-angled at P.
Practice
Show that A(1,7), B(4,2), C(−1,−1) and D(−4,4) are the vertices of a square.
Hint: Find all four sides and the diagonals, or use three sides and a right-angle test.
Key step: Show that all sides have length 34 and both diagonals have length 68.
Solution:AB=BC=CD=DA=34 and AC=BD=68; hence ABCD is a square.
Practice
(a) Are A(3,1), B(6,4) and C(8,6) collinear? (b) Find the relation for points equidistant from (7,1) and (3,5). (c) Find the point on the y-axis equidistant from (6,5) and (−4,3).
Hint: For (a), compare AB+BC with AC. For (b) and (c), set squared distances equal; use (0,y) for a point on the y-axis.
Key step: Use the distance formula for (a); cancel the squared terms after equating distances in (b) and (c).
Solution: (a) AB=32, BC=22, and AC=52, so the points are collinear. (b) Equating squared distances gives (x−7)2+(y−1)2=(x−3)2+(y−5)2, hence x−y=2; this is the perpendicular bisector. (c) Let P=(0,y). Equating squared distances gives 36+(y−5)2=16+(y−3)2, so y=9 and P=(0,9).
★ Remember
Distance depends on the squared differences of corresponding coordinates and is always non-negative.
Use distance comparisons to test collinearity, right triangles, squares, and equidistance.
Points equidistant from two fixed points lie on the perpendicular bisector of the segment between them.
Quick recap
The abscissa is the x-coordinate and the ordinate is the y-coordinate.
Points on the x-axis have form (x,0); points on the y-axis have form (0,y).
The distance between (x1,y1) and (x2,y2) is (x2−x1)2+(y2−y1)2.
The distance from (0,0) to (x,y) is x2+y2.
Distance comparisons can establish collinearity, right angles, squares, and equidistance.
The chapter also studies coordinates of a point dividing a segment in a given ratio.
Section formula — The section formula gives the coordinates of a point dividing the line segment between two known points in a specified ratio.
Key idea
Internal division:P divides AB internally when it lies between A and B.
Ratio convention: If PA:PB=m1:m2, pair m1 with the coordinates of B and m2 with those of A.
Derivation: Perpendiculars to the axes form similar triangles, so the horizontal and vertical coordinate changes are divided in the same ratio.
External division: A point on line AB but outside segment AB divides externally; its formula is not covered here.
Point P lies between the origin and B(36,15).
Relay-tower example
Given: Let A=O=(0,0), B=(36,15), and OP:PB=1:2.
Coordinate ratios: If P=(x,y), then 36−xx=21 and 15−yy=21.
Result: Solving gives x=12 and y=5, so the tower is at P=(12,5).
Points A, P, and B lie on one line, with P between the endpoints.
Section formula for internal division
If P(x,y) divides the segment joining A(x1,y1) and B(x2,y2) internally in the ratio PA:PB=m1:m2, then its coordinates are weighted averages of the endpoint coordinates.
For ratio k:1, set m1=k and m2=1. The midpoint is the special case 1:1.
Finding a point that divides a segment
Identify the endpoints A(x1,y1) and B(x2,y2), and the ratio PA:PB=m1:m2.
Substitute the endpoint coordinates and ratio terms into the section formula.
(m1+m2m1x2+m2x1,m1+m2m1y2+m2y1)
Simplify both coordinates and check that the point lies between the endpoints for internal division.
Worked example
Find the coordinates of the point dividing the segment joining (4,−3) and (8,5) internally in the ratio 3:1.
Find the point dividing the segment from (4,−3) to (8,5) internally in the ratio 3:1.
Use m1=3, m2=1, A=(4,−3), and B=(8,5) in the section formula.
P=(3+13(8)+1(4),3+13(5)+1(−3))
Simplify each coordinate.
P=(428,412)=(7,3)
Answer: The required point is (7,3).
Applications of the Section Formula
Useful applications
Trisection: The two points dividing a segment into three equal parts divide it in ratios 1:2 and 2:1 from endpoint A.
Point on the y-axis: Its x-coordinate is 0; set the section-formula x-coordinate equal to 0.
Parallelogram: Its diagonals bisect each other, so the diagonals have the same midpoint.
The two points of trisection divide AB into three equal parts.
Practice
In what ratio does (−4,6) divide the segment joining A(−6,10) and B(3,−8) internally?
Hint: Let PA:PB=m1:m2 and equate the section-formula x-coordinate to −4.
Key step:−4=m1+m23m1−6m2 gives 7m1=2m2.
Solution: Thus m1:m2=2:7. Check the y-coordinate: 2+7−8(2)+10(7)=6.
Practice
Find the trisection points of the segment joining A(2,−2) and B(−7,4).
Hint: Use the ratios 1:2 and 2:1 for the two points.
Key step: Apply the section formula first with (m1,m2)=(1,2) and then with (m1,m2)=(2,1).
Solution: For ratio 1:2, P=(3−7+2(2),34+2(−2))=(−1,0). For ratio 2:1, Q=(32(−7)+2,32(4)−2)=(−4,2).
Practice
(a) Find where the y-axis divides the segment joining (5,−6) and (−1,−4). (b) If A(6,1), B(8,2), C(9,4), and D(p,3) are consecutive vertices of a parallelogram, find p.
Hint: (a) Set the section-formula x-coordinate to 0. (b) Equate the midpoints of diagonals AC and BD.
Key step: (a) For ratio k:1, solve k+1−k+5=0. (b) Equate the diagonal midpoints: 215=28+p.
Solution: (a) k=5, so the ratio is 5:1 and the intersection is (0,−313). (b) p=7.
Distance formulas (chapter recap)
PQ=(x2−x1)2+(y2−y1)2,OP=x2+y2
For points P(x1,y1) and Q(x2,y2), the distance formula gives PQ. Setting one point to the origin gives the distance from the origin.
⚠ Common mistake
Do not pair m1 with the coordinates of A: when PA:PB=m1:m2, the numerator uses m1(x2,y2)+m2(x1,y1).
Quick recap
For internal division with PA:PB=m1:m2, use P=(m1+m2m1x2+m2x1,m1+m2m1y2+m2y1).
For ratio k:1, set m1=k and m2=1; the midpoint is the special case 1:1.
The midpoint coordinates are the averages of the corresponding endpoint coordinates.
Trisection points divide a segment in ratios 1:2 and 2:1 from the first endpoint.
A point on the y-axis has x=0; a parallelogram's diagonals have the same midpoint.
The distance between (x1,y1) and (x2,y2) is (x2−x1)2+(y2−y1)2; the distance from the origin to (x,y) is x2+y2.