06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

“mcs” — 2017/3/3 — 11:21 — page 659 — #667<br />

15.11. References 659<br />

Problem 15.47. (a) Let R be an 82 4 rectangular matrix each of whose entries<br />

are colored red, white or blue. Explain why at least two of the 82 rows in R must<br />

have identical color patterns.<br />

(b) Conclude that R contains four points with the same color that <strong>for</strong>m the corners<br />

of a rectangle.<br />

(c) Now show that the conclusion from part (b) holds even when R has only 19<br />

rows.<br />

Hint: How many ways are there to pick two positions in a row of length four and<br />

color them the same?<br />

Problem 15.48.<br />

Section 15.8.6 explained why it is not possible to per<strong>for</strong>m a four-card variant of the<br />

hidden-card magic trick with one card hidden. But the Magician and her Assistant<br />

are determined to find a way to make a trick like this work. They decide to change<br />

the rules slightly: instead of the Assistant lining up the three unhidden cards <strong>for</strong><br />

the Magician to see, he will line up all four cards with one card face down and the<br />

other three visible. We’ll call this the face-down four-card trick.<br />

For example, suppose the audience members had selected the cards 9~, 10},<br />

A|, 5|. Then the Assistant could choose to arrange the 4 cards in any order so<br />

long as one is face down and the others are visible. Two possibilities are:<br />

A| ? 10} 5|<br />

? 5| 9~ 10}<br />

(a) Explain how to model this face-down four-card trick as a matching problem,<br />

and show that there must be a bipartite matching which theoretically will allow the<br />

Magician and Assistant to per<strong>for</strong>m the trick.<br />

(b) There is actually a simple way to per<strong>for</strong>m the face-down four-card trick. 10<br />

10 This elegant method was devised in Fall ’09 by student Katie E Everett.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!