SOF IMO · Logical Reasoning

Cubes and Dice

Cube colouring, opposite faces of dice and counting cubes.

Share with your prep group:WhatsApp

Test yourself on Cubes and Dice

5 real SOF IMO questions with instant answers — no signup, ~3 minutes.

Take the 5-question quiz →

Study Notes: Cubes and Dice

Overview

Cubes and dice problems are a staple of logical reasoning sections in competitive exams, including SOF IMO. These questions test your spatial visualization skills—your ability to mentally manipulate three-dimensional objects without physically handling them. In the IMO context, you'll encounter three main problem types: **cube colouring** (how many small cubes have 0, 1, 2, or 3 faces painted?), **opposite faces of dice** (which number/symbol lies opposite to a given face?), and **counting cubes** (how many cubes are visible or hidden in a stack?).

Mastering this topic requires you to build mental models of 3D structures. Unlike algebra or geometry theorems, there's no formula to memorize—instead, you need pattern recognition and systematic counting strategies. These problems appear regularly in the Logical Reasoning section and sometimes in the Achievers Section as multi-step problems. A strong grasp here contributes 3–5 marks directly and builds spatial reasoning skills useful across mathematics.

The key to success is practice with visualization. Start by physically handling a Rubik's cube or drawing diagrams. Over time, you'll develop the ability to "see" the answer without external aids. This topic rewards methodical thinking: organize your count by categories, use elimination for dice problems, and never rush—careful analysis beats speed here.

Key Concepts

  • **Standard dice convention**: A standard die has faces numbered 1 to 6 such that opposite faces always sum to 7 (1-6, 2-5, 3-4). This is the most common assumption unless stated otherwise.
  • **Cube colouring structure**: When a cube is painted and cut into smaller cubes, only the outermost layer gets paint. Interior cubes remain unpainted. The number of painted faces on a small cube depends on its position: corner (3 faces), edge (2 faces), face-centre (1 face), or interior (0 faces).
  • **Corner-edge-face formula**: For an n×n×n cube, there are 8 corners (always), 12(n−2) edge cubes, 6(n−2)² face-centre cubes, and (n−2)³ interior cubes. These formulas let you count without drawing.
  • **Dice net/unfolding**: When a dice is shown in different orientations, track one face and use the right-hand rule or elimination to deduce opposite faces. Two views of the same dice always maintain consistent internal relationships.
  • **Visibility principle in stacks**: In a stack of cubes, only outer layer cubes are visible from any single viewpoint. Hidden cubes must be inferred from the structure—count total cubes in the stack, then subtract visible ones if needed.
  • **Rotation vs reflection**: When comparing two dice images, ensure you're accounting for rotation (same dice, different angle) versus reflection (mirror image). Standard dice problems assume rotation only.
  • **Layer-by-layer counting**: For complex stacks or painted cubes, break the structure into layers or categories. Count systematically—don't jump around or you'll double-count or miss cubes.
  • **Process of elimination**: If you know which faces are adjacent to a given face, the opposite face is the one not shown in any adjacent position. This is faster than trying to visualize the entire 3D model.

Formulas / Key Facts

1. **Opposite faces sum on standard dice**: 1+6=7, 2+5=7, 3+4=7 2. **Total small cubes in n×n×n**: n³ total cubes after cutting 3. **Cubes with 3 painted faces (corners)**: Always 8, regardless of n 4. **Cubes with 2 painted faces (edges)**: 12(n−2) for n≥2 5. **Cubes with 1 painted face (face-centres)**: 6(n−2)² for n≥3 6. **Cubes with 0 painted faces (interior)**: (n−2)³ for n≥3 7. **Verification formula**: 8 + 12(n−2) + 6(n−2)² + (n−2)³ = n³ 8. **Minimum views to determine opposite faces**: Usually 2 or 3 views of the same dice

Worked Examples

**Example 1: Cube Colouring (3×3×3 cube)** *Problem*: A 3×3×3 cube is painted red on all faces, then cut into 27 small cubes. How many small cubes have exactly two faces painted?

*Solution*: Step 1: Identify position—cubes with exactly 2 painted faces lie along the edges but not at corners. Step 2: Each edge of the big cube has 3 small cubes: 2 corners + 1 middle. Step 3: A cube has 12 edges. The middle cube on each edge has 2 faces painted. Step 4: For n=3, use formula: 12(n−2) = 12(3−2) = 12(1) = 12 **Answer**: 12 cubes have exactly two painted faces.

**Example 2: Opposite Faces of Dice** *Problem*: Two views of the same dice are shown. View 1: top=2, front=3, right=5. View 2: top=4, front=2, right=6. What number is opposite to 3?

