Chapter 7
Coordinate Geometry
Two towns, a relay tower between them, friends seated in a classroom, flags on a sports ground: coordinate geometry turns such questions into calculations. This chapter shows, step by step, why the distance formula is Pythagoras' theorem in disguise, how to tell from coordinates alone whether points are in a line or form a square, a rhombus or a parallelogram, and how similar triangles give the section formula for the point that divides a segment in any ratio. Every example and exercise is solved in full, starting from the cat that the book's plotting play draws.
- Abscissa and ordinate, and the plotting play of section 7.1
- The distance formula, derived from Pythagoras' theorem
- The distance of a point from the origin
- Three tests for collinear points
- Recognising squares, rhombuses, rectangles and parallelograms from coordinates
- Points equidistant from two points, and the perpendicular bisector
- The section formula, proved with similar triangles, and the k : 1 form
- The midpoint formula and points of trisection
- Finding the ratio in which a point or an axis divides a segment
- Internal and external division
StartBefore you start: twelve ideas you already know
This chapter measures and divides with coordinates. Given the coordinates of two points, it finds the distance between them, and the point that divides the segment joining them in any ratio. Shapes such as squares and parallelograms can then be recognised from coordinates alone, without drawing.
It uses twelve ideas from earlier classes and chapters. Each one is refreshed below with a small example. Our Class 9 Chapter 1 already met coordinates and the distance between two points; this chapter goes further.
1. The coordinate plane (Class 9, Chapter 1)
Two perpendicular number lines, the x-axis and the y-axis, meet at the origin O(0, 0). A point is named by an ordered pair (x, y): first how far across (right is positive, left negative), then how far up (up is positive, down negative). Example: (3, −2) is 3 units right of O and 2 units down.
2. Abscissa and ordinate
The x-coordinate of a point is also called its abscissa: it is the point's distance from the y-axis, with a sign. The y-coordinate is also called its ordinate: the distance from the x-axis, with a sign. A point on the x-axis has the form (x, 0); a point on the y-axis has the form (0, y).
3. The four quadrants
The axes divide the plane into four quadrants. In the first, both coordinates are positive (+, +); in the second (−, +); in the third (−, −); in the fourth (+, −). Example: (−5, −3) is in the third quadrant.
4. Distance along a row or a column
Two points in the same row have the same y-coordinate; the distance between them is the difference of their x-coordinates, larger minus smaller. Example: (2, 5) and (9, 5) are 9 − 2 = 7 units apart. In the same column, subtract the y-coordinates.
5. Squares, square roots and surds
A negative number squared is positive: (−4)² = 16. A square root can often be simplified: √50 = √(25 × 2) = 5√2, √18 = 3√2 and √8 = 2√2. Like surds add: 3√2 + 2√2 = 5√2. But unlike numbers under roots do not: √9 + √16 = 3 + 4 = 7, while √(9 + 16) = √25 = 5.
6. The Baudhāyana-Pythagoras theorem and its converse (Class 9)
In a right triangle, (hypotenuse)² = (one side)² + (other side)². Example: sides 3 and 4 give a hypotenuse of 5. The converse: if the squares of two sides add up to the square of the third, the angle opposite the third side is a right angle.
7. When do three points make a triangle?
In any triangle, any two sides together are longer than the third side. If the two shorter distances between three points add up exactly to the longest, the points lie on one straight line: they are collinear, and make no triangle. Example: 2, 3 and 5: 2 + 3 = 5, so such points are collinear.
8. Quadrilaterals by their sides and diagonals (Class 8)
- A square has four equal sides and equal diagonals.
- A rhombus has four equal sides; its diagonals are usually unequal.
- A rectangle has opposite sides equal and equal diagonals.
- A parallelogram has opposite sides equal, and its diagonals bisect each other (they cut each other at their midpoints).
9. The perpendicular bisector (Class 9, Chapter 5)
The points that are the same distance from two points A and B make up a straight line: the perpendicular bisector of AB, which passes through the midpoint of AB at right angles to it.
10. Similar triangles (Chapter 6)
If two angles of one triangle equal two angles of another, the triangles are similar (AA), and their corresponding sides are in the same ratio. This is how the section formula will be proved.
11. Dividing in a ratio
To divide 20 in the ratio 2 : 3, cut it into 2 + 3 = 5 equal parts: the first share is 2 parts, 20 × 2/5 = 8, and the second is 3 parts, 20 × 3/5 = 12. A point that divides a segment in the ratio 1 : 3 is 1/4 of the way along it.
12. Algebra you will need
Expanding: (x − 7)² = x² − 14x + 49. Solving: if 4y = 36 then y = 9. And a linear equation in two variables, such as x − y = 2, has a straight line as its graph (Chapter 3).
By the end of this chapter you will be able to
- find the distance between any two points from their coordinates, and explain why the distance formula is true;
- decide whether three points form a triangle, and what kind (right, isosceles, equilateral), or lie on one line;
- recognise a square, rhombus, rectangle or parallelogram from the coordinates of its vertices;
- find a point that is equidistant from two given points, or on an axis;
- find the point that divides a segment in a given ratio (the section formula), and the midpoint;
- find the ratio in which a point, or an axis, divides a segment;
- solve problems about towns, classrooms, relay towers and sports grounds with coordinates.
7.1Introduction: geometry with numbers
In Class 9 you saw that to locate the position of a point on a plane, we need a pair of coordinate axes. The distance of a point from the y-axis is called its x-coordinate, or abscissa. The distance of a point from the x-axis is called its y-coordinate, or ordinate. The coordinates of a point on the x-axis are of the form (x, 0), and of a point on the y-axis of the form (0, y).
A play: what picture do the points make?
Here is a play for you. Draw a pair of perpendicular axes on graph paper. Plot the following points and join them as directed.
- Join A(4, 8) to B(3, 9) to C(3, 8) to D(1, 6) to E(1, 5) to F(3, 3) to G(6, 3) to H(8, 5) to I(8, 6) to J(6, 8) to K(6, 9) to L(5, 8), and back to A.
- Join P(3.5, 7), Q(3, 6) and R(4, 6) to form a triangle. Also join X(5.5, 7), Y(5, 6) and Z(6, 6) to form a triangle.
- Join S(4, 5), T(4.5, 4) and U(5, 5) to form a triangle.
- Lastly, join S to the points (0, 5) and (0, 6), and join U to the points (9, 5) and (9, 6).
What picture have you got? Try it yourself before looking at the answer below.
Show the picture.Tap to reveal
What we know: Thirteen points make the outline, three small triangles sit inside it, and four lines run out sideways.
The plan: Plot carefully, then look at the whole drawing.
- The outline climbs to two sharp corners at B(3, 9) and K(6, 9): two ears.
- The triangles PQR and XYZ, side by side at height 6 to 7, are two eyes.
- The small triangle STU, pointing down to T(4.5, 4), is a nose.
- The four lines from S and U, going out to x = 0 and x = 9, are whiskers.
The picture is a cat's face.
Check: Every point is plotted from its ordered pair: first across, then up. Swapping the numbers would scatter the drawing; for example, (3, 9) is an ear tip, but (9, 3) would sit far to the right, below the whisker ends.
Algebra and geometry together
You have also seen that a linear equation in two variables, ax + by + c = 0 (with a and b not both zero), gives a straight line when it is drawn. And in Chapter 2 you saw that the graph of y = ax² + bx + c (a ≠ 0) is a parabola. In fact, coordinate geometry was developed as an algebraic tool for studying the geometry of figures. It helps us study geometry using algebra, and understand algebra with the help of geometry. Because of this, coordinate geometry is widely used in physics, engineering, navigation, seismology (the study of earthquakes) and art.
In this chapter you will learn how to find the distance between two points whose coordinates are given, and how to find the coordinates of the point that divides the segment joining two given points in a given ratio.
Worked example 1
Name the quadrant or the axis of each point: (−3, 5), (4, −1), (0, −4), (−2, −7) and (6, 0).
The plan: Look at the signs: (+, +) first quadrant, (−, +) second, (−, −) third, (+, −) fourth; a zero puts the point on an axis.
- (−3, 5): x negative, y positive: second quadrant.
- (4, −1): x positive, y negative: fourth quadrant.
- (0, −4): x = 0, so it lies on the y-axis, 4 units below O.
- (−2, −7): both negative: third quadrant.
- (6, 0): y = 0, so it lies on the x-axis, 6 units right of O.
Second quadrant, fourth quadrant, the y-axis, third quadrant, the x-axis.
Check: A point's distance from the y-axis is the size of its abscissa: (−3, 5) is 3 units from the y-axis and 5 units from the x-axis.
Worked example 2
On a city map with a grid of 1 km squares, a bakery is at (2, 3) and Meena's house is at (2, 7). How far is the bakery from her house? Is it in the same street running north?
What we know: Both points have x-coordinate 2.
The plan: Equal x-coordinates mean the same column, so subtract the y-coordinates.
- Same column: the distance is 7 − 3 = 4 units.
- Each unit is 1 km.
The bakery is 4 km from her house, straight along the same north-south line.
Check: If the house were at (5, 7) instead, the points would no longer share a column, and the distance would need Pythagoras' theorem: the subject of the next section.
Common mistakes with coordinates
Swapping the order. (3, 9) and (9, 3) are different points: across first, then up.
Dropping a sign. (−5, −3) is in the third quadrant; losing a minus sign moves the point into another quadrant.
Calling the ordinate a distance without a sign. The point (4, −2) is 2 units from the x-axis, but its ordinate is −2.
When you are stuck: plotting and reading points
Say it aloud: "across x, then up y"; move right or left first, then up or down.
Use the signs to name the quadrant before you plot; a wrong quadrant shows a slip at once.
For a picture, plot every point lightly first, then join them in the order given.
Worked example 3
Plot A(1, 1), B(5, 1), C(5, 4) and D(1, 4), join them in order, and name the shape. How long are its sides?
The plan: Plot each point (across, then up), join A to B to C to D and back to A, and read the lengths along rows and columns.
- A and B are in the same row (y = 1): AB = 5 − 1 = 4.
- B and C are in the same column (x = 5): BC = 4 − 1 = 3.
- C and D are in the same row (y = 4): CD = 5 − 1 = 4.
- D and A are in the same column (x = 1): DA = 4 − 1 = 3.
- Every side runs along a row or a column, so each corner is a right angle.
ABCD is a rectangle, 4 units by 3 units.
Check: Its diagonal AC goes 4 across and 3 up; the next section shows it is √(16 + 9) = 5 units long.
From history: algebra meets geometry
The idea of naming points by two numbers is old: Indian astronomers such as Āryabhaṭa and Brahmagupta located the planets with numbers, and city builders of the Indus valley laid streets on grids (our Class 9 Chapter 1 tells these stories).
Turning geometry into algebra was the work of two Frenchmen in the 1630s, René Descartes and Pierre de Fermat. Descartes's book La Géométrie (1637) showed that a curve can be described by an equation in x and y. That is why the plane with two axes is often called the Cartesian plane, after Descartes.
A loose end: coordinates on a round Earth
Maps and GPS name places by two numbers too: latitude and longitude. But they are coordinates on a sphere, not on a flat plane, so the distance formula of this chapter is only a good approximation over small areas such as a town or a field.
For long distances (Delhi to Chennai, say) the curve of the Earth matters, and navigators use the geometry of the sphere instead. Following that thread leads to spherical trigonometry, which navigators and astronomers have used for centuries.
Worked example 4
Reflect the point P(3, 2) in the x-axis, in the y-axis and in the origin. How far is each image from the origin?
What we know: Reflecting in the x-axis keeps x and changes the sign of y; in the y-axis it changes the sign of x; through the origin it changes both signs.
The plan: Write each image, then use the distance from the origin, √(x² + y²).
- In the x-axis: (3, −2). In the y-axis: (−3, 2). In the origin: (−3, −2).
- Each is √(3² + 2²) = √13 units from O, the same as P.
The images are (3, −2), (−3, 2) and (−3, −2), all √13 units from the origin.
Check: A reflection never changes distances from the mirror's own points, and the origin lies on both axes. The squares in √(x² + y²) also ignore the signs.
Your turn
1. Write the coordinates of the point 5 units to the left of the y-axis and 2 units above the x-axis. Which quadrant is it in?Tap to reveal
- Left of the y-axis: x = −5.
- Above the x-axis: y = 2.
(−5, 2), in the second quadrant.
2. Points A(1, 4) and B(8, 4) lie in one row. How far apart are they?Tap to reveal
- Same y-coordinate, so the same row.
- Distance: 8 − 1 = 7 units.
7 units.
3. A point is 4 units from the x-axis and 3 units from the y-axis, and it lies in the second quadrant. Write its coordinates.Tap to reveal
- Second quadrant: x negative, y positive.
- Distance from the y-axis is 3, so x = −3; distance from the x-axis is 4, so y = 4.
The point is (−3, 4).
Check: Its distance from the origin is √(9 + 16) = 5.
4. The points (−2, 3), (4, 3) and (4, −1) are three corners of a rectangle. Find the fourth corner.Tap to reveal
- Two corners share y = 3, and two share x = 4: the sides run along a row and a column.
- The fourth corner shares x = −2 with the first and y = −1 with the third.
The fourth corner is (−2, −1).
Check: The rectangle is 6 units wide (from x = −2 to 4) and 4 units tall (from y = −1 to 3).
In one line
A point is fixed by its abscissa (x) and ordinate (y); coordinate geometry turns questions about figures into calculations with these numbers.
7.2The distance formula
Consider this situation. A town B is 36 km east and 15 km north of a town A. How could you find the distance from A to B without measuring it on the ground? Draw it on a grid (Fig. 7.1): the path east, the path north and the straight line from A to B make a right triangle. So you can use Pythagoras' theorem.
AB² = 36² + 15² = 1296 + 225 = 1521, and 1521 = 39², so AB = 39 km. We will soon turn this idea into a formula that works for any two points.
Points on the same axis
Suppose two points lie on the x-axis, say A(4, 0) and B(6, 0), as in Fig. 7.2. From the figure, OA = 4 units and OB = 6 units. So the distance of B from A is AB = OB − OA = 6 − 4 = 2 units. If two points lie on the x-axis, we can find the distance between them easily.
Now take two points on the y-axis, C(0, 3) and D(0, 8) (Fig. 7.2). In the same way, CD = 8 − 3 = 5 units.
Next, what is the distance of A from C in Fig. 7.2? OA = 4 units and OC = 3 units, and the angle AOC is a right angle (the axes are perpendicular). So AC = √(3² + 4²) = √(9 + 16) = √25 = 5 units. Similarly, BD = √(OB² + OD²) = √(6² + 8²) = √(36 + 64) = √100 = 10 units.
Two points not on an axis
Can we find the distance between two points that do not lie on an axis? Yes: we use Pythagoras' theorem. In Fig. 7.3, the points P(4, 6) and Q(6, 8) lie in the first quadrant. Draw PR and QS perpendicular to the x-axis, and draw a perpendicular from P to QS, meeting it at T.
- R and S have coordinates (4, 0) and (6, 0), so RS = 6 − 4 = 2 units.
- QS = 8 units (the y-coordinate of Q), and TS = PR = 6 units (the y-coordinate of P).
- So QT = QS − TS = 8 − 6 = 2 units, and PT = RS = 2 units.
- In the right triangle PTQ, by Pythagoras' theorem: PQ² = PT² + QT² = 2² + 2² = 8.
- So PQ = √8 = 2√2 units.
How do we find the distance between two points in different quadrants? Consider P(6, 4) and Q(−5, −3) (Fig. 7.4). Draw QS perpendicular to the x-axis, and draw a perpendicular PT from P to QS (extended), which meets the y-axis at R.
Then PT = 11 units and QT = 7 units. Why? T is level with P (same y-coordinate, 4) and directly above Q (same x-coordinate, −5), so T is (−5, 4). PT runs along a row from x = −5 to x = 6: its length is 6 − (−5) = 6 + 5 = 11. QT runs along a column from y = −3 to y = 4: its length is 4 − (−3) = 4 + 3 = 7. Using Pythagoras' theorem in the right triangle PTQ: PQ = √(11² + 7²) = √(121 + 49) = √170 units.
The distance between any two points
Now let us find the distance between any two points P(x₁, y₁) and Q(x₂, y₂). Draw PR and QS perpendicular to the x-axis, and a perpendicular from P to QS, meeting it at T (Fig. 7.5).
- OR = x₁ and OS = x₂, so RS = x₂ − x₁ = PT.
- SQ = y₂ and ST = PR = y₁, so QT = y₂ − y₁.
- By Pythagoras' theorem in triangle PTQ: PQ² = PT² + QT² = (x₂ − x₁)² + (y₂ − y₁)².
- So PQ = √[(x₂ − x₁)² + (y₂ − y₁)²]. Since a distance is never negative, we take only the positive square root.
Why we need it. Drawing a right triangle for every pair of points is slow. One formula does it for any two points, in any quadrants.
The idea in plain words. The difference of the x-coordinates is how far across one point is from the other; the difference of the y-coordinates is how far up. These are the two shorter sides of a right triangle, and the distance is its hypotenuse.
The exact statement. The distance between the points P(x₁, y₁) and Q(x₂, y₂) is PQ = √[(x₂ − x₁)² + (y₂ − y₁)²]. This is called the distance formula.
Every symbol. x₁ and y₁ (read "x one", "y one") are the coordinates of P; x₂ and y₂ those of Q. The answer is in the same units as the axes.
Read: "P Q equals the square root of, x two minus x one, squared, plus, y two minus y one, squared".
Remarks
1. In particular, the distance of a point P(x, y) from the origin O(0, 0) is OP = √(x² + y²).
2. We can also write PQ = √[(x₁ − x₂)² + (y₁ − y₂)²]. Why? x₁ − x₂ is the negative of x₂ − x₁, and a number and its negative have the same square: (−3)² = 3² = 9. So the order of the points does not matter.
Example 1
Do the points (3, 2), (−2, −3) and (2, 3) form a triangle? If so, name the type of triangle formed.
What we know: P(3, 2), Q(−2, −3) and R(2, 3).
What we need: Whether P, Q, R are not in a line; and if they form a triangle, its type.
The plan: Find the three distances. If the two shorter ones add to more than the longest, the points form a triangle. Then compare the squares to test for a right angle.
- PQ = √[(3 − (−2))² + (2 − (−3))²] = √(5² + 5²) = √50 ≈ 7.07.
- QR = √[(−2 − 2)² + (−3 − 3)²] = √[(−4)² + (−6)²] = √52 ≈ 7.21.
- PR = √[(3 − 2)² + (2 − 3)²] = √[1² + (−1)²] = √2 ≈ 1.41.
- The sum of any two distances is greater than the third (for example 1.41 + 7.07 = 8.48 > 7.21), so P, Q and R form a triangle.
- PQ² + PR² = 50 + 2 = 52 = QR². By the converse of Pythagoras' theorem, ∠P = 90°.
Yes, the points form a triangle, and PQR is a right triangle, with the right angle at P.
Check: The right angle is opposite the longest side, QR, as it must be.
Example 2
Show that the points (1, 7), (4, 2), (−1, −1) and (−4, 4) are the vertices of a square.
What we know: A(1, 7), B(4, 2), C(−1, −1) and D(−4, 4).
What we need: Proof that ABCD is a square.
The plan: One way: a quadrilateral with all four sides equal and both diagonals equal is a square. Find all six distances.
- AB = √[(1 − 4)² + (7 − 2)²] = √(9 + 25) = √34.
- BC = √[(4 + 1)² + (2 + 1)²] = √(25 + 9) = √34.
- CD = √[(−1 + 4)² + (−1 − 4)²] = √(9 + 25) = √34.
- DA = √[(1 + 4)² + (7 − 4)²] = √(25 + 9) = √34.
- AC = √[(1 + 1)² + (7 + 1)²] = √(4 + 64) = √68.
- BD = √[(4 + 4)² + (2 − 4)²] = √(64 + 4) = √68.
AB = BC = CD = DA and AC = BD: all four sides are equal and the diagonals are equal, so ABCD is a square.
Another way: Find the four sides and one diagonal, say AC. Then AD² + DC² = 34 + 34 = 68 = AC², so by the converse of Pythagoras' theorem ∠D = 90°. A quadrilateral with all four sides equal and one angle of 90° is a square.
A path that fails: stopping after the four equal sides. A rhombus also has four equal sides; the equal diagonals (or a right angle) are what make it a square.
Example 3
Fig. 7.6 shows the arrangement of desks in a classroom. Ashima, Bharti and Camella are seated at A(3, 1), B(6, 4) and C(8, 6) respectively. Do you think they are seated in a line? Give reasons for your answer.
What we know: A(3, 1), B(6, 4) and C(8, 6).
What we need: Whether A, B and C are collinear.
The plan: Find the three distances. If the two shorter ones add up exactly to the longest, the points are in a line.
- AB = √[(6 − 3)² + (4 − 1)²] = √(9 + 9) = √18 = 3√2.
- BC = √[(8 − 6)² + (6 − 4)²] = √(4 + 4) = √8 = 2√2.
- AC = √[(8 − 3)² + (6 − 1)²] = √(25 + 25) = √50 = 5√2.
- AB + BC = 3√2 + 2√2 = 5√2 = AC.
The points A, B and C are collinear: the three girls are seated in a line.
Check: From A to B both coordinates rise by 3, and from B to C both rise by 2: the same direction each time, so the points do lie on one line.
Example 4
Find a relation between x and y such that the point (x, y) is equidistant from the points (7, 1) and (3, 5).
What we know: P(x, y) is equidistant from A(7, 1) and B(3, 5).
What we need: An equation linking x and y.
The plan: AP = BP. Square both sides to remove the square roots, expand, and cancel.
- AP = BP, so AP² = BP².
- (x − 7)² + (y − 1)² = (x − 3)² + (y − 5)².
- x² − 14x + 49 + y² − 2y + 1 = x² − 6x + 9 + y² − 10y + 25.
- The x² and y² cancel: −14x − 2y + 50 = −6x − 10y + 34.
- So −8x + 8y = −16, that is, x − y = 2.
The required relation is x − y = 2.
Check: Test a point on it: (5, 3) gives 5 − 3 = 2, and its distances are √(4 + 4) = √8 from A and √(4 + 4) = √8 from B.
Remark. The graph of x − y = 2 is a line. A point equidistant from A and B lies on the perpendicular bisector of AB, so the graph of x − y = 2 is the perpendicular bisector of AB (see Fig. 7.7).
Example 5
Find a point on the y-axis which is equidistant from the points A(6, 5) and B(−4, 3).
What we know: A point on the y-axis has the form (0, y).
What we need: The value of y.
The plan: Let P(0, y) be the point. AP² = BP² gives a linear equation in y.
- (6 − 0)² + (5 − y)² = (−4 − 0)² + (3 − y)².
- 36 + 25 + y² − 10y = 16 + 9 + y² − 6y.
- 61 − 10y = 25 − 6y, so 36 = 4y and y = 9.
The required point is (0, 9).
Check: AP = √[(6 − 0)² + (5 − 9)²] = √(36 + 16) = √52 and BP = √[(−4 − 0)² + (3 − 9)²] = √(16 + 36) = √52. Equal, as required.
Note. By the Remark above, (0, 9) is where the y-axis meets the perpendicular bisector of AB.
Common mistakes with the distance formula
Sign slips with negatives. 3 − (−2) = 5, not 1; and (−4)² = 16, not −16.
Splitting the root. √(25 + 9) is √34, not 5 + 3 = 8: a square root cannot be taken term by term.
Mixing up the coordinates. Subtract x from x and y from y: (x₂ − x₁) and (y₂ − y₁).
Calling four equal sides a square. A rhombus has them too; check the diagonals or one angle.
When you are stuck: distances between points
Sketch the points on rough axes; the sketch shows which distance is longest and whether a right angle is likely.
Make a table of the differences (across, up) before squaring: fewer sign slips.
Keep squares as numbers (34, 68) until the end; compare squares to test for right angles.
Collinear or a triangle? Add the two shorter distances and compare with the longest. Simplified surds (3√2 + 2√2 = 5√2) make this easy.
An unknown coordinate? Square both sides of the equal distances, then expand: the squares of the unknown usually cancel.
Why we need it. Many questions ask whether three points lie on one line (people seated in a line, a road through three towns). A drawing cannot settle it exactly.
Test 1, distances. Find the three distances. The points are collinear exactly when the two shorter ones add up to the longest. Simplify the surds first: 3√2 + 2√2 = 5√2 is easy to see; √18 + √8 = √50 is not.
Test 2, equal steps. Going from A to B and from B to C, the changes across and up must be in the same proportion. From A(3, 1) to B(6, 4) the step is (3, 3); from B to C(8, 6) it is (2, 2). Both go up exactly as much as across, so the direction is the same.
Test 3, the section formula. If B divides AC in some ratio k : 1, both coordinates give the same k. For A(3, 1), B(6, 4), C(8, 6): from x, (8k + 3)/(k + 1) = 6 gives k = 3/2; from y, (6k + 1)/(k + 1) = 4 gives k = 3/2. The same k, so B lies on AC.
Recognising quadrilaterals from coordinates
Find the four sides and the two diagonals; then this table names the shape. Check the earliest row first.
| Sides | Diagonals | The quadrilateral |
|---|---|---|
| all four equal | equal | square |
| all four equal | unequal | rhombus (not a square) |
| opposite sides equal | equal | rectangle (not a square) |
| opposite sides equal | unequal | parallelogram (not a rectangle) |
Before using the table, make sure no three of the four points are collinear; if three are, the points make no quadrilateral at all (Exercise 7.1 Q6 (ii)).
Why one formula works in every quadrant
In the formula, x₂ − x₁ may be negative (when Q is to the left of P), and so may y₂ − y₁. That does not matter, because each difference is squared, and a square is never negative: (−11)² = 11² = 121. The size of x₂ − x₁ is always the horizontal gap between the points, whatever their quadrants, and the size of y₂ − y₁ is always the vertical gap. So one formula covers every case, including points on the axes (then one difference is 0) and the distance from the origin (then x₁ = y₁ = 0).
More worked examples: the distance formula
Worked example 5
Find the perimeter of the triangle with vertices O(0, 0), A(6, 0) and B(0, 8).
The plan: Two sides lie along the axes; the third needs the distance formula.
- OA = 6 (along the x-axis) and OB = 8 (along the y-axis).
- AB = √[(0 − 6)² + (8 − 0)²] = √(36 + 64) = √100 = 10.
- Perimeter = 6 + 8 + 10 = 24.
The perimeter is 24 units.
Check: 6, 8, 10 is twice the 3, 4, 5 right triangle, and the right angle is at O, between the axes.
Worked example 6
Ravi's home is at H(0, 0) and his school at S(6, 8) on a town grid of 1 km squares. The roads run along the grid lines. How far does he travel by road, and how far is the school as the crow flies?
The plan: By road he must go 6 km across and 8 km up; the straight line is the distance formula.
- By road: 6 + 8 = 14 km (any route along the grid lines that never turns back).
- As the crow flies: √(6² + 8²) = √100 = 10 km.
14 km by road, but only 10 km in a straight line.
Check: The straight line is the hypotenuse of the right triangle whose legs are the two roads, so it must be shorter than their sum.
Worked example 7
Find the values of a for which the point (a, 3) is 5 units from the point (2, −1).
The plan: Square the distance and solve for a.
- (a − 2)² + (3 − (−1))² = 25, so (a − 2)² + 16 = 25.
- (a − 2)² = 9, so a − 2 = 3 or a − 2 = −3.
- a = 5 or a = −1.
a = 5 or a = −1.
Check: (5, 3) and (−1, 3) are each 3 across and 4 up from (2, −1): a 3, 4, 5 triangle both times.
Worked example 8
Are the points A(1, 1), B(4, 5) and C(8, 2) the vertices of a right triangle? Is the triangle isosceles?
The plan: Find the three sides; compare the squares for a right angle and the lengths for equal sides.
- AB = √(3² + 4²) = 5.
- BC = √(4² + (−3)²) = 5.
- AC = √(7² + 1²) = √50.
- AB² + BC² = 25 + 25 = 50 = AC².
Yes to both: a right isosceles triangle, with the right angle at B and AB = BC = 5.
Check: From B, the step to A is (−3, −4) and the step to C is (4, −3): these two directions are at right angles, as the square test says.
Worked example 9
Does the point (3, 4) lie inside, on or outside the circle with centre at the origin and radius 5? What about (4, 4)?
The plan: Compare each point's distance from the centre with the radius.
- (3, 4): √(9 + 16) = 5, equal to the radius.
- (4, 4): √(16 + 16) = √32 ≈ 5.66, more than 5.
(3, 4) lies on the circle; (4, 4) lies outside it.
Check: A point such as (3, 3), with √18 ≈ 4.24 < 5, would lie inside.
Worked example 10
Find the point that is equidistant from all three points A(8, 6), B(8, −2) and C(2, −2), and the common distance.
What we know: A point equidistant from A and B is on the perpendicular bisector of AB; one equidistant from B and C is on the perpendicular bisector of BC.
The plan: Let P be (x, y). Set PA² = PB² and PB² = PC²; each gives a simple equation.
- PA² = PB²: (x − 8)² + (y − 6)² = (x − 8)² + (y + 2)², so (y − 6)² = (y + 2)², which gives −12y + 36 = 4y + 4, 16y = 32 and y = 2.
- PB² = PC²: (x − 8)² + (y + 2)² = (x − 2)² + (y + 2)², so (x − 8)² = (x − 2)², which gives −16x + 64 = −4x + 4, 12x = 60 and x = 5.
- Common distance: PB = √[(5 − 8)² + (2 + 2)²] = √(9 + 16) = 5.
The point is (5, 2), at a distance of 5 units from each.
Check: PA = √[(5 − 8)² + (2 − 6)²] = √(9 + 16) = 5 and PC = √[(5 − 2)² + (2 + 2)²] = 5. The point is the centre of the circle through A, B and C; since ∠B = 90°, it is the midpoint of AC: ((8 + 2)/2, (6 − 2)/2) = (5, 2).
Worked example 11
On a cricket field, the bowler's end is the origin and 1 unit is 1 m. A fielder stands at F(12, 5). How far is she from the bowler's end? The ball is hit to B(−9, 12): how far is the fielder from the ball?
The plan: Distance from the origin for the first; the distance formula for the second.
- OF = √(12² + 5²) = √(144 + 25) = √169 = 13 m.
- FB = √[(−9 − 12)² + (12 − 5)²] = √[(−21)² + 7²] = √(441 + 49) = √490 = 7√10 ≈ 22.1 m.
She is 13 m from the bowler's end and about 22.1 m from the ball.
Check: √490 lies between 22² = 484 and 23² = 529, and much nearer 22, so about 22.1 is right.
Worked example 12
Find all the points on the line y = x that are √10 units from the point (2, 0).
The plan: A point on y = x is (x, x). Set its distance from (2, 0) to √10; the squares give a quadratic equation (Chapter 4).
- (x − 2)² + (x − 0)² = 10.
- x² − 4x + 4 + x² = 10, so 2x² − 4x − 6 = 0, that is, x² − 2x − 3 = 0.
- (x − 3)(x + 1) = 0, so x = 3 or x = −1.
The points are (3, 3) and (−1, −1).
Check: (3, 3): √(1 + 9) = √10. (−1, −1): √(9 + 1) = √10. A circle of radius √10 round (2, 0) cuts the line y = x twice.
Worked example 13
Show that A(2, 1), B(6, 3), C(5, 5) and D(1, 3) are the vertices of a rectangle.
The plan: Find the four sides and both diagonals; opposite sides equal with equal diagonals means a rectangle.
- AB = √(4² + 2²) = √20; BC = √[(−1)² + 2²] = √5; CD = √[(−4)² + (−2)²] = √20; DA = √[1² + (−2)²] = √5.
- AC = √(3² + 4²) = 5; BD = √[(−5)² + 0²] = 5.
- Opposite sides are equal (AB = CD, BC = DA), and the diagonals are equal.
ABCD is a rectangle (and not a square, since AB ≠ BC).
Check: AB² + BC² = 20 + 5 = 25 = AC², so ∠B = 90°, as in every rectangle.
Your turn
1. Find the distance between (−3, 4) and (5, −2).Tap to reveal
- Differences: 5 − (−3) = 8 across and −2 − 4 = −6 up.
- √(8² + 6²) = √(64 + 36) = √100 = 10.
The distance is 10 units.
2. How far is the point (−8, 15) from the origin?Tap to reveal
- OP = √(x² + y²) = √(64 + 225) = √289 = 17.
17 units.
3. Are the points (0, 0), (3, 4) and (6, 8) collinear?Tap to reveal
- Distances: from (0, 0) to (3, 4) is 5; from (3, 4) to (6, 8) is √(9 + 16) = 5; from (0, 0) to (6, 8) is √(36 + 64) = 10.
- 5 + 5 = 10.
Yes, they are collinear.
4. Find a point on the x-axis equidistant from A(1, 3) and B(5, 1).Tap to reveal
- (x − 1)² + 9 = (x − 5)² + 1.
- x² − 2x + 10 = x² − 10x + 26, so 8x = 16 and x = 2.
The point is (2, 0).
Check: Distances: √(1 + 9) = √10 and √(9 + 1) = √10.
5. Find the perimeter of the triangle with vertices (1, 1), (4, 5) and (1, 5).Tap to reveal
- From (1, 1) to (1, 5): 4 (same column). From (1, 5) to (4, 5): 3 (same row).
- From (1, 1) to (4, 5): √(9 + 16) = 5.
- Perimeter = 4 + 3 + 5 = 12.
The perimeter is 12 units.
6. Show that the points (2, 0), (6, 0) and (4, 3) form an isosceles triangle.Tap to reveal
- From (2, 0) to (6, 0): 4.
- From (2, 0) to (4, 3): √(4 + 9) = √13.
- From (6, 0) to (4, 3): √(4 + 9) = √13.
Two sides are √13, so the triangle is isosceles.
Check: (4, 3) lies above the midpoint (4, 0) of the base, as the apex of an isosceles triangle should.
In one line
The distance between (x₁, y₁) and (x₂, y₂) is √[(x₂ − x₁)² + (y₂ − y₁)²]: Pythagoras' theorem on the right triangle whose sides are the differences across and up.
Ex 7.1Exercise 7.1, solved in full
Exercise 7.1 practises the distance formula: plain distances, collinear points, triangles and quadrilaterals, and points equidistant from two others. Try each part on paper first; then open the answer. The answers agree with the book's answers at the back of the textbook.
When you are stuck: Exercise 7.1
Write the two points one above the other, subtract column by column, then square and add.
Collinear? Two shorter distances adding up exactly to the longest.
Which quadrilateral? Find all four sides and both diagonals, then compare with the list in "Before you start".
A missing coordinate? Set the squares of two distances equal (or a distance squared equal to a number) and solve.
Question 1. Find the distance between the following pairs of points.
1 (i) (2, 3) and (4, 1)Tap to reveal
What we know: x₁ = 2, y₁ = 3, x₂ = 4, y₂ = 1.
The plan: Use the distance formula, √[(x₂ − x₁)² + (y₂ − y₁)²].
- Across: 4 − 2 = 2. Up: 1 − 3 = −2.
- Distance = √(2² + (−2)²) = √(4 + 4) = √8 = 2√2.
The distance is 2√2 units (about 2.83).
Check: This agrees with the book's answer. The points differ by 2 in each direction, so they lie on a diagonal of a 2 by 2 square, whose length is 2√2.
Another way: On squared paper the two points are opposite corners of a 2 by 2 square, and the diagonal of a square of side s is s√2: here 2√2.
1 (ii) (−5, 7) and (−1, 3)Tap to reveal
What we know: x₁ = −5, y₁ = 7, x₂ = −1, y₂ = 3.
The plan: Use the distance formula, √[(x₂ − x₁)² + (y₂ − y₁)²], taking care with the negatives.
- Across: −1 − (−5) = −1 + 5 = 4. Up: 3 − 7 = −4.
- Distance = √(4² + (−4)²) = √(16 + 16) = √32 = 4√2.
The distance is 4√2 units (about 5.66).
Check: This agrees with the book's answer. √32 = √(16 × 2) = 4√2.
Another way: The points are opposite corners of a 4 by 4 square (4 across and 4 down), so the distance is 4√2.
1 (iii) (a, b) and (−a, −b)Tap to reveal
What we know: x₁ = a, y₁ = b, x₂ = −a, y₂ = −b.
The plan: Use the distance formula, √[(x₂ − x₁)² + (y₂ − y₁)²] with letters.
- Across: −a − a = −2a. Up: −b − b = −2b.
- Distance = √[(−2a)² + (−2b)²] = √(4a² + 4b²) = √[4(a² + b²)] = 2√(a² + b²).
The distance is 2√(a² + b²).
Check: This agrees with the book's answer. The two points are reflections of each other through the origin, so the distance is twice the distance of (a, b) from O, which is √(a² + b²). With a = 3 and b = 4 it gives 2 × 5 = 10.
2. Find the distance between the points (0, 0) and (36, 15). Can you now find the distance between the two towns A and B discussed in Section 7.2?Tap to reveal
What we know: O(0, 0) and (36, 15). Town B is 36 km east and 15 km north of town A.
The plan: Distance from the origin: √(x² + y²). For the towns, put A at the origin with 1 km as one unit.
- √(36² + 15²) = √(1296 + 225) = √1521 = 39.
- With A at O(0, 0), B is at (36, 15), so AB = 39 km.
The distance is 39 units, and the towns are 39 km apart.
Check: This agrees with the book's answer. 39² = 1521. (36, 15, 39) is 3 times the right triangle (12, 5, 13).
Another way: Divide both numbers by their common factor 3: (12, 5) is 13 from the origin, because 12² + 5² = 169 = 13². Scaling back by 3 gives 39 at once.
3. Determine if the points (1, 5), (2, 3) and (−2, −11) are collinear.Tap to reveal
What we know: A(1, 5), B(2, 3) and C(−2, −11).
The plan: Find the three distances and test whether the two shorter add up to the longest.
- AB = √[(2 − 1)² + (3 − 5)²] = √(1 + 4) = √5 ≈ 2.236.
- BC = √[(−2 − 2)² + (−11 − 3)²] = √(16 + 196) = √212 ≈ 14.560.
- AC = √[(−2 − 1)² + (−11 − 5)²] = √(9 + 256) = √265 ≈ 16.279.
- AB + BC ≈ 16.796, which is not equal to AC ≈ 16.279.
No, the points are not collinear.
Check: This agrees with the book's answer. Another check: from A to B the point moves 1 across and 2 down; from A to C it moves 3 back and 16 down. If the points were in a line, these steps would be in the same proportion, but 2/1 ≠ 16/3.
4. Check whether (5, −2), (6, 4) and (7, −2) are the vertices of an isosceles triangle.Tap to reveal
What we know: A(5, −2), B(6, 4) and C(7, −2).
The plan: Find the three sides; an isosceles triangle has two equal sides.
- AB = √[(6 − 5)² + (4 + 2)²] = √(1 + 36) = √37.
- BC = √[(7 − 6)² + (−2 − 4)²] = √(1 + 36) = √37.
- AC = √[(7 − 5)² + (−2 + 2)²] = √4 = 2.
- AB = BC, and the points are not collinear (√37 + 2 > √37, and 2 + √37 > √37).
Yes, they are the vertices of an isosceles triangle (AB = BC = √37).
Check: This agrees with the book's answer. A and C are mirror images in the line x = 6, on which B lies, so B is the same distance from both.
Another way: A(5, −2) and C(7, −2) are mirror images in the line x = 6, and B(6, 4) lies on that line, so B is equally far from A and C without any calculation.
5. In a classroom, 4 friends are seated at the points A, B, C and D as shown in Fig. 7.8. Champa and Chameli walk into the class and, after observing for a few minutes, Champa asks Chameli, "Don't you think ABCD is a square?" Chameli disagrees. Using the distance formula, find which of them is correct.Tap to reveal
What we know: From the grid of Fig. 7.8: A(3, 4), B(6, 7), C(9, 4) and D(6, 1).
The plan: Find the four sides and the two diagonals. Four equal sides and equal diagonals make a square.
- AB = √[(6 − 3)² + (7 − 4)²] = √(9 + 9) = √18 = 3√2.
- BC = √[(9 − 6)² + (4 − 7)²] = √18 = 3√2. CD = √[(6 − 9)² + (1 − 4)²] = √18 = 3√2. DA = √[(3 − 6)² + (4 − 1)²] = √18 = 3√2.
- AC = √[(9 − 3)² + (4 − 4)²] = 6. BD = √[(6 − 6)² + (1 − 7)²] = 6.
- All four sides are equal and the diagonals are equal.
ABCD is a square, so Champa is correct.
Check: This agrees with the book's answer. The square is tilted at 45° on the grid, which may be why Chameli doubted it.
Another way: The diagonals AC (along y = 4) and BD (along x = 6) are equal, cross at right angles and bisect each other at (6, 4). Equal diagonals that bisect each other at right angles always make a square.
Question 6. Name the type of quadrilateral formed, if any, by the following points, and give reasons for your answer. The picture shows all three sets of points.
6 (i) (−1, −2), (1, 0), (−1, 2), (−3, 0)Tap to reveal
What we know: A(−1, −2), B(1, 0), C(−1, 2), D(−3, 0).
The plan: Find the four sides and the two diagonals.
- AB = √(2² + 2²) = √8; BC = √[(−2)² + 2²] = √8; CD = √[(−2)² + (−2)²] = √8; DA = √[2² + (−2)²] = √8.
- AC = √(0² + 4²) = 4; BD = √[(−4)² + 0²] = 4.
- Four equal sides and equal diagonals.
A square.
Check: This agrees with the book's answer. Its centre is (−1, 0), the midpoint of both diagonals, and its diagonals lie along the lines x = −1 and y = 0, at right angles.
6 (ii) (−3, 5), (3, 1), (0, 3), (−1, −4)Tap to reveal
What we know: A(−3, 5), B(3, 1), C(0, 3), D(−1, −4).
The plan: Before calling it any quadrilateral, check whether three of the points lie on one line.
- AC = √[(0 + 3)² + (3 − 5)²] = √(9 + 4) = √13.
- CB = √[(3 − 0)² + (1 − 3)²] = √(9 + 4) = √13.
- AB = √[(3 + 3)² + (1 − 5)²] = √(36 + 16) = √52 = 2√13.
- AC + CB = 2√13 = AB, so A, C and B are collinear: C lies on AB, halfway between them.
No quadrilateral is formed: three of the points lie on one line.
Check: This agrees with the book's answer. C(0, 3) is the midpoint of A(−3, 5) and B(3, 1): ((−3 + 3)/2, (5 + 1)/2) = (0, 3).
A path that fails: joining the points in the order given and computing four "sides". The figure would fold back on itself, because one "side" lies along another; always test for collinear points first.
6 (iii) (4, 5), (7, 6), (4, 3), (1, 2)Tap to reveal
What we know: A(4, 5), B(7, 6), C(4, 3), D(1, 2).
The plan: Find the four sides and the two diagonals.
- AB = √(3² + 1²) = √10; BC = √[(−3)² + (−3)²] = √18; CD = √[(−3)² + (−1)²] = √10; DA = √(3² + 3²) = √18.
- AC = √(0² + (−2)²) = 2; BD = √[(−6)² + (−4)²] = √52.
- Opposite sides are equal (AB = CD, BC = DA), but the diagonals are not equal (2 and √52).
A parallelogram (not a rectangle, since its diagonals are unequal).
Check: This agrees with the book's answer. The diagonals bisect each other: the midpoint of AC is (4, 4), and the midpoint of BD is ((7 + 1)/2, (6 + 2)/2) = (4, 4).
7. Find the point on the x-axis which is equidistant from (2, −5) and (−2, 9).Tap to reveal
What we know: A point on the x-axis has the form (x, 0).
The plan: Set the squares of the two distances equal and solve for x.
- (x − 2)² + (0 + 5)² = (x + 2)² + (0 − 9)².
- x² − 4x + 4 + 25 = x² + 4x + 4 + 81.
- −4x + 29 = 4x + 85, so −8x = 56 and x = −7.
The point is (−7, 0).
Check: This agrees with the book's answer. Distances: √[(−9)² + 5²] = √106 and √[(−5)² + (−9)²] = √106: equal.
Another way: The point is where the perpendicular bisector of the two given points meets the x-axis; Example 5 found such a point on the y-axis in the same way.
8. Find the values of y for which the distance between the points P(2, −3) and Q(10, y) is 10 units.Tap to reveal
What we know: PQ = 10.
The plan: Square the distance formula: PQ² = 100. This gives a quadratic in y.
- (10 − 2)² + (y + 3)² = 100.
- 64 + (y + 3)² = 100, so (y + 3)² = 36.
- y + 3 = 6 or y + 3 = −6, so y = 3 or y = −9.
y = 3 or y = −9.
Check: This agrees with the book's answer. Q(10, 3) and Q(10, −9) are both 8 across and 6 up or down from P: a 6, 8, 10 right triangle each time.
A path that fails: taking only the positive square root of 36 and losing y = −9. Both points work; a circle of radius 10 round P cuts the line x = 10 twice.
9. If Q(0, 1) is equidistant from P(5, −3) and R(x, 6), find the values of x. Also find the distances QR and PR.Tap to reveal
What we know: QP = QR.
The plan: Square both distances, set them equal, and solve; then compute QR and PR for each x.
- QP² = (5 − 0)² + (−3 − 1)² = 25 + 16 = 41.
- QR² = (x − 0)² + (6 − 1)² = x² + 25.
- x² + 25 = 41, so x² = 16 and x = 4 or x = −4.
- QR = √41 (for both values).
- For x = 4: PR = √[(4 − 5)² + (6 + 3)²] = √(1 + 81) = √82. For x = −4: PR = √[(−4 − 5)² + 81] = √(81 + 81) = √162 = 9√2.
x = 4 or x = −4; QR = √41; PR = √82 (for x = 4) or 9√2 (for x = −4).
Check: This agrees with the book's answer.
Another way: Both points R(4, 6) and R(−4, 6) lie on the circle with centre Q and radius √41, where it meets the line y = 6; that is why there are two answers.
10. Find a relation between x and y such that the point (x, y) is equidistant from the points (3, 6) and (−3, 4).Tap to reveal
What we know: P(x, y), A(3, 6), B(−3, 4), with PA = PB.
The plan: As in Example 4: square, expand and cancel.
- (x − 3)² + (y − 6)² = (x + 3)² + (y − 4)².
- x² − 6x + 9 + y² − 12y + 36 = x² + 6x + 9 + y² − 8y + 16.
- −6x − 12y + 45 = 6x − 8y + 25.
- −12x − 4y + 20 = 0, that is, 3x + y − 5 = 0.
The relation is 3x + y − 5 = 0.
Check: This agrees with the book's answer. The midpoint of AB, (0, 5), satisfies it: 0 + 5 − 5 = 0, as a point of the perpendicular bisector must.
Another way: The answer must be the perpendicular bisector of the segment from (3, 6) to (−3, 4): a line through its midpoint (0, 5). Any equation from this question has to pass that test.
7.3The section formula
Recall the two towns of section 7.2. Suppose a telephone company wants to put a relay tower at a point P between A and B, such that the distance of the tower from B is twice its distance from A. If P lies on AB, it divides AB in the ratio 1 : 2 (Fig. 7.9). Take A as the origin O and 1 km as one unit on both axes; then B is (36, 15). To place the tower, we must know the coordinates of P. How do we find them?
Let P be (x, y). Draw perpendiculars from P and B to the x-axis, meeting it at D and E, and draw PC perpendicular to BE.
- Triangles POD and BPC are similar by the AA criterion (Chapter 6): each has a right angle (at D and at C), and ∠POD = ∠BPC because OD and PC are both horizontal (corresponding angles, with OB as the transversal).
- So OD/PC = OP/PB = 1/2 and PD/BC = OP/PB = 1/2. (Corresponding sides of similar triangles)
- OD = x and PC = 36 − x, so x/(36 − x) = 1/2, which gives 2x = 36 − x, 3x = 36 and x = 12.
- PD = y and BC = 15 − y, so y/(15 − y) = 1/2, which gives 2y = 15 − y, 3y = 15 and y = 5.
So the tower should be at P(12, 5). You can check that P(12, 5) meets the condition OP : PB = 1 : 2: OP = √(12² + 5²) = √169 = 13 and PB = √[(36 − 12)² + (15 − 5)²] = √(576 + 100) = √676 = 26.
The general formula
Now let us use this idea to obtain a general formula. Take any two points A(x₁, y₁) and B(x₂, y₂), and let P(x, y) divide AB internally in the ratio m₁ : m₂, that is, PA/PB = m₁/m₂ (Fig. 7.10).
Draw AR, PS and BT perpendicular to the x-axis, and draw AQ and PC parallel to the x-axis.
- △PAQ ~ △BPC by the AA criterion: each has a right angle (at Q and at C), and ∠PAQ = ∠BPC (corresponding angles, as AQ ∥ PC).
- So PA/BP = AQ/PC = PQ/BC. Call this (1). (Corresponding sides)
- AQ = RS = OS − OR = x − x₁, and PC = ST = OT − OS = x₂ − x.
- PQ = PS − QS = PS − AR = y − y₁, and BC = BT − CT = BT − PS = y₂ − y.
- Putting these into (1): m₁/m₂ = (x − x₁)/(x₂ − x) = (y − y₁)/(y₂ − y).
- From m₁/m₂ = (x − x₁)/(x₂ − x): m₁(x₂ − x) = m₂(x − x₁), so m₁x₂ − m₁x = m₂x − m₂x₁, so m₁x₂ + m₂x₁ = (m₁ + m₂)x, and x = (m₁x₂ + m₂x₁)/(m₁ + m₂).
- In the same way, from m₁/m₂ = (y − y₁)/(y₂ − y): y = (m₁y₂ + m₂y₁)/(m₁ + m₂).
Why we need it. To place a point a given fraction of the way from one point to another (a tower, a flag, a midpoint) without drawing.
The idea in plain words. Each coordinate of the dividing point is a weighted average of the two ends. The ratio m₁ : m₂ says how the segment is cut, measured from A.
The exact statement. The coordinates of the point P(x, y) which divides the line segment joining A(x₁, y₁) and B(x₂, y₂) internally in the ratio m₁ : m₂ are ((m₁x₂ + m₂x₁)/(m₁ + m₂), (m₁y₂ + m₂y₁)/(m₁ + m₂)). This is the section formula.
A memory aid: cross over. m₁ is the share next to A, yet it multiplies the coordinates of B: each end is pulled with the weight of the opposite part. The point lands nearer the end with the smaller share.
Read: "P equals, m one x two plus m two x one, over m one plus m two; and m one y two plus m two y one, over m one plus m two".
The same formula can also be derived by drawing perpendiculars from A, P and B to the y-axis and proceeding as above.
The ratio k : 1. If P divides AB in the ratio k : 1, put m₁ = k and m₂ = 1: P = ((kx₂ + x₁)/(k + 1), (ky₂ + y₁)/(k + 1)). This form is handy when the ratio is the unknown: only one letter, k, has to be found.
Special case: the midpoint. The midpoint of a segment divides it in the ratio 1 : 1. So the midpoint of the join of A(x₁, y₁) and B(x₂, y₂) is ((1·x₁ + 1·x₂)/(1 + 1), (1·y₁ + 1·y₂)/(1 + 1)) = ((x₁ + x₂)/2, (y₁ + y₂)/2): the average of the x-coordinates and the average of the y-coordinates.
Read: "M equals, x one plus x two over two; and y one plus y two over two".
Let us solve a few examples based on the section formula.
Example 6
Find the coordinates of the point which divides the line segment joining the points (4, −3) and (8, 5) in the ratio 3 : 1 internally.
What we know: A(4, −3), B(8, 5), m₁ = 3, m₂ = 1.
The plan: Put the values into the section formula.
- x = (3 × 8 + 1 × 4)/(3 + 1) = (24 + 4)/4 = 28/4 = 7.
- y = (3 × 5 + 1 × (−3))/(3 + 1) = (15 − 3)/4 = 12/4 = 3.
The required point is (7, 3).
Check: The ratio 3 : 1 puts the point 3/4 of the way from A to B: 4 + 3/4 × (8 − 4) = 4 + 3 = 7 and −3 + 3/4 × (5 + 3) = −3 + 6 = 3. The same.
Example 7
In what ratio does the point (−4, 6) divide the line segment joining the points A(−6, 10) and B(3, −8)?
What we know: A(−6, 10), B(3, −8), and the point (−4, 6) on AB.
What we need: The ratio m₁ : m₂.
The plan: Write the section formula with unknown m₁, m₂, and compare with (−4, 6). Equal points have equal coordinates: if (x, y) = (a, b), then x = a and y = b.
- (−4, 6) = ((3m₁ − 6m₂)/(m₁ + m₂), (−8m₁ + 10m₂)/(m₁ + m₂)). Call this (1).
- So −4 = (3m₁ − 6m₂)/(m₁ + m₂) and 6 = (−8m₁ + 10m₂)/(m₁ + m₂).
- From the first: −4m₁ − 4m₂ = 3m₁ − 6m₂, so 7m₁ = 2m₂, that is, m₁ : m₂ = 2 : 7.
- Verify with the y-coordinate: dividing by m₂, (−8 × m₁/m₂ + 10)/(m₁/m₂ + 1) = (−8 × 2/7 + 10)/(2/7 + 1) = (54/7)/(9/7) = 6. It agrees.
The point (−4, 6) divides AB in the ratio 2 : 7.
Another way: Write the ratio as k : 1. Then (−4, 6) = ((3k − 6)/(k + 1), (−8k + 10)/(k + 1)). So −4 = (3k − 6)/(k + 1), that is, −4k − 4 = 3k − 6, so 7k = 2 and k : 1 = 2/7 : 1 = 2 : 7. You can check the y-coordinate in the same way.
Note. You can also find the ratio from the distances PA and PB, provided you know that A, P and B are collinear: PA = √(4 + 16) = 2√5 and PB = √(49 + 196) = 7√5, so PA : PB = 2 : 7.
Example 8
Find the coordinates of the points of trisection (that is, the points dividing it into three equal parts) of the line segment joining the points A(2, −2) and B(−7, 4).
What we know: P and Q are the points of trisection, so AP = PQ = QB (Fig. 7.11).
The plan: P divides AB in the ratio 1 : 2 and Q divides it in the ratio 2 : 1. Use the section formula twice.
- P (ratio 1 : 2): x = (1 × (−7) + 2 × 2)/(1 + 2) = (−7 + 4)/3 = −1; y = (1 × 4 + 2 × (−2))/3 = (4 − 4)/3 = 0. So P is (−1, 0).
- Q (ratio 2 : 1): x = (2 × (−7) + 1 × 2)/3 = (−14 + 2)/3 = −4; y = (2 × 4 + 1 × (−2))/3 = (8 − 2)/3 = 2. So Q is (−4, 2).
The points of trisection are (−1, 0) and (−4, 2).
Check: From A to B the steps are −9 across and +6 up; one third of that is −3 and +2. From A(2, −2): (−1, 0), then (−4, 2), then (−7, 4) = B.
Another way: Q is the midpoint of PB, so Q = ((−1 + (−7))/2, (0 + 4)/2) = (−4, 2): the mid-point formula gives it directly.
Example 9
Find the ratio in which the y-axis divides the line segment joining the points (5, −6) and (−1, −4). Also find the point of intersection.
What we know: A(5, −6) and B(−1, −4). Every point on the y-axis has abscissa 0.
The plan: Let the ratio be k : 1. The dividing point has x-coordinate 0.
- The point dividing AB in the ratio k : 1 is ((−k + 5)/(k + 1), (−4k − 6)/(k + 1)).
- It lies on the y-axis, so (−k + 5)/(k + 1) = 0, which gives −k + 5 = 0 and k = 5.
- The ratio is 5 : 1. With k = 5, the y-coordinate is (−4 × 5 − 6)/(5 + 1) = −26/6 = −13/3.
The y-axis divides the segment in the ratio 5 : 1, at the point (0, −13/3).
Check: A is 5 units right of the y-axis and B is 1 unit left of it, so the axis cuts AB in the ratio 5 : 1, as found.
Example 10
If the points A(6, 1), B(8, 2), C(9, 4) and D(p, 3) are the vertices of a parallelogram, taken in order, find the value of p.
What we know: The diagonals of a parallelogram bisect each other, so AC and BD have the same midpoint.
The plan: Set the midpoint of AC equal to the midpoint of BD and compare x-coordinates.
- Midpoint of AC = ((6 + 9)/2, (1 + 4)/2) = (15/2, 5/2).
- Midpoint of BD = ((8 + p)/2, (2 + 3)/2) = ((8 + p)/2, 5/2).
- 15/2 = (8 + p)/2, so 15 = 8 + p and p = 7.
p = 7.
Check: The y-coordinates already agree (5/2 = 5/2). With D(7, 3): AB goes 2 across and 1 up, and DC goes from (7, 3) to (9, 4), also 2 across and 1 up: opposite sides are parallel and equal.
The book's note: dividing externally
The section formula above is for a point P between A and B, dividing AB internally, with PA : PB = m₁ : m₂.
If P lies on the line AB but outside the segment AB, and PA : PB = m₁ : m₂, we say P divides AB externally. Example: on a number line, A = 0 and B = 4; the point 6 is outside AB, with PA = 6 and PB = 2, so it divides AB externally in the ratio 3 : 1.
The section formula for external division comes in higher classes.
Common mistakes with the section formula
Pairing the wrong weight. m₁ goes with x₂ (the far end), not with x₁. Swapping gives the point that divides AB in the ratio m₂ : m₁, near the other end.
Using the midpoint for any ratio. (x₁ + x₂)/2 is only for 1 : 1.
Forgetting to check the second coordinate when finding a ratio: both coordinates must give the same ratio, or the point is not on the segment.
Sign slips with negative coordinates, as always.
When you are stuck: dividing a segment
Estimate first: a point dividing AB in the ratio 1 : 3 is a quarter of the way from A. Your answer must be near A.
Think in steps: go from A towards B by the fraction m₁/(m₁ + m₂) of the change in x and of the change in y. This gives the same answer as the formula.
The ratio is unknown? Call it k : 1 and use the coordinate that gives the simplest equation (an axis gives 0).
A parallelogram? Use the fact that its diagonals share a midpoint.
Another way to see the section formula: steps along the segment
Walking from A(x₁, y₁) to B(x₂, y₂), the x-coordinate changes by x₂ − x₁ and the y-coordinate by y₂ − y₁. A point dividing AB in the ratio m₁ : m₂ is the fraction m₁/(m₁ + m₂) of the way from A. So its x-coordinate is x₁ + (m₁/(m₁ + m₂))(x₂ − x₁) = (m₁x₁ + m₂x₁ + m₁x₂ − m₁x₁)/(m₁ + m₂) = (m₁x₂ + m₂x₁)/(m₁ + m₂): exactly the section formula. Thinking in steps is often quicker, and it is a good check.
More worked examples: dividing segments
Worked example 14
A bus route runs straight from stop A(1, 2) to stop B(13, 8), with coordinates in km. A new stop is to be built one third of the way from A to B. Where should it be?
The plan: One third of the way means the ratio 1 : 2. Use steps: a third of the change in each coordinate.
- Change from A to B: 12 across and 6 up.
- A third of it: 4 across and 2 up.
- New stop: (1 + 4, 2 + 2) = (5, 4).
The new stop should be at (5, 4).
Check: Section formula with 1 : 2: ((1 × 13 + 2 × 1)/3, (1 × 8 + 2 × 2)/3) = (15/3, 12/3) = (5, 4).
Worked example 15
Find the ratio in which the line x + y = 4 divides the segment joining A(−1, 1) and B(5, 7). Find the point of division too.
The plan: Let the point divide AB in the ratio k : 1; it must satisfy x + y = 4.
- The point is ((5k − 1)/(k + 1), (7k + 1)/(k + 1)).
- x + y = 4: (5k − 1 + 7k + 1)/(k + 1) = 4, so 12k = 4k + 4, 8k = 4 and k = 1/2.
- The ratio is 1/2 : 1 = 1 : 2. The point: ((5/2 − 1)/(3/2), (7/2 + 1)/(3/2)) = ((3/2)/(3/2), (9/2)/(3/2)) = (1, 3).
The line divides AB in the ratio 1 : 2, at (1, 3).
Check: 1 + 3 = 4, so (1, 3) is on the line; and it is a third of the way from A: −1 + 6/3 = 1, 1 + 6/3 = 3.
Worked example 16
Going further: the medians of the triangle with vertices A(1, 2), B(5, 4) and C(3, 9) meet at a point G that divides each median in the ratio 2 : 1 from the vertex. Find G.
The plan: Find the midpoint D of BC; G divides AD in the ratio 2 : 1.
- D = ((5 + 3)/2, (4 + 9)/2) = (4, 6.5).
- G = ((2 × 4 + 1 × 1)/3, (2 × 6.5 + 1 × 2)/3) = (9/3, 15/3) = (3, 5).
G is (3, 5).
Check: G is also the average of the three vertices: ((1 + 5 + 3)/3, (2 + 4 + 9)/3) = (3, 5). This point is called the centroid; it is not in this edition, but it shows the section formula at work.
Worked example 17
One end of a segment is A(4, −1), and its midpoint is M(1, 2). Find the other end B, and the point that divides AB in the ratio 1 : 2.
The plan: Undo the midpoint formula for B; then use the section formula.
- (4 + x)/2 = 1 gives x = −2; (−1 + y)/2 = 2 gives y = 5. So B is (−2, 5).
- Ratio 1 : 2 from A: ((1 × (−2) + 2 × 4)/3, (1 × 5 + 2 × (−1))/3) = (6/3, 3/3) = (2, 1).
B is (−2, 5), and the point is (2, 1).
Check: From A to B the change is (−6, 6); a third of it is (−2, 2), and A + (−2, 2) = (2, 1).
Worked example 18
A(1, 2), B(3, 5) and C(6, 7) are three vertices of a parallelogram ABCD, taken in order. Find the fourth vertex D.
The plan: The diagonals AC and BD have the same midpoint.
- Midpoint of AC = ((1 + 6)/2, (2 + 7)/2) = (3.5, 4.5).
- So the midpoint of BD is (3.5, 4.5): (3 + x)/2 = 3.5 and (5 + y)/2 = 4.5.
- x = 4 and y = 4.
D is (4, 4).
Check: The step from A to B is (2, 3), and the step from D to C is (6 − 4, 7 − 4) = (2, 3): opposite sides are equal and parallel.
Worked example 19
In the triangle with vertices A(0, 0), B(6, 0) and C(2, 4), find the midpoints M of AC and N of BC. Show that MN is parallel to AB and half as long.
The plan: Midpoint formula twice, then compare MN with AB (this is the mid-point theorem of Chapter 6, checked with coordinates).
- M = ((0 + 2)/2, (0 + 4)/2) = (1, 2).
- N = ((6 + 2)/2, (0 + 4)/2) = (4, 2).
- M and N have the same y-coordinate, so MN is horizontal, like AB (which lies on the x-axis): MN ∥ AB.
- MN = 4 − 1 = 3 and AB = 6, so MN = ½AB.
MN is parallel to AB and half as long (3 units against 6).
Check: It works for any triangle: the midpoints' y-coordinates are both half of C's y-coordinate when A and B lie on the x-axis.
Worked example 20
A(−2, −1), B(a, 0), C(4, b) and D(1, 2) are the vertices of a parallelogram ABCD, taken in order. Find a and b.
The plan: The diagonals AC and BD have the same midpoint; compare the x- and y-coordinates.
- Midpoint of AC = ((−2 + 4)/2, (−1 + b)/2) = (1, (b − 1)/2).
- Midpoint of BD = ((a + 1)/2, (0 + 2)/2) = ((a + 1)/2, 1).
- x: 1 = (a + 1)/2, so a = 1. y: (b − 1)/2 = 1, so b = 3.
a = 1 and b = 3.
Check: With B(1, 0) and C(4, 3): the step from A to B is (3, 1), and the step from D to C is (3, 1). Equal, as in a parallelogram.
The idea. Write the x-coordinate as x = (m₂/(m₁ + m₂)) × x₁ + (m₁/(m₁ + m₂)) × x₂. The two weights are positive and add up to 1, so x is a weighted average of x₁ and x₂, and an average always lies between the two numbers averaged. The same holds for y. So the point found by the formula always lies between A and B: internal division.
Which end is it nearer? The bigger weight wins. With the ratio 3 : 1, the weight of B is 3/4 and of A only 1/4, so the point is near B (as in Example 6, where (7, 3) is near (8, 5)).
A quick check. If an answer of yours lies outside the range from x₁ to x₂ (or y₁ to y₂), a sign or a weight has slipped.
Your turn
1. Find the midpoint of the segment joining (−3, 8) and (7, −2).Tap to reveal
- x = (−3 + 7)/2 = 2.
- y = (8 + (−2))/2 = 3.
The midpoint is (2, 3).
2. Find the point dividing the join of (1, 2) and (11, 7) in the ratio 2 : 3.Tap to reveal
- x = (2 × 11 + 3 × 1)/5 = 25/5 = 5.
- y = (2 × 7 + 3 × 2)/5 = 20/5 = 4.
The point is (5, 4).
Check: It is 2/5 of the way: 1 + 2/5 × 10 = 5 and 2 + 2/5 × 5 = 4.
3. The midpoint of AB is (4, −1), and A is (1, 3). Find B.Tap to reveal
- (1 + x)/2 = 4, so x = 7.
- (3 + y)/2 = −1, so y = −5.
B is (7, −5).
4. In what ratio does the x-axis divide the join of (2, −3) and (5, 6)? Find the point.Tap to reveal
- k : 1 with y = 0: (6k − 3)/(k + 1) = 0, so k = 1/2: the ratio is 1 : 2.
- x = (5 × 1/2 + 2)/(1/2 + 1) = (9/2)/(3/2) = 3.
The ratio is 1 : 2, at (3, 0).
Check: The first point is 3 below the axis and the second 6 above it: 3 : 6 = 1 : 2.
5. Find the points that divide the join of (0, 0) and (12, −6) into three equal parts.Tap to reveal
- A third of the change: (12/3, −6/3) = (4, −2).
- Points: (4, −2) and (8, −4).
(4, −2) and (8, −4).
Check: Section formula, 1 : 2: ((1 × 12 + 2 × 0)/3, (1 × (−6) + 0)/3) = (4, −2).
6. P(2, 3) is the midpoint of A(x, 1) and B(5, y). Find x and y.Tap to reveal
- (x + 5)/2 = 2, so x = −1.
- (1 + y)/2 = 3, so y = 5.
x = −1 and y = 5.
Check: The midpoint of (−1, 1) and (5, 5) is (2, 3).
7. Find the point P on the segment from A(−3, −2) to B(9, 4) such that AP : PB = 5 : 1.Tap to reveal
- x = (5 × 9 + 1 × (−3))/6 = 42/6 = 7.
- y = (5 × 4 + 1 × (−2))/6 = 18/6 = 3.
P is (7, 3).
Check: 5/6 of the way from A: −3 + 5/6 × 12 = 7 and −2 + 5/6 × 6 = 3.
In one line
The point dividing the join of (x₁, y₁) and (x₂, y₂) internally in the ratio m₁ : m₂ is ((m₁x₂ + m₂x₁)/(m₁ + m₂), (m₁y₂ + m₂y₁)/(m₁ + m₂)), and the midpoint is ((x₁ + x₂)/2, (y₁ + y₂)/2).
Ex 7.2Exercise 7.2, solved in full
Exercise 7.2 practises the section formula and the midpoint: dividing in a ratio, finding the ratio, trisection and quarter points, parallelograms and a rhombus. Try each question on paper first; then open the answer. The answers agree with the book's answers at the back of the textbook.
When you are stuck: Exercise 7.2
A point to find: write m₁, m₂ and the two ends, then use the section formula; estimate first where it should lie.
A ratio to find: call it k : 1, use one coordinate to find k, and check with the other.
An axis: on the x-axis y = 0, on the y-axis x = 0.
A parallelogram or a circle's diameter: use midpoints (the diagonals bisect each other; the centre is the midpoint of a diameter).
1. Find the coordinates of the point which divides the join of (−1, 7) and (4, −3) in the ratio 2 : 3.Tap to reveal
What we know: A(−1, 7), B(4, −3), m₁ = 2, m₂ = 3.
The plan: Use the section formula, ((m₁x₂ + m₂x₁)/(m₁ + m₂), (m₁y₂ + m₂y₁)/(m₁ + m₂)).
- x = (2 × 4 + 3 × (−1))/(2 + 3) = (8 − 3)/5 = 1.
- y = (2 × (−3) + 3 × 7)/5 = (−6 + 21)/5 = 3.
The point is (1, 3).
Check: This agrees with the book's answer. It is 2/5 of the way from A: −1 + 2/5 × 5 = 1 and 7 + 2/5 × (−10) = 3.
2. Find the coordinates of the points of trisection of the line segment joining (4, −1) and (−2, −3).Tap to reveal
What we know: A(4, −1), B(−2, −3). The points of trisection divide AB in the ratios 1 : 2 and 2 : 1.
The plan: Use the section formula twice.
- P (1 : 2): x = (1 × (−2) + 2 × 4)/3 = 6/3 = 2; y = (1 × (−3) + 2 × (−1))/3 = −5/3. So P(2, −5/3).
- Q (2 : 1): x = (2 × (−2) + 1 × 4)/3 = 0; y = (2 × (−3) + 1 × (−1))/3 = −7/3. So Q(0, −7/3).
The points of trisection are (2, −5/3) and (0, −7/3).
Check: This agrees with the book's answer. Steps of one third: across (−2 − 4)/3 = −2, up (−3 + 1)/3 = −2/3. From (4, −1): (2, −5/3), (0, −7/3), (−2, −3).
Another way: The second point is the midpoint of the first point and B: ((2 + (−2))/2, (−5/3 − 3)/2) = (0, −7/3), as Example 8 noted for its own segment.
3. To conduct Sports Day activities, in your rectangular school ground ABCD, lines have been drawn with chalk powder 1 m apart. 100 flower pots have been placed 1 m apart along AD, as shown in Fig. 7.12. Niharika runs ¼ of the distance AD on the 2nd line and posts a green flag. Preet runs ⅕ of the distance AD on the eighth line and posts a red flag. What is the distance between both the flags? If Rashmi has to post a blue flag exactly halfway between the two flags, where should she post her flag?Tap to reveal
What we know: 100 pots 1 m apart along AD, so AD = 100 m. Take A as the origin, the lines across as the x-axis (line number = x) and AD as the y-direction.
The plan: Write the two flags as points, use the distance formula for the gap, and the midpoint formula for Rashmi.
- Green flag: on the 2nd line, ¼ × 100 = 25 m along: G(2, 25).
- Red flag: on the 8th line, ⅕ × 100 = 20 m along: R(8, 20).
- Distance GR = √[(8 − 2)² + (20 − 25)²] = √(36 + 25) = √61 m ≈ 7.8 m.
- Blue flag at the midpoint: ((2 + 8)/2, (25 + 20)/2) = (5, 22.5).
The flags are √61 m apart (about 7.8 m), and Rashmi should post her flag on the 5th line, 22.5 m along it.
Check: This agrees with the book's answer. The midpoint's line, 5, is halfway between lines 2 and 8, and its distance, 22.5 m, is halfway between 25 m and 20 m.
Another way: Any choice of axes gives the same distance, because only the differences of the coordinates matter: across 6 lines and along 5 m. Choosing A as the origin just makes the numbers small and positive.
4. Find the ratio in which the line segment joining the points (−3, 10) and (6, −8) is divided by (−1, 6).Tap to reveal
What we know: A(−3, 10), B(6, −8), P(−1, 6).
The plan: Let the ratio be k : 1 and compare the x-coordinates; check with y.
- x: (6k − 3)/(k + 1) = −1, so 6k − 3 = −k − 1, 7k = 2 and k = 2/7.
- Check y: (−8 × 2/7 + 10)/(2/7 + 1) = (−16/7 + 70/7)/(9/7) = (54/7)/(9/7) = 6. It agrees.
The ratio is 2 : 7.
Check: This agrees with the book's answer. P is 2/9 of the way from A: −3 + 2/9 × 9 = −1 and 10 + 2/9 × (−18) = 6.
Another way: With distances (the point is known to lie on the segment): PA = √(4 + 16) = 2√5 and PB = √(49 + 196) = 7√5, so PA : PB = 2 : 7.
5. Find the ratio in which the line segment joining A(1, −5) and B(−4, 5) is divided by the x-axis. Also find the coordinates of the point of division.Tap to reveal
What we know: A(1, −5), B(−4, 5). A point on the x-axis has y = 0.
The plan: Let the ratio be k : 1; set the y-coordinate equal to 0.
- y: (5k − 5)/(k + 1) = 0, so 5k − 5 = 0 and k = 1. The ratio is 1 : 1.
- With k = 1 the point is the midpoint: x = (−4 + 1)/2 = −3/2, y = 0.
The x-axis divides AB in the ratio 1 : 1, at (−3/2, 0).
Check: This agrees with the book's answer. A is 5 units below the x-axis and B is 5 units above it, so the axis cuts AB exactly in half.
Another way: Use distances from the axis: A is 5 units below and B is 5 units above, so the axis cuts AB in the ratio 5 : 5 = 1 : 1, and the point is the midpoint (−3/2, 0).
6. If (1, 2), (4, y), (x, 6) and (3, 5) are the vertices of a parallelogram taken in order, find x and y.Tap to reveal
What we know: A(1, 2), B(4, y), C(x, 6), D(3, 5). The diagonals AC and BD of a parallelogram bisect each other.
The plan: Set the midpoint of AC equal to the midpoint of BD.
- Midpoint of AC = ((1 + x)/2, (2 + 6)/2) = ((1 + x)/2, 4).
- Midpoint of BD = ((4 + 3)/2, (y + 5)/2) = (7/2, (y + 5)/2).
- (1 + x)/2 = 7/2 gives x = 6; 4 = (y + 5)/2 gives y = 3.
x = 6 and y = 3.
Check: This agrees with the book's answer. With B(4, 3) and C(6, 6): AB goes 3 across and 1 up, and DC goes from (3, 5) to (6, 6), also 3 across and 1 up.
Another way: In a parallelogram ABCD the step from A to B equals the step from D to C: (4 − 1, y − 2) = (x − 3, 6 − 5). So x − 3 = 3 and y − 2 = 1, giving x = 6 and y = 3 again.
7. Find the coordinates of a point A, where AB is the diameter of a circle whose centre is (2, −3) and B is (1, 4).Tap to reveal
What we know: The centre is the midpoint of any diameter, so (2, −3) is the midpoint of AB, with B(1, 4).
The plan: Let A be (x, y) and use the midpoint formula backwards.
- (x + 1)/2 = 2, so x = 3.
- (y + 4)/2 = −3, so y = −10.
A is (3, −10).
Check: This agrees with the book's answer. The midpoint of (3, −10) and (1, 4) is (2, −3). Going from B to the centre is 1 across and 7 down; going the same again reaches A.
Another way: The centre is halfway, so A = 2 × centre − B = (2 × 2 − 1, 2 × (−3) − 4) = (3, −10).
8. If A and B are (−2, −2) and (2, −4), respectively, find the coordinates of P such that AP = (3/7)AB and P lies on the line segment AB.Tap to reveal
What we know: AP = (3/7)AB, so PB = (4/7)AB, and P divides AB in the ratio 3 : 4.
The plan: Use the section formula, ((m₁x₂ + m₂x₁)/(m₁ + m₂), (m₁y₂ + m₂y₁)/(m₁ + m₂)) with m₁ = 3, m₂ = 4.
- x = (3 × 2 + 4 × (−2))/7 = (6 − 8)/7 = −2/7.
- y = (3 × (−4) + 4 × (−2))/7 = (−12 − 8)/7 = −20/7.
P is (−2/7, −20/7).
Check: This agrees with the book's answer. 3/7 of the change from A to B: −2 + 3/7 × 4 = −2/7 and −2 + 3/7 × (−2) = −20/7.
A path that fails: using the ratio 3 : 7. The fraction 3/7 compares AP with the whole of AB; the ratio in the section formula compares AP with PB, which is 3 : 4.
9. Find the coordinates of the points which divide the line segment joining A(−2, 2) and B(2, 8) into four equal parts.Tap to reveal
What we know: Three points divide AB into four equal parts: at 1/4, 1/2 and 3/4 of the way from A, that is, in the ratios 1 : 3, 1 : 1 and 3 : 1.
The plan: The middle one is the midpoint; the others follow by the section formula (or by steps of a quarter).
- A quarter of the change: across (2 − (−2))/4 = 1, up (8 − 2)/4 = 1.5.
- First point: (−2 + 1, 2 + 1.5) = (−1, 7/2).
- Second (the midpoint): (0, 5).
- Third: (1, 13/2).
The points are (−1, 7/2), (0, 5) and (1, 13/2).
Check: This agrees with the book's answer. By the section formula, the first point (1 : 3) is ((1 × 2 + 3 × (−2))/4, (1 × 8 + 3 × 2)/4) = (−4/4, 14/4) = (−1, 7/2).
Another way: Find the midpoint (0, 5) first; then the midpoint of A and (0, 5) is (−1, 7/2), and the midpoint of (0, 5) and B is (1, 13/2). Halving twice gives quarters.
10. Find the area of a rhombus if its vertices are (3, 0), (4, 5), (−1, 4) and (−2, −1) taken in order. [Hint: Area of a rhombus = ½ (product of its diagonals).]Tap to reveal
What we know: A(3, 0), B(4, 5), C(−1, 4), D(−2, −1), as the figure at the start of this answer shows. The diagonals are AC and BD.
The plan: Find the lengths of the two diagonals with the distance formula, then use the hint.
- AC = √[(−1 − 3)² + (4 − 0)²] = √(16 + 16) = √32 = 4√2.
- BD = √[(−2 − 4)² + (−1 − 5)²] = √(36 + 36) = √72 = 6√2.
- Area = ½ × 4√2 × 6√2 = ½ × 24 × 2 = 24.
The area is 24 square units.
Check: This agrees with the book's answer. All four sides are √26 (for example AB = √(1 + 25)), so it is a rhombus; and both diagonals have midpoint (1, 2), as they must.
MixMixed practice: the whole chapter together
These problems mix the ideas of the chapter, as exam questions often do. Two are dead ends on purpose, and one has a tempting first step that fails. Watch how each one recovers.
A. Show that the points (0, 0), (4, 0) and (2, 2√3) are the vertices of an equilateral triangle.Tap to reveal
The plan: Find the three sides with the distance formula.
- From (0, 0) to (4, 0): 4.
- From (4, 0) to (2, 2√3): √[(−2)² + (2√3)²] = √(4 + 12) = √16 = 4.
- From (0, 0) to (2, 2√3): √(4 + 12) = 4.
All three sides are 4 units, so the triangle is equilateral.
Check: Its height is 2√3 ≈ 3.46, which matches the height of an equilateral triangle of side 4: √(16 − 4) = √12 = 2√3.
B. Find a point on the x-axis that is 3 units from the point (1, 5).Tap to reveal
The plan: A point on the x-axis is (x, 0). Set its distance from (1, 5) equal to 3 and square.
- (x − 1)² + (0 − 5)² = 9, so (x − 1)² + 25 = 9.
- (x − 1)² = −16. A square can never be negative: a dead end.
There is no such point.
Check: The point (1, 5) is 5 units above the x-axis, so every point of the axis is at least 5 units from it. A circle of radius 3 around (1, 5) never reaches the axis.
The dead end, and what it means: a negative square is not a slip to be fixed; it tells you the condition is impossible. With a distance of 13 instead of 3, (x − 1)² = 144 and x = 13 or x = −11.
C. Find the point that divides the segment from A(0, 0) to B(10, 5) in the ratio 2 : 3.Tap to reveal
The plan: Section formula with m₁ = 2 (next to A) and m₂ = 3.
- x = (2 × 10 + 3 × 0)/5 = 4.
- y = (2 × 5 + 3 × 0)/5 = 2.
The point is (4, 2).
Check: It is 2/5 of the way from A, so nearer A, as the smaller share 2 says: 2/5 × 10 = 4 and 2/5 × 5 = 2.
A path that fails: pairing m₁ with x₁: (2 × 0 + 3 × 10)/5 = 6 and (2 × 0 + 3 × 5)/5 = 3, giving (6, 3). That point divides AB in the ratio 3 : 2, nearer B. The weight of each end is the opposite share.
D. The point (k, 4) lies on the segment joining (1, 2) and (7, 6). Find k and the ratio in which it divides the segment.Tap to reveal
The plan: Let the ratio be r : 1. The y-coordinate gives r; the x-coordinate then gives k.
- y: (6r + 2)/(r + 1) = 4, so 6r + 2 = 4r + 4, 2r = 2 and r = 1. The ratio is 1 : 1: the point is the midpoint.
- x: k = (1 + 7)/2 = 4.
k = 4, and the point divides the segment in the ratio 1 : 1 (it is the midpoint).
Check: The midpoint of (1, 2) and (7, 6) is ((1 + 7)/2, (2 + 6)/2) = (4, 4).
E. A circle has its centre at (2, 3) and passes through the point (5, 7). Find its radius, and the other end of the diameter that starts at (5, 7).Tap to reveal
The plan: The radius is the distance from the centre to a point on the circle; the centre is the midpoint of every diameter.
- Radius = √[(5 − 2)² + (7 − 3)²] = √(9 + 16) = √25 = 5.
- Other end (x, y): (x + 5)/2 = 2 and (y + 7)/2 = 3, so x = −1 and y = −1.
The radius is 5 units, and the other end of the diameter is (−1, −1).
Check: The distance from the centre to (−1, −1) is √(9 + 16) = 5, as every radius must be.
F. Is the point P(2, 5) on the segment joining A(0, 0) and B(4, 8)?Tap to reveal
The plan: If P is on AB, it divides AB in some ratio k : 1, and both coordinates must give the same k.
- x: (4k + 0)/(k + 1) = 2 gives 4k = 2k + 2, so k = 1.
- y: (8k + 0)/(k + 1) = 5 gives 8k = 5k + 5, so k = 5/3.
- The two coordinates give different values of k: a dead end for "P is on AB".
No, P(2, 5) is not on the segment AB.
Check: The midpoint of AB is (2, 4), just below P. By distances: AP + PB = √29 + √13 ≈ 5.385 + 3.606 = 8.991, a little more than AB = √80 ≈ 8.944, so the path A to P to B bends.
The dead end, and what it means: this is why the book asks you to verify the ratio with the second coordinate. One coordinate alone always gives some k.
H. Show that the points (a, a), (−a, −a) and (−√3a, √3a) are the vertices of an equilateral triangle (a > 0).Tap to reveal
The plan: Find the three sides with the distance formula; take a outside the square roots.
- From (a, a) to (−a, −a): √[(2a)² + (2a)²] = √(8a²) = 2√2a.
- From (−a, −a) to (−√3a, √3a): √[(a − √3a)² + (−a − √3a)²] = a√[(1 − √3)² + (1 + √3)²] = a√[(4 − 2√3) + (4 + 2√3)] = a√8 = 2√2a.
- From (a, a) to (−√3a, √3a): √[(a + √3a)² + (a − √3a)²] = a√[(4 + 2√3) + (4 − 2√3)] = 2√2a.
All three sides are 2√2a, so the triangle is equilateral.
Check: With a = 1: the points are (1, 1), (−1, −1) and (−1.732, 1.732), and each side is 2√2 ≈ 2.83.
The trick is (1 − √3)² + (1 + √3)² = 8: the √3 terms cancel. Expanding each bracket fully is safer than guessing.
I. Two friends live at P(−2, 1) and Q(6, 5) on a village map (1 unit = 100 m). They agree to meet at the point R on the straight path between their homes that is three times as far from P as from Q. Where is R, and how far does each walk?Tap to reveal
The plan: PR : RQ = 3 : 1, so R divides PQ in the ratio 3 : 1. Then use the distance formula.
- R = ((3 × 6 + 1 × (−2))/4, (3 × 5 + 1 × 1)/4) = (16/4, 16/4) = (4, 4).
- PQ = √(8² + 4²) = √80 = 4√5 units.
- PR = 3/4 of PQ = 3√5 units ≈ 6.71 units ≈ 671 m; RQ = √5 units ≈ 2.24 units ≈ 224 m.
They meet at R(4, 4); one walks about 671 m and the other about 224 m.
Check: Directly: PR = √(6² + 3²) = √45 = 3√5 and RQ = √(2² + 1²) = √5, in the ratio 3 : 1.
J. A delivery drone takes off from a depot at O(0, 0), flies straight to a shop at S(8, 6), and then straight to a house at H(8, 15). Units are kilometres. How far does it fly in all, and how much shorter would a direct flight from O to H be?Tap to reveal
The plan: Add the lengths of the two legs; compare with the straight distance OH.
- OS = √(8² + 6²) = √100 = 10 km.
- SH = 15 − 6 = 9 km (same column, x = 8).
- Total = 10 + 9 = 19 km.
- OH = √(8² + 15²) = √(64 + 225) = √289 = 17 km.
The drone flies 19 km; a direct flight would be 17 km, 2 km shorter.
Check: O, S and H are not collinear (10 + 9 ≠ 17), so the path through S bends and must be longer than the straight line.
G. A rectangular park has corners A(0, 0), B(12, 0), C(12, 9) and D(0, 9), in metres. A fountain stands at the centre of the park. How far is the fountain from each corner?Tap to reveal
The plan: The centre of a rectangle is the midpoint of a diagonal; its distance from each corner is half a diagonal.
- Centre = midpoint of AC = ((0 + 12)/2, (0 + 9)/2) = (6, 4.5).
- Distance to A = √(6² + 4.5²) = √(36 + 20.25) = √56.25 = 7.5 m.
The fountain is 7.5 m from every corner.
Check: The diagonal AC = √(144 + 81) = √225 = 15 m, and half of it is 7.5 m. The diagonals of a rectangle are equal and bisect each other, so all four corners are 7.5 m away.
RecapThe whole chapter on one screen
- The x-coordinate (abscissa) of a point is its signed distance from the y-axis; the y-coordinate (ordinate) is its signed distance from the x-axis. Points on the axes are (x, 0) and (0, y).
- The distance between P(x₁, y₁) and Q(x₂, y₂) is √[(x₂ − x₁)² + (y₂ − y₁)²]: Pythagoras' theorem on the differences across and up.
- The distance of P(x, y) from the origin is √(x² + y²).
- Three points are collinear when the two shorter distances add up to the longest; otherwise they form a triangle, whose type the sides (and their squares) reveal.
- The point P(x, y) dividing the join of A(x₁, y₁) and B(x₂, y₂) internally in the ratio m₁ : m₂ is ((m₁x₂ + m₂x₁)/(m₁ + m₂), (m₁y₂ + m₂y₁)/(m₁ + m₂)); with the ratio k : 1 it is ((kx₂ + x₁)/(k + 1), (ky₂ + y₁)/(k + 1)).
- The midpoint of the join of P(x₁, y₁) and Q(x₂, y₂) is ((x₁ + x₂)/2, (y₁ + y₂)/2).
- If P lies on the line AB but outside the segment, with PA : PB = m₁ : m₂, it divides AB externally (higher classes).
| Question | Tool | Example |
|---|---|---|
| How far apart? | The distance formula | (−5, 7) and (−1, 3): 4√2 |
| How far from O? | √(x² + y²) | (36, 15): 39 |
| A triangle, or a line? | Compare the sum of the two shorter distances with the longest | 3√2 + 2√2 = 5√2: collinear |
| Which quadrilateral? | Four sides and two diagonals | √34 four times, √68 twice: a square |
| Equidistant point? | Equal squared distances | on the y-axis: (0, 9) |
| A point in a given ratio? | The section formula | (4, −3), (8, 5), 3 : 1: (7, 3) |
| Which ratio? | Call it k : 1 and solve one coordinate; check the other | (−4, 6) on AB: 2 : 7 |
| A parallelogram's missing vertex? | The diagonals share a midpoint | p = 7 |
WordsWords to know
- Origin
- The point O(0, 0) where the axes meet.
- Abscissa
- The x-coordinate: the signed distance of a point from the y-axis.
- Ordinate
- The y-coordinate: the signed distance of a point from the x-axis.
- Quadrant
- One of the four parts into which the axes divide the plane.
- Distance formula
- PQ = √[(x₂ − x₁)² + (y₂ − y₁)²].
- Collinear points
- Points that lie on one straight line.
- Equidistant
- At the same distance from two (or more) points.
- Perpendicular bisector
- The line through the midpoint of a segment at right angles to it; its points are equidistant from the ends.
- Section formula
- The coordinates of the point dividing a segment in a given ratio.
- Internal division
- Dividing a segment at a point between its ends.
- External division
- Dividing at a point on the line but outside the segment.
- Midpoint
- The point halving a segment: ((x₁ + x₂)/2, (y₁ + y₂)/2).
- Points of trisection
- The two points that divide a segment into three equal parts.
CheckQuick self-check
What is the abscissa of (−3, 7)? Its ordinate?Answer
Abscissa −3, ordinate 7.
In which quadrant is (−5, −3)?Answer
The third quadrant (both negative).
State the distance formula.Answer
PQ = √[(x₂ − x₁)² + (y₂ − y₁)²].
Find the distance between (2, 3) and (4, 1).Answer
√(4 + 4) = 2√2.
How far is (36, 15) from the origin?Answer
√(1296 + 225) = √1521 = 39.
How do you test whether three points are collinear?Answer
The two shorter distances must add up exactly to the longest.
Are A(3, 1), B(6, 4), C(8, 6) collinear?Answer
Yes: 3√2 + 2√2 = 5√2.
Four equal sides: is that enough for a square?Answer
No: a rhombus also has them; the diagonals must be equal too.
Which point on the y-axis is equidistant from (6, 5) and (−4, 3)?Answer
(0, 9).
State the section formula.Answer
((m₁x₂ + m₂x₁)/(m₁ + m₂), (m₁y₂ + m₂y₁)/(m₁ + m₂)).
Find the point dividing (4, −3) and (8, 5) in the ratio 3 : 1.Answer
(7, 3).
In what ratio does (−4, 6) divide A(−6, 10)B(3, −8)?Answer
2 : 7.
Find the midpoint of (−3, 8) and (7, −2).Answer
(2, 3).
What are the points of trisection of A(2, −2)B(−7, 4)?Answer
(−1, 0) and (−4, 2).
Why do the midpoints of AC and BD coincide in a parallelogram ABCD?Answer
Because the diagonals of a parallelogram bisect each other.