Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We have 8 light switches in a room, each of which can be UP or DOWN. They all start DOWN. To do a complete test
We have 8 light switches in a room, each of which can be UP or DOWN. They all start DOWN. To do a complete test of the switches, we want to find a sequence of flipping one switch at a time so that, from each of the 28 possible positions of all the switches, we have flipped every switch at some point in the sequence, and so that we end with all switches DOWN. For example, if there are only 2 switches, from DD, we would need to test DD+DU and DD +UD from DU, we would need to test DU + DD and DU + UU from UD, we would need to test UD+ UU and UD + DD from UU, we would need to test UU + DU and UU+UD (Here is an example of a sequence of positions that tests all eight of the transitions above: (DD, DU, UU, DU, DD, UD, UU,UD, DD) (a) Use a counting argument to give a lower bound on the minimum length of the sequence of flips of 8 switches that meets the above condition. (b) Model this problem as a graph problem to give an argument as to how to achieve this lower bound. We have 8 light switches in a room, each of which can be UP or DOWN. They all start DOWN. To do a complete test of the switches, we want to find a sequence of flipping one switch at a time so that, from each of the 28 possible positions of all the switches, we have flipped every switch at some point in the sequence, and so that we end with all switches DOWN. For example, if there are only 2 switches, from DD, we would need to test DD+DU and DD +UD from DU, we would need to test DU + DD and DU + UU from UD, we would need to test UD+ UU and UD + DD from UU, we would need to test UU + DU and UU+UD (Here is an example of a sequence of positions that tests all eight of the transitions above: (DD, DU, UU, DU, DD, UD, UU,UD, DD) (a) Use a counting argument to give a lower bound on the minimum length of the sequence of flips of 8 switches that meets the above condition. (b) Model this problem as a graph problem to give an argument as to how to achieve this lower bound
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started