Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Методичка дискретка(англ).doc
Скачиваний:
2
Добавлен:
12.11.2019
Размер:
1.33 Mб
Скачать

Figure 2

EXAMPLE 2 (a) If the universe is N, and if A and E are as in Example l(a), then

A c= {nN :n  l2} and Ec = {nN :n is odd}.

(b) If the universe is R, then [0.1]c = (- , 0) u (1, ), (0, 1)c = (- , 0]

 [1, ) and {0, 1}c = (- , 0)  (0,1)  (1, ). For any aR,

[a, )c = (- , a) and (a, )c = (- , a]. ■

Note that the last two Venn diagrams in Figure 2 show that Ac  Bc = (A  B)c. This set identity and many others are true in general. Table 1 lists some basic identities for sets and set operations. Don't be overwhelmed by them; look at them one at a time. As some of the names of the laws suggest, many of them are analogs of laws from algebra. The idempotent laws are new [certainly, a + a = a fails for most numbers], and there is only one distributive law for numbers. Of course, the laws involving complementation are new. All sets in Table 1 are presumed to

TABLE 1. Laws of Algebra of Sets

1a AB =BA

b AB =BA

2a (AB)C =A(BC)

b (AB)C =A(BC)

3a A(BC)=(AB)(AC)

b A(BC)=(AB)(AC)

4a AA = A

b AA = A

5a A=A

b AU =U

c A=

d AU =A

6 (Ac)c =A

7a AAc =U

b AAc =

8a Uc =

b c =U

9a (AB)c =AcBc

b (AB)c =AcBc

be subsets of some universal set U. Because of the associative laws, we can write the sets ABC and ABC without any parentheses and cause no confusion.

The identities in Table 1 can be verified in either of two ways. One can shade in the corresponding sets of a Venn diagram and observe that they are equal. Alternatively, one can show that sets S and T are equal by showing that ST and TS; these inclusions can be verified by showing that xS implies xT and by showing that xT implies xS. We give examples of both sorts of arguments, leaving most of the veri­fications to the interested reader.

EXAMPLE 3 The DeMorgan law 9a is illustrated by Venn diagrams in Figure 2.

Here is a proof in which we show first that (AB)cAcBc

and then that

AcBc  (AB)c.

To show that (AB)cAcBc , we consider an element x in

(AB)c. Then xAB. In particular, xA, so we must have

xAc. Similarly, xB, and so xBc. Therefore, xAcBc.

We have shown that x  (AB)c implies xAcBc; hence

(AB)c AcBc.

To show the reverse inclusion, AcBc  (AB)c , we

consider x in AcBc. Then xAc, so xA. Also, xBc, and so

xB. Since xA and xB, we conclude that xAB, i.e.,

x  (AB)c. Hence AcBc  (AB)c. ■

EXAMPLE 4 The Venn diagrams in Figure 3 show the distributive law 3b. The

picture of the set A  (B  C) is double-hatched in the diagram

on the left; on the right, (AB)  (AC) is represented by the

set that is single- or double-hatched.