Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Set Operations - Discrete Mathematics - Lecture Slides, Slides of Discrete Mathematics

During the study of discrete mathematics, I found this course very informative and applicable.The main points in these lecture slides are:Set Operations, Sets of Colors, Monitor Gamut, Union Symbol, Union of Two Sets, Union Operation, Intersection Symbol, Identity Law, Domination Law, Idempotent Law, Commutative Law, Associative Law, Disjoint Sets

Typology: Slides

2012/2013

Uploaded on 04/27/2013

atasi
atasi 🇮🇳

4.6

(32)

136 documents

1 / 52

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1
Set Operations
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34

Partial preview of the text

Download Set Operations - Discrete Mathematics - Lecture Slides and more Slides Discrete Mathematics in PDF only on Docsity!

1

Set Operations

2

  • Triangle shows mixable color range (gamut) – the set of colors

Sets of Colors

Monitor gamut (M)

Printer gamut (P)

  • Pick any 3 “primary” colors

4

Set operations: Union 2

U

A B

A U B

5

Set operations: Union 3

• Formal definition for the union of two sets:

A U B = { x | x ∈ A or x ∈ B }

• Further examples

  • {1, 2, 3} U {3, 4, 5} = {1, 2, 3, 4, 5}
  • {New York, Washington} U {3, 4} = {New

York, Washington, 3, 4}

  • {1, 2} U ∅ = {1, 2}

7

  • An intersection of the sets contains all the elements in BOTH sets - Intersection symbol is a ∩ - Example: C = M ∩ P

Monitor gamut (M)

Printer gamut (P)

Set operations: Intersection 1

8

Set operations: Intersection 2

U

A B

A ∩ B

10

Set operations: Intersection 4

• Properties of the intersection operation

  • A ∩ U = A Identity law
  • A ∩ ∅ = ∅ Domination law
  • A ∩ A = A Idempotent law
  • A ∩ B = B ∩ A Commutative law
  • A ∩ (B ∩ C) = (A ∩ B) ∩ C Associative law

11

Disjoint sets 1

  • Two sets are disjoint if the have NO elements in common
  • Formally, two sets are disjoint if their intersection is the empty set - Another example: the set of the even numbers and the set of the odd numbers

13

Disjoint sets 3

• Formal definition for disjoint sets: two sets

are disjoint if their intersection is the empty

set

• Further examples

  • {1, 2, 3} and {3, 4, 5} are not disjoint
  • {New York, Washington} and {3, 4} are

disjoint

  • {1, 2} and ∅ are disjoint
    • Their intersection is the empty set
  • ∅ and ∅ are disjoint!
    • Their intersection is the empty set

14

Set operations: Difference 1

  • A difference of two sets is the elements in one set that are NOT in the other - Difference symbol is a minus sign - Example: C = M - P

Monitor gamut (M)

Printer gamut (P)

  • Also visa-versa: C = P - M

16

• Formal definition for the difference of two

sets:

A - B = { x | x ∈ A and x ∉ B }

A - B = A ∩ B  Important!

• Further examples

  • {1, 2, 3} - {3, 4, 5} = {1, 2}
  • {New York, Washington} - {3, 4} = {New York,

Washington}

  • {1, 2} - ∅ = {1, 2}
    • The difference of any set S with the empty set will be the set S

Set operations: Difference 3

_

17

  • A symmetric difference of the sets contains all the elements in either set but NOT both - Symetric diff. symbol is a ⊕ - Example: C = M ⊕ P

Monitor gamut (M)

Printer gamut (P)

Set operations: Symmetric

Difference 1

19

  • A complement of a set is all the elements that are NOT in the set - Difference symbol is a bar above the set name: P or M

_ _

Monitor gamut (M)

Printer gamut (P)

Complement sets 1

20

Complement sets 2

U

A

A

B

B

_