0% found this document useful (0 votes)
58 views

Lab 05 Studentssheet

The document summarizes the key points covered in a lab on set theory and operations. The lab objectives are for students to understand set theory and solve shorter or longer problems from the textbook. The lab requirements include allowing students to use lecture notes and working through examples in groups. The lab description provides 10 examples of sets and set operations for students to work through, including finding subsets, elements, truth sets, Cartesian products, unions, intersections, differences and more.

Uploaded by

aoora6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

Lab 05 Studentssheet

The document summarizes the key points covered in a lab on set theory and operations. The lab objectives are for students to understand set theory and solve shorter or longer problems from the textbook. The lab requirements include allowing students to use lecture notes and working through examples in groups. The lab description provides 10 examples of sets and set operations for students to work through, including finding subsets, elements, truth sets, Cartesian products, unions, intersections, differences and more.

Uploaded by

aoora6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Lab 05 Predicates and

Quantifiers

1
Lab 05-Set Operations
Objective Current Lab Learning Outcomes (LLO)
Solving exercises from the textbook in chapter 2.1 & 2.2

By completion of the lab, the students should be able to:


1. will understand set theory.
2. will be able to solve shorter/easier or longer / harder problems given in the textbook

Lab Requirements Lab Assessment


Students allowed using their lecture notes in the lab in order to solve the exercises.

1- Divide students to groups and let them to solve the given example.
2- Discuss the answers with the groups and write on board the optimal solution.

Lab Description
1) List the members of these sets.
a) {x | x is a real number such that x2 = 1}
b) {x | x is a positive integer less than 12}
c) {x | x is the square of an integer and x < 100}
d) {x | x is an integer such that x2 = 2}

a) {-1,1}
b) {1, 2 , 3 , 4, 5, 6, 7, 8, 9, 10 , 11}
c) {0 , 1 , 4 , 9 , 16, 25 , 36 , 49 , 64 , 81}
2
d) ∅

2) For each of these pairs of sets, determine whether the first is a subset of the second, the
second is a subset of the first, or neither is a subset of the other.
a) The set of airline flights from New York to New Delhi, the set of nonstop airline
flights from New York to New Delhi
b) The set of people who speak English, the set of people who speak Chinese
c) The set of flying squirrels, the set of living creatures that can fly

a) The second is subset of the first, but the first is not a subset of the second.
b) Neither is a subset of other.
c) The first is a subset of the second, but the second is not a subset of the first.

3) For each of the following sets, determine whether 2 is an element of that set.

a) {x ∈ R | x is an integer greater than 1}

b) {x ∈ R | x is the square of an integer}

c) {2,{2}} d) {{2},{{2}}} e) {{2},{2,{2}}} f ) {{{2}}}

a) Yes b) No c) Yes d) No e) No f) No

4) Find the truth set of each of these predicates where the domain is the set of integers.

a) P(x): x2 < 3 b) Q(x): x2 > x c) R(x): 2x + 1 = 0

a) {-1, 0, 1}
b) Z – {0, 1}
c) ∅

5) Let A be the set of students who live within one mile of school and let B be the set of
students who walk to classes. Describe the students in each of these sets.

a) A ∩ B b) A ∪ B c) A − B d) B − A
6) Determine whether each of these statements is true or false.

3
a) 0 ∈ ∅ b) ∅ ∈ {0} c) {0} ⊂ ∅ d) ∅ ⊂ {0}

e) {0} ∈ {0} f ) {0} ⊂ {0} g) {∅} ⊆ {∅}

7) What is the cardinality of each of these sets?

a) {a} =1 b) {{a}} =1 c) {a, {a}} =2 d) {a, {a}, {a, {a}}} =3

8) Find the power set of the sets where a and b are distinct elements

a) {a, b} ={∅,{a},{b},{a, b}} b) {∅, {∅}} ={∅,{∅},{{∅}},{∅,{∅}}}

9) How many elements does each of these sets have where a and b are distinct elements?

a) P({a, b, {a, b}}) =8 b) P({∅, a, {a}, {{a}}})=16 c) P(P(∅)) =2

10) Let A = {a, b, c, d} and B = {y, z}. Find

a) A × B={(a, y),(b, y),(c, y),(d, y),(a, z),(b, z),(c, z),(d, z) }


b) B × A={(y, a),(y, b),(y, c),(y, d),(z, a),(z, b),(z, c),(z, d)}
11) What is the Cartesian product A × B × C, where A is the set of all airlines and B and C are
both the set of all cities in the United States? Give an example of how this Cartesian
product can be used.

12) Let A = {a, b, c, d, e} and B = {a, b, c, d, e, f, g, h}.Find

a) A ∪ B. b) A ∩ B. c) A − B. d) B − A.

a) {a,b,c,d,e,f,g,h}

4
b){a, b, c, d, e}

c) {}

d) {f,g,h}

13) Let A = {0, 2, 4, 6, 8, 10}, B = {0, 1, 2, 3, 4, 5, 6}, Find |


|A∪B| = |A|+|B|−|A∩B| A∪B|
= 6 + 7- 4 =9
.

5
14) Show that if A, B, and C are sets, then 𝐴 ∩ 𝐵 ∩ 𝐶 =A ∪ B ∪ C
a) By showing, each side is a subset of the other side.
b) Using a membership table.
15) Let A, B and C be sets. Show that

a) (A ∪ B) ⊆ (A ∪ B ∪ C). b) (B − A) ∪ (C − A) = (B ∪ C) − A.
16) Draw the Venn diagrams for each of these combinations of the sets A, B, and C.
a) A ∩ (B − C) b) (A ∩ B) ∪ (A ∩ C)

17) Show that if A is a subset of a universal set U, then


a) A ⊕ A = ∅. b) A⊕∅ = A. c) A ⊕ U =
.
= U.

a) A ⊕ A = (A -A) ᑌ ( A – A ) = Ø ᑌ Ø = Ø
b) A⊕∅ = ( A – Ø ) ᑌ (Ø – A ) = A ᑌ Ø = A
c) A ⊕ U = ( A – U ) ᑌ ( U – A ) = Ø ᑌ Ā = Ā
d) A ⊕ Ā = ( A – Ā ) ᑌ ( Ā – A ) = A ᑌ Ā = U

6
18) Draw a Venn diagram that shows the following sample space and events:

S: all the integers from 1 to 30 P: prime numbers M:


multiples of 3 F: factors of 30

The sample space contains all the positive integers up to 30.


S={1,2,3,…30}

The prime numbers between 1 and 30 are


P={2,3,5,7,11,13,17,19,23,29}

The multiples of 3 between 1 and 30 are


M={3,6,9,12,15,18,21,24,27,30}

The factors of 30 are


F={1,2,3,5,6,10,15,30}

You might also like