Skip to main content Accessibility help
×
Hostname: page-component-5c6d5d7d68-qks25 Total loading time: 0 Render date: 2024-09-01T09:19:20.662Z Has data issue: false hasContentIssue false

9 - Problem E: Solution

Published online by Cambridge University Press:  16 May 2024

Alan F. Beardon
Affiliation:
University of Cambridge
Get access

Summary

It is usually best to try some simple cases first. The case of two lights is trivial, for we can use switch 1 to change light 2, and switch 2 to change light 1. Now try the cases of three lights, and of four lights, to gain further insight into the problem. It seems that if n = 3 it is impossible to change all of the lights from ON to OFF, while it is possible to do this when n = 4. This suggests that the solution might depend on whether n is even or odd, so you should now try other cases to provide evidence for, or against, this suggestion. Note that to prove that it is possible to switch all of the lights OFF you only have to say which switches to use, and in which order to use them. How will you be able to prove that it is impossible to do something?

We should also be thinking about how to express this problem in a mathematical way. If we label the lights as L1,L2, … , Ln then we can record the state of the system as a vector (x1, … , xn), where xj = 0 if the light Lj is OFF, and xj = 1 if Lj is ON. For example, the vector (0, 1, 0, 1, 1, 1) represents six lights L1, … , L6, with L2, L4, L5 and L6 ON, and L1 and L3 OFF. The set S of possible states of a system with n lights is the set

which has exactly 2n elements. We shall consider the cases when n is even, and when n is odd, separately.

Case 1: n is even If we use each switch exactly once then each light will change its state n − 1 times, regardless of the order in which we use the switches. As n − 1 is odd, each light will therefore change its state. In particular, if all the lights are ON then we can switch them all OFF. Note that in this solution we use each switch once, and the switches can be used in any order.

Type
Chapter
Information
Creative Mathematics
A Gateway to Research
, pp. 45 - 50
Publisher: Cambridge University Press
Print publication year: 2009

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Problem E: Solution
  • Alan F. Beardon, University of Cambridge
  • Book: Creative Mathematics
  • Online publication: 16 May 2024
  • Chapter DOI: https://doi.org/10.1017/9780511844782.011
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Problem E: Solution
  • Alan F. Beardon, University of Cambridge
  • Book: Creative Mathematics
  • Online publication: 16 May 2024
  • Chapter DOI: https://doi.org/10.1017/9780511844782.011
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Problem E: Solution
  • Alan F. Beardon, University of Cambridge
  • Book: Creative Mathematics
  • Online publication: 16 May 2024
  • Chapter DOI: https://doi.org/10.1017/9780511844782.011
Available formats
×