The concept
Start with something familiar
Pick up a Rubik's cube. It is built from 27 small cubes. The 8 corner pieces each show 3 colours. The 12 edge pieces show 2 colours. The 6 centre pieces show 1 colour. And hidden in the middle is 1 piece you never see at all.That one sentence is the whole of this topic. A big cube is painted on the outside and cut into small cubes, and GATE asks how many small cubes have 3, 2, 1 or 0 painted faces. Where a small cube sits, corner, edge, face or inside, decides how much paint it gets.Play with it
n = 3, 27 cubes
Together8 + 12 + 6 + 1 = 27
Idea 1: cuts in three directions multiply
Before painting, count the pieces. A cut is a flat slice through the whole block. If you make cuts in one direction, the block splits into slabs. Cuts in the other two directions split each slab further, so the counts multiply:A cube with side cut into unit cubes needs cuts each way, giving small cubes.| Cuts each way | Pieces |
|---|---|
| 1, 1, 1 | |
| 2, 2, 2 | |
| 2, 2, 3 |
Example
What is the largest number of pieces you can get from a cube with 6 straight cuts, if every cut is parallel to a face?
Spread the cuts evenly: 2 in each direction gives . Putting all 6 in one direction gives only 7.
Spread the cuts evenly: 2 in each direction gives . Putting all 6 in one direction gives only 7.
Idea 2: there are always exactly 8 cubes with three painted faces
A small cube gets three painted faces only if it touches three outer faces of the big cube at once, and that only happens at a corner. A cube has 8 corners, so:Example
A painted cube is cut into 1,000 small cubes. How many have three painted faces?
Still 8, one at each corner. The size of the cube doesn't matter.
Still 8, one at each corner. The size of the cube doesn't matter.
Idea 3: two painted faces sit along the 12 edges, n − 2 on each
A small cube with exactly two painted faces touches two outer faces, so it lies along an edge of the big cube. Each edge has small cubes, but the two at the ends are corners with three faces painted. That leaves on each edge, and a cube has 12 edges:Example
A painted cube of side 4 cm is cut into 1 cm cubes. How many have exactly two painted faces?
, so .
, so .
Idea 4: one painted face sits in the middle of each face; the rest is a hidden core
A small cube with exactly one painted face lies on an outer face of the big cube but away from its edges. On each face that's an by square of cubes, and there are 6 faces. Peeling one layer off every side leaves the unpainted core, a cube of side :All four groups together must add up to , which makes a handy check.The first column is the number of painted faces on a small cube.| Painted | |||
|---|---|---|---|
| 3 faces | 8 | 8 | 8 |
| 2 faces | 12 | 24 | 36 |
| 1 face | 6 | 24 | 54 |
| 0 faces | 1 | 8 | 27 |
| Total | 27 | 64 | 125 |
Example
A painted cube is cut into 216 small cubes. How many have at least one painted face?
, so . Unpainted cubes . At least one face painted .
, so . Unpainted cubes . At least one face painted .
Idea 5: when only some faces are painted, peel off one layer per painted face
The formulas above assume every face is painted, and that the solid is a cube. For anything else, think about the unpainted block directly. Each painted face spoils exactly one layer of small cubes on its side. Remove those layers, and what's left is unpainted.| Painted faces | Unpainted block |
|---|---|
| all 6 of an cube | |
| all except the bottom | |
| only top and bottom | |
| all 6 of an cuboid |
Example
A cuboid is painted on all faces and cut into unit cubes. How many have no paint?
Peel one layer off each side: .
Peel one layer off each side: .
How to spot which idea you need
| The question says... | Use |
|---|---|
| "how many pieces after cuts" | Idea 1: |
| "three faces painted" | Idea 2: 8 corners |
| "exactly two faces painted" | Idea 3: |
| "one face" or "no face painted" | Idea 4: or |
| some faces unpainted, or a cuboid | Idea 5: peel one layer per painted face |
Worked example 1warm-up
A wooden cube of side 4 cm is painted on all faces and cut into 1 cm cubes. Find how many small cubes have 3, 2, 1 and 0 painted faces.Solution
Step 1. Find Idea 1
, so there are small cubes.
Step 2. CornersIdea 2
8 cubes with three faces painted.
Step 3. EdgesIdea 3
with two faces.
Step 4. Faces and coreIdea 4
with one face, and with none.
Step 5. Check
, the total number of small cubes.
Worked example 2GATE level
A cube is painted red on two opposite faces and blue on the other four. It is then cut into 125 equal small cubes. How many small cubes show both red and blue?Solution
Step 1. Find Idea 1
, so .
Step 2. Find where red meets blueIdea 3
A small cube shows both colours only where a red face meets a blue face, which is along an edge or at a corner. Each red face has 4 edges, and all 4 border a blue face. With 2 red faces, that's red-blue edges.
Step 3. Count the edge cubes
Each red-blue edge has cubes that aren't corners: .
Step 4. Add the cornersIdea 2
Every one of the 8 corners touches one red face (top or bottom) and two blue faces, so all 8 show both colours.
Step 5. Total and check
. The other 4 edges run between two blue faces, so their middle cubes are blue only, as expected. All the two-face and three-face cubes together: .
All the equations at a glance
| Idea | Equation |
|---|---|
| Pieces from cuts | |
| 3 faces painted | |
| 2 faces painted | |
| 1 face painted | |
| No paint | |
| Some faces unpainted | peel one layer per painted face |