20
Part 1 Module 2 Set operations, Venn diagrams

Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Embed Size (px)

Citation preview

Page 1: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Part 1 Module 2Set operations, Venn diagrams

Page 2: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Set operations

Let U = {x|x is an English-language film} Set A below contains the five best films according to

the American Film Institute. Set B below contains the five best films according to

TV Guide. Set C below contains the five most passionate films

according to the American Film Institute.

Page 3: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Set operations

A = {Citizen Kane, Casablanca, The Godfather, Gone With the Wind, Lawrence of Arabia}

B= {Casablanca, The Godfather Part 2, The Wizard of Oz, Citizen Kane, To Kill A Mockingbird}

C = {Gone With the Wind, Casablanca, West Side Story, An Affair To Remember, Roman Holiday}.

Page 4: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Set operations

Form a new set whose elements are those that sets A and B have in common

A = {Citizen Kane, Casablanca, The Godfather, Gone With the Wind, Lawrence of Arabia}

B= {Casablanca, The Godfather Part 2, The Wizard of Oz, Citizen Kane, To Kill A Mockingbird}

{Citizen Kane, Casablanca}This set is called the INTERSECTION of A and B, denoted

A B.

A B = {Citizen Kane, Casablanca}

Page 5: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Set operations

Find B C

B= {Casablanca, The Godfather Part 2, The Wizard of Oz, Citizen Kane, To Kill A Mockingbird}

C = {Gone With the Wind, Casablanca, West Side Story, An Affair To Remember, Roman Holiday}

B C = {Casablanca}

Page 6: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Set operations

A different operation: form a new set that contains all the elements of A along with all the elements of B.

A = {Citizen Kane, Casablanca, The Godfather, Gone With the Wind, Lawrence of Arabia}

B= {Casablanca, The Godfather Part 2, The Wizard of Oz, Citizen Kane, To Kill A Mockingbird}

{Citizen Kane, Casablanca, The Godfather, Gone With the Wind, Lawrence of Arabia, The Godfather Part 2, The Wizard of Oz, To Kill A Mockingbird}

This set is called the union of A with B, denoted A B.

Page 7: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Set operations

We have encountered three basic set operations (including something from Part 1 Module 1).

IntersectionS T = {x|x S and x T}

UnionS T = {x|x S or x T}.

ComplementS = {x|x S}.

Page 8: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Venn Diagrams

A Venn diagram is a drawing in which sets are represented by geometric figures such as circles and rectangles.

Venn diagrams can be used to illustrate the relationships between sets, and the effects of set operations.

Venn diagrams are also used in other areas of mathematics, such as counting, probability and logic.

Page 9: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Venn Diagrams - Intersection

Let S, T represent any sets in a universe U. The Venn diagram below illustrates the effect of intersection. The shaded region corresponds to S T.

Page 10: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Venn Diagrams - Union

Let S, T represent any sets in a universe U. The Venn diagram below illustrates the effect of union. The shaded region corresponds to

S T.

Page 11: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Let S, T represent any sets in a universe U. The Venn diagram below illustrates the effect of complement. The shaded region corresponds to S.

Venn diagrams - Complement

Page 12: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Exercise #1

U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}S = {3, 5, 8, 11}T = {3, 4, 6, 7, 8, 10, 11}V = {2, 5, 6, 7, 8}W = {1, 3, 5, 6}

Find ( V S ) ( W T )

A. { }B. {4, 10, 11}C. {1, 4, 10}D. None of these

Page 13: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Exercise #2

U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11}T = {3, 4, 6, 7, 8, 10, 11}V = {2, 5, 6, 7, 8}

Find (V T)

A. {1, 3, 4, 6, 7, 8, 9, 10, 11}B. {3, 4, 10, 11}C. {1, 3, 4, 6, 8, 9, 10, 11}D. None of these

Page 14: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

EXAMPLE 1.2.1 Venn diagrams

From your text: EXAMPLE 1.2.1 #13On the Venn diagram below, shade the region corresponding to

A B.

A B

U

Page 15: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Exercise #3

Select the Venn diagram whose shaded region corresponds to

A B.

Page 16: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Exercise #4

Select the Venn diagram whose shaded region corresponds to

(A B).

Page 17: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

DeMorgan’s Laws

In the previous two exercises we saw that the shaded figure for (A B) is identical to the shaded figure for A B. This means that A B and (A B) are equivalent operations. This confirms one of the following general facts, which are known as DeMorgan’s Laws for Set Mathematics.

For any sets S, T( S T) = S T( S T) = S T“The complement of a union is the intersection of the

complements; the complement of an intersection is the union of the complements”

Page 18: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Exercise #5, DeMorgan’s Laws

Let U = {a, b, c, d, e, f, g}

T = {c, e}

V = {a, d, e}

Find ( T V )A. {e}

B. {a, c, d, e}

C. {b, f, g}

D. None of these

Page 19: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Exercise #6

LIKE EXAMPLE 1.2.3 from your text:On the Venn diagram below, shade the region

corresponding to B (A C)

A B

U

C

Page 20: Part 1 Module 2 Set operations, Venn diagrams. Set operations Let U = {x|x is an English-language film} Set A below contains the five best films according

Exercise #7

Select the shaded figure for ( C B ) A