Cube and unit cubes

probability

Consider a $3\times 3\times 3$ cube consisting of smaller $1\times 1\times 1$ unit cubes. The big cube is painted black on the outside. Suppose we disassemble the cube and pick a random unit cube, look at only one face and see it is black, without looking at the other faces. What is the probability the unit cube we picked is one of the 8 corner cubes?

This one seems simple to me but I am not sure I am right:
The big cube consists of 27 unit cubes of which one only, the middle one, does not have any painted face. All the others (26) have at least one face painted and 8 have 3 faces painted.
Thus the requested probability is $\frac{8}{26}$—is this so?

Best Answer

Your first step is reasonable: if you see a painted face, then you know that the cube you have cannot possibly be the center cube. However, you are not "just as likely" to have a corner cube as a side cube. You need to be more careful in thinking about your sample space.

Here is a possible line of reasoning: when you paint the $3\times 3\times 3$ cube, you paint a total of $$ 9 \cdot 6 = 54 $$ faces (each face of the large cube consists of a $3\times 3$ arrangement of faces of the smaller cubes; the large cube has six faces). This represents the total space of possible outcomes (given that you know you have selected a painted face—a priori, it might have been possible to selected a non-painted face, but we know this didn't happen).

On the other hand, there are 8 corner cubes, each of which as three painted faces, for a total of $$ 3 \cdot 8 = 24 $$ painted faces on corner cubes. Picking a painted face from a corner is a "success" in this experiment. Therefore the probability that you have selected a corner cube is the ratio of successes to the total number of possible outcomes, i.e. $$ P(\text{the painted face is from a corner}) = \frac{\text{number of successful outcomes}}{\text{total number of outcomes}} = \frac{24}{54} = \frac{4}{9}. $$