Subject: Reasoning - Advanced Reasoning Chapter: Cube Problems Topic: Painted cube formula, cutting a cube, number of small cubes with faces painted, cuboids, minimum cuts
Cube problems form an important part of the reasoning section of the RRB JE CBT-1 examination. In these questions, a large cube is painted on one or more of its faces and then cut into a number of smaller cubes. The candidate is asked how many of the small cubes have exactly three faces painted, exactly two faces painted, exactly one face painted, or no face painted at all. These questions look complicated but they follow perfectly regular formulas based on the number of cuts made along each edge.
The standard situation is a large cube of side n x n x n units, which is painted on all six faces and then cut into n x n x n small cubes of unit size. The small cubes fall into four categories depending on how many of their faces are painted. The corner cubes have three painted faces, the edge cubes except corners have two painted faces, the face cubes except edges have one painted face, and the cubes in the interior have no painted face.
In this chapter we will derive and memorise the formulas for each category, learn how to modify the formulas when only some faces are painted or when the painted cube is cut into unequal parts, and solve the related questions on cuboids and on the minimum number of cuts required to obtain a given number of pieces. We will also practise questions that give the number of small cubes and ask for the side of the original cube, and questions that combine painting with counting.
When a cube of side n is painted on all faces and cut into n x n x n unit cubes, the categories are given by four simple formulas. The number of small cubes with three painted faces is always 8, because only the 8 corners of the cube have three faces on the surface. The number with two painted faces is 12 x (n - 2), because each of the 12 edges of the cube has (n - 2) cubes between the corners that have exactly two painted faces.
The number of small cubes with one painted face is 6 x (n - 2) squared, because each of the 6 faces of the cube has a square of (n - 2) by (n - 2) cubes in the centre of that face with exactly one painted face. The number with no painted face is (n - 2) cubed, because the interior is a smaller cube of side (n - 2) that never touches the surface.
As a check, the sum of all four categories must equal n cubed, the total number of small cubes. For example, for a cube of side 4 cut into 64 small cubes, we have 8 cubes with three faces painted, 12 x (4 - 2) = 24 with two faces painted, 6 x 4 = 24 with one face painted, and (4 - 2) cubed = 8 with no face painted, and 8 + 24 + 24 + 8 = 64, which is correct.
When only some faces of the cube are painted, the formulas must be adjusted. If only one face is painted, then only the small cubes on that face are affected, and the cubes on the opposite face are unpainted except for corners and edges that also belong to the painted face. In general, when the number of painted faces is reduced, the counts for the categories change and the candidate must carefully track which small cubes touch a painted face.
If two adjacent faces are painted, the edge common to the two faces has cubes with two painted faces, and the corner common to both faces has three painted faces, while the rest of the cube follows the one-face logic. The safest approach for modified questions is to count the small cubes face by face and then subtract the double-counted corner and edge cubes. This systematic counting avoids the errors that come from trying to memorise too many special-case formulas.
The same counting logic applies to a painted cuboid of dimensions a x b x c cut into unit cubes. The number of small cubes with three painted faces is 8, with two painted faces is 4 x (a - 2) + 4 x (b - 2) + 4 x (c - 2), and with one painted face is 2 x (a - 2)(b - 2) + 2 x (b - 2)(c - 2) + 2 x (c - 2)(a - 2). The cubes with no painted face number (a - 2) x (b - 2) x (c - 2), provided a, b and c are all at least 2.
A related set of questions asks for the minimum number of cuts required to divide a cube into a given number of pieces, or for the maximum number of pieces obtainable from a given number of cuts. One straight cut through a cube can produce at most 2 pieces. With straight cuts, each additional cut through the previous pieces can at most double the number of pieces, so the maximum number of pieces from k mutually perpendicular cuts is given by the product of the cuts in each direction.
For a cube, if x, y and z are the numbers of cuts made along the three perpendicular directions, the maximum number of pieces is (x + 1)(y + 1)(z + 1). For example, two cuts in each of the three directions give 3 x 3 x 3 = 27 pieces, which is the standard 3 x 3 x 3 cube. To get exactly 125 pieces, we need cuts that give 5 x 5 x 5, meaning 4 cuts in each direction, for a total of 12 cuts.
The minimum number of cuts to divide a cube into n small cubes is also a favourite question. Since each cut adds at most a plane of new pieces, the number of pieces increases by the product rule. If the pieces are required to be unit cubes, the cuts are made in sets along the three directions. These questions are solved by factorising the required number of pieces into three factors as close to equal as possible, then adding 1 to each factor and summing, because pieces in a direction equal cuts plus one.
| Category | Number of small cubes |
|---|---|
| Three faces painted (corners) | 8 |
| Two faces painted (edges) | 12 x (n - 2) |
| One face painted (faces) | 6 x (n - 2)^2 |
| No face painted (interior) | (n - 2)^3 |
| Total | n^3 |
| Quantity | Formula |
|---|---|
| Three painted faces in cuboid a x b x c | 8 |
| Two painted faces | 4[(a-2)+(b-2)+(c-2)] |
| One painted face | 2[(a-2)(b-2)+(b-2)(c-2)+(c-2)(a-2)] |
| No painted face | (a-2)(b-2)(c-2) |
| Pieces from x, y, z cuts | (x+1)(y+1)(z+1) |
flowchart TD
A[Cube Problems] --> B[Painted Cube]
A --> C[Cuboid]
A --> D[Cuts and Pieces]
B --> B1[3 faces = 8 corners]
B --> B2[2 faces = 12(n-2)]
B --> B3[1 face = 6(n-2)^2]
B --> B4[0 faces = (n-2)^3]
C --> C1[Use a-2, b-2, c-2]
C --> C2[Pairwise products for one face]
D --> D1[Pieces = (x+1)(y+1)(z+1)]
D --> D2[Minimum cuts by factorising pieces]
A --> E[Check: total = n^3]
The following diagrams show the cross-section of a painted cube and the corner-edge-face-interior classification.
Cube problems are a reliable scoring area in the reasoning section of the RRB JE CBT-1 because they follow exact formulas that never change. In this chapter we have learnt the four categories of painted small cubes for a cube of side n, the extensions to partially painted cubes and cuboids, and the relationship between cuts and pieces. The golden check that all four categories sum to n cubed protects a candidate from careless arithmetic, and the reverse reasoning of the pieces formula handles cut-count questions. With regular practice, these questions can be solved in well under a minute, adding dependable marks to the reasoning total.