06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

“mcs” — 2017/3/3 — 11:21 — page 152 — #160<br />

152<br />

Chapter 5<br />

Induction<br />

Problems <strong>for</strong> Section 5.2<br />

Practice Problems<br />

Problem 5.21.<br />

Some fundamental principles <strong>for</strong> reasoning about nonnegative integers are:<br />

1. The Induction Principle,<br />

2. The Strong Induction Principle,<br />

3. The Well Ordering Principle.<br />

Identify which, if any, of the above principles is captured by each of the following<br />

inference rules.<br />

(a)<br />

P.0/; 8m: .8k m: P.k// IMPLIES P.m C 1/<br />

8n: P.n/<br />

(b)<br />

(c)<br />

(d)<br />

(e)<br />

P.b/; 8k b: P.k/ IMPLIES P.k C 1/<br />

8k b: P.k/<br />

9n: P.n/<br />

9m: ŒP.m/ AND .8k: P.k/ IMPLIES k m/<br />

P.0/; 8k > 0: P.k/ IMPLIES P.k C 1/<br />

8n: P.n/<br />

8m: .8k < m: P.k// IMPLIES P.m/<br />

8n: P.n/<br />

Problem 5.22.<br />

The Fibonacci numbers F .n/ are described in Section 5.2.2.<br />

Indicate exactly which sentence(s) in the following bogus proof contain logical<br />

errors? Explain.<br />

False Claim. Every Fibonacci number is even.

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

Saved successfully!

Ooh no, something went wrong!