{"id":236,"date":"2010-01-17T16:27:31","date_gmt":"2010-01-17T16:27:31","guid":{"rendered":"https:\/\/www.open.ac.uk\/blogs\/is\/?p=236"},"modified":"2011-07-30T10:25:39","modified_gmt":"2011-07-30T10:25:39","slug":"dividing-walls","status":"publish","type":"post","link":"https:\/\/www.open.ac.uk\/blogs\/is\/?p=236","title":{"rendered":"Dividing walls"},"content":{"rendered":"<p><\/a>Here are some problems I developed for NRICH on disconnecting sets of points.<\/p>\n<h4>Introduction<\/h4>\n<p>There is an island, shown below, which contains five towns, each marked  by a coloured disc. The people from the red towns are arch rivals with  the people from the blue towns, so they decide to build a wall to  separate all the red towns from all the blue towns. The red towns want  to stay in contact with each other so the wall must not separate two red  towns. Likewise the wall must not separate blue towns. The wall must be  continuous, it must not intersect itself, it must not split, and each  end of the wall must be at a point on the coast. Let us call such a wall  a <em>dividing wall<\/em>.<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-238\" title=\"island1\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island1.png\" alt=\"\" width=\"251\" height=\"298\" \/><\/a><\/p>\n<p>Is it possible to construct a dividing wall? Yes, one is shown below.<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-239\" title=\"island2\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island2.png\" alt=\"\" width=\"251\" height=\"298\" \/><\/p>\n<p>Is it possible to construct a dividing wall for the new collection of towns, shown below?<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-240\" title=\"island3\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island3.png\" alt=\"\" width=\"251\" height=\"298\" \/><\/a><\/p>\n<p>If you manage the above example, then perhaps you can answer the following question. <em>Given any configuration of red and blue towns, is it always possible to build a dividing wall?<\/em><\/p>\n<h4>Coastal towns<\/h4>\n<p>The next island (below) has coastal towns. These towns differ  from all previous towns as you cannot encircle each one with a wall. Can  you separate the red and blue towns with a wall in this example?<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-241\" title=\"island4\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island4.png\" alt=\"\" width=\"253\" height=\"315\" srcset=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island4.png 253w, https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island4-240x300.png 240w\" sizes=\"auto, (max-width: 253px) 100vw, 253px\" \/><\/a><\/p>\n<p>Have you managed it? If not then persevere; it is possible! Try the next example.<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-242\" title=\"island5\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island5.png\" alt=\"\" width=\"251\" height=\"305\" srcset=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island5.png 251w, https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island5-246x300.png 246w\" sizes=\"auto, (max-width: 251px) 100vw, 251px\" \/><\/a><\/p>\n<p>If you cannot build a suitable wall for the previous example then try to answer the following question. <em>What is the simplest configuration of towns, both coastal and inland, for which you cannot build a dividing wall?<\/em><\/p>\n<p>Once you have answered that question you may try this harder question.  <em>Can you characterise those configurations of towns for which it is possible to build a dividing wall?<\/em><\/p>\n<h4>Building roads<\/h4>\n<p>History is littered with examples of dividing  walls that have contributed to war and misery. Let us suppose that the  people from our five original towns are more enlightened, although  retain their animosity towards each other. Rather than building a wall,  they decide to build two roads. One road connects all the blue towns,  and the other road connects all the red towns. The two roads are not  allowed to intersect themselves, or each other. The blue road starts at a  blue town, and then passes through each of the other blue towns,  finishing at a blue town. Likewise for the red road and the red towns.  Let us call a pair of such roads <em>connecting roads<\/em>. An example of a pair of connecting roads is shown below.<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-243\" title=\"island6\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island6.png\" alt=\"\" width=\"251\" height=\"298\" \/><\/a><\/p>\n<p>Here is a pair of connecting roads for the first coastal town example.<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-244\" title=\"island7\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island7.png\" alt=\"\" width=\"253\" height=\"315\" srcset=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island7.png 253w, https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island7-240x300.png 240w\" sizes=\"auto, (max-width: 253px) 100vw, 253px\" \/><\/a><\/p>\n<p>Are the problems of building a dividing wall, and building a pair of connecting roads, related?<\/p>\n<h4>More towns<\/h4>\n<p>Recent immigrants to the island have set up  their own green town. The unfriendly locals quickly found reason to  dislike them, and now the dividing wall must separate red towns, blue  towns, and green towns.<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-245\" title=\"island8\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island8.png\" alt=\"\" width=\"251\" height=\"298\" \/><\/a><\/p>\n<p>It is impossible to separate all three sets of towns with one dividing  wall. We need another! The rules for two dividing walls are that they  must not intersect each other, and each end of each wall must start  either from a point on the coast, or from a point on one of the other  walls. We can separate red from green from blue with two dividing walls,  as shown below.<\/p>\n<p><a href=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-237\" title=\"island9\" src=\"https:\/\/www.open.ac.uk\/blogs\/is\/wp-content\/uploads\/2011\/07\/island9.png\" alt=\"\" width=\"251\" height=\"298\" \/><\/a><\/p>\n<p>We can bring in green coastal towns too, and address the next question. <em>Which configurations of red, green, and blue towns can be separated by two dividing walls?<\/em><\/p>\n<h4>Questions and answers<\/h4>\n<p><em>Questions.<\/em> Does the shape of the island affect the  problem? How about if we introduce lakes to the island, across which  neither walls nor roads can be built? We can allow more roads and walls.  Does that actually help? We can introduce more towns too. Also, we can  assume that the island is a sphere, rather than a disc shape. (That is,  we can ask the same questions for people on the whole Earth.) Or we can  assume that the people live on a torus. Unlikely, but don&#8217;t let that  hold us back. We could consider multiple islands, and build bridges  between them.<\/p>\n<p><em>Answers.<\/em> I haven&#8217;t worked out all the answers! The shape  of the island doesn&#8217;t matter, so we may as well assume it is a disc.  Lakes have no impact; we can shrink them down to points without  affecting the problem. For two colour types, if there are no coastal  towns then a dividing wall exists. If there are coastal towns then a  dividing wall exists unless there are four coastal towns that occur in  the order red, blue, red, blue, clockwise around the island. Connecting  roads are the same as dividing walls. The reasons are similar, if not  exactly the same as, the idea in metric space theory of equivalence of  path connectivity and connectivity. I don&#8217;t imagine that extra walls  would help with the two coloured towns problem. For n colour types, and  n-1 dividing walls, I suspect that for successful configurations, same  coloured towns must be grouped together round the coast.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are some problems I developed for NRICH on disconnecting sets of points. Introduction There is an island, shown below, which contains five towns, each marked by a coloured disc. The people from the red towns are arch rivals with the people from the blue towns, so they decide to build a wall to separate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-mathematics"],"_links":{"self":[{"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":4,"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":297,"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions\/297"}],"wp:attachment":[{"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.open.ac.uk\/blogs\/is\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}