Set Theory Supartha Podder uOttawa Set Theory A set is an - - PowerPoint PPT Presentation

set theory
SMART_READER_LITE
LIVE PREVIEW

Set Theory Supartha Podder uOttawa Set Theory A set is an - - PowerPoint PPT Presentation

Set Theory Supartha Podder uOttawa Set Theory A set is an unordered collection of objects called elements. 1/19 Set Theory A set is an unordered collection of objects called elements. Example: V= { a,e,i,o,u } , N = { 1 , 2 , 3 , } ,


slide-1
SLIDE 1

Set Theory

Supartha Podder

uOttawa

slide-2
SLIDE 2

Set Theory

A set is an unordered collection of objects called elements.

1/19

slide-3
SLIDE 3

Set Theory

A set is an unordered collection of objects called elements. Example: V= {a,e,i,o,u}, N = {1, 2, 3, · · · }, Z = {· · · , −2, −1, 0, 1, 2, · · · },

1/19

slide-4
SLIDE 4

Set Theory

A set is an unordered collection of objects called elements. Example: V= {a,e,i,o,u}, N = {1, 2, 3, · · · }, Z = {· · · , −2, −1, 0, 1, 2, · · · }, a ∈ V : ‘a is a member of V or a is in V ’.

1/19

slide-5
SLIDE 5

Set Theory

A set is an unordered collection of objects called elements. Example: V= {a,e,i,o,u}, N = {1, 2, 3, · · · }, Z = {· · · , −2, −1, 0, 1, 2, · · · }, a ∈ V : ‘a is a member of V or a is in V ’. d / ∈ V : ‘d is not a member of V or d is not in V ’.

Question

Are {1, 3, 5}, {3, 1, 5} equal?

1/19

slide-6
SLIDE 6

Set Theory

A set is an unordered collection of objects called elements. Example: V= {a,e,i,o,u}, N = {1, 2, 3, · · · }, Z = {· · · , −2, −1, 0, 1, 2, · · · }, a ∈ V : ‘a is a member of V or a is in V ’. d / ∈ V : ‘d is not a member of V or d is not in V ’.

Question

Are {1, 3, 5}, {3, 1, 5} equal? Answer - YES.

1/19

slide-7
SLIDE 7

Set Theory

A set is an unordered collection of objects called elements. Example: V= {a,e,i,o,u}, N = {1, 2, 3, · · · }, Z = {· · · , −2, −1, 0, 1, 2, · · · }, a ∈ V : ‘a is a member of V or a is in V ’. d / ∈ V : ‘d is not a member of V or d is not in V ’.

Question

Are {1, 3, 5}, {3, 1, 5} equal? Answer - YES. Are {1, 3, 5}, {1, 1, 3, 3, 3, 5} equal?

1/19

slide-8
SLIDE 8

Set Theory

A set is an unordered collection of objects called elements. Example: V= {a,e,i,o,u}, N = {1, 2, 3, · · · }, Z = {· · · , −2, −1, 0, 1, 2, · · · }, a ∈ V : ‘a is a member of V or a is in V ’. d / ∈ V : ‘d is not a member of V or d is not in V ’.

Question

Are {1, 3, 5}, {3, 1, 5} equal? Answer - YES. Are {1, 3, 5}, {1, 1, 3, 3, 3, 5} equal?Answer - YES.

1/19

slide-9
SLIDE 9

Set Theory

A set is an unordered collection of objects called elements. Example: V= {a,e,i,o,u}, N = {1, 2, 3, · · · }, Z = {· · · , −2, −1, 0, 1, 2, · · · }, a ∈ V : ‘a is a member of V or a is in V ’. d / ∈ V : ‘d is not a member of V or d is not in V ’.

Question

Are {1, 3, 5}, {3, 1, 5} equal? Answer - YES. Are {1, 3, 5}, {1, 1, 3, 3, 3, 5} equal?Answer - YES. Two sets A and B are equal iff they have the same elements. A = B iff ∀x(x ∈ A ↔ x ∈ B}

