




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to sets and set theory, covering set definition, representation through lists, specification by predicates, common universal sets, subsets and the null set, relations on sets, and more. Sets are collections of objects or elements, and this document explains how to define, represent, and work with them.
Typology: Study notes
1 / 8
This page cannot be seen from the preview
Don't miss anything!
Section 1.6 Sets
Sets^
is a collection of objects or
elements
or
members
. ^ A set is said to
contain
its elements.
^ There must be an underlying universal set U, eitherspecifically stated or understood. Notation: ^ x is a member of S or x is an element of S:^ x^ ∈^ S ^ x is not an element of S:^ x^ ∉^ S^2 ∈^ {5,-7,
π, “algebra”, 2, 2.718} 8 ∉^ {p : p is a prime number}
Sets^
numbers ^ Z = all integers = {.. , -3, -2, -1, 0, 1, 2, 3, 4, ...} ^ Z+ is the set of positive integers
Sets^
The set A is a
subset
of the set B,
denoted A
⊆^ B, iff
∀x[x^ ∈
A→x^ ∈
^ Definition:
The^ void
set, the
null^ set, the
empty
set, denoted
∅,^ is the set with no
members.Note: the assertion
x^ ∈ ∅^
is always false. Hence
∀ x [ x^ ∈∅→
x^ ∈ B ] is always true. Therefore,
∅^ is a subset of every
set.Note: Any set is always a subset of itself.
Sets^
The number of (distinct) elements in A, denoted |A|, is called the
cardinality
of A.
^ If the cardinality is a natural number (in N),then the set is called
finite , else
infinite
.
^ Example:A = {a, b},|{a, b}| = 2,|P({a, b})| =|P{1, 3, 5}| =
Sets^
The^ Cartesian product
of A with B,
denoted A
×B, is the set of ordered pairs {<a, b> |
a
∈ A^ ∧^ b
∈ B } ^ Notation: ^ Example:A = {a,b}, B = {1, 2, 3}AxB = {<a, 1>, <a, 2>, <a, 3>, <b, 1>, <b, 2>, <b, 3>}What is BxA? ^ Example: if |A| = m and |B| = n, what is |AxB|?
}| ,,, {^211
ii n n ii
Aa aa aA X^
∈> <=L=