15.08.2013 Views

General Computer Science; Problems and Solutions for ... - Kwarc

General Computer Science; Problems and Solutions for ... - Kwarc

General Computer Science; Problems and Solutions for ... - Kwarc

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Solution:<br />

step case: n > 1. We assume that the assertion is true <strong>for</strong> all sets of n students <strong>and</strong><br />

show that it holds <strong>for</strong> sets of n + 1 students. So let us take a set S of n + 1 students. As<br />

n > 1, we can choose students s ∈ S <strong>and</strong> t ∈ S with s = t <strong>and</strong> consider sets Ss = S\{s}<br />

<strong>and</strong> St := S\{t}. Clearly, #(Ss) = #(St) = n, so all students in Ss <strong>and</strong> have the same<br />

hair-color by inductive hypothesis, <strong>and</strong> the same holds <strong>for</strong> St. But S = Ss ∪ St, so any<br />

u ∈ S has the same hair color as the students in Ss ∩ St, which have the same hair color<br />

as s <strong>and</strong> t, <strong>and</strong> thus all students in S have the same hair color<br />

The problem with the proof is that the inductive step should also cover the case when n = 1, which<br />

it doesn’t. The argument relies on the fact that there intersection of Ss <strong>and</strong> St is non-empty, giving a<br />

mediating element that has the same hair color as s <strong>and</strong> t. But <strong>for</strong> n = 1, S = {s, t}, <strong>and</strong> Ss = {t}, <strong>and</strong><br />

St = {s}, so Ss ∩ St = ∅.<br />

3

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

Saved successfully!

Ooh no, something went wrong!