1/19

slide-10
SLIDE 10

Set Definitions

R+ = {x | x ∈ R, x > 0}.

2/19

slide-11
SLIDE 11

Set Definitions

R+ = {x | x ∈ R, x > 0}. {a, b} = {x | x = a or x = b}.

2/19

slide-12
SLIDE 12

Set Definitions

R+ = {x | x ∈ R, x > 0}. {a, b} = {x | x = a or x = b}. [a, b] = {x | a ≤ x ≤ b}.

2/19

slide-13
SLIDE 13

Set Definitions

R+ = {x | x ∈ R, x > 0}. {a, b} = {x | x = a or x = b}. [a, b] = {x | a ≤ x ≤ b}. (a, b) = {x | a < x < b}.

2/19

slide-14
SLIDE 14

Set Definitions

R+ = {x | x ∈ R, x > 0}. {a, b} = {x | x = a or x = b}. [a, b] = {x | a ≤ x ≤ b}. (a, b) = {x | a < x < b}. (a, b] = {x | a < x ≤ b}.

2/19

slide-15
SLIDE 15

Set Definitions

R+ = {x | x ∈ R, x > 0}. {a, b} = {x | x = a or x = b}. [a, b] = {x | a ≤ x ≤ b}. (a, b) = {x | a < x < b}. (a, b] = {x | a < x ≤ b}. [a, b) =? Set Notations: List Notation: e.g., S = {12, 23, −4, · · · }.

2/19

slide-16
SLIDE 16

Set Definitions

R+ = {x | x ∈ R, x > 0}. {a, b} = {x | x = a or x = b}. [a, b] = {x | a ≤ x ≤ b}. (a, b) = {x | a < x < b}. (a, b] = {x | a < x ≤ b}. [a, b) =? Set Notations: List Notation: e.g., S = {12, 23, −4, · · · }. Set builder notation e.g., S = {∀i | i ∈ Z, i ≥ 50}.

2/19

slide-17
SLIDE 17

Set Definitions

R+ = {x | x ∈ R, x > 0}. {a, b} = {x | x = a or x = b}. [a, b] = {x | a ≤ x ≤ b}. (a, b) = {x | a < x < b}. (a, b] = {x | a < x ≤ b}. [a, b) =? Set Notations: List Notation: e.g., S = {12, 23, −4, · · · }. Set builder notation e.g., S = {∀i | i ∈ Z, i ≥ 50}. empty set {} or ∅.

2/19

slide-18
SLIDE 18

Set Definitions

R+ = {x | x ∈ R, x > 0}. {a, b} = {x | x = a or x = b}. [a, b] = {x | a ≤ x ≤ b}. (a, b) = {x | a < x < b}. (a, b] = {x | a < x ≤ b}. [a, b) =? Set Notations: List Notation: e.g., S = {12, 23, −4, · · · }. Set builder notation e.g., S = {∀i | i ∈ Z, i ≥ 50}. empty set {} or ∅. A set may contain different kind of elements. For example: A = {1, {2}}, B = {1, {2, {3}}, {{{5}}}}.

2/19

slide-19
SLIDE 19

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) .

3/19

slide-20
SLIDE 20

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A)

3/19

slide-21
SLIDE 21

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?

3/19

slide-22
SLIDE 22

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?: YES

3/19

slide-23
SLIDE 23

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?: YES Example: {4, 5, 2} ⊂ {4, 5, 5, 2}?

3/19

slide-24
SLIDE 24

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?: YES Example: {4, 5, 2} ⊂ {4, 5, 5, 2}?: NO

3/19

slide-25
SLIDE 25

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?: YES Example: {4, 5, 2} ⊂ {4, 5, 5, 2}?: NO Cardinality of a finite set A is |A|= number of distinct elements of A.

3/19

slide-26
SLIDE 26

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?: YES Example: {4, 5, 2} ⊂ {4, 5, 5, 2}?: NO Cardinality of a finite set A is |A|= number of distinct elements of A. Example: A = {1, 2, 2, 2, 2, 4}. What is |A|?

