Mathematics Topic

Length and Midpoint of a Line Segment

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. The length of a segment comes from Pythagoras: square the x difference and the y difference, add, then take the square root
  2. The midpoint is the average of the x values and the average of the y values of the two end points
  3. Subtract carefully with negative coordinates, keep the answer exact (such as √52) or round as the question says, and give the units of the grid

Visual notes

The segment from A(1, 2) to B(5, 8) with its right-angled triangle and midpoint
A straight segment AB from A(1, 2) to B(5, 8). A right-angled triangle is drawn under it: from A across 4 units to (5, 2), then up 6 units to B. The length of AB is the square root of 4 squared plus 6 squared, which is the square root of 52. The midpoint M(3, 5) is halfway along AB.

The orange legs show the run (4) and the rise (6) from A to B, so AB = √(16 + 36) = √52, about 7.2 units. The midpoint M(3, 5) is the average of the end points. One unit across is drawn as long as one unit up.

Section 1Segments, length and midpoint

A line segment is the part of a straight line between two end points. Its length is the distance between those end points, and its midpoint is the point exactly halfway along it. When the end points are given as coordinates, both can be found by arithmetic, without measuring.

Section 2Length from a right-angled triangle

Move from one end point to the other with a horizontal step (the run, x2 - x1) and a vertical step (the rise, y2 - y1). These two steps are the shorter sides of a right-angled triangle, and the segment is the longest side. By Pythagoras' theorem, length² = run² + rise². For A(1, 2) and B(5, 8) the run is 4 and the rise is 6, so AB² = 16 + 36 = 52 and AB = √52.

Section 3The distance formula

Written in general, the length of the segment from (x1, y1) to (x2, y2) is d = √((x2 - x1)² + (y2 - y1)²). Work in this order: subtract the x values, subtract the y values, square each difference, add, then take the square root of the total. The order of subtraction does not matter because a number and its opposite have the same square. Be careful with negative coordinates: from x = -2 to x = 3 the difference is 3 - (-2) = 5, not 1.

Section 4Exact and rounded answers

If the total under the root is a perfect square the length is a whole number: for (0, 0) and (3, 4) the total is 25, so the length is 5. Otherwise leave the answer as a root, such as √52, which is exact, or round it to the accuracy the question asks, such as 7.2 to 1 decimal place (a calculator is needed for that step). Keep the unrounded value until the last step, and give the units of the grid, for example km.

Section 5The midpoint formula

The midpoint of the segment from (x1, y1) to (x2, y2) is ((x1 + x2)/2, (y1 + y2)/2): add the x values and halve, then add the y values and halve. It is the average of the two end points. For A(1, 2) and B(5, 8) it is (3, 5). The same method works with negative and decimal coordinates: the midpoint of (-3, 4) and (5, -8) is (1, -2). A good check is that the midpoint is the same distance from both end points, each being half the length of the segment.

Section 6Working backwards from a midpoint

If you know the midpoint M and one end point A, the other end point B lies as far beyond M as A is before it. Doubling the midpoint and subtracting gives B = (2xm - x1, 2ym - y1). For M(4, 3) and A(1, -2): x = 2(4) - 1 = 7 and y = 2(3) - (-2) = 8, so B is (7, 8). The same result comes from solving (1 + x)/2 = 4 and (-2 + y)/2 = 3. The diagonals of a parallelogram share a midpoint, which is a quick way to find a missing corner.

Section 7Special cases and uses

For a horizontal segment the rise is 0, so the length is just the difference of the x values; for a vertical segment it is the difference of the y values. The distance from the origin to (a, b) is √(a² + b²). Lengths classify triangles on a grid: two equal sides mean isosceles. When the question gives a scale, such as 1 unit = 2 km, find the length on the grid first and then multiply by the scale.

Examples

The diagram shows the segment AB with A(1, 2) and B(5, 8). (a) Find the length of AB, as an exact value and to 1 decimal place. (b) Find the midpoint M of AB.

(a) The run from A to B is 5 - 1 = 4 and the rise is 8 - 2 = 6. By Pythagoras, AB² = 4² + 6² = 16 + 36 = 52, so AB = √52. To 1 decimal place, √52 = 7.2 units (a calculator is needed for the decimal; the exact answer needs none). (b) The midpoint is M = ((1 + 5)/2, (2 + 8)/2) = (3, 5). Check: AM² = 2² + 3² = 13 and MB² = 2² + 3² = 13, so AM = MB, and AB² = 52 = 4 × 13, so AB is twice AM.

Suppose a plan uses a grid in kilometres. Two towns P(-3, 2) and Q(5, -4) are joined by a straight road. (a) Find the length of PQ. (b) A rest stop R is at the midpoint of PQ. Find R. (c) A third town T is at (-2, 5). Find the length RT to 1 decimal place. (d) A straight road from T passes through R and ends at U, with R the midpoint of TU. Find U.

(a) Run = 5 - (-3) = 8 and rise = -4 - 2 = -6. PQ² = 8² + (-6)² = 64 + 36 = 100, so PQ = 10 km (a whole number, so no calculator is needed). (b) R = ((-3 + 5)/2, (2 + (-4))/2) = (1, -1). (c) Run = -2 - 1 = -3 and rise = 5 - (-1) = 6. RT² = 9 + 36 = 45, so RT = √45 km, which is 6.7 km to 1 decimal place. (d) R is the midpoint of TU, so (-2 + x)/2 = 1 and (5 + y)/2 = -1. Then x = 4 and y = -7, so U is (4, -7). Check: the midpoint of T(-2, 5) and U(4, -7) is (1, -1).

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from