ExamShortcut

Counting Figures

🔒 Log in to track
medium importance~0-1 Q in Tier 14 formulas⚡ 4 shortcuts3 subtopics

Counting straight lines

🔒 Log in to track

Count each complete straight line once, however many shapes it passes through. Group lines by direction: horizontal, vertical, then each slant direction. Two drawn pieces lying on the same straight path and touching end to end form one line.

Detailed notes

What the question asks

"How many straight lines are there in the figure?" or "What is the least number of straight lines needed to draw it?" Both mean the same: count each complete straight line once, even if it passes through many shapes or is drawn as several touching pieces.

Think of a road: it may cross ten junctions, but it is still one road. Two pieces lying on the same path and touching end to end are one line. Two pieces on the same path with a gap between them are two lines.

The direction sweep

  1. Count all horizontal lines (left to right), from top to bottom.
  2. Count all vertical lines (top to bottom), from left to right.
  3. Count slanting lines of each direction separately: first those going down to the right, then those going down to the left.
  4. Add the groups.

Doing one direction at a time stops you from counting a line twice.

Example: a square with both diagonals and both midlines. Horizontal 3 (top side, midline, bottom side), vertical 3, slanting 2. Total = 8.

Grids

A grid of m columns and n rows has m + 1 vertical and n + 1 horizontal lines, so L=(m+1)+(n+1)L = (m+1) + (n+1) A 3 × 2 grid needs 4 + 3 = 7 lines.

If both long diagonals of the whole grid are also drawn, add 2. If every small cell has its own diagonals, cell diagonals that meet end to end on one path join into a single long line, so count paths, not pieces.

Stars and polygons

  • A five-point star (pentagram) is drawn with only 5 lines.
  • A six-point star made of two triangles has 6 lines.
  • A regular hexagon with its 3 long diagonals has 6 + 3 = 9 lines.
  • A triangle split into rows of small triangles: 3 directions, and each direction has as many lines as there are rows. So 3 rows give 3 × 3 = 9 lines.

Worked example

A 2 × 2 grid where every one of the 4 small cells has both its diagonals drawn.

  • Horizontal: 3. Vertical: 3.
  • Down to the right: the two cell diagonals on the main diagonal join into one long line, and there is one shorter line on each side of it, so 3.
  • Down to the left: by the same logic, 3.
  • Total = 3 + 3 + 3 + 3 = 12, not 6 + 8 = 14. The 8 cell diagonals are only 6 lines because 2 pairs join end to end.

Special cases

  • A curve is not a straight line. Circles and arcs are ignored.
  • Lines that only look close are different unless they are exactly in line.
  • In "how many vertical lines" questions, count only that direction.

Quick revision

  • One straight path = one line, however many pieces it is drawn in.
  • Sweep: horizontal, vertical, then each slant direction.
  • m × n grid: (m + 1) + (n + 1) lines.
  • Square + diagonals + midlines = 8 lines.
  • Pentagram 5, six-point star 6, hexagon with long diagonals 9.

Types of questions asked

Every way this subtopic shows up in exams — how to recognise it, the formula or logic to use, and a solved example.

Type 1: Total straight lines in a square/rectangle figurecommon4 practice Q
How to spot it:

A square or rectangle with diagonals, midlines or cell diagonals; asks for straight lines.

  1. Horizontal lines.
  2. Vertical lines.
  3. Slanting lines, one direction at a time, joining pieces that are in one straight path.
  4. Add.

Why: grouping by direction makes double counting impossible.

Example: A square has both diagonals and both midlines drawn. How many straight lines are there?

Horizontal 3, vertical 3, slanting 2. Total = 8.

Type 2: Count lines of one direction onlyoccasional3 practice Q
How to spot it:

The question asks only for horizontal, vertical or slanting lines.

  1. Pick the asked direction.
  2. Scan across the figure and tick each separate line in that direction.
  3. Pieces on one path that touch are one line.

Why: the other directions do not matter; slow down only on the asked one.

Example: A 3 × 2 grid of cells also has both long diagonals of the whole rectangle drawn. How many vertical lines are there?

A grid with 3 columns has 3 + 1 = 4 vertical lines. The diagonals are slanting, so they do not count.

Type 3: Stars, polygons and triangle gridscommon5 practice Q
How to spot it:

A star, a hexagon with diagonals, or a triangle filled with small triangles.

  1. Find the long straight paths that make the figure (a star's points are made by long lines).
  2. Count paths, not the small pieces between crossings.

Why: each long line is cut into many pieces by the others; the pieces are not separate lines.

Example: How many straight lines are needed to draw a five-point star?

Each point is formed by two long lines; there are 5 such lines in all. Answer 5.

Type 4: Straight lines in a gridoccasional3 practice Q
How to spot it:

A plain grid, sometimes with long diagonals drawn across it.

L=(m+1)+(n+1)L=(m+1)+(n+1)
  1. Vertical lines = columns + 1.
  2. Horizontal lines = rows + 1.
  3. Add any diagonal paths, counting each long path once.

Why: each grid line runs the full width or height.

Example: How many straight lines are there in a grid of 5 columns and 4 rows?

Vertical 5 + 1 = 6, horizontal 4 + 1 = 5. Total = 11.

Shortcut tricks

⚡ Direction sweep

Sweep once for horizontals, once for verticals, once per slant direction; the running total is the answer.

Example: Q. A square with both diagonals — how many straight lines?

Sol. Horizontal 2, vertical 2, slants 2 → 6.

Group by direction to avoid double counting.

Where students lose marks

  • Counting a diagonal made of two joined pieces as two lines.

  • Missing the outer boundary lines.

Practice sets — 16 questions

Sets of 10, mixed across the question types above. Each answer comes with a step-by-step explanation.

Topic test · 10 questions

Suggested time 6 min · wrong answers go to your mistake notebook automatically.