3/19

slide-27
SLIDE 27

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?: YES Example: {4, 5, 2} ⊂ {4, 5, 5, 2}?: NO Cardinality of a finite set A is |A|= number of distinct elements of A. Example: A = {1, 2, 2, 2, 2, 4}. What is |A|?|A| = 3.

3/19

slide-28
SLIDE 28

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?: YES Example: {4, 5, 2} ⊂ {4, 5, 5, 2}?: NO Cardinality of a finite set A is |A|= number of distinct elements of A. Example: A = {1, 2, 2, 2, 2, 4}. What is |A|?|A| = 3. Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A}

3/19

slide-29
SLIDE 29

Subsets

Subet A ⊆ B if and only if ∀x(x ∈ A → x ∈ B) . Proper subset A ⊂ B or A B: ∀x(x ∈ A → x ∈ B) ∧ ∃y(y ∈ B ∧ y / ∈ A) Example: {4, 5, 2} ⊆ {4, 5, 5, 2, 1}?: YES Example: {4, 5, 2} ⊂ {4, 5, 5, 2}?: NO Cardinality of a finite set A is |A|= number of distinct elements of A. Example: A = {1, 2, 2, 2, 2, 4}. What is |A|?|A| = 3. Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A}

3/19

slide-30
SLIDE 30

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}.

4/19

slide-31
SLIDE 31

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅}

4/19

slide-32
SLIDE 32

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅} T ∅ ∈ {∅, {∅}}

4/19

slide-33
SLIDE 33

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅} T ∅ ∈ {∅, {∅}} T {∅} ∈ {∅}

4/19

slide-34
SLIDE 34

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅} T ∅ ∈ {∅, {∅}} T {∅} ∈ {∅} F {∅} ⊆ {∅}

4/19

slide-35
SLIDE 35

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅} T ∅ ∈ {∅, {∅}} T {∅} ∈ {∅} F {∅} ⊆ {∅} T {∅} ⊂ {∅}

4/19

slide-36
SLIDE 36

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅} T ∅ ∈ {∅, {∅}} T {∅} ∈ {∅} F {∅} ⊆ {∅} T {∅} ⊂ {∅} F {∅} ∈ {{∅}}

4/19

slide-37
SLIDE 37

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅} T ∅ ∈ {∅, {∅}} T {∅} ∈ {∅} F {∅} ⊆ {∅} T {∅} ⊂ {∅} F {∅} ∈ {{∅}} T {{∅}} ∈ {∅, {∅}}

4/19

slide-38
SLIDE 38

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅} T ∅ ∈ {∅, {∅}} T {∅} ∈ {∅} F {∅} ⊆ {∅} T {∅} ⊂ {∅} F {∅} ∈ {{∅}} T {{∅}} ∈ {∅, {∅}} F {{∅}} ⊂ {{∅}, {∅}}

4/19

slide-39
SLIDE 39

Subsets

Power set of A is the set of all possible subsets of A. P(A) = {B : B ⊆ A} Example: Let A = {1, 2} then P(A) = {∅, {1}, {2}, {1, 2}}. Statement T/F Statement T/F ∅ ∈ {∅} T ∅ ∈ {∅, {∅}} T {∅} ∈ {∅} F {∅} ⊆ {∅} T {∅} ⊂ {∅} F {∅} ∈ {{∅}} T {{∅}} ∈ {∅, {∅}} F {{∅}} ⊂ {{∅}, {∅}} F

4/19

slide-40
SLIDE 40

Venn Diagrams

5/19

slide-41
SLIDE 41

Venn Diagrams

V = {a, e, i, o, u}.

5/19

slide-42
SLIDE 42

Venn Diagrams

V = {a, e, i, o, u}.

5/19

slide-43
SLIDE 43

Venn Diagrams

V = {a, e, i, o, u}. V = Complement of V .

5/19

slide-44
SLIDE 44

Venn Diagrams

V = {a, e, i, o, u}. V = Complement of V .

5/19

slide-45
SLIDE 45

