Length and midpoint
| English | Chinese | Pinyin |
|---|---|---|
| line segment | 线段 | xiàn duàn |
| hypotenuse | 斜边 | xié biān |
| Pythagoras | 勾股定理 | gōu gǔ dìng lǐ |
| midpoint | 中点 | zhōng diǎn |
How far, really?
- Your phone says the café is 1.2 km away — but that's the straight-line distance, not the zigzag walk along streets.
- In coordinate geometry we often need the exact straight-line distance between two points.
- The tool? A 2500-year-old theorem.
Length and midpoint lab
midpoint is halfway between endpoints
Move along a line segment and see midpoint as halfway.
Length of a segment (Extended)
- A line segment 线段 is the straight piece between two points $(x_1, y_1)$ and $(x_2, y_2)$.
- Draw a right triangle with the segment as the hypotenuse 斜边:
- The horizontal gap is $x_2 - x_1$ and the vertical gap is $y_2 - y_1$.
- By Pythagoras 勾股定理, the length is:

The gap across (3) and the gap up (4) give the length by Pythagoras; the midpoint 中点 is the average of the coordinates
Worked example — length
- Find the length from $(1, 2)$ to $(4, 6)$.
- Horizontal gap $= 4 - 1 = 3$; vertical gap $= 6 - 2 = 4$.
- Length $= \sqrt{3^2 + 4^2} = \sqrt{9 + 16} = \sqrt{25} = 5$.
- The classic 3-4-5 right triangle makes a clean answer.

Pythagoras finds the length (hypotenuse); averaging finds the midpoint (star).
From the origin. Length from $(0, 0)$ to $(3, 4)$: $\sqrt{3^2 + 4^2} = \sqrt{25} = 5$. Same triangle, different starting point.
Find the length of the segment from (1, 2) to (4, 6).
√((4−1)² + (6−2)²) = √(9 + 16) = √25 = 5.
Find the length of the segment from (0, 0) to (3, 4).
√(3² + 4²) = √(9 + 16) = √25 = 5. The classic 3-4-5 triangle.
Find the length of the segment from (1, 5) to (7, 5).
Both points have y = 5 (horizontal segment). Length = 7 − 1 = 6.
Midpoint of a segment (Extended)
- The midpoint is the point exactly halfway between the two endpoints.
- Find it by averaging each coordinate:
- It's the "halfway" $x$ paired with the "halfway" $y$.
Worked example — midpoint
- Find the midpoint from $(1, 2)$ to $(4, 6)$.
- Mid-$x = \dfrac{1 + 4}{2} = \dfrac{5}{2} = 2.5$.
- Mid-$y = \dfrac{2 + 6}{2} = \dfrac{8}{2} = 4$.
- Midpoint $= (2.5,\, 4)$ — exactly halfway along.
Average, don't add. The midpoint of $(1, 2)$ and $(4, 6)$ is $(2.5, 4)$, not $(5, 8)$. You must divide by 2 — averaging, not summing.
The midpoint of (1, 2) and (4, 6) is (a, 4). What is a?
Average the x-values: (1 + 4)/2 = 2.5.
The midpoint of (2, 3) and (8, 9) is (5, b). What is b?
Average the y-values: (3 + 9)/2 = 6.
The x-coordinate of the midpoint of (x₁, y₁) and (x₂, y₂) is:
The midpoint is the average of each coordinate: (x₁ + x₂)/2. Choice 2 forgets to divide; choice 3 gives half the gap, not the position.
Complete: the midpoint x-coordinate = (x₁ + ______) / 2.
The midpoint x-coordinate is the average of the two x-values: (x₁ + x₂)/2.
The 3-4-5 triangle family
- The triangle with sides $3, 4, 5$ is the smallest right triangle with whole-number sides.
- Multiples work too: $6, 8, 10$ and $9, 12, 15$ are also right triangles.
- You'll see this family a lot in exam questions — recognise it and save time.
For a horizontal segment (both y-values the same), the length is simply the difference of the x-values.
When y₁ = y₂, the formula simplifies to √((x₂−x₁)²) = |x₂ − x₁|.
Match each segment to its length.
(0,0)–(5,0) is horizontal, length 5. (1,1)–(1,4) is vertical, length 3. (0,0)–(6,8): √(36+64) = √100 = 10. (2,3)–(5,7): √(9+16) = √25 = 5.
You've got it
- length $= \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$ (Pythagoras on the horizontal and vertical gaps)
- midpoint $= \left( \dfrac{x_1 + x_2}{2}, \; \dfrac{y_1 + y_2}{2} \right)$ (average each coordinate)
- $(1,2)$ to $(4,6)$: length $5$, midpoint $(2.5,\, 4)$
- the 3-4-5 right triangle appears often — spot it early