06.09.2021 Views

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

Discrete Mathematics- An Open Introduction - 3rd Edition, 2016a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

3.2. Proofs 219<br />

Example 3.2.7<br />

Prove that √ 2 is irrational.<br />

Solution.<br />

Proof. Suppose not. Then √ 2 is equal to a fraction a b . Without<br />

loss of generality, assume a b<br />

is in lowest terms (otherwise reduce the<br />

fraction). So,<br />

2 a2<br />

b 2<br />

2b 2 a 2 .<br />

Thus a 2 is even, and as such a is even. So a 2k for some integer<br />

k, and a 2 4k 2 . We then have,<br />

2b 2 4k 2<br />

b 2 2k 2 .<br />

Thus b 2 is even, and as such b is even. Since a is also even, we see<br />

that a b is not in lowest terms, a contradiction. Thus √ 2 is irrational.<br />

<br />

Example 3.2.8<br />

Prove: There are no integers x and y such that x 2 4y + 2.<br />

Solution.<br />

Proof. We proceed by contradiction. So suppose there are integers<br />

x and y such that x 2 4y + 2 2(2y + 1). So x 2 is even. We have<br />

seen that this implies that x is even. So x 2k for some integer<br />

k. Then x 2 4k 2 . This in turn gives 2k 2 (2y + 1). But 2k 2 is<br />

even, and 2y + 1 is odd, so these cannot be equal. Thus we have a<br />

contradiction, so there must not be any integers x and y such that<br />

x 2 4y + 2.<br />

<br />

Example 3.2.9<br />

The Pigeonhole Principle: If more than n pigeons fly into n pigeon<br />

holes, then at least one pigeon hole will contain at least two pigeons.<br />

Prove this!

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

Saved successfully!

Ooh no, something went wrong!