Venn Diagrams

Set Intersection: A ∩ B = ∀x{x ∈ A ∧ x ∈ B}.

6/19

slide-46
SLIDE 46

Venn Diagrams

Set Intersection: A ∩ B = ∀x{x ∈ A ∧ x ∈ B}.

6/19

slide-47
SLIDE 47

Venn Diagrams

Set Intersection: A ∩ B = ∀x{x ∈ A ∧ x ∈ B}. Set Union: A ∪ B = ∀x{x ∈ A ∨ x ∈ B}.

6/19

slide-48
SLIDE 48

Venn Diagrams

Set Intersection: A ∩ B = ∀x{x ∈ A ∧ x ∈ B}. Set Union: A ∪ B = ∀x{x ∈ A ∨ x ∈ B}.

6/19

slide-49
SLIDE 49

Venn Diagrams

Set Difference: A \ B = ∀x{x ∈ A ∧ x / ∈ B}.

7/19

slide-50
SLIDE 50

Venn Diagrams

Set Difference: A \ B = ∀x{x ∈ A ∧ x / ∈ B}.

7/19

slide-51
SLIDE 51

Venn Diagrams

Set Difference: A \ B = ∀x{x ∈ A ∧ x / ∈ B}. Symmetric Difference: A△B = {(A \ B) ∪ (B \ A)}.

7/19

slide-52
SLIDE 52

Venn Diagrams

Set Difference: A \ B = ∀x{x ∈ A ∧ x / ∈ B}. Symmetric Difference: A△B = {(A \ B) ∪ (B \ A)}.

7/19

slide-53
SLIDE 53

Example

Let A = {1, 2, 3, 5}, B = {2, 4, 8}.

8/19

slide-54
SLIDE 54

Example

Let A = {1, 2, 3, 5}, B = {2, 4, 8}. A ∩ B =

8/19

slide-55
SLIDE 55

Example

Let A = {1, 2, 3, 5}, B = {2, 4, 8}. A ∩ B ={2}. A \ B =

8/19

slide-56
SLIDE 56

Example

Let A = {1, 2, 3, 5}, B = {2, 4, 8}. A ∩ B ={2}. A \ B ={1, 3, 5} A ∪ B =

8/19

slide-57
SLIDE 57

Example

Let A = {1, 2, 3, 5}, B = {2, 4, 8}. A ∩ B ={2}. A \ B ={1, 3, 5} A ∪ B ={1, 2, 3, 4, 5, 8}.

8/19

slide-58
SLIDE 58

Cartesian Product

Cartesian Product of A and B:

9/19

slide-59
SLIDE 59

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B}

9/19

slide-60
SLIDE 60

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|.

9/19

slide-61
SLIDE 61

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|. Let A = {1, 2}, B = {a, b, c}.

9/19

slide-62
SLIDE 62

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|. Let A = {1, 2}, B = {a, b, c}. A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)}

9/19

slide-63
SLIDE 63

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|. Let A = {1, 2}, B = {a, b, c}. A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)} Is A × B = B × A?

9/19

slide-64
SLIDE 64

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|. Let A = {1, 2}, B = {a, b, c}. A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)} Is A × B = B × A? No (not always).

9/19

slide-65
SLIDE 65

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|. Let A = {1, 2}, B = {a, b, c}. A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)} Is A × B = B × A? No (not always). A1 × A2 × · · · × An = {(a1, a2, · · · , an) | ai ∈ Ai, 1 ≤ i ≤ n}.

9/19

slide-66
SLIDE 66

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|. Let A = {1, 2}, B = {a, b, c}. A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)} Is A × B = B × A? No (not always). A1 × A2 × · · · × An = {(a1, a2, · · · , an) | ai ∈ Ai, 1 ≤ i ≤ n}. A2 = A × A.

9/19

slide-67
SLIDE 67

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|. Let A = {1, 2}, B = {a, b, c}. A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)} Is A × B = B × A? No (not always). A1 × A2 × · · · × An = {(a1, a2, · · · , an) | ai ∈ Ai, 1 ≤ i ≤ n}. A2 = A × A. A2 = A × A = {(1, 1), (1, 2), (2, 1), (2, 2)}.