*Solution*: Step 1: From View 1, faces 2, 3, and 5 are visible, so opposite face to 2 is from {1,4,6}. Step 2: From View 2, faces 4, 2, and 6 are visible. Here 2 is front, so 2's opposite is not visible in this view. Step 3: In View 1, 3 is front. Faces adjacent to 3 are 2 (top), 5 (right), plus three others we can deduce. Step 4: In View 2, face 4 is on top, so 4 is not adjacent to 2 (which is front). From View 1, 2 is adjacent to 3 and 5. Step 5: Use elimination—since 2, 5 are adjacent to 3, and we see 4, 6 in View 2 adjacent to 2, the face opposite 3 must be 4 (the only face not adjacent to 3 across both views). **Answer**: 4 is opposite to 3.

**Example 3: Counting Cubes in a Stack** *Problem*: A structure is built from identical cubes in 3 layers: bottom layer has 3×3=9 cubes, middle layer has 2×2=4 cubes (centred), top layer has 1 cube. How many cubes are in the structure?

*Solution*: Step 1: Count layer by layer—bottom=9, middle=4, top=1 Step 2: Total = 9 + 4 + 1 = 14 cubes **Answer**: 14 cubes.

Common Mistakes

  • **Mistake: Assuming all dice follow the opposite-sum-to-7 rule** → *Fix*: Always check if the problem states "standard dice" or provides specific face information. Non-standard dice exist in tricky problems—work from given views only.
  • **Mistake: Forgetting corner cubes are shared by three faces** → *Fix*: When counting painted cubes, remember corners touch 3 faces, edges touch 2 faces, face-centres touch 1 face. Don't count a corner cube as an edge cube.
  • **Mistake: Miscounting interior cubes in large n×n×n cubes** → *Fix*: Interior cubes only exist if n≥3. For n=2, there are zero interior cubes. Use (n−2)³ carefully and check n value first.
  • **Mistake: Confusing rotation with reflection when comparing dice views** → *Fix*: Dice problems assume rotation (you can turn the dice) but not reflection (mirror image). If two views seem contradictory, re-check your mental rotation—don't assume the dice is flipped.
  • **Mistake: Rushing to count visible cubes without checking hidden layers** → *Fix*: In 3D stack problems, draw a side view or top view. Hidden cubes often exist in the interior—count total cubes in the described structure, then verify against what's visible from the given viewpoint.

Quick Reference

  • Standard dice: opposite faces sum to 7 (1-6, 2-5, 3-4)
  • 3-face painted cubes = 8 corners (always)
  • 2-face painted = 12(n−2) edge cubes
  • 1-face painted = 6(n−2)² face-centre cubes
  • 0-face painted = (n−2)³ interior cubes
  • Use elimination to find opposite face from 2–3 dice views
  • Count stacks layer-by-layer to avoid missing hidden cubes

You read the notes — now try one

A cube is painted red on all six faces. It is then cut into 64 smaller identical cubes. How many of these smaller cubes have exactly two faces painted red?

Tap an option to check your answer.

👥 Study this together

Invite your prep group — read the same notes, then discuss doubts in this topic's shared room.

Invite to study

Need more? Ask Shishya

Shishya is your personal tutor for this topic. Pick a starter or open a free chat.

Open Shishya tutor →

Practice this topic

Take a full mock
  • Q1 · Cubes and Dice · MEDIUM

    A cube is painted red on all six faces. It is then cut into 64 smaller identical cubes. How many of these smaller cubes have exactly two faces painted red?

  • Q2 · Cubes and Dice · EASY

    A standard dice has dots from 1 to 6 on its faces. The sum of dots on opposite faces is always 7. If the dice is placed such that face with 2 dots is on top and face with 3 dots is facing you, which number is on the bottom face?

  • Q3 · Cubes and Dice · HARD

    A cube is painted with three different colours: red on two opposite faces, blue on two opposite faces, and green on the remaining two opposite faces. The cube is then cut into 27 smaller identical cubes by making two cuts parallel to each pair of opposite faces. How many of the smaller cubes have all three colours on them?

  • Q4 · Cubes and Dice · MEDIUM

    Count the total number of cubes in the given 3D figure formed by stacking unit cubes in a specific stepped pattern (with 3 layers: bottom layer has 12 cubes, middle layer has 6 cubes, top layer has 2 cubes).

  • Q5 · Cubes and Dice · HARD

    A standard die shows 3 on top and 4 facing you. If the die is rolled forward (away from you) once, which number will be on top?

Ask Shishya to explain these →

Notes generated on 10 May 2026