The complication here is that you don't know if the counterfeit coin is heavier or lighter. If that piece of infomation were known the weighings would be trivial. You need to not only figure out which coin weighs differently, you need to figure out if it is heavier or lighter, and do this all in 3 weighings.
If it has not already been done, label the coins 1, 2, 3,..., 10, 11, 12 so that we can distinguish between and identify them using these labels.
A basic solution that is usually given runs along the following lines. Weigh 1, 2, 3, 4 against 5, 6, 7, 8
1) If they balance, so 9, 10, 11, 12 contain the odd coin. Weigh 6, 7, 8 against 9, 10, 11.
1a) If they balance, therefore 12 is the odd coin and so weigh 12 against any other to discover whether it is heavy or light.
1b) Otherwise if 9, 10, 11 are heavy and so they contain an odd heavy coin. Weigh 9 against 10. If they balance, 11 is the odd heavy coin, otherwise the heavier of 9 and 10 is the odd coin.
1c) Otherwise, If 9, 10, 11 are light, we use the same procedure to reach the same conclusion for the odd light coin.
2) 5, 6, 7, 8 are heavy and so either they contain an odd heavy coin or 1, 2, 3, 4 contain an odd light coin. Weigh 1, 2, 5 against 3, 6, 10.
2a) If they balance, so the odd coin is 4 (light) or 7 or 8 (heavy). Thus weigh 7 against 8. If they balance 4 is light, otherwise the heavier of 7 and 8 is the odd heavy coin.
2b) 3, 6, 10 are heavy, so the odd coin can be 6 (heavy) or 1 or 2 (light). Thus weigh 1 against 2. If they balance 6 is heavy, otherwise the lighter of 1 and 2 is the odd light coin.
2c) 3, 6, 10 are light, so the odd coin is 3 and light or 5 and heavy. We thus weigh 3 against 10. If they balance 5 is heavy, otherwise 3 is light.
3) If 5, 6, 7, 8 are light we use a similar procedure to that in 2.
This solution, which requires different courses of action depending on the outcomes of previous weighings, is not particularly elegant or easy to remember.
In a better method, four specified coins are weighed against four other specified coins in each of the three weighings and the results are noted. If we observe say the left-hand side of the balance, then for an individual weighing there are three possible alternatives: the left-hand side is heavy (H), light (L) or equal (E) as compared with the right-hand side of the balance.
If we use all twelve coins in the three weighings, and ensure that no particular coin appears on the same side of the balance in all three weighings, the outcomes HHH, LLL, EEE are not possible. We thus have only 24 possible outcomes
Thus we would weigh 1, 2, 3, 4 against 5, 6, 7, 8; then 7, 8, 9, 11 against 1, 5, 6, 10; and finally 2, 5, 8, 9 against 3, 7, 11, 12. The results of these three weighings as observed on the left of the balance are noted.
The mapping of the results from the 3 weighings will uniquely identify the coin and whether it is heavier or lighter.
HLE --> Coin 1 heavy
HEH --> Coin 2 heavy
HEL --> Coin 3 heavy
HEE --> Coin 4 heavy
LLH --> Coin 5 heavy
LLE --> Coin 6 heavy
LHL --> Coin 7 heavy
LHH --> Coin 8 heavy
EHH --> Coin 9 heavy
ELE --> Coin 10 heavy
EHL --> Coin 11 heavy
EEL --> Coin 12 heavy
LHE --> Coin 1 light
LEL --> Coin 2 light
LEH --> Coin 3 light
LEE --> Coin 4 light
HHL --> Coin 5 light
HHE --> Coin 6 light
HLH --> Coin 7 light
HLL --> Coin 8 light
ELL --> Coin 9 light
EHE --> Coin 10 light
ELH --> Coin 11 light
EEH --> Coin 12 light
Try it out to test it. Let's imagine that coin 7 was a light coin. First weighing of 1, 2, 3, 4 against 5, 6, 7, 8:
Left side would appear heavier --> H
Second weighing of 7, 8, 9, 11 against 1, 5, 6, 10:
Left side would appear lighter --> L
Third weighing of 2, 5, 8, 9 against 3, 7, 11, 12:
Left side would appear heavier --> H
HLH corresponds to coin 7 being lighter. Try it for other combinations to confirm this.
2007-10-29 08:44:47
·
answer #2
·
answered by Puzzling 7
·
0⤊
0⤋