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 421 — #429<br />

10.11. Summary of Relational Properties 421<br />

(c) Explain the connection between increasing and decreasing subsequences of S,<br />

and chains and anti-chains under .<br />

(d) Prove that every sequence S of length n has an increasing subsequence of<br />

length greater than p n or a decreasing subsequence of length at least p n.<br />

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

Practice Problems<br />

Problem 10.53.<br />

For each of the following relations, decide whether it is reflexive, whether it is<br />

symmetric, whether it is transitive, and whether it is an equivalence relation.<br />

(a) f.a; b/ j a and b are the same ageg<br />

(b) f.a; b/ j a and b have the same parentsg<br />

(c) f.a; b/ j a and b speak a common languageg<br />

Problem 10.54.<br />

For each of the binary relations below, state whether it is a strict partial order, a<br />

weak partial order, an equivalence relation, or none of these. If it is a partial order,<br />

state whether it is a linear order. If it is none, indicate which of the axioms <strong>for</strong><br />

partial-order and equivalence relations it violates.<br />

(a) The superset relation on the power set pow f1; 2; 3; 4; 5g.<br />

(b) The relation between any two nonnegative integers a and b such that a b<br />

.mod 8/.<br />

(c) The relation between propositional <strong>for</strong>mulas G and H such that ŒG IMPLIES<br />

H is valid.<br />

(d) The relation between propositional <strong>for</strong>mulas G and H such that ŒG IFF H is<br />

valid.<br />

(e) The relation ‘beats’ on Rock, Paper, and Scissors (<strong>for</strong> those who don’t know<br />

the game Rock, Paper, Scissors, Rock beats Scissors, Scissors beats Paper, and<br />

Paper beats Rock).<br />

(f) The empty relation on the set of real numbers.

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

Saved successfully!

Ooh no, something went wrong!