Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Competitions › SOF IMO › unit 4 of 17

Counting cubes

SOF IMO · Logical Reasoning · about 7 minutes

Stacks of cubes test whether you can see in 3D. Some cubes are hidden behind or under others, but they must be there to hold up the cubes on top.

Count layer by layer from the bottom, or column by column: the number of cubes in each column equals its height.

In this lesson

  1. Count in layers
  2. Painted cube questions
  3. Counting faces and surfaces
  4. Worked examples
  5. Where marks are lost
  6. Check yourself

1Count in layers

For a stack of cubes, count one layer at a time from the top. Hidden cubes underneath must be there to hold up the ones you can see, unless the question says otherwise.

Write the count for each layer and add them. For a staircase of 1, 2, 3, 4 cubes the total is 10.

2Painted cube questions

A big cube of side n made of small cubes and painted outside has: 8 corner cubes with 3 painted faces, 12(n − 2) edge cubes with 2 faces, 6(n − 2)² face cubes with 1 face, and (n − 2)³ hidden cubes with no paint.

Check: for n = 3, that is 8 + 12 + 6 + 1 = 27 = 3³.

3Counting faces and surfaces

Each cube has 6 faces. When two cubes touch, 2 faces are hidden. A row of k cubes on a table shows 3k + 2 faces: k on top, k at the front, k at the back and the 2 ends.

Draw the net or the top view when the picture is confusing.

Worked examples

  1. Example 1A 4 × 4 × 4 cube is painted and cut into 64 small cubes. How many have exactly two painted faces?

    1. Edge cubes, not counting corners, have 2 painted faces.
    2. Each edge has 4 − 2 = 2 such cubes; a cube has 12 edges.
    3. 12 × 2 = 24.

    Answer: 24

  2. Example 2How many small cubes in that 4 × 4 × 4 cube have no paint?

    1. The hidden inner cube has side 4 − 2 = 2.
    2. 2³ = 8.

    Answer: 8

See it move

Where marks are lost

  • Forgetting the hidden cubes that support the visible ones.
  • Counting corner cubes again as edge cubes.
  • Using n instead of n − 2 for edge and face cubes.

Exam tips

  • A cube on layer 3 needs cubes under it on layers 1 and 2.
  • Count the columns you see from above and their heights.
  • Painted-face questions: corner cubes show 3 faces, edge cubes 2, face cubes 1.

Practice questions

  1. A 3 × 3 × 3 cube is painted on the outside and cut into 27 small cubes. How many small cubes have no paint at all?

  2. In that same 3 × 3 × 3 cube, how many small cubes have paint on exactly three faces?

  3. A staircase has 1 cube in the first column, 2 in the second and so on up to 5. How many cubes?

More worked examples

Try each one first, then open the working.

  1. Find the total surface area of the cuboid.

    12 cm5 cm3 cm
    Show the working

    Start: Six faces in three equal pairs.

    2(lb + bh + hl) = 2(36 + 15 + 60) = 222.

    Answer: 222 cm²

  2. How many triangles of all sizes are in the figure?

    Show the working

    Start: A triangle is fixed by choosing two lines from the top corner and one base line.

    Each strip between parallel lines gives C(5, 2) = 10 triangles (choose 2 of the 5 lines from the top corner), and there are 1 such levels: 10.

    Answer: 10

  3. Find the volume of the cuboid.

    7 cm9 cm2 cm
    Show the working

    Start: Multiply length, breadth and height.

    V = l × b × h = 7 × 2 × 9 = 126.

    Answer: 126 cm³

  4. How many triangles of all sizes are in the figure?

    Show the working

    Start: A triangle is fixed by choosing two lines from the top corner and one base line.

    Each strip between parallel lines gives C(3, 2) = 3 triangles (choose 2 of the 3 lines from the top corner), and there are 3 such levels: 9.

    Answer: 9

Practise more

New questions every time, at exam level

Find the total surface area of the cuboid.

4 cm5 cm7 cm
cm²

Sit a timed SOF IMO mock test

Paper folding and punchingNext: Perimeter and area