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 417 — #425<br />

10.11. Summary of Relational Properties 417<br />

Problem 10.42.<br />

How many binary relations are there on the set f0; 1g?<br />

How many are there that are transitive?, . . . asymmetric?, . . . reflexive?, . . . irreflexive?,<br />

. . . strict partial orders?, . . . weak partial orders?<br />

Hint: There are easier ways to find these numbers than listing all the relations<br />

and checking which properties each one has.<br />

Problem 10.43.<br />

Prove that if R is a partial order, then so is R 1 .<br />

Problem 10.44. (a) Indicate which of the following relations below are equivalence<br />

relations, (Eq), strict partial orders (SPO), weak partial orders (WPO). For<br />

the partial orders, also indicate whether it is linear (Lin).<br />

If a relation is none of the above, indicate whether it is transitive (Tr), symmetric<br />

(Sym), or asymmetric (Asym).<br />

(i) The relation a D b C 1 between integers a, b,<br />

(ii) The superset relation on the power set of the integers.<br />

(iii) The empty relation on the set of rationals.<br />

(iv) The divides relation on the nonegative integers N.<br />

(v) The divides relation on all the integers Z.<br />

(vi) The divides relation on the positive powers of 4.<br />

(vii) The relatively prime relation on the nonnegative integers.<br />

(viii) The relation “has the same prime factors” on the integers.<br />

(b) A set of functions f; g W D ! R can be partially ordered by the relation,<br />

where<br />

Œf g WWD 8d 2 D: f .d/ g.d/:<br />

Let L be the set of functions f W R ! R of the <strong>for</strong>m<br />

<strong>for</strong> constants a; b 2 R.<br />

f .x/ D ax C b<br />

Describe an infinite chain and an infinite anti-chain in L.

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

Saved successfully!

Ooh no, something went wrong!