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 84 — #92<br />

84<br />

Chapter 3<br />

Logical Formulas<br />

If a function is differentiable, then it is continuous<br />

is true, as indeed it is.<br />

But wait a minute! The implication<br />

If a function is differentiable, then it is not continuous<br />

is completely false. So we could conclude that its converse<br />

If a function is not continuous, then it is differentiable,<br />

should be true, but in fact the converse is also completely false.<br />

So something has gone wrong here. Explain what.<br />

Class Problems<br />

Problem 3.29.<br />

A media tycoon has an idea <strong>for</strong> an all-news television network called LNN: The<br />

Logic News Network. Each segment will begin with a definition of the domain of<br />

discourse and a few predicates. The day’s happenings can then be communicated<br />

concisely in logic notation. For example, a broadcast might begin as follows:<br />

(a)<br />

(b)<br />

THIS IS LNN. The domain of discourse is<br />

fAlbert; Ben; Claire; David; Emilyg:<br />

Let D.x/ be a predicate that is true if x is deceitful. Let L.x; y/<br />

be a predicate that is true if x likes y. Let G.x; y/ be a predicate that<br />

is true if x gave gifts to y.<br />

Translate the following broadcasts in logic notation into (English) statements.<br />

NOT.D.Ben/ OR D.David// IMPLIES<br />

.L.Albert; Ben/ AND L.Ben; Albert//:<br />

8x: ..x D Claire AND NOT.L.x; Emily/// OR .x ¤ Claire AND L.x; Emily///<br />

AND<br />

8x: ..x D David AND L.x; Claire// OR .x ¤ David AND NOT.L.x; Claire////

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

Saved successfully!

Ooh no, something went wrong!