edited by
246 views
2 votes
2 votes

There are $7$ switches on a switchboard, some of which are $on$ and some of which are $off$. In one move, you pick any $2$ switches and toggle each of them—if the switch you pick is currently $off$, you turn it $on$, if it is $on$, you turn it $off$. Your aim is to execute a sequence of moves and turn all $7$ switches $on$. For which of the following initial configurations is this possible? Each configuration lists the initial positions of the $7$ switches in sequence, from switch $1$ to switch $7$.

  1. $\text{(off,on,on,on,on,off,on)}$
  2. $\text{(off,on,on,on,off,on,off)}$
  3. $\text{(off,on,off,off,on,off,on)}$
  4. $\text{(off,on,off,off,off,on,off)}$
edited by

1 Answer

0 votes
0 votes

$Ans) \ A, C$ 

Consider at the beginning we group the $on$ switches together and the $off$ switches together. (That is place the lights in two buckets ON and OFF)

When we toggle 2 switches,the following cases can occur:

  1. We toggle an $on$ switch and an $off$ switch : Number of $on$ switches decreases by 1 due turning the switch off and increases by 1 when $off$ switch becomes on. Number of $off$ switches decreases by 1 and increases by 1 similarly. So net change is 0. (Even number of elements changed).
  2. If the switches we select are both $on$, number of $on$ switches decreases by 2, number of $off$ switches increases by 2. Similarly is the case for selecting 2 $off$ switches. (Even number of elements changed)

So we see that number of $off$ switches changes by 2 or 0 in every move. So to turn every light on, we need to ensure that there are even number of $off$ switches, so that we can reduce it’s count by 2 in every move to make it 0.

Thus the valid cases have even number of $off$ switches.

 

 

Related questions

2 votes
2 votes
1 answer
2
soujanyareddy13 asked Jan 29, 2021
471 views
If $P$ is an invertible matrix and $A=PBP^{-1},$ then which of the following statements are necessarily true?$B=P^{-1}AP$$|A|=|B|$$A$ is invertible if and only if $B$ is ...
0 votes
0 votes
3 answers
3
soujanyareddy13 asked Jan 29, 2021
638 views
Let $A=\begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{bmatrix}, B=\begin{bmatrix} 1 & 4 & 7 \\ 2 & 5 & 8 \\ 3 & 6 & 9 \end{bmatrix}, C=\begin{bmatrix} 4 & 5 & 6...
2 votes
2 votes
2 answers
4
soujanyareddy13 asked Jan 29, 2021
406 views
Let $x=\begin{bmatrix} 3& 1 & 2 \end{bmatrix}$. Which of the following statements are true?$x^Tx$ is a $3\times 3$ matrix$xx^T$ is a $3\times 3$ matrix$xx^T$ is a $1\time...