Reconstruct this text:
Sels
A set is a colleiters of things, any things, «Med its elevat,
- If & is a xt
ad
is an elemnt.
2
8, we with xts
Else we write n
es
3
Iz soth & ad y selong to sue with my Ps.
- Ty
to demise a set is by explicitly, narig its cleters The simplest way tist deros seperated by connas, and surrant the list att graves,
The only Ching that crattes is what is in I all what is net ind, -Repeated onewens
-The order
7
J
elerits don't matter.
Listing doesn't matter,
The expty get is denoted by {} or p
A set will one deret is called a sighton, equal if they have the same elenets,
Two set are
Ir P is a
the set 5, the clouts are dulard by:
property of 5= En 1XC has property 83
FJ se belongs to a larger set As we an will:
1
2
Se gettin has property P3
= A reclusive derriston of set & cousin of
cleros
- Basis step: sprigs one or more alexas
three steps:
g
ی
- Recursue stip: Give one or more (ely to constat se clust exyting clinds 79.
- Exclyom rade: stake that I only suists cusully assert, not stated explictly).
Axt & is a
subsek
z A y evay
elant
7
23 you
elends spegil by the bring and rese sty
Bis is A B CA
a proper subset dusted BCA.
- Ty B f A, B is a
*AFB iz ACB and BCA
A =B
The set g
A & BB or
B & A
is what the gouer set denotit P(S)
all shots of it s is chat the
0
Sempere is
2
Seghen us
list of things, Bahen is a cetais ordo,
we we branchers instead
Tapotast geatures:
ne order
7
branes to denke this.
Cisting Matter
The reported overens mother.
finde
Shems
the length
of
ore all Aples. A sequent the tuple.
Two typles are
Sare.
with Kalends is called a K-tiple CK is
equat if they have the same byth and their corresponding alouch are the
A & -tuple is also called an ordered panta
• The carterian produits of sets A and B dis
the set:
-A X0= {(x,y) | ~ EA at y EB ordered pars
- County
The cateren produits g
sits A1, A2,..., AK is the xt:
- AIX A2x.. XAR = {(x,,,, and 12, CA, CA, ..., Matsuz
Comit
"A binary celadon jsem A to B is a tubot by by the Cartering relating AXB,
relatan
Denotal aRS or RCa, SD, at is R-related to B,
A relation from A to A is cl
a
relatan on A.
A relaten can be reprantl by a directed graph or 0-1 matru
Properties of relations:
(a) ER
elent a t
for every
elent a f EA
Reglaire if Irrgghand is (a,a) & R for every
Symmetra if
ig for all abEA, (ba)ER whener (ass) GR y Raden Arb. Antisyentous if c,6) and (bra) cannot both be in
Trathu
y for utA
Mas,cts, if both (a, b) ER and (BC) ER they (9,C) ER - A trasti cet-conse, an R is the mallst wanting relation on A contary R, Denott A. Warshall's agerthan cam compile this.
A selaton is colled an quirature relation
A relation is called a partial order
Can be represtal ath
2
is it is release, tranture and synotes.
it is rytais, entisgation and trusten,
Harse diagram
• A pated gods can be cold a linear order ÿ for all as GA liter (5) ER a
Chad GR. Hasse diagram is a Naght lis.
9
D
C
D
Funtion
Giver sets A and B, gunction and that awards
I that assidy badly, one elerat,
one element
2
B,
from A 6 Bale
ich I avoits ett alt 761 then we will jou zi