• Foundation
  • About 10 min
  • 5 practice questions

Counting lines and line segments

Count every line segment on a line with several marked points, and learn the pairing method that avoids missing any.

If something looks wrong, please tell us.

Counting-figures questions ask how many triangles, squares or lines a drawing contains. The usual mistake is to count only the small, obvious ones and miss the larger ones made by joining small ones. Counting needs a system. We begin with the simplest case, a straight line with points marked on it, since every later method builds on it.

Segments on a line

A line has points A, B, C, D marked in order. A segment is made by choosing two points as its ends. The segments are AB, AC, AD, BC, BD and CD: 6 in all. We found them by fixing the left end and then moving the right end: A with B, C, D gives 3; B with C, D gives 2; C with D gives 1. The total is 3 plus 2 plus 1, which is 6.

Segments on a line with n points
Points nSegments
21
33
46
510
615

With n points on a line, the number of segments is n times (n minus 1), divided by 2.

— Formula to remember

Why? Each of the n points can be paired with n minus 1 others, which gives n times (n minus 1) pairs, but each pair has been counted twice (AB and BA), so we divide by 2.

Worked examples

Example 1. How many segments are on a line with 5 points? Working: 5 times 4 is 20, and 20 divided by 2 is 10. Check by listing: 4 plus 3 plus 2 plus 1 is 10. Answer: 10.

Example 2. A road has 7 towns in a line, and a bus runs between every pair. How many different routes? Working: 7 times 6 is 42, divided by 2 is 21. Answer: 21.

Example 3. A line has 3 small segments of lengths 2 cm, 3 cm and 4 cm joined end to end. How many segments in all, and what is the longest? Working: the 4 points make 6 segments; the longest joins the two ends, which is 2 plus 3 plus 4, or 9 cm. Answer: 6 segments, the longest being 9 cm.

Key takeaways: choose two ends for each segment; count systematically; the formula n(n minus 1) over 2 gives the total.

Check your understanding

  1. 1. How many segments are there on a line with 6 points marked on it?

    1. 15
    2. 20
    3. 21
    4. 30
    Show answer

    Answer: A. Use n(n - 1)/2: 6 x 5 = 30, and 30 / 2 = 15. Check: 5 + 4 + 3 + 2 + 1 = 15.

  2. 2. A line is divided by 3 points into 4 small parts, and both ends of the line are marked too. How many segments are there in all?

    1. 5
    2. 6
    3. 10
    4. 15
    Show answer

    Answer: C. There are 3 + 2 = 5 points. Segments = 5 x 4 / 2 = 10.

  3. 3. 8 friends each shake hands once with every other friend. How many handshakes are there?

    1. 21
    2. 28
    3. 36
    4. 56
    Show answer

    Answer: B. A handshake is a pair of friends, just like a segment is a pair of points. 8 x 7 = 56, and each pair has been counted twice, so 56 / 2 = 28.

  4. 4. A line has 4 points A, B, C and D in order. How many segments have B as one of their ends?

    1. 0
    2. 1
    3. 2
    4. 3
    Show answer

    Answer: D. B can be paired with each of the other 3 points: BA, BC and BD. So 3 segments.

  5. 5. A line is made of 3 small segments of 2 cm, 3 cm and 4 cm joined end to end. Of all the segments on it, how many are longer than 4 cm?

    1. 2
    2. 3
    3. 4
    4. 5
    Show answer

    Answer: B. The 4 points make 6 segments: 2, 3 and 4 cm (single parts), 2 + 3 = 5 cm, 3 + 4 = 7 cm, and 2 + 3 + 4 = 9 cm. Those longer than 4 cm are 5, 7 and 9 cm: 3 segments.

Sign in to keep track of the lessons you finish.

Next lesson → Counting triangles

Privacy · Terms · Refunds · Delivery