ILLUSTRATION OF THE DISTANCE FORMULA |
Distance Formula
| d = √((x2 − x1)2 + (y2 − y1)2) |
|
Where: • d = distance between the two points • (x1, y1) = coordinates of the first point • (x2, y2) = coordinates of the second point |
Figure: The distance formula for two points in a Cartesian plane
WORKED EXAMPLES Example 1: Calculate the distance between the points A(2, 3) and B(5, 7).Solution
| Given: | P1(x1, y1) = (2, 3) | P2(x2, y2) = (5, 7) |
| Find: | d = ? |
| Formula: | d = √((x2 − x1)2 + (y2 − y1)2) |
| Substitute: | d = √((5 − 2)2 + (7 − 3)2) |
| Calculate: | d = √((3)2 + (4)2) d = √(9 + 16) d = √25 |
| Answer: | d = 5 units |
Worked Example: Calculating the distance between two points
Example 2: Find the distance between the points C(−4, 1) and D(2, −7).Solution
| Given: | P1(x1, y1) = (−4, 1) | P2(x2, y2) = (2, −7) |
| Find: | d = ? |
| Formula: | d = √((x2 − x1)2 + (y2 − y1)2) |
| Substitute: | d = √((2 − (−4))2 + (−7 − 1)2) |
| Calculate: | d = √((2 + 4)2 + (−8)2) d = √((6)2 + 64) d = √(36 + 64) d = √100 |
| Answer: | d = 10 units |
Worked Example: Calculating distance with negative coordinates
✅ Check Your Understanding
Pause here. Let learners attempt these before moving on.
| 1. | State the formula used to calculate the length of a straight line segment between two points (x1, y1) and (x2, y2). |
| 2. | Calculate the distance between the points P(1, 4) and Q(7, −4). |
| 3. | True or False: When calculating the distance between two points, the order in which you subtract the coordinates (e.g., x2 − x1 vs. x1 − x2) affects the final distance. Justify your answer. |
Answers
1. d = √((x2 − x1)2 + (y2 − y1)2)
2. Given: P1(1, 4), P2(7, −4)
Formula: d = √((x2 − x1)2 + (y2 − y1)2)
Substitute: d = √((7 − 1)2 + (−4 − 4)2)
Calculate: d = √((6)2 + (−8)2) = √(36 + 64) = √100
Answer: d = 10 units
3. False. The order of subtraction does not affect the final distance because the differences are squared. For example, (x2 − x1)2 is the same as (x1 − x2)2, as squaring a negative number results in a positive number. Common error: learners might think the sign of the difference matters after squaring.
2. Given: P1(1, 4), P2(7, −4)
Formula: d = √((x2 − x1)2 + (y2 − y1)2)
Substitute: d = √((7 − 1)2 + (−4 − 4)2)
Calculate: d = √((6)2 + (−8)2) = √(36 + 64) = √100
Answer: d = 10 units
3. False. The order of subtraction does not affect the final distance because the differences are squared. For example, (x2 − x1)2 is the same as (x1 − x2)2, as squaring a negative number results in a positive number. Common error: learners might think the sign of the difference matters after squaring.
ILLUSTRATION OF THE MIDPOINT FORMULA |
Midpoint Formula
| M = (x1 + x22, y1 + y22) |
|
Where: • M = coordinates of the midpoint • (x1, y1) = coordinates of the first point • (x2, y2) = coordinates of the second point |
Figure: The midpoint formula for a line segment
WORKED EXAMPLES Example 3: Find the midpoint of the line segment joining points A(2, 6) and B(8, 4).Solution
| Given: | P1(x1, y1) = (2, 6) | P2(x2, y2) = (8, 4) |
| Find: | Midpoint M = ? |
| Formula: | M = (x1 + x22, y1 + y22) |
| Substitute: | M = (2 + 82, 6 + 42) |
| Calculate: | M = (102, 102) |
| Answer: | M = (5, 5) |
Worked Example: Calculating the midpoint of a line segment
Example 4: The midpoint of a line segment PQ is M(3, −2). If the coordinates of P are (1, 5), find the coordinates of Q.Solution
| Given: | P(x1, y1) = (1, 5) | Midpoint M(x, y) = (3, −2) |
| Find: | Coordinates of Q(x2, y2) = ? |
| Formula: | x = x1 + x22 | y = y1 + y22 |
| Substitute (x): | 3 = 1 + x22 6 = 1 + x2 x2 = 6 − 1 |
| Substitute (y): | −2 = 5 + y22 −4 = 5 + y2 y2 = −4 − 5 |
| Answer: | x2 = 5, y2 = −9 → Q = (5, −9) |
Worked Example: Finding an endpoint given the midpoint and other endpoint
✅ Check Your Understanding
Pause here. Let learners attempt these before moving on.
| 1. | Define the term 'midpoint' in the context of coordinate geometry. |
| 2. | A line segment connects points X(−5, 8) and Y(3, −2). Calculate the coordinates of its midpoint. |
| 3. | A student calculates the midpoint of (2, 4) and (6, 8) as (4, 12). Identify the error in their calculation. |
Answers
1. The midpoint of a line segment is the point that divides the segment into two equal parts.
2. Given: X(x1, y1) = (−5, 8), Y(x2, y2) = (3, −2)
Formula: M = (x1 + x22, y1 + y22)
Substitute: M = (−5 + 32, 8 + (−2)2)
Calculate: M = (−22, 62)
Answer: M = (−1, 3)
3. The error is in calculating the y-coordinate. The student added y1 and y2 correctly (4 + 8 = 12) but forgot to divide by 2. The correct y-coordinate should be 122 = 6. The correct midpoint is (4, 6).
2. Given: X(x1, y1) = (−5, 8), Y(x2, y2) = (3, −2)
Formula: M = (x1 + x22, y1 + y22)
Substitute: M = (−5 + 32, 8 + (−2)2)
Calculate: M = (−22, 62)
Answer: M = (−1, 3)
3. The error is in calculating the y-coordinate. The student added y1 and y2 correctly (4 + 8 = 12) but forgot to divide by 2. The correct y-coordinate should be 122 = 6. The correct midpoint is (4, 6).
Key Formulas: Coordinate Geometry
| Distance Formula | d = √((x2 − x1)2 + (y2 − y1)2) |
| Midpoint Formula | M = (x1 + x22, y1 + y22) |
(x1, y1) = coordinates of the first point | (x2, y2) = coordinates of the second point
Figure: Summary of key formulas in coordinate geometry
Want to create your own resources?
Sign up to generate lesson plans, study notes, tests and other CBC and OBC curriculum resources.
Sign Up Free