Docsity

Sets and Set Operations: Notation, Relationships, and Venn Diagrams, Study notes of Biogenetics and Computers

Partial preview of the text

Download Sets and Set Operations: Notation, Relationships, and Venn Diagrams and more Study notes Biogenetics and Computers in PDF only on Docsity!

represents an unordered collection

with no duplicates

A set S:

( an ordered collection is called a sequence)

( a set that can contain duplicates is often called a

multiset).

Sets Docsity.com

S = { "George", "Frank", "Susan" } is a set of three strings. "George" ϵ S "George is in S" "Sue" ϵ S "Sue is not in S" T = {"George"} T S "T is a subset of S": true S T "S is a superset of T": true T S "T is either a subset of S or equal to S": true S T "S is either a superset or equal to T": true T S "T is a proper subset of S": true S T "S is a proper superset of T": true T S "T is not a subset of S": false S T "S is not a superset of T": false A proper subset of S is a set T such that there exists at least one element in S that is not in T. Set notation Docsity.com

Sets are circles

Overlaps are depicted as overlaps between circles

Particular diagrams represent specific conditions

We often notate the relationships between sets via Venn

Diagrams

Venn Diagrams Docsity.com

Some common diagrams Docsity.com

A few pictures of Venn Diagrams Docsity.com

Union: combining two sets

Intersection: counting the common elements

Difference: including what is not in another set

Set operations Docsity.com

The universal set U for a set S contains all possible candidate elements of S Several common universal sets: Universal set Docsity.com