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 41 — #49<br />

2.4. Well Ordered Sets 41<br />

Since we get a contradiction in both cases, we conclude that C must<br />

be empty. That is, there are no counterexamples to (2.7), which proves<br />

that (2.7) holds.<br />

The proof makes an implicit assumption about the value of m. State the assumption<br />

and justify it in one sentence.<br />

Problem 2.13. (a) Prove using the Well Ordering Principle that, using 6¢, 14¢, and<br />

21¢ stamps, it is possible to make any amount of postage over 50¢. To save time,<br />

you may specify assume without proof that 50¢, 51¢, . . . 100¢ are all makeable, but<br />

you should clearly indicate which of these assumptions your proof depends on.<br />

(b) Show that 49¢ is not makeable.<br />

Problem 2.14.<br />

We’ll use the Well Ordering Principle to prove that <strong>for</strong> every positive integer n, the<br />

sum of the first n odd numbers is n 2 , that is,<br />

nX<br />

1<br />

.2i C 1/ D n 2 ; (2.8)<br />

iD0<br />

<strong>for</strong> all n > 0.<br />

Assume to the contrary that equation (2.8) failed <strong>for</strong> some positive integer n. Let<br />

m be the least such number.<br />

(a) Why must there be such an m?<br />

(b) Explain why m 2.<br />

(c) Explain why part (b) implies that<br />

mX<br />

1<br />

.2.i 1/ C 1/ D .m 1/ 2 : (2.9)<br />

iD1<br />

(d) What term should be added to the left-hand side of (2.9) so the result equals<br />

mX<br />

.2.i 1/ C 1/‹<br />

iD1<br />

(e) Conclude that equation (2.8) holds <strong>for</strong> all positive integers n.

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

Saved successfully!

Ooh no, something went wrong!