An Initiative by SAARTHI IAS
Maarg Manthan · Topic 26.2

Identifying the Number of Cubes Painted on One, Two or No Sides After Cutting a Larger Cube

Reasoning › Non-Verbal Reasoning – Dice and Cubes · Topic 26.2

When a cube of side n (cut into n cubed unit cubes) is painted on all six faces, exactly 8 small cubes have three painted faces, 12(n - 2) have two, 6(n - 2) squared have one, and (n - 2) cubed have none. For a cuboid of l by b by h the counts are 8, 4[(l - 2) + (b - 2) + (h - 2)], 2[(l - 2)(b - 2) + (b - 2)(h - 2) + (h - 2)(l - 2)] and (l - 2)(b - 2)(h - 2).

Share:
Identifying the Number of Cubes Painted on One, Two or No Sides After Cutting a Larger Cube - Reasoning - MaargX UPSC Maarg Manthan

Quick Answer

When a cube of side n (cut into n cubed unit cubes) is painted on all six faces, exactly 8 small cubes have three painted faces, 12(n – 2) have two, 6(n – 2) squared have one, and (n – 2) cubed have none. For a cuboid of l by b by h the counts are 8, 4[(l – 2) + (b – 2) + (h – 2)], 2[(l – 2)(b – 2) + (b – 2)(h – 2) + (h – 2)(l – 2)] and (l – 2)(b – 2)(h – 2).

At a Glance

  • Three faces painted 8 (corners)
  • Two faces painted 12(n – 2) (edges)
  • One face painted 6(n – 2) squared (face centres)
  • No face painted (n – 2) cubed (inside)
  • Check 8 + 12(n – 2) + 6(n – 2) squared + (n – 2) cubed = n cubed
  • Cuboid Use l – 2, b – 2, h – 2

Where Does It Fit?

This topic builds on the cube counting of Counting the Number of Cubes in a Given Solid Arrangement and is the standard painted-cube question of the Dice and Cubes macro. The next topic, Dice Problems – Identifying the Opposite, Adjacent or Same Face from Given Positions, starts the study of dice, and Minimum Number of Cuts Required to Form a Given Number of Smaller Cubes asks the reverse question about cuts.

What Are the Painted Cube Formulas?

In short: the position of a small cube in the big cube decides how many painted faces it has: corners 3, edges 2, face centres 1, inside 0.

Type of small cube Position Painted faces Count for side n
Corner At a vertex 3 8
Edge Along an edge, not a corner 2 12(n – 2)
Face On a face, not on an edge 1 6(n – 2) squared
Inside Not on the surface 0 (n – 2) cubed
Side n 3 faces 2 faces 1 face 0 faces Total
2 8 0 0 0 8
3 8 12 6 1 27
4 8 24 24 8 64
5 8 36 54 27 125
6 8 48 96 64 216

In every row the four counts add up to n cubed, which is a quick check on the working.

How Do You Handle Cuboids and Partly Painted Cubes?

In short: for a cuboid replace n – 2 by l – 2, b – 2 and h – 2; for a cube with some faces unpainted, count by position and check the total with a table.

Cuboid of l by b by h (all faces painted)

  • Three faces: 8.
  • Two faces: 4[(l – 2) + (b – 2) + (h – 2)].
  • One face: 2[(l – 2)(b – 2) + (b – 2)(h – 2) + (h – 2)(l – 2)].
  • None: (l – 2)(b – 2)(h – 2).
Case (cube n = 4) 3 faces 2 faces 1 face 0 faces
All six faces painted 8 24 24 8
Only top and bottom painted 0 0 32 32
Four side faces painted, top and bottom not 0 16 32 16
Five faces painted, bottom unpainted 4 20 28 12

A 4 by 5 by 6 cuboid gives 8, 36, 52 and 24 cubes with three, two, one and no painted faces, and 8 + 36 + 52 + 24 = 120 = 4 x 5 x 6.

How Do You Find n From the Question?

In short: the number of small cubes along an edge is the edge of the big cube divided by the edge of the small cube.

  1. Read the sizes: a cube of 12 cm cut into cubes of 3 cm has n = 12 / 3 = 4.
  2. Or read the count: if 64 small cubes are made, n = 4 because 4 cubed is 64.
  3. Check which faces are painted: all six, or only some.
  4. Use the formula or the table row for that n and case.
  5. Verify that all counts add up to n cubed.

The reverse problem, finding the number of cuts needed for a given number of cubes, is in Minimum Number of Cuts Required to Form a Given Number of Smaller Cubes.

Solved Examples

Example 1

Question: A cube of side 6 cm is painted on all faces and cut into 1 cm cubes. How many small cubes have exactly two painted faces?

  1. n = 6.
  2. Two painted faces: 12(n – 2) = 12 x 4.

Answer: 48 cubes.

Example 2

Question: A cube is painted on all faces and cut into 125 equal small cubes. How many small cubes have exactly one painted face and how many have none?

  1. 125 = 5 cubed, so n = 5.
  2. One face: 6(n – 2) squared = 6 x 9 = 54.
  3. None: (n – 2) cubed = 27.

Answer: 54 with one painted face and 27 with none.

Example 3

Question: A cube of side 12 cm is painted on all faces and cut into cubes of side 3 cm. How many small cubes are painted on exactly two faces?

  1. n = 12 / 3 = 4.
  2. 12(n – 2) = 12 x 2 = 24.

Answer: 24 cubes.

Example 4

Question: A cuboid of 4 by 5 by 6 units is painted on all faces and cut into unit cubes. How many cubes have exactly one painted face?

  1. l – 2 = 2, b – 2 = 3, h – 2 = 4.
  2. One face: 2[(2 x 3) + (3 x 4) + (4 x 2)] = 2[6 + 12 + 8].
  3. 2 x 26 = 52.

Answer: 52 cubes.

Example 5

Question: A cube of side 4 is painted on five faces, the bottom face being left unpainted, and cut into 64 unit cubes. How many cubes have exactly two painted faces?

  1. The bottom layer corners and edges lose the painting from the bottom face.
  2. Counting by position over the 64 cubes gives 4 cubes with three painted faces, 20 with two, 28 with one and 12 with none.
  3. Check: 4 + 20 + 28 + 12 = 64.

Answer: 20 cubes.

Shortcuts and Tricks

  • Memorise the shape of the answer: 8, 12(n – 2), 6(n – 2) squared, (n – 2) cubed.
  • Always add the four counts and check you get n cubed.
  • Two painted faces means edges, one means faces, none means inside.
  • For a cuboid, apply the same rules with three different values of length minus 2.
  • Reduce partly painted problems to a table by position instead of using the formulas.

Common Mistakes

  • Using n instead of n – 2 in the formulas.
  • Forgetting that there are always exactly 8 corner cubes.
  • Applying all-face formulas when some faces are unpainted.
  • Using n = edge of the big cube without dividing by the small cube edge.
  • Counting 6(n – 2) instead of 6(n – 2) squared.

Practice Questions

  1. A cube cut into 27 cubes is painted on all faces. How many have no paint?
  2. A painted cube is cut into 64 cubes. How many have exactly three painted faces?
  3. A painted cube is cut into 216 cubes. How many have exactly one painted face?
  4. A cube of 10 cm is painted and cut into 2 cm cubes. How many have exactly two painted faces?
  5. A cuboid 3 by 4 by 5 is painted all over and cut into unit cubes. How many have no paint?
  6. A cube cut into 8 cubes is painted on all faces. How many have exactly two painted faces?

Answers: 1) 1; 2) 8; 3) 96; 4) 36; 5) 6; 6) 0.

Why Is This Topic Important?

  • Most repeated cube question The painted cube is the commonest solid-reasoning question.
  • Exam use It is asked in SSC, CAPF, banking and state exams.
  • Formulas Four short formulas settle every case.
  • Link It connects to Counting the Number of Cubes in a Given Solid Arrangement and Minimum Number of Cuts Required to Form a Given Number of Smaller Cubes.

What Comes Next?

The next topic is Dice Problems – Identifying the Opposite, Adjacent or Same Face from Given Positions. It turns from painted cubes to dice and the relationships between their faces.

Key Terms and Formulas

  • Corner cube A small cube with three painted faces
  • Edge cube A small cube with two painted faces
  • Face cube A small cube with one painted face
  • Inner cube A small cube with no painted face
  • n The number of small cubes along an edge
  • Cuboid A box with unequal edges

Study this topic together with these linked topics from other subjects.

Exam Corner

Points to Remember

  • Corners 8, edges 12(n – 2), faces 6(n – 2) squared, inside (n – 2) cubed.
  • The four counts add to n cubed.
  • n is big edge divided by small edge.
  • Cuboids use l – 2, b – 2, h – 2.
  • Partly painted cubes need a table by position.

Do Not Confuse With

  • Edge cube vs face cube An edge cube has two painted faces; a face cube has one.
  • n vs n – 2 The inner formulas use n – 2.
  • Corner vs edge Corners are always 8; edges depend on n.
  • All faces vs some faces painted The standard formulas need all six faces painted.

Memory Hook

Corners eight, edges twelve times (n – 2), faces six times (n – 2) squared, heart (n – 2) cubed.

GS Relevance

Painted cube cutting is one of the most repeated non-verbal and quantitative reasoning questions in SSC CGL, CHSL, CAPF, CDS, banking and state exams.

Frequently Asked Questions

What are the formulas for painted cubes?

If a cube of side n is painted on all faces and cut into n cubed unit cubes, 8 cubes have three painted faces, 12 times n minus 2 have two painted faces, 6 times n minus 2 squared have one painted face, and n minus 2 cubed have no paint at all.

How do you find n in a painted cube question?

Divide the edge of the big cube by the edge of a small cube. If the number of small cubes is given, take its cube root, so 64 small cubes mean n equals 4 and 125 small cubes mean n equals 5. Then use the formulas with n minus 2.

How many cubes have three painted faces?

Exactly 8 small cubes have three painted faces, whatever the size of the cube, because they are the cubes at the 8 corners. A cube cut into 8 pieces has all 8 pieces with three painted faces and none with fewer.

How do you solve a painted cuboid question?

Replace n minus 2 by length minus 2, breadth minus 2 and height minus 2. Then three faces give 8 cubes, two faces give 4 times the sum of the three reduced edges, and no paint gives the product of the three reduced edges.

How do you handle a cube painted on only some faces?

The standard formulas do not apply. Count small cubes by position, for example with a table by layer, and check that the counts add up to n cubed. A cube of side 4 painted only on its top and bottom has 32 cubes with one painted face and 32 with none.

PYQ Practice — Statement Analysis

1 A painted cube cut into 64 cubes has 24 cubes with two painted faces.
True

12(4 - 2) = 24.

2 The number of small cubes with three painted faces depends on n.
False

It is always 8.

3 A painted cube cut into 125 cubes has 27 unpainted small cubes.
True

(5 - 2) cubed is 27.

4 In a painted cube cut into 27 cubes, 6 cubes have exactly one painted face.
True

6(3 - 2) squared is 6.

Share: