Saturday, February 16th, 2013
Cubes and Matchstick Problems
â€˜If it was so, it might be; and if it were so, it would be; but as it isn’t, it ain’t. That’s logic.â€™ â€“ Tweedledee in Lewis Carollâ€™s Through the Looking Glass.
If the above line confused you, trust me â€“ you are not alone. Even God can vanish in a puff of logic. To know how, you can probably jump to the end of this post. To those who choose not to skip â€“ let us discuss few common types of Logical Reasoning problems.
Â
Type 1:Â
Cube problems: Â A cube is given with an edge of unit â€˜Nâ€™. It is painted on all faces. It is cut into smaller cubes of edge of unit â€˜nâ€™. How many cubes will have â€˜xâ€™ faces painted?
In these types of questions, the first thing that we need to figure out is the number of smaller cubes. For this, we look at one particular edge of the big cube and figure out how many smaller cubes can fit into this. It will be N/n. So, the number of smaller cubes will
A cube has 6 faces and none of the smaller cubes will have all faces painted. As a matter of fact, none of the smaller cubes will have even 5 or 4 faces painted. The maximum number of faces, which will be painted on a smaller cube, will be 3. This will happen only in the case of the smaller cubes that emerge from the corners of the big cube.
So, number of smaller cubes with 3 faces painted = 8Â (Always)
For 2 faces to be painted, we will have to consider the smaller cubes that emerge from the edges of the big cube (leaving out the corners). So, the smaller cubes on every edge will be
So, number of smaller cubes with 2 faces painted
For 1 face to be painted, we will have to consider the smaller cubes that emerge from the face of the big cube (leaving out the corners and the edges). So, the smaller cubes on every face will be
There are 6 faces in a cube.So, number of smaller cubes with 1 face painted
For no face to be painted, we will have to consider the smaller cubes that emerge from the inside of the big cube (leaving out the outer surface which was painted). Imagine this as taking a knife and cutting a slice of width â€˜nâ€™ from every face of the cube. You will be left with a smaller cube with an edge of â€˜N-2nâ€™. Number of smaller cubes that you can make from the resulting cube is
So, number of smaller cubes with 0 face painted
Let us take an example to elucidate this type of problem.
Eg 1: A painted cube is given with an edge of 15 cm. Smaller cubes are cut out from it with an edge of 3 cm each. How many cubes will have 3 faces painted, 2 faces painted, 1 face painted and no face painted.
Solution: Total number of smaller cubes = (15/5)^{3} = 125
3 faces painted = 8 cubes.
2 faces painted: Consider an edge of size 15 cm. We have removed the corners that take away 3 cm from each corner of the edge. Now our edge is of 9 cm. 3 cubes of 3 cm each can come from it. There are 12 edges. So, there will be 3 x 12 = 36 cubes.
1 face painted: Consider a face. If we have removed 3 cm from each edge of the face, we will be left with a square of side 9 cm or area 81 sq cm. There can be 9 smaller squares that can be formed on that face with an area of 9 sq cm each. These 9 will be the cubes which will have 1 face painted. There are 6 faces. So, there will be 9 x 6 = 54 cubes.
No face painted: Cut slices of 3 cm each from each face of the cube. We will be left with a smaller cube of edge 9 cm. Number of smaller cubes that can be formed from it is (9/3)^{3} = 27. So, 27 cubes will have no faces painted.
You can use this to verify the formulas above and also note that 8 + 36 + 54 + 27 = 125. This means that there is no need to find out all four using the formula, just find any three of them and the other would emerge by using the total. In an exam, this might save you some valuable time.
Type 2:
Matchstick Game: You are playing a matchstick game with Mr. Bond. There are â€˜nâ€™ matchsticks on a table. On a playerâ€™s turn, he can pick any number of matchsticks upto â€˜pâ€™ (p is typically quite smaller than â€˜nâ€™). Whosoever picks the last matchstick loses the game. It is your turn first. How many matchsticks should you pick (assuming that you are smart and will play to win) that you will always win?
First remove 1 matchstick from consideration, as that would be the matchstick that Mr. Bond will pick and lose the game.
Find out Remainder
You should pick â€˜qâ€™ matchsticks in the first turn.
After that if Mr. Bond picks â€˜râ€™ sticks, you should pick â€˜p+1-râ€™ sticks and you will win the game.
Once again, let us take an example.
Eg 2: There are 105 matchsticks on a table and a player can pick any number of matchsticks from 1 to 10. The person who picks the last matchstick loses the game. You are playing the game against Mr. Bond and it is your turn first. How many matchsticks should you pick in the first turn such that you always win the game?
Solution: You should pick Remainder
Â ie.Â matchsticks to win the game.
Let us look at few scenarios, in which you have picked 5 sticks and there are 100 sticks left on the table. It is Mr. Bondâ€™s turn now.
Round ID |
Mr. Bond Picks |
Sticks Left |
You Pick |
Sticks Left |
Round 1 |
5 |
100 â€“ 5 = 95 |
10 + 1 â€“ 5 = 6 |
95 â€“ 6 = 89 |
Round 2 |
8 |
89 â€“ 8 = 81 |
10 + 1 â€“ 8 = 3 |
81 â€“ 3 = 78 |
Round 3 |
7 |
78 â€“ 7 = 71 |
10 + 1 â€“ 7 = 4 |
71 â€“ 4 = 67 |
Round 4 |
4 |
67 â€“ 4 = 63 |
10 + 1 â€“ 4 = 7 |
63 â€“ 7 = 56 |
Round 5 |
10 |
56 â€“ 10 = 46 |
10 + 1 â€“ 10 = 1 |
46 â€“ 1 = 45 |
Round 6 |
8 |
45 â€“ 8 = 37 |
10 + 1 â€“ 8 = 3 |
37 â€“ 3 = 34 |
Round 7 |
1 |
34 â€“ 1 = 33 |
10 + 1 â€“ 1 = 10 |
33 â€“ 10 = 23 |
Round 8 |
2 |
23 â€“ 2 =21 |
10 + 1 â€“ 2 = 9 |
21 â€“ 9 = 12 |
Round 9 |
9 |
12 â€“ 9 = 3 |
10 + 1 â€“ 9 = 2 |
3 â€“ 2 = 1 |
As only 1 stick is left, Mr. Bond will have to pick it and lose the game. I recommend, that you try out such scenarios with a friend. Nothing validates a concept more than a real-life implementation, especially if it is on a bet. J
For those who are still wondering â€“ what did just happen (as I did when I first read this concept), I suggest you pick up Hitchhikerâ€™s Guide to the Galaxy and read about how God vanished in a puff of logic
a) 1000+ Videos covering entire CAT syllabus
b) 2 Live Classes (online) every week for doubt clarification
c) Study Material & PDFs for practice and understanding
d) 10 Mock Tests in the latest pattern
e) Previous Year Questions solved on video
[…] Cubes and Matchstick Problems Logical Reasoning Basics â€“ How to solve coin picking / matchstick related problems? How to prepare for LRDI How to prepare for Logical Reasoning How to Prepare for Data Interpretation How to solve Family Tree, Relationships problems based on coded symbols […]