What this topic is about
A figure made of lines is given, and you must count how many triangles or squares it contains, including the bigger shapes made by joining small ones.
How to count without missing any: count the smallest shapes first, then shapes made of 2 small pieces, then 3, and so on. Write the count for each size and add at the end. For standard figures, use the shortcut formulas below.
Question types at a glance
# | Figure | Shortcut |
1 | Triangle with lines from the top corner (figure A) | n parts on the base → n(n + 1)/2 triangles |
2 | Rectangle with both diagonals (figure B) | Always 8 triangles |
3 | Square with diagonals and middle lines (figure C) | Always 16 triangles |
4 | Triangle with top lines and cross lines (figure D) | levels × n(n + 1)/2 |
5 | Square grid (figure E) | n × n grid → 1² + 2² + … + n² squares |
Type 1: Triangle with lines from the top corner
Idea: each triangle is made by picking two lines that meet at the top. If the base is cut into n parts, the number of triangles is n(n + 1)/2.
Solved example: In figure A, two lines from the top corner divide the base into 3 parts. How many triangles are there?
- Smallest triangles (1 part each): 3.
- Triangles made of 2 parts side by side: 2.
- The whole big triangle (3 parts): 1.
- Total = 3 + 2 + 1 = 6.
Formula: n = 3, so 3 × 4 ÷ 2 = 6. ✔
Practice: Three lines from the top corner divide the base of a triangle into 4 parts. How many triangles?
Answer: 4 + 3 + 2 + 1 = 10. (Formula: 4 × 5 ÷ 2 = 10.)
Type 2: Rectangle with both diagonals
Idea: the two diagonals cut the rectangle into 4 small triangles, and pairs of these make 4 bigger triangles.
Solved example: How many triangles are in figure B (a rectangle with both diagonals)?
- Small triangles meeting at the centre: 4.
- Bigger triangles: each diagonal cuts the rectangle into 2 halves, and each half is a triangle. 2 diagonals × 2 halves = 4.
- Total = 4 + 4 = 8.
Practice: A square has both diagonals drawn, and also one vertical and one horizontal line through the centre (figure C). How many triangles?
Answer: Smallest: 8. Made of 2 small ones (a side of the square as base, centre as tip): 4. Made of 4 small ones (half of the square cut by a diagonal): 4.
Total = 8 + 4 + 4 = 16.
Type 3: Triangle with lines from the top and a cross line
Idea: each horizontal line (including the base) makes a fresh set of the Type 1 triangles.
Solved example: In figure D, two lines from the top divide the base into 3 parts, and one horizontal line crosses the triangle. How many triangles?
- Horizontal levels = the cross line + the base = 2.
- Each level gives 3 × 4 ÷ 2 = 6 triangles.
- Total = 2 × 6 = 12.
Practice: One line from the top divides the base into 2 parts, and there are 2 horizontal cross lines (plus the base). How many triangles?
Answer: Levels = 3. Each level gives 2 × 3 ÷ 2 = 3.
Total = 3 × 3 = 9.
Type 4: Squares in a grid
Idea: in an n × n grid, count squares of every size: 1 × 1, 2 × 2, up to n × n.
Solved example: How many squares are in a 3 × 3 grid (figure E)?
- 1 × 1 squares: 9 (3 × 3).
- 2 × 2 squares: 4 (2 × 2 positions).
- 3 × 3 square: 1 (the whole grid).
- Total = 9 + 4 + 1 = 14.
Practice: How many squares are there on a 4 × 4 grid?
Answer: 16 + 9 + 4 + 1 = 30.
Common mistakes
- Counting only the smallest shapes and forgetting the bigger ones.
- Counting the same big shape twice. Go size by size and keep a written tally.
- Applying a formula to a figure that is not exactly the standard shape. If the figure is different, count by hand.