290 likes | 524 Views
Last time we proved theorems:. Theorem 1 . For any two sets A and B A A B . . Theorem 2 . For any two sets A and B A B A. Theorem 3. Let A , B and C be any sets. Then if A B and B C , then A C . . B. A. B A B . . A B B . x B.
E N D
Last time we proved theorems: Theorem 1.For any two sets A and B A AB. Theorem 2.For any two sets A and B AB A. Theorem 3. Let A, B and C be any sets. Then if A B and B C , then A C.
B A B AB AB B x B xA We can prove some more theorems by using definitions, logical reasoning and other theorems. Theorem 4. Let A and B be any sets. Then AB if and only if each of the following holds: a) AB=B. AB AB=B (by Theorem 1) 1. AB AB=B xAB x B 2. AB=B AB xAxAB x B
Proof of AB AB = B Part 1. AB AB=B Assume AB. To prove AB=B we need to prove B AB and ABB. B AB by the Theorem 1. To prove ABB take some xAB. Then there might be two cases: either xB or xA. xA implies xB because AB by assumption. So in both cases xB. Thus, for arbitrary x, xAB xB, i.e. ABB. Part 2.AB = B A B Assume AB=B. To prove AB take any x A. By the Theorem 1, xA implies x AB. By assumption AB=B, xAB implies xB.Thus, for arbitrary xA xB, i.e. AB. We proved AB AB=B and AB=B AB . Thus, it implies that AB AB=B
B A AB A A AB b) AB=A. AB AB=A (by Theorem 2) 1. AB AB=A x AB xA xA xB 2. AB =A A B xA xA xB xB x AB
Proof of AB AB=A Part 1.AB AB=A Assume AB. We need to prove AB A and A AB . AB A by the Theorem 2. To prove A AB take an arbitrary xA. By assumption AB, xA implies that xB, so now we have xA and xB, i.e.x AB by the definition of AB. Part 2.AB=A AB Assume AB=A. To prove AB take some xA. By assumption AB=A, xA implies xA B. By the Theorem 2, xA B implies xB. We proved implications in both directions, AB AB=A and AB =A A B , that means the propositions are equivalent, AB =A A B
c) AB= . AB AB= If you can build the chain of identical (in both directions) transformations, then you don’t need double inclusion. AB x [xA xB]by subset definition x [xA xB] by equivalence p q p q x [xA x B] by DeMorgan’s law x [x AB] by definition of AB x [x AB] by negation of AB = by definition of empty set
d) AB= AB AB= B B A e) AB=U AB AB=U A
f) BA AB BA BA x [xB xA] by definition of set compliment x [xAxB] by equivalence of an implication and its contrapositive. AB by definition of subset relation
U B A
Prove or disprove the following proposition For any three sets A, B and C (AB)C = A(BC) First you need to decide what to do…If the proposition looks like to be true, prove it for arbitrary sets. But suppose you suspect that it not always true… It is sufficient to find a single counterexample to disprove it! To disprove that the proposition is true for any sets its sufficient to find a single example of three sets, such that the proposition is false.
? B A B A C (AB)C C AB A B B A C C A(BC) BC (AB)C = A(BC)
? (AB)C = A(BC) B A 2 4 6 1 3 5 7 C We are going to disprove by counterexample. A = {1, 2, 3, 4} B = {1, 2, 5, 6} C = {1, 3, 5, 7} AB = {1, 2}, (AB)C = {1, 2, 3, 5, 7} BC = {1, 2, 3, 5, 6, 7}, A(BC) = {1, 2, 3}
A B C AB(AB)C BC A(BC) 1 1 1 1 1 1 1 1 2 1 1 0 1 1 1 1 3 1 0 1 0 1 1 1 4 1 0 0 0 0 0 0 5 0 1 1 0 1 1 0 6 0 1 0 0 0 1 0 7 0 0 1 0 1 1 0 80000 0 0 0 B A 4 2 6 1 3 5 8 7 C You can use a membership method here.
AB = CB / / A = C A = C AB = CB Theorem 5. Let A, B and C be arbitrary sets. Prove that if AB = CB and AB = CB, then A = C. What this theorem says? Counterexample: A = {1}, C ={1, 2}, B ={1, 2} Counterexample: A = {1}, C ={1, 2}, B ={1} But AB = CB and AB = CB A = C
A C A C AB = CB
AB = CB A C A C
xC xB xABxCB xC Theorem 5. Let A, B and C be arbitrary sets. Prove that if AB = CB and AB = CB,then A = C. Direct proof of p q Assume p: AB = CB andAB = CB to prove q:A = C The equality of two sets can be proved as two subset relations (‘double inclusion’ ): AC CAA=C p AC CA p AC p CA So, there should be two parts of the proof. 1). AB = CB andAB = CB AC xA xAB xCB 2). AB = CB andAB = CB CA
Part 1: proof of AB = CB andAB = CB AC Assume AB = CB (1) and AB = C B (2). To prove AC we need to show that any element from A belongs to C, x [xA xC] . So, take arbitrary element x A (3) to show that xC. By the Theorem 1, (3) implies x AB (4). By assumption (1) we conclude from (4) that x CB (5), or by the definition of the set union that x C or x B (6). So, we haveone of two cases to consider. Case x C: we are done. Case x B: we can imply x AB (7) by the Theorem 2. By assumption (2)it can be implied from (7) that x CB (8). From (8) we can conclude that x C making use of the Theorem 2. So, in both cases we come to x C. QED.
AB = CB andAB = CB Part 2 Part 1 AC CA AB = CB andAB = CB A = C Part 2: proof of AB = CB andAB = CB CA Proof of this part repeats Part 1 with interchange A and C.
Consider an example of application of the Theorem 5. Theorem 6. For any three sets A, B and C if (AB)C = A(BC) then C A. Proof. Assume (AB)C = A(BC), (1) to prove C A, (2) (direct proof). (AB)C = (AC)(BC), by distributive law = A(BC), by assumption (1). So we have (AC)(BC)= A(BC), (3). By associative and commutative laws we have: (AC) (BC) = A(BC), (4). By the Theorem 5, (3) and (4) imply that AC =A, (5). By the Theorem 4a (C A AC =A), (5) implies C A. QED
We can use a membership table method to prove that (AB)C = A(BC)C A. A B C AB(AB)C BC A(BC) 1 1 1 1 1 1 1 1 2 1 1 0 1 1 1 1 3 1 0 1 0 1 1 1 4 1 0 0 0 0 0 0 5 0 1 1 0 1 1 0 6 0 1 0 0 0 1 0 7 0 0 1 0 1 1 0 80000 0 0 0 C A 1 1 1 1 0 1 0 1
B A C (AB)C = A(BC)C A
Goal Given A C B A B C x[ x (A C ) x B] Let x be arbitrary x to prove x (A C ) x B x B A B C x (A C ) Theorem 7. Suppose A, B and C are sets and A B C . Then A C B . Try to prove by contradiction. A B C x (A C ) x B contradiction
Proof by contradiction. Given Goal A B C x (A C ) x B contradiction A B C x A x C x B x A x B x C x C x C False
Theorem 7. Suppose A, B and C are sets and A B C . Then A C B . Proof.Let x be arbitrary. Suppose x AC . This means x A and x C . Suppose x B. Then x AB and since A B C , x C . But this contradicts to the fact that x C . Therefore x B. Thus, if x AC , then x B. Since x is arbitrary, we can conclude that x [x (A C ) x B], so A C B
Given Goal A B A C = A B C Let x be arbitrary to prove x A x B C A B A C = x A x B x C Theorem 8.Suppose A B, and A and C are disjoint. Prove that A B C . x A x B by A B A C = y [ yA y C ]
Theorem 8.Suppose A B, and A and C are disjoint. Prove that A B C . Proof. Let x be arbitrary. Suppose x A. SinceA B it follows that x B. Since A and C are disjoint, we must have x C . Thus, x B C . Since x was arbitrary element of A , we can conclude, that A B C .