9/19

slide-68
SLIDE 68

Cartesian Product

Cartesian Product of A and B: A × B = {(a, b) : a ∈ A, b ∈ B} |A × B| = |A| · |B|. Let A = {1, 2}, B = {a, b, c}. A × B = {(1, a), (1, b), (1, c), (2, a), (2, b), (2, c)} Is A × B = B × A? No (not always). A1 × A2 × · · · × An = {(a1, a2, · · · , an) | ai ∈ Ai, 1 ≤ i ≤ n}. A2 = A × A. A2 = A × A = {(1, 1), (1, 2), (2, 1), (2, 2)}. Disjoint: Two sets A and B are disjoint if they have no elements in common. e.g., A = {1, 3, 5, 9}, B = {2, 13, 4, 7} .

9/19

slide-69
SLIDE 69

Table of Set Identities

A \ B = A ∩ B

10/19

slide-70
SLIDE 70

Table of Set Identities

A \ B = A ∩ B A ∪ A = U

10/19

slide-71
SLIDE 71

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅

10/19

slide-72
SLIDE 72

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A

10/19

slide-73
SLIDE 73

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅

10/19

slide-74
SLIDE 74

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U

10/19

slide-75
SLIDE 75

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A

10/19

slide-76
SLIDE 76

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A

10/19

slide-77
SLIDE 77

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A

10/19

slide-78
SLIDE 78

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A A = A

10/19

slide-79
SLIDE 79

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A A = A A ∪ B = B ∪ A

10/19

slide-80
SLIDE 80

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A A = A A ∪ B = B ∪ A A ∩ B = B ∩ A

10/19

slide-81
SLIDE 81

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A A = A A ∪ B = B ∪ A A ∩ B = B ∩ A A ∪ (B ∪ C) = (A ∪ B) ∪ C

10/19

slide-82
SLIDE 82

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A A = A A ∪ B = B ∪ A A ∩ B = B ∩ A A ∪ (B ∪ C) = (A ∪ B) ∪ C A ∩ (B ∩ C) = (A ∩ B) ∩ C

10/19

slide-83
SLIDE 83

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A A = A A ∪ B = B ∪ A A ∩ B = B ∩ A A ∪ (B ∪ C) = (A ∪ B) ∪ C A ∩ (B ∩ C) = (A ∩ B) ∩ C A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)

10/19

slide-84
SLIDE 84

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A A = A A ∪ B = B ∪ A A ∩ B = B ∩ A A ∪ (B ∪ C) = (A ∪ B) ∪ C A ∩ (B ∩ C) = (A ∩ B) ∩ C A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) A ∪ B = A ∩ B

10/19

slide-85
SLIDE 85

Table of Set Identities

A \ B = A ∩ B A ∪ A = U A ∪ A = ∅ A ∪ ∅ = A A ∩ ∅ = ∅ A ∪ U = U A ∩ U = A A ∪ A = A A ∩ A = A A = A A ∪ B = B ∪ A A ∩ B = B ∩ A A ∪ (B ∪ C) = (A ∪ B) ∪ C A ∩ (B ∩ C) = (A ∩ B) ∩ C A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) A ∪ B = A ∩ B A ∩ B = A ∪ B

10/19

slide-86
SLIDE 86

Proof Using Venn Diagram

Prove using Venn diagram that A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).

11/19

slide-87
SLIDE 87

Proof Using Venn Diagram

Prove using Venn diagram that A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).

11/19

slide-88
SLIDE 88

Proof Using Venn Diagram

Prove using Venn diagram that A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C).

11/19

slide-89
SLIDE 89

Proof

Let A = {x ∈ R, x2 − 3x + 2 = 0}. Prove that A ⊆ Z.

12/19

slide-90
SLIDE 90

Proof

Let A = {x ∈ R, x2 − 3x + 2 = 0}. Prove that A ⊆ Z. Proof: Let x ∈ A, then

12/19

slide-91
SLIDE 91

Proof

Let A = {x ∈ R, x2 − 3x + 2 = 0}. Prove that A ⊆ Z. Proof: Let x ∈ A, then x2 − 3x + 2 = 0

12/19

slide-92
SLIDE 92

Proof

Let A = {x ∈ R, x2 − 3x + 2 = 0}. Prove that A ⊆ Z. Proof: Let x ∈ A, then x2 − 3x + 2 = 0 x2 − 2x − x + 2 = 0

12/19

slide-93
SLIDE 93

Proof

Let A = {x ∈ R, x2 − 3x + 2 = 0}. Prove that A ⊆ Z. Proof: Let x ∈ A, then x2 − 3x + 2 = 0 x2 − 2x − x + 2 = 0 x(x − 2) − (x − 2) = 0

12/19

slide-94
SLIDE 94

Proof

Let A = {x ∈ R, x2 − 3x + 2 = 0}. Prove that A ⊆ Z. Proof: Let x ∈ A, then x2 − 3x + 2 = 0 x2 − 2x − x + 2 = 0 x(x − 2) − (x − 2) = 0 (x − 2)(x − 1) = 0

12/19

slide-95
SLIDE 95

Proof

Let A = {x ∈ R, x2 − 3x + 2 = 0}. Prove that A ⊆ Z. Proof: Let x ∈ A, then x2 − 3x + 2 = 0 x2 − 2x − x + 2 = 0 x(x − 2) − (x − 2) = 0 (x − 2)(x − 1) = 0 Thus x = {1, 2}.

12/19

slide-96
SLIDE 96

Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C

13/19

slide-97
SLIDE 97

Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Assume A ⊆ B.

13/19

slide-98
SLIDE 98

Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Assume A ⊆ B. Take any x ∈ A ∪ C,

13/19

slide-99
SLIDE 99

Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Assume A ⊆ B. Take any x ∈ A ∪ C, so, x ∈ A ∨ x ∈ C.

13/19

slide-100
SLIDE 100

Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Assume A ⊆ B. Take any x ∈ A ∪ C, so, x ∈ A ∨ x ∈ C. By assumption, if x ∈ A then x ∈ B.

13/19

slide-101
SLIDE 101

Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Assume A ⊆ B. Take any x ∈ A ∪ C, so, x ∈ A ∨ x ∈ C. By assumption, if x ∈ A then x ∈ B. Thus x ∈ A ∨ x ∈ C can be written as x ∈ B ∨ x ∈ C,

13/19

slide-102
SLIDE 102

Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Assume A ⊆ B. Take any x ∈ A ∪ C, so, x ∈ A ∨ x ∈ C. By assumption, if x ∈ A then x ∈ B. Thus x ∈ A ∨ x ∈ C can be written as x ∈ B ∨ x ∈ C, x ∈ (B ∪ C).

13/19

slide-103
SLIDE 103

Alternate Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C

14/19

slide-104
SLIDE 104

Alternate Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Note that showing A ⊆ B is same as A ∪ B = B.

14/19

slide-105
SLIDE 105

Alternate Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Note that showing A ⊆ B is same as A ∪ B = B. Thus, (A ∪ C) ∪ (B ∪ C)

14/19

slide-106
SLIDE 106

Alternate Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Note that showing A ⊆ B is same as A ∪ B = B. Thus, (A ∪ C) ∪ (B ∪ C) = ((A ∪ C) ∪ B) ∪ C [associativity]

14/19

slide-107
SLIDE 107

Alternate Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Note that showing A ⊆ B is same as A ∪ B = B. Thus, (A ∪ C) ∪ (B ∪ C) = ((A ∪ C) ∪ B) ∪ C [associativity] = (A ∪ (C ∪ B)) ∪ C [associativity]

14/19

slide-108
SLIDE 108

Alternate Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Note that showing A ⊆ B is same as A ∪ B = B. Thus, (A ∪ C) ∪ (B ∪ C) = ((A ∪ C) ∪ B) ∪ C [associativity] = (A ∪ (C ∪ B)) ∪ C [associativity] = (A ∪ (B ∪ C)) ∪ C [commutivity]

14/19

slide-109
SLIDE 109

Alternate Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Note that showing A ⊆ B is same as A ∪ B = B. Thus, (A ∪ C) ∪ (B ∪ C) = ((A ∪ C) ∪ B) ∪ C [associativity] = (A ∪ (C ∪ B)) ∪ C [associativity] = (A ∪ (B ∪ C)) ∪ C [commutivity] = ((A ∪ B) ∪ C) ∪ C [associativity]

14/19

slide-110
SLIDE 110

Alternate Proof

Prove that if A ⊆ B then A ∪ C ⊆ B ∪ C Note that showing A ⊆ B is same as A ∪ B = B. Thus, (A ∪ C) ∪ (B ∪ C) = ((A ∪ C) ∪ B) ∪ C [associativity] = (A ∪ (C ∪ B)) ∪ C [associativity] = (A ∪ (B ∪ C)) ∪ C [commutivity] = ((A ∪ B) ∪ C) ∪ C [associativity]

14/19

slide-111
SLIDE 111

Proof Continued

= ((A ∪ B) ∪ C) ∪ C

15/19

slide-112
SLIDE 112

Proof Continued

= ((A ∪ B) ∪ C) ∪ C = (B ∪ C) ∪ C [by assumption]

15/19

slide-113
SLIDE 113

Proof Continued

= ((A ∪ B) ∪ C) ∪ C = (B ∪ C) ∪ C [by assumption] = B ∪ (C ∪ C) [associativity]

15/19

slide-114
SLIDE 114

Proof Continued

= ((A ∪ B) ∪ C) ∪ C = (B ∪ C) ∪ C [by assumption] = B ∪ (C ∪ C) [associativity] = B ∪ C

15/19

slide-115
SLIDE 115

Proving Two Sets Are Equivalent A = B

One way of showing A = B is by showing A ⊆ B and B ⊆ A.

16/19

slide-116
SLIDE 116

Proving Two Sets Are Equivalent A = B

One way of showing A = B is by showing A ⊆ B and B ⊆ A. Prove that (A ⊆ B) ↔ (A ∩ B = A).

16/19

slide-117
SLIDE 117

Proving Two Sets Are Equivalent A = B

One way of showing A = B is by showing A ⊆ B and B ⊆ A. Prove that (A ⊆ B) ↔ (A ∩ B = A). This is a proof of if and only if, hence we need to prove both the following:

1 (A ⊆ B) → (A ∩ B = A). 2 (A ∩ B = A) → (A ⊆ B). 16/19

slide-118
SLIDE 118

Proving Two Sets Are Equivalent A = B

One way of showing A = B is by showing A ⊆ B and B ⊆ A. Prove that (A ⊆ B) ↔ (A ∩ B = A). This is a proof of if and only if, hence we need to prove both the following:

1 (A ⊆ B) → (A ∩ B = A). 2 (A ∩ B = A) → (A ⊆ B).

Proof of 1.

We assume that A ⊆ B.

16/19

slide-119
SLIDE 119

Proving Two Sets Are Equivalent A = B

One way of showing A = B is by showing A ⊆ B and B ⊆ A. Prove that (A ⊆ B) ↔ (A ∩ B = A). This is a proof of if and only if, hence we need to prove both the following:

1 (A ⊆ B) → (A ∩ B = A). 2 (A ∩ B = A) → (A ⊆ B).

Proof of 1.

We assume that A ⊆ B. Now assumeing this we need to show A ∩ B = A.

16/19

slide-120
SLIDE 120

Proving Two Sets Are Equivalent A = B

One way of showing A = B is by showing A ⊆ B and B ⊆ A. Prove that (A ⊆ B) ↔ (A ∩ B = A). This is a proof of if and only if, hence we need to prove both the following:

1 (A ⊆ B) → (A ∩ B = A). 2 (A ∩ B = A) → (A ⊆ B).

Proof of 1.

We assume that A ⊆ B. Now assumeing this we need to show A ∩ B = A.This requires to show (a) A ∩ B ⊆ A and (b) A ⊆ A ∩ B.

16/19

slide-121
SLIDE 121

Proof of 1(a)

So we have assumed A ⊆ B and we will show A ∩ B ⊆ A.

17/19

slide-122
SLIDE 122

Proof of 1(a)

So we have assumed A ⊆ B and we will show A ∩ B ⊆ A. Take any x ∈ A ∩ B

17/19

slide-123
SLIDE 123

Proof of 1(a)

So we have assumed A ⊆ B and we will show A ∩ B ⊆ A. Take any x ∈ A ∩ B then, x ∈ A and x ∈ B.

17/19

slide-124
SLIDE 124

Proof of 1(a)

So we have assumed A ⊆ B and we will show A ∩ B ⊆ A. Take any x ∈ A ∩ B then, x ∈ A and x ∈ B. Thus x ∈ A.

17/19

slide-125
SLIDE 125

Proof of 1(a)

So we have assumed A ⊆ B and we will show A ∩ B ⊆ A. Take any x ∈ A ∩ B then, x ∈ A and x ∈ B. Thus x ∈ A. (Note that here we haven’t used our assumption at all).

17/19

slide-126
SLIDE 126

Proof of 1(b)

Assuming A ⊆ B we will show A ⊆ A ∩ B.

18/19

slide-127
SLIDE 127

Proof of 1(b)

Assuming A ⊆ B we will show A ⊆ A ∩ B. Take any x ∈ A.

18/19

slide-128
SLIDE 128

Proof of 1(b)

Assuming A ⊆ B we will show A ⊆ A ∩ B. Take any x ∈ A. From the assumption, A ⊆ B.

18/19

slide-129
SLIDE 129

Proof of 1(b)

Assuming A ⊆ B we will show A ⊆ A ∩ B. Take any x ∈ A. From the assumption, A ⊆ B. Thus x ∈ A → x ∈ B.

18/19

slide-130
SLIDE 130

Proof of 1(b)

Assuming A ⊆ B we will show A ⊆ A ∩ B. Take any x ∈ A. From the assumption, A ⊆ B. Thus x ∈ A → x ∈ B. so x ∈ A and x ∈ B.

18/19

slide-131
SLIDE 131

Proof of 1(b)

Assuming A ⊆ B we will show A ⊆ A ∩ B. Take any x ∈ A. From the assumption, A ⊆ B. Thus x ∈ A → x ∈ B. so x ∈ A and x ∈ B. Hence x ∈ A ∩ B.

18/19

slide-132
SLIDE 132

Proof of 2

Now we will show that if A ∩ B = A then A ⊆ B.

19/19

slide-133
SLIDE 133

Proof of 2

Now we will show that if A ∩ B = A then A ⊆ B. Assume A ∩ B = A

19/19

slide-134
SLIDE 134

Proof of 2

Now we will show that if A ∩ B = A then A ⊆ B. Assume A ∩ B = A Take any x ∈ A,

19/19

slide-135
SLIDE 135

Proof of 2

Now we will show that if A ∩ B = A then A ⊆ B. Assume A ∩ B = A Take any x ∈ A, since A = A ∩ B, x ∈ A ∩ B.

19/19

slide-136
SLIDE 136

Proof of 2

Now we will show that if A ∩ B = A then A ⊆ B. Assume A ∩ B = A Take any x ∈ A, since A = A ∩ B, x ∈ A ∩ B. So x ∈ A and x ∈ B.

19/19

slide-137
SLIDE 137

Proof of 2

Now we will show that if A ∩ B = A then A ⊆ B. Assume A ∩ B = A Take any x ∈ A, since A = A ∩ B, x ∈ A ∩ B. So x ∈ A and x ∈ B. Thus x ∈ A implies x ∈ B, showing that A ⊆ B.

19/19

slide-138
SLIDE 138

Thank you for your attention!!