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 148 — #156<br />

148<br />

Chapter 5<br />

Induction<br />

Problem 5.16.<br />

Suppose P.n/ is a predicate on nonnegative numbers, and suppose<br />

8k: P.k/ IMPLIES P.k C 2/: (5.17)<br />

For P ’s that satisfy (5.17), some of the assertions below Can hold <strong>for</strong> some,<br />

but not all, such P , other assertions Always hold no matter what the P may be,<br />

and some Never hold <strong>for</strong> any such P . Indicate which case applies <strong>for</strong> each of the<br />

assertions and briefly explain why.<br />

(a) 8n 0: P.n/<br />

(b) NOT.P.0// AND 8n 1: P.n/<br />

(c) 8n 0: NOT.P.n//<br />

(d) .8n 100: P.n// AND .8n > 100: NOT.P.n///<br />

(e) .8n 100: NOT.P.n/// AND .8n > 100: P.n//<br />

(f) P.0/ IMPLIES 8n: P.n C 2/<br />

(g) Œ9n: P.2n/ IMPLIES 8n: P.2n C 2/<br />

(h) P.1/ IMPLIES 8n: P.2n C 1/<br />

(i) Œ9n: P.2n/ IMPLIES 8n: P.2n C 2/<br />

(j) 9n: 9m > n: ŒP.2n/ AND NOT.P.2m//<br />

(k) Œ9n: P.n/ IMPLIES 8n: 9m > n: P.m/<br />

(l) NOT.P.0// IMPLIES 8n: NOT.P.2n//<br />

Problem 5.17.<br />

Consider the following sequence of predicates:<br />

Q 1 .x 1 / WWD x 1<br />

Q 2 .x 1 ; x 2 / WWD x 1 IMPLIES x 2<br />

Q 3 .x 1 ; x 2 ; x 3 / WWD .x 1 IMPLIES x 2 / IMPLIES x 3<br />

Q 4 .x 1 ; x 2 ; x 3 ; x 4 / WWD ..x 1 IMPLIES x 2 / IMPLIES x 3 / IMPLIES x 4<br />

Q 5 .x 1 ; x 2 ; x 3 ; x 4 ; x 5 / WWD ...x 1 IMPLIES x 2 / IMPLIES x 3 / IMPLIES x 4 / IMPLIES x 5<br />

:

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

Saved successfully!

Ooh no, something went wrong!