Cube problems are a highly formula-driven topic in the RRB JE CBT-1 reasoning section. A large cube is painted on its faces and then cut into smaller equal cubes. You are asked how many small cubes have a given number of painted faces — 0, 1, 2, or 3 painted faces. Sometimes the question adds an unpainted or differently painted layer, or a cuboid instead of a cube. All these questions are solved using standard formulas, making them very reliable marks. One question from this chapter appears in most CBT-1 papers.
The core idea: when a cube of side n is cut into unit cubes, the total number of small cubes is n cubed. The painted faces are distributed according to position: corner cubes have 3 painted faces, edge cubes (excluding corners) have 2, face-centre cubes (excluding edges) have 1, and interior cubes have 0 painted faces.
Consider a cube of side n units painted on all six faces, cut into n x n x n unit cubes. The formulas are:
These four values must sum to n^3. Check: 8 + 12(n-2) + 6(n-2)^2 + (n-2)^3. With n = 3: 8 + 12 + 6 + 1 = 27 = 3^3. Correct.
If the cube is painted on only one face, or on two adjacent faces, or three faces meeting at a corner, the counts change. For one painted face: painted small cubes = n^2, unpainted = n^3 - n^2. For two adjacent faces: painted = 2n^2 - n. For three faces meeting at a corner: painted = 3n^2 - 3n + 1.
If a cuboid of dimensions a x b x c is painted and cut into unit cubes: - Total cubes = a x b x c. - 3 painted faces = 8 (corners). - 2 painted faces = 4[(a-2) + (b-2) + (c-2)]. - 1 painted face = 2[(a-2)(b-2) + (b-2)(c-2) + (c-2)(a-2)]. - 0 painted faces = (a-2)(b-2)(c-2).
To cut a cube into k equal smaller cubes along one direction, the number of cuts required is k - 1 per direction. For unit cubes out of a side-n cube, cuts needed = 3(n - 1) total, or (n-1) along each of the three axes. For a cuboid a x b x c, total cuts = (a-1) + (b-1) + (c-1).
| Position | Number of painted faces | Formula for side n cube | Count for n=4 |
|---|---|---|---|
| Corner | 3 | 8 | 8 |
| Edge (non-corner) | 2 | 12(n-2) | 24 |
| Face centre (non-edge) | 1 | 6(n-2)^2 | 24 |
| Interior | 0 | (n-2)^3 | 8 |
| Total | - | n^3 | 64 |
| Category | Cuboid a x b x c formula | Example 4x5x6 |
|---|---|---|
| Total cubes | a x b x c | 120 |
| 3 painted | 8 | 8 |
| 2 painted | 4[(a-2)+(b-2)+(c-2)] | 4[2+3+4]=36 |
| 1 painted | 2[(a-2)(b-2)+(b-2)(c-2)+(c-2)(a-2)] | 2[6+12+8]=52 |
| 0 painted | (a-2)(b-2)(c-2) | 24 |
| Painting pattern | Painted cubes | Unpainted cubes |
|---|---|---|
| One face only | n^2 | n^3 - n^2 |
| Two adjacent faces | 2n^2 - n | n^3 - 2n^2 + n |
| Two opposite faces | 2n^2 | n^3 - 2n^2 |
| Three faces (corner) | 3n^2 - 3n + 1 | n^3 - 3n^2 + 3n - 1 |
Always fix n = side length in unit cubes. If the cube is not painted on all faces, handle the painting pattern before applying the standard formulas. For questions about the minimum number of cuts, remember one cut increases the number of pieces by one along the cutting direction. The sum of the four painted-face counts must equal n^3; use this as a verification check. For cubes with n = 2, the interior count is zero and the face-centre count is zero because each face is fully edge.
| Shortcut | Value | Use |
|---|---|---|
| Corners always 8 | 8 | Any cube |
| Edge cubes | 12(n-2) | 2 painted |
| Face cubes | 6(n-2)^2 | 1 painted |
| Interior cubes | (n-2)^3 | 0 painted |
| Total pieces | n^3 | Verification |
| Total cuts | 3(n-1) | Cutting a cube |
Example 1: A cube of side 5 cm is painted on all faces and cut into 1 cm cubes. How many cubes have 2 painted faces? Solution: Edge cubes = 12(n-2) = 12(5-2) = 36. Answer: 36.
Example 2: How many cubes have no painted faces in the same cube? Solution: Interior = (5-2)^3 = 27. Answer: 27.
Example 3: A cube of side 6 is painted on all faces. How many cubes have exactly 1 painted face? Solution: 6(n-2)^2 = 6(4)^2 = 96. Answer: 96.
Example 4: How many cuts are needed to cut a cube of side 4 into unit cubes? Solution: (4-1) x 3 = 9 cuts. Answer: 9.
Example 5: A cuboid 4 x 5 x 6 is painted and cut into unit cubes. How many cubes have 0 painted faces? Solution: (4-2)(5-2)(6-2) = 2 x 3 x 4 = 24. Answer: 24.
Example 6: A cube of side 3 painted on only one face and cut. How many painted small cubes? Solution: n^2 = 9. Answer: 9.
| Q | Question | Answer |
|---|---|---|
| 1 | Side 4 cube painted all faces. Cubes with 3 painted faces? | 8 |
| 2 | Side 4 cube. Cubes with 2 painted faces? | 24 |
| 3 | Side 4 cube. Cubes with 1 painted face? | 24 |
| 4 | Side 4 cube. Cubes with 0 painted faces? | 8 |
| 5 | Side 7 cube. Cubes with exactly 1 painted face? | 150 |
| 6 | Side 5 cube. Cubes with at least 1 painted face? | 98 |
| 7 | Cuboid 3x4x5. Cubes with 2 painted faces? | 24 |
| 8 | Side 3 cube painted on 2 adjacent faces. Painted cubes? | 15 |
| 9 | Minimum cuts for side 6 cube into unit cubes? | 15 |
| 10 | Side 8 cube. Total small cubes? | 512 |
Cube counting is a favourite of RRB JE CBT-1 setters because it tests spatial reasoning with a guaranteed formula-based answer. One question appears in nearly every paper, and occasionally two. The chapter is extremely quick to prepare because only five formulas are involved. Candidates who memorise the n-based formulas and the partial painting patterns can solve these questions in under 30 seconds, adding dependable marks to the reasoning score.
Cube problems are pure formula application. Memorise the five positions — 3, 2, 1, 0 painted faces and total — for a side-n cube, learn the cuboid extensions, and understand partial painting. Verify every answer by confirming the four counts sum to n^3. With these formulas internalised, cube questions become instant, accurate marks in the RRB JE CBT-1 reasoning paper.
flowchart TD
A[Side n cube painted on all faces] --> B[Total cubes = n^3]
B --> C[3 painted = 8]
B --> D[2 painted = 12(n-2)]
B --> E[1 painted = 6(n-2)^2]
B --> F[0 painted = (n-2)^3]
C --> G[Verify sum = n^3]
D --> G
E --> G
F --> G
flowchart LR
A[Painted on all faces?] -- Yes --> B[Apply n formulas]
A -- No --> C[Identify painting pattern]
C --> D{One face?}
C --> E{Two faces?}
C --> F{Three faces?}
D --> G[painted = n^2]
E --> H[painted = 2n^2 - n]
F --> I[painted = 3n^2 - 3n + 1]