Reasoning · Grade 6-1 Surface Area and Volume of Solids

Problem

Counting painted unit cubes

Unit cubes are stacked into a staircase solid. Every face touching the air is painted, but not the faces on the table. There are 37 cubes in all. Count the cubes with exactly three painted faces.
Your answer
How to solve
Strategy Make a Systematic List — Counting painted faces off the oblique drawing is hopeless, because most of the solid is hidden behind the front cubes. So I re-organise the picture into a top view with a number written on each of the 12 base squares — the height of that column. Once the solid is a 4-by-3 table of heights, every question about a single cube ('is the face on its left painted?') turns into a comparison of two numbers, and I can walk through the cubes in a fixed order without missing or repeating any. I check the finished list against a real stack of blocks at the end.
1STEP 1

Redraw the solid as a table of column heights

Redraw the solid as a table of heights.

16 + 13 + 8 = 37
2STEP 2

Work out which of a cube's six faces can be painted at all

Only faces with no neighbour get paint.

painted faces of a cube = #{up, left, right, front, back that have no neighbour}
3STEP 3

Turn 'is there a neighbour?' into a comparison of two heights

A neighbour is found by comparing two heights.

up painted ⇔ z = h, side painted ⇔ neighbour height < z
4STEP 4

Split the search: top cubes and buried-top cubes

A top cube needs two open sides.

top cube: 1 + (open sides) = 3 → 2 open sides; buried-top cube: 0 + (open sides) = 3 → 3 open sides
5STEP 5

Check the 12 top cubes one by one

There are 6 such top cubes.

top cubes with exactly three painted faces: B1, B2, B3, B4, M2, F2 → 6
6STEP 6

Hunt for buried-top cubes with three open sides

Just 1 buried-top cube has three open sides.

buried-top cubes with exactly three painted faces: M4 at level 3 → 1
7STEP 7

Add the two groups

Adding gives 7.

6 + 1 = 7
Answer
7 cubes
6 + 1 = 7
The answer has to be a whole number between 0 and 37, and 7 is comfortably inside that range. A stronger check is to sort all 37 cubes by how many painted faces they have: the same scan gives 3 cubes with 0 painted faces (buried in the tall back-left block), 11 with 1, 12 with 2, 7 with 3 and 4 with 4, and 3 + 11 + 12 + 7 + 4 = 37, so every cube is accounted for exactly once. Those counts also pass an independent test: the total number of painted faces is 0(3) + 1(11) + 2(12) + 3(7) + 4(4) = 72. Counting the same paint a completely different way, the whole solid has 84 unit squares of surface, of which the 12 base squares rest on the table, giving 84 - 12 = 72 painted squares. The two 72s agree, so the face-by-face bookkeeping is right. Finally, a cube with 4 painted faces has to stick out at a step of the staircase, and there are exactly 4 such perches (the tops of Middle-1, Middle-4, Front-1 and Front-4), which matches.
Takeaway

Write the height of every stack on a top-view grid, and then 'is this face painted?' is just 'is the stack next door shorter than me?'

  • Redraw the solid as a table of column heights
  • Work out which of a cube's six faces can be painted at all
  • Turn 'is there a neighbour?' into a comparison of two heights
  • Split the search: top cubes and buried-top cubes
  • Check the 12 top cubes one by one
  • Hunt for buried-top cubes with three open sides
  • Add the two groups