Try it yourself · Class 8 Maths · Visualising Solid Shapes

A painted cube cut into small cubes: change n and the layer

Paint a big cube on all faces and cut it into small cubes of 1 unit. Corner cubes have 3 faces painted, edge cubes have 2, face cubes have 1 and cubes inside have none. The simulation looks at one layer from above and gives the totals for the whole cube.

Totals for 3, 2, 1, 0 painted faces: .

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Slide the cube size n from 2 to 10 cubes per edge.
  • Slide the layer from the top from 1 to 10.
  • Read the colour of each small cube and the legend of faces painted.

What to watch

  • At n = 4 the totals are 8 cubes with 3 faces, 24 with 2 faces, 24 with 1 face and 8 with 0 faces. They add up to 64.
  • At n = 5 the totals are 8, 36, 54 and 27, which add up to 125. So 54 small cubes have exactly one painted face.
  • At n = 3 only 1 small cube has no paint, the one in the centre. At n = 2 every one of the 8 cubes has 3 faces painted.
  • At n = 10 the totals are 8, 96, 384 and 512, which add up to 1000.
  • At n = 4, layer 1 shows corners marked 3, edges marked 2 and a middle block marked 1. Layer 2 shows corners marked 2, edges marked 1 and a middle block marked 0.

The formula

is the number of small cubes along one edge, and there are always corner cubes with faces painted. All four counts add up to .

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. NCERT

    A cube of side 5 cm is painted on all its faces. If it is sliced into 1 cubic centimetre cubes, how many 1 cubic centimetre cubes will have exactly one of their faces painted?
    1. 27
    2. 42
    3. 54
    4. 142
    Show the answer
    (C) 54
  2. NCERT

    A cube of side 4 cm is painted on all its sides. If it is sliced in 1 cubic cm cubes, then number of such cubes that will have exactly two of their faces painted is __________.
    Show the answer
    24

More to try in Visualising Solid Shapes

Every simulation in the Lab