Ders Notu 6
Ders Notu 6
Ders Notu 6
CmpE 2 2 0
Lecture N o t e s
Fa l l 2023
H. B i r k , Yilmaz
Ders notu 2 of 97
(statement) declarative sentence that
Dern: A proposition is a
i s either T R U E o r
FA L S E
SisonintegerVpr
tix: si.
52: (×+yy=*y
opi
Do not r u n fast × n o t prop.
z§
s,;
su:
f o r all my E R (xty)2=x2ey2 ✓
i s false
Ss: This statement × c
Symabo
Stacee l-
v
o r
implies
i f and onlyi f I >
7 o r ~
not
Ders notu 3 of 97
17 P Q
f Given t h a t P, Q a r e statements, then N
P V Q a r e
also
P Q
statements.
P ⇐ Q
TP
Ex: (Png) V r
1 )main connective
in sentence i s t h e last
Defn: The main connective a
if p then 9
Pt§¥¥ p
q provided
i s a
that p
s u f f i c i e n t condition * a t a
t r u e conclusion i s true
@ N o t e t h a t a n y implication with a
" "
Ders notu 4 of 97
µ£×]?¥.,
×-1=-2 TRUE
µ,p ,,,
q,
Contrapositivey
equivalent
µ
>
E 7g p
p q
§
,q ,p,,§ Contraposithe
>
x#-I
7g: x- 1 ¥ - 2 T p :
FA L S E
q p
Ders notu 5 of 97
Biconditional-tat:
<
q i p iff g
p
if both and p
is defined t o b e true p a q
•
p# 9
a r e TRUE.
is sufficient condition f o r a
p g p a
i s a
necessary
" "
p
q
formed by
Detox Let p,q,r ,s . . . b e props. Any n e w prop
said t o be
them using the 7,v, n , , # a r e
signs
complex p r o p s .
Ders notu 6 of 97
OH Main Logical Equivalences (You can directly u s e i n proofs)
•
p q I
7pv9 O R form o f implication
c o n t r apositive of a n imp.
•
p a E 7 q 7p
}
• 7 (pug) E 7 p n
7 9
de Morgan's L a w
• > (Png) = > p v , g
and disjunction
Theorem: Associativity o f Injunction
i ) (pace)a r = p n (gar)
i i ) (pug)u r = pv (qur)
e x : Jet b e p r o p s . T h e n t h e followings
p ,a , r a r e
taffgglofiff
e
a ) Gp a ) n ( a r)] (p r )
RulesofInference-
i s statement that is assumed i n t h e context o f
Ose A premise
a
a
proof
Ders notu 7 of 97
@ A-proof i s a step by step demonstration t h a t a s t a te m e n t c a n
b e shown t o be a
proof is either a premise o r c a n
o f inference.
consequence o f prev. steps using cer tain rules
[pn(p aY q
÷i÷÷÷÷÷÷÷÷"'m."-msn.m.me
0A Adjoining Premises R u l e
be proved from t h e
premises c a n be
statement t h a t c a n
Any
adjoined to the premises i n a p r o o f.
Ex:§§§P
Prove r
9)r>
2) (pug) G p g ) (premise)
3) 7p q (by M P ( l a n d 2))
Ders notu 8 of 97
4) 7 p (premise)
6) a r
of premises.
@ Due t o t h e tautology@ ( p a)] [(rap) q]
#
Adjunction R u l e
@ Due t o t h e
tautology:[(R p)n(r q)] ( r (pna)]
Ders notu 9 of 97
Substitution Rule
P # 9
then w e c a n substitute
If w e have the premise
Contradiction R u l e
To
prove q from a set o f premises R, it i s sufficient
@ pv (gar) = (pug) ( p w ) n
Ders notu 10 of 97
Predicate Calculus
-1<5 this is a
prop and i t i s
TRUE
dependso t h e value o f ×
proposition because i t n
X ?4 = 0 not a
quantifiers.
calculus and also variables, predicates, and
either TRUE o -
FALSE".
resulting statement
i s
×'s...- ' n , t h e
Tr u e for x = 0 y-4
Ders notu 11 of 97
IN { 0 , 1 , 2 . . . . . }
= natural nuns
# =
{ . . . . - 2 , - 1 , 0, 1 , 2 . . . } Integers
Q =
{rational nuns} =
{Pg / p , q E E q to}
?
{Equivalence sequences} →
IR = {real nuns} = classes o f Cauchy
① =
{xtyi / x ,y ER}
i nt h e s e t A
Not
A {x
= E Q Ix cri} → R i s a n upper bound.
(B =
{x E IR I x c a } → Be a " "
"
I n the set B
✓
What i s the LEAST b. that is rational?
v .
@ solution s e t
Ders notu 12 of 97
Quantifiers
T h e expression the " f o r m y x " ,
" fo r every x ", " fo r all x ",
least ×"
"There exist s o m e x " "there e x i s t × " "there exists a t o n e
, ,
a r e symbolized b y quantifiers.
No
2
R) x2ty2= ( x g )
+
Yes such t h a t
,
x2eyz=(xty)2
} is i t TRUE (tx E R Fy E R ) 7
Ye s
Asymbolcannotappearihamathemati
calstatementinlessiti
first by quantifier
introduced a
Ders notu 13 of 97
fI://ftp.yertaycx true
false
2 ) F y E R " HxERt
7 y a x
YER" ✓
Proof o f 4: Jet x o E Rt take y
=
¥ then
fxifveryrealnvmberiseitherpositiveg
negatiue.orzero.tt/h4
VxE R x > O V x c o v x - O (restricted form)
V x x E R pA )
÷÷÷÷÷
F x X E N a n dPix) FEIN PIX)
Vf fruits
y E
h a 1,
l i ke st o e a t
Llay) person x y
2 ) F xC -Up F y e Vf flag)
fruit
Every person likes a t least o n e
Ders notu 14 of 97
3) F x Up Hy E V f tally)
There i s a t least a person
that likes every f r u i t .
/
+ V xE R 1 9 0 } x2>O t " × ( ×E R ) { 0 3 × z >o )
210)
-
F xE R I { o } r e o -
Fx ( x C-R l { O } and X
I I find t h e negation o f
Ders notu 15 of 97
Prooftechniquesy
implication
f ) Direct proof o f a n
2 ) Proof b y
c a s e s
by contrapositive
3 ) Proof
contradiction
4) Proof by
5 ) B iconditional proof
Mathematical Induction
6 ) Proof b y
there e x i s t s a n X E Z 7 z=2x
Defn: An integer 2 - E Z i s called even if
divides b o r a i s a divisor
Defn: suppose that a ,b E Z , w e say a
Ha,b E Z alb ⇐ Fc E R a c e b
t w o divisors.
is called prime i f f it has
exactly
Defn: A natural number n
in 1N (l and n)
Ders notu 16 of 97
i) d la n d lb
iii) d >O
÷.is?:::i..:.::::i:..........e*mn...ms."
true and w e hypothesis w i t h o t h e r known t r u e statements
u s e the along
and relevant definitions t o deduce t h e conclusion.
"⇐÷;÷÷¥÷
Outwhe o f t h e proof o f "p q "
€÷ rules and
relevant defn-s.
£y["o%m¥
1f × i s o d d , then x2 i s odd
odd
Proof: Suppose
x i s
Intl
Inez x =
× 2 = 4n2+ b u t I
x2= 2K¥21)-11
So 7 hE Z 7 × 2 = 2h t t
Therefore x 2 i s odd.
Ders notu 17 of 97
numbers w i t h
^ U c b
Theorem: I f x , y , u , u are real KY
then x t u Lytle
Assume ^ U L -
Proof: x , y ,u , u E R 2 K Y
① ②
① xtucytu
② cityc i t y
50 X t u c y-14 c y t e
Therefore xtucy + 6
then x2 - 5×+6=0
then (x-2)(x-3) = 0
x - 2 ⇐ 3
then o r
Ders notu 18 of 97
20ProofbyCaµ
i n which t h e hypothesis
i s a n "or statement"
T o prove a n implication
to consider t w o c a s e s .
i t i s necessary and sufficient
statement
t h e conclusion follows from t h e f i r s t "
n l , a second
ii) l . n n n
Ex F x ,y E R Ixtylelxltlyl
Proof:
lxty-xtycxty.INT/y1casei- lyley
then 1×1e x s o
c a s e i) x 2 0 220
Ixttlyl
lxtylexty E x - y
-
c a s e i i .I ) xtyzo then
Ex-y 1×1+41
Ixtyle-x-y
=
c a s e i i .2 ) xty t o they
similar t o c a s e two.
c a s e iii) x c o yzo
+ ly)
then i x . *
lyle-y
Ixtyle-x-ye-x-y-1×1
c a s e iv) x c o
geo
multiple o f 4
I t C-1 ) (2h-l)
"
i s a
¥ If n E IN then
exercise
Ders notu 19 of 97
:÷i÷÷÷÷÷÷÷.
statements, w e
may prove"n g sp"
T o prove p q
÷±÷D
i f then g
Theorem: p
(contrapositive proof)
pro-ofi
I f then
x¥¥
b e integer. i s even × i s odd.
jet a n
¥
×
contrapositive)
Proof: (proof b y
Assume × i s even.
26
S o 7-l e E Z 7
462-126+5=22%5%+1
⇐
x 2 . 6×+5
=
s o
So 7hE E F 8=24+1
§m%°
°fbYcontradictµ
.EE#:.............
Proof: Assume f o r contradiction>p
Q
Ders notu 20 of 97
Thon: The n u m b e r w h o s e square i s 2 = 2 '
2- i s not rational.
god(a)b)
= L
E Z b # O
s o 2*= § a,b
S o 2b2=a2 (D)
s o a2 i s e v e n
so a i s e ve n
s o F kE E 2 k = a
S o 12612=a2=2b2 (by A )
So 462 - 2b?
So 262 = b2
S o b2 i s even
b i s even
s o
( a )b)2 2
s o gcd
*
i s called
such that b#O and X- § . A r e a l number y
is not
rational.
irrational i f
g
Ders notu 21 of 97
T h m : Thee exists infinitely many prime numbers.
i .e , R =
{Pls B ' ' -'P¥}
gest
N o w consider p = p , Pz... pn + 1
since i s the
also p i s not a
prime number pm
largest.
o f numbers.
So p
i s the product s o m e prime
So FBER 7 Pulp
so Fc E Z re-c= P
Then 1 =
p-Cp-l)
=
pie.c - ( p, Pz... pn)
⇐
=p, (c-II, Pi)
ifk
w o w thot pies,)
Ders notu 22 of 97
Alternative:
i .e . R =
{ P i , P z . . . . Pn}
Forgest
N o w consider p = p , Pz... pn + 1
since i s the
also p i s not a
prime number pm
largest.
by any prime
Ppi
s o
P i s not divided
be i t s e l f.
i t must a
prime
,
contra
adiction
} ¥ t@ then a is odd.
Suppose t o E Z i f
£ ¥
and a i s even
Proof: Assume for a
for s o m e • E Z
7 2-Za-17=26
Thus F k E E a
2C
F cE Z 7 a =
So a
2-20+7=452 - 4 4 7 = 2 (2%2,13)+1
Thus a 2 - 2 a t 7 i s odd.
Ders notu 23 of 97
contradiction o f statements o f t h e f o r m
Remark: Proofs b y
contrapositive.
s o FcE E a=2c
S o he-he+7 = ( ** )
( ** )
s o 21212,1¥-11 =
s o ( * * ) i s µ
%:÷÷÷÷÷÷ .
www.m
Proposition P ⇐ s Q
w i l l prove P Q
Proof: ( l ) first w e
SuppIze P
Hence Q
.p.ae# SupposeQ
Ee p
Ders notu 24 of 97
is odd i f f odd.
Propisition: l e t n be a n
integer. T h e n n n2 i s
Proof: ( p Q)
i s odd. wart: n 2 i s odd
suppose n
s o 7k€27 Z n-26+1
So n2= he?-146+1=2%21%-11
So n2 i s odd.
(Q P )
contrapositive
let's prove by
i s even
want: n2
Suppose n i s e v e r i
T o prove "Fx p w e
pcao) i s true.
has property P C ) . i .e .
pal" t h e negation
To disprove " V x w e h ave t o prove
and
i .e " F x 7 p A ) ". S o w e h ave t o find a n
object a o
.
s h o wt h a t pcao) i s false.
technique.
i .e . " t h x 7pA)". By a proof
Ders notu 25 of 97
t x E R if then x2cY Disprove by counterexample: x - - 2
yet
Ex: xcy
B u r a benter s n o w s e r u s u ro r.
bOPrincipleofmathematrcallnduct
l l n 2=1
n =
4 n2 = 4
Nez
n= 3 g n 3=9
Assume
H l ) P, i s true (Basis step)
Pn Pnt, (Induction step)
H2) F n n--1,2... the implication
proposition P n
i s true
Then t h n-1,2...
gR
B§g
Readproofy
Ders notu 26 of 97
1 4 2 2 T. . . .
Ex: Prove t h a t H n E N +
n2=n(n+gl2¥
Proof'. by M I
n z
nCntM(2n#
So 12+22.... =
12-122....n2+@+112 =
^lAt)g(2n¥+ ( n+ 1 )
S o
So =
(anti) [nl2f#+ntl]
[22-1+64+62]
= (htt).
[2n2tg7ntb_]
= (htt).
=(ntD-lntg2)(2n#
t r u e
So pm,
i s
Hence t n Pa M I
by
¥ k t x ' x ) z × h
M I
Proof b y
V
(texts I t x
Basis step: n - l true
w a n t :Pnt, i s
true f o rs o m e
n
Pa i s
Inductionstep: Assume
(tix)" z tenx
muttby
It ×
,(So
So flex)"" z f i n x ) (tix)
" ' ×
soatnms.EE?tnEos-"
' "
S o Pati is true
Ders notu 27 of 97
Hence P n i s t r u e U n -42,3... by M I
If i ) pho i s true
all true then Pati i s true
ii) i f pyo,... P n a r e
mathematical induction:
proof b y strong
2 is prune.
Pz
a
i s true since
Basis step:
Pa TRUE W a r t : Pnt, i strue.
Induction step: Assume Pz, B , . .
- -
a r e
Pa Pb true.
w e h ave and a r e
Ders notu 28 of 97
Then e a c h o f a and b i s e i t h e r prime o r multiples o f primes
s o a =
9,.... 9 s w h e re qi's o r e primes
Hence n t l = a-b =
9 , . . . . qs. r,.... re
→ multiples o f primes.
Pati true
'
- . i s
Hence fnPn n 2 2
PYIIII.IE?I-
goona......moeosseatsoepiaaa b o x containing
then there i s a t least o n e
into 2 boxes,
two o r more objects.
contradiction f o r interested)
(Proof b y contraposithe o r
number
o f hairs
people having
same
a t least
two
E x : Prove there a r e
that
hair)
people w i t h
n o
their h e a d (excluding
the
o n
= 100-000
head
number o f h a re s o n
P r o o f : avg
M a x i s = I-000. 0 0 0
7.7b 2 0 2 0
w o r l d population:
4 4 . . . . . . Yu
Gffdntitebjdea.PH
#placed i n t o a box.es then there exists o n e box
Ders notu 29 of 97
the n u m b e r o f students required discrete
Ex: What minimum i n a
i s
i f t h e re 5 possible grades.
the same grade a r e
{0,1,2 . . . . } Z { . . . . - I , o ,i . . . . }
Recall: IN = =
IN"-{1,2....} Q= {f I p ,a E R 9€03
of objects having a
certain property.
S e t : Collection
said t o b e member
t o set A
a
is
D e f n : An obj. x belonging
element.
have t h e s a m e e l e m e n ts .
§ Tw o s e t s a r e equal iff
they
to have A#B
§ W h a t d o e si t mean
tea)
↳ Fx ( xE A n x E B ) v (xEB n x
AORepresentationofsets
and E l }
A {x/
= x i s a real number
3) By Ve n n Diagrams
✓ ÷.
Ders notu 30 of 97
let acts
Notation: a ,b E R
Eb}
[ a ,b ] =
{xE R 1 a e x
E R I acxcb}
(a)b) =
{x
8 The unique
{}
and denoted by 0 o r
A {xER l x > x} =
0
Ex:
=
A a n d B . If element o f
Given t w o s e t s every
Important Dern: Aisa
element o f B , t h e n w e say
A is also a n
A E B .
subsetofB and denote i t
by
then
subset o f B and A#B, w e
If A i s a
A
apropersubseto-B.
i s
I n this c a s e , w e
say
write A C B .
A E B ⇐ txE¥eaxEAI}×EB
A &B F×EUxEAnx¢B~
FxE A x¢B
g , , a y, , g g , ¥
Ders notu 31 of 97
Proof: Assume for a contradiction 0 ¢ B
x¢B
¥71
s o 7-x E U a
At¥×e,
E B
egg
x
÷ ÷ n
Prop:
-
A E A
- (A E B n B E c) (AEC)
-
f o r any s e t A 0 E A
A EB ^ B E A
t o prove
F o r proving A = D w e need
Setoperations complementofan
universal s e t U, the
set i n a
Defn: Let A b e a
AC i s A-= {xEUlx¢A}
denoted by
Dern: Let E =
{ x e v l pox)}
f-= { x E U I 91×1}
So E N F =
{ x EU/ pix) aged}
Ders notu 32 of 97
E UF =
{xE v 1 p A ) v acx)}
a n d B , the
Defni Given t w o s e t s A
{x / x EA n x EB}
(AIB) V (BIA)
Symmetric Difference: A s B
=
PCs) =
{x l x Es}
C- Pcs) x E s
i-e. X
lemma: A and B t w o s e t s
⇐ A E B'
AAB 0
i) =
i i ) (Arb)-= A-UBC
c
(AUB ) A c , Bc =
} D e Morgan's laws f o r sets
Let x E A b e arbitrary.
Jo x EB since AnB = 0
S o x C -B c
A E B '
'
- .
Ders notu 33 of 97
( ⇐) Assume f o r a contradiction
c -B c ^
A nB # 0 )
A
s o Fxo C- (AND)
S o (Xo C - A ) n (Xo C -B )
S o (Xoc -A ) n ( Xo #Bc)
¥mvst b e i n BC since AEB'
ix.
W e h ave t o prove
(AnB)µµ and (AnBY}(AcVBcµ
① Jet x c- CANBY
s o × E (Ants)
definition o f intersection)
Hence × ¢ A O r x € B (by
EA' o r x c -B e
s o X
s o xE(A'UBC)
-'
.
CANBY E (A'UBC)
(A'UBC)
② Let x E
s o H E A c) o r ( x c- Bc)
S o (x ElA ) o r ( x ¢ B)
.'. (AnB)' 2
¥Anx¥B) (x÷Bax¥A)
v
s o
want x V B ) )( A nB )
c - CA ( I n 2 ) v (3^4)
⇐ (AND)
X E (AVB) x
(lv3 )n ( 2uh)
(XEAV x EB)n (×¢a ✓ × ¢,)
I
Ders notu 34 of 97
(AUB) L (ARB) A -B E ( AVB )I CanB )
Exercise prove: A DB = show
ABB 2 ( A r b ) l (ARB)
i .e - (AIB) V (BIA)- ( A U B ) l (ARB)
Productsetsccortesionproduct
set (or cartesian product) o f
sets A and B the product
Given t w o ,
E A b EB}
B AXB = {(a,b) 1 a
A and is,
(a)b ) → o rd e re d pair
↳iii.i i i .i i i .
AXA -
{ ( x ,g) I xEA YEA} = AZ Tf Cx,y) # {my}
different
objects
I n general AXB # B X A
euclidean place
{my}- { y, x }
1122 cartesian plane o r
x)
B u t ( x , y ) # C y,
→
Ex:
x-axis
n o t necessarily.
IR x { o } →
( x ,x ) # (x)
21×25 1 Eyes}
B x A = {(x.y) I
Ders notu 35 of 97
Let A and B t w o nonempty s e t s
Exercise:
iff A=D
Prove that AxB=BxA
two sets
Ex: Let A and B
any
A O B # 0
AxB= 0
- o r
Prove by c o n t r a pos.
want: AxB
# 0
A t 0 n B # 0
Proof: Assume
i s wrong.
t o w r i t e w i t h wo r d s t h i s
Ibo E B better
Fa o C-A
→
So
S o Cao,Bo) E AXB
So AXB#0
sets
Prove f o r
A ,B , C n o ¥
Ex: any
Ax (Bnc) =
( A xB) n (Axe)
E Bnc
x E A n Y
E A x (Bnc) <
Proof: l e t (x. y) B n y
E e
x EA n ye
< (z)
(3)
( l )
C l l a n d 127
⇐ (x,g ) E AxB by
d ) and (3)
(Hy) E Axc by
(AB) N (Axe)
(x,y) E
(Bnc) = ( A xB )n (Axe)
i . A x
Ders notu 36 of 97
*%P¥P%tf¥=( o f n
Associativity
An B)n o . . .
" V
"
(AVB ) V C '
- - - .
b) A U (Dvc)
=
Commutatvity o f n
BRA
- -
- -
c) An B
-
-
-
.
- " i , u
. .
BUA.
.
.
d) AVB
=
e) A n 0 = 0
A 1dampotency o f A
f) A MA
-
= - - - - .
n
" U
A - - -
AVA
- - -
=
then A E B n c
and A E C
9) I f A E B
A E C want: A E B n c
E B
proof: Assume A
n
÷ : #
¥¥%E A b e arbitrary
s o a E B since A E B
E C since AEB
S o a
S o
aEBnc.i.AE
/Bnc)
Ders notu 37 of 97
÷÷:÷÷÷.
Bsn) CAVB,)n (AV-2)A . . . . . - n (Aubin)
A V (B, n B z . . - -
n =
M I
Proof:
By
AUB,
Basis steps: A V B ,
=
knowthatth.rs/equa#- assumption w e
By induction step
lAVBi)nlAVBz)n...
(AUBn) n ' Bna) - n (AU
S o p n t i b o
Let I =
{ 1 )2 , 3 , h } Let A i , A z , As,A n b e sets w e c a n represent
them a s {Ail i c- I } =
{ A i ,A z , A s , Ah}
U Ai =
{x E V / F i o C-I 2 x E Aio}
i E I
×E¥Ai→FioeIs.c.xeA
{x 1fi
E Ai}
;? Ai = E U E I ×
xE¥Ai Vie-nEAi
Ders notu 38 of 97
Ex: I =
{213,4....} An- [ t , I]
U Ant? ( 0 ,1 ]
n e ,
Proof: let E VA N
( 0,1 ]
①
¥ An E ×
s o FnoE I 3 x E Ano
So x E [Foil]
S o x E (0,1]
An (O> I ]
② ( O, I ] E ¥ proof: l e t × E
s o x > 0
densenessQ
S o F Py E Q 0 2 Ig C X by
choose N o a s 9
El
C l a i m : Denseness o f
rational
s o f a r, C -I 7 Oc# < ×
R
numbers: t o , b E
S o X C- An.
a # b F gE a acqcb
S o × E
¥An
i . (oil] En¥An
¥ktAi=¥)xyERxy}iENN A i
=
{0,013
1122
Prove that
in,
Prove t h a t ¥nAi =
Ders notu 39 of 97
@ @ @
Relations
A relation 1 2 f r o m A into B
A and B t wo sets.
let
s e t A x B and denoted
i s subset o f t h e product
any
xRy f o r related
AxB. We write ( x .g ) E R o r
by R E
pairs.
A = D = all humans
I b ro t h e r o f y}
R , =
{(x,y)EAxB × i s
nationality}
and a r e o f the same
Rz={(Hy) c-AxBl
x
y
said t o b e a relation o n A
A=B R E AxA i s
Defn: I F
R E AXA
re l a t i o n o n A i .e .
Let R b e
D e t '.
a
i f thx E A x R x
be r e f ¥
⑧ a)R i s said t o
F xE A
i f V x E A xxx i .e
said t o b e irreve
b) R i s (x,x ) # R
⑧ c) R
i ,
fxlyE A
i ,
Ders notu 40 of 97
E x : A = { a , b ,c }
R , =
{ ( a , a ) , (asb),(b)a ) , ( b ,c ) }
1¥ tonne
Eire i f ¥ ¥
p,
⇐ theE A x R x
a) R i s reflexive
⇐ s F x C-A
x x x
R i s not-reflexive
VxEA x x x
irreflexice
b) R i s
x R x
A F xE A
n o t irreflexie
R is
E A xRy y R x
symmetric
Vay
c) R i s
EA xRy n y#x
R i s not symmetric
⇐ Fx,y
R i s not ontisym.
xRZ
EA xRy a yRz
f )R is
transitive ⇐ Fa y, z
xR/z
E A xRy a yRz a
R is n o t transitive Fx,y, z
Ibis), Csc),(did), (die)}
b i o ,d } R-{(aia), Cb,a),
Ex: A - { a ,
tons
¥ie i r ¥ ¥
I m
1 ¥
p
Ders notu 41 of 97
let A - R R-{lay) I x >y }
Ex:
irref@s-ymas-
¥ie
ymqsymtrcnEeRlx.x)
÷⇐i±.
E R
E R
for a l l ×
s o
x=y
E R
want:(xz)
Assume lxy) E R n (gz) E R
>
S o x >y n ytz
s o
X Z Z
E R
s o (x E)
m e # b e arbitrary
Reflexivity: Let
n - n - 0 = 7.0
S o 7- I n - n
s o (nm) E R
want: yR×
Symmetrici Assume ×Ry
S o 71 x-y
s o 1-K E E t 7k-x-y
Ders notu 42 of 97
S o -U-7 =
y-×
I z
s o 7 ly-x
Antisymmetr But
I # 8
y , (8,,, e r
s o 76,E E z 7 6 ,= x-y
762 = y - z
762E Z 7
761-1762 = x - z
50741¥-x-2-
S o 71 x - z
relation A , denoted
Defn: s e t . The identity o n
Jet A be a
is Ida =
{(xx) I x E A }
by Ida
B t h e inverse
relation from A t o then
Dern: Let 12 be a
A and
13 t o
R ' the relation o n
of R
i s
written a s
R' =
{(x,y) E BxA I l y ,x ) E R }
Ders notu 43 of 97
A i f f 12=12''
Prop: A r e l . R symm.
o n i s
A Wa r t - R - R "
Assume R o n
i s symm.
proof: ( )
L e t ( x .g)E R b e arbitrary.
So ly,x) E R
defn o f R i '.
( x .y) E R '
since
5 0
i . R E R .'
Hence R-R''
symmetric.
Assume R - R " wart: R i s
(e)
(b>a ) E R
Suppose (a)b )E R flap)E R
( ↳a )E R
s o (b,a ) E R " yea,b )E AXA (a)b )E R
R-R''
(b,a ) E R since
s o
i. R i s symmetric.
B and l e t s be a
from A into
Defn: Jet R b e a
re l a t i o n
composition o f S and R
B into C . The
a relation f r o m
from A t o C given by
i s t h e relation Sor
C- A x e l FyEB xRy
^
yst}
sore {(xx)
Ders notu 44 of 97
t ¥ A-{a,b} B.-{ad} C-{e,f,g}
S ,o r , =
{(bae),(b)f ) i(big)}
520 R z = 0
chaffterjeunonon A
D = R "
12 i s sym
RNA" E I d a
R i s antisym A
RORER
R i s transitne
OEquivalencerelatron
and R be a d . O n A If R i s reft,
A set
let be a
A
equivalence r e l a t e so n
said t o b e
o n
a n d trans then R i s
sym
11223
F±A={all lines i n
Reft ✓
i f f " " ↳
symm✓
4%2
sough 412E A
t Trans ✓
R={(L,,Lz)EAxA I 41112}
R m 7 -I n - m
F I R i s a rel. o n Z n
s o m - n - 7- the)ez
S o 7 -Im-n
s o mRn ✓
Ders notu 45 of 97
refli Let x i n 2 be arbitrary
so x - x = O
s o 71 x - x
s o xRx ✓
Trans ✓
IE.mil?:......e.t....o.a.
defined
by X ,
a s
class o f
denoted is
× ,
Jet x G A , equivalence
I-{yEAIxry}
A and A#0.
Remark: L e t R b e a n equivalence reel o n
transit
Z nRmL 3ln-M R: reflrsym✓
b e rel. o n
Let R
a
£ 1
3. 3 r
{ . . . . - 3, 0,
-
s...}]
{ N E Et o r n }
-
5 =
=
' "
Rn}
T= { n E E l l
- yo ,
1 3R n } { . . . .
=
5- { " E E
classes. O ,T , I {5,1-12}=741,
3
We only have eg.
1
s e t w a t R
Quotient
Ders notu 46 of 97
Defn: Let A be a set and 12 be o n
e a r . r e l .o n A
A.
Prop: Let 1 2 be o n
equiv. ret o n
Alxry}
I = {ye
Let H y e A xD
y e s 5=5
want: 5=5
Proofi ( ) Assume ¥y•
E I :
Ta k e a n element z
So x R z
since
R i s symm.
S o
¥ ,
and trans. o f R
S o 2-
Ry by (A) a n d (d)
since R is symm
s o yRz
defer o f equiv. c l a s s
S o ZEJ by
i . icy
Tu b e o n element 2- E
j
s o yRZco)
x R z by (o) ( B ) a n d trans.
s o
So Z E I
s o g-E I
xRy
( ⇐) Assume e = j want:
Ta k e 2 -c - I xRz_*
s o
due t o
s o 2- Rg sym.
↳ a l s o E y s o yRz ,
b e c a u s e o f transitivity. (no,D )
So XRy
Alternative: yes since 5=5 so xRy
yEj s o
Ders notu 47 of 97
Jet R be equiv. r e l o n s e t A . Then f o r any
×,
YEA
Prop:
o n
i f × Rly then I
ng -
0
tiny#0
¥1
a
S o FaEA a (Eng)
C-
set A .
Corollary: let R b e o n equiv. relation o n a
5=5
Then f o r any
x.
YEA either Eng-O o r
set A said t o
Defn: A family of subsets (Aa),,⇐, of a i s
o f A. I f have
be a partition w e
- A
i)¥A.
ii) a t e Anna-= 0
Va , ,
iii) t o E I Ant 0
A, natural numbers
F I l e t A -- I N - even
{ A i ,Az} → for ms a
partition f o r N .
Ders notu 48 of 97
E x : Jet A-IN A o - {o}
A,= { I }
:
ftp.sx/ If R i s o n e av i v o h o r A
xEA3formsapcrhtionfo#
Prop: Itf (Aa),# i s o f A then there ex i s t s a n
a
partition
such that t h e quotient s e t
equivalence relation R o n A
Abe {Aal a
EI}
o f A Want: Freq-In.
Proofi Assume (Aa)* I
" s a
partition
s-t. Ak-{Aa}
M¥-0: 1 ) R i s e g . ret.
2) An-{Aa}aeI
① r e fe r. Let x E A
elements o f A ,
and × a r e
s o xRx since x
a partition.
R .
x,yEAx by defr
o f
S o
symm: Assume xRy Fin eI
defn. of R .
s o
yRx by
F aE I x,yEAx
trans: Assume xRy and yRz. s o
y ,2 - E
Ap
FB E I
s o yEAanAB
So Aa=Ap (or ers) since
AAAA r s - 0 w h e n x¥p
So y,zEAa
x .
S o xRz
Ders notu 49 of 97
rein.
Hence R i s o n
e g o.
A, E {An} {Aa} E A R
②
a
we n e e d t o prove
EA
2 .a ) Let i t c- A I R b e arbitrary then x
a r e elementso f A ,
a n d b yd e f r o f R
s o YET
i . A n C-I
Hence I - A a
Hence t r u e , therefore A, E {Aa}
t h e claim
i s
for s o m e n o C -I
2 . b) l e t Aa. E {Aa}ae± be orb.
Want:AaoE AIR
Aao=t
s o Aao=xE A I R
i . {An}a c t C- AIR
Q . E .D .
Ders notu 50 of 97
OrderDelation
i f R antisymmetric
Dern: R be a ref o n a set A, i s
reflexive,
⇐
F x ,y e a xRy n
yRx y
Recall: R i s antisymm
EY R o rd e r r e l a t i o n
Ex: let A e - R x
Rye> × is a n
ARB ⇐ AE B
A ,B E P ✓
AEA s o ARA
then
reft: Let A E P b e arbitrary,
ARD n BRA
assume
b e arbitrary,
anti-symm: l e t A,BEP want: A-B
s o AEB n BEA
A=B
s o
ARB n BRC
Assume
CEP be a b t .
transiting: J e t AD,
want: ARC
so AEB a B E C
S o t a EA a EB FpE B BEC
S o f r EA a E C
S o A E C
So ARC
Ders notu 51 of 97
bean ordered rd. o n A.
and "E"
Dern: L e t Abe a s e t
Defn: L e t ( A , E) b e a ordered
E b b e a
if o r
¥ 6 a
"E" i s said t o b e
Let (A, E) be ordered s e t .
Defni
a n
asb b ea
i f Ha, B EA o r
a t o t a l .
A
comparable.
iff two elm. o f are
total o r d e r reln. my
i .e . "E" i s a
order.
(2A, E ) total
( Z , E)
→ not a
→ total order
T.ie?:::I::i-..s.ne...rem.ona
Let B E A a subset o f A (BF 0)
bounded a b o v e i f F aE A
Defoe: w e say ① i s
i s a n upper b o u n d
for B .
s-t. txE B x s a . I n this c a s e a
B bounded a b o v e
Let A -R B-N → i s not
i .e H aE R FnEN n e a en-11
.
Ders notu 52 of 97
ordered s e t B#0 BEA a subset of A.
Dern: L e t CA,e ) b e o n
lowest upper b a n d
of ① i f w e
E A i s the
We say t h a t
a
have:
i ) V xE B x E a
a '.
Eat f o r anyx E B t h e n a s
I i ) I f a 'E A satisfies ×
f x i . A E # n = z 3 - -
l a b (B)= /
i) s h ow t n Feel → trivial
Ii) Assume f o r a
contradiction (FatE R fbEB b e a') n (del)
claim: Fn, E N T 7 a'
cnn.IE/
Ta k e No_f#tl
s o £ (I-a'
9's 1 -
£ a'-I c-£
i÷:÷÷÷÷÷÷*¥÷
So a ' c Nonof
fxEB a e x
lower b a n d f o r B
i f
E A i s a
We s a y a
Ders notu 53 of 97
E x : A- { a ,b i o, d }
E =
{Kia), Cb,b ) , ( c i c ) , Cd,d ) , laic), (aid), Cb,cD, (bid)}
lower bd. for B
Let B - { a i d } Is B b d d . below? Ye s a i s a
Ii I i Il
l' l '
b i ,
GIIfytns.m.II.IM#Ior
that i s bad. above below)
(infinum)
has a supremum
and l e t B E A
E) be ordered s e t
Prop: Let (A, o n
then b - a
for B
i f a card b
o r e
glb
for B
Proof: Assume a ,
b glb
S o a t b since....
b E a n
÷i÷÷÷÷i÷÷÷÷÷ .
said t o
be a mopping
1 2 f r o m A into
B i s
Defn: A relation satisfying
exactly o n e yEB
there exists
if fxEA
x R y.
fCx,) = f ( x 2))
then
If
(i.
e . Fx,,xzEA x .= x z
xRy±Rlx)=y
Ders notu 54 of 97
pA→
B
the s e t
Defn: The domain o f a relationR d o n ( R ) o r 1 )( R ) i s
D (R)-{xlFyeBxRy}
B,
relation 1 2 from A
to
Defn: range o f
a
T h e image o r
✓
Defn: mapping
Notation: I f R is a mapping f r o m
R : A→ B
o r ×Ry w e write y-Rex) x-13121×7
A → C
(goof)(x) gof:
=g (fix)) x → gffex))
%÷÷;÷n÷:÷÷?÷'#......."..anie
f (x.) # f c k )
Fx,,xzE A Xi#Xz
ftp.fcxz) x, = X2
Ders notu 55 of 97
TrisisNO-flness
§ Warning: Fx,,x, EA X - x z fix,)=fCxz)
i s also 1 -T.
be both l-I moppings.
Then gof
Prooff gof: A→ C
So g
(fan))=gCfCxz))
l-I
s o flx,)=fCxz) since
g
i s
:÷÷÷÷÷÷÷÷÷÷i÷÷÷
least xEA s t fax)=y
there
exists a t o n e
I f for
any yEB
F : R→ R
Ex:
x → sink)
disprove f i s onto:
Prove o r
consider y-2
fxER far)-1-2
Ders notu 56 of 97
C be onto
Prop: L e t A,B , C be 3 sets f. A→ B g:B →
i s onto.
gof: A→
Then C
mappings.
Wa r t : F xE A gofCxley
Proof: l e t b e arbitrary.
yEC
(w) = i s onto.
So FwE B g L since
g
since f i s onto.
S o I x EA f (x)-w
S o
got( x ) - y
-
9.ee?::tii:.n.':.#iii:a............s.i..
1-1 a n d onto.
be a bijective mapping ( i f f ) f - i s both
sets and f : X → Y
Notation Let X and Y b e two
for subset A o f X w e
be a mapping. any
write f - (A)-
{g E Y I I x EA fam-y} (the image o f the
s e t A)
{ xE x t f a t EB}
set ① FIB) { x
- E X I FyEB fix)-y} =
Recall: For A E X
F xE A s-t- y-fix)
YE FCA)
⇐
for some
XEA
⇐ g - f( x )
Ders notu 57 of 97
Let f : X Y be mapping and A,E X Az E X then
Prop: → a
1) FCA,VAZ) FCA)Uf(Az) -
2) A , E Az FCA) EffAz)
3 ) f ( A . AAz) E FCA,)nfCAz)
Let
yEfCA, VAz) b e arbitrary wont: y E FIA,)VflAz)
so Fa E ANAz s-t. flat-y
s o aEA, o r aEAz
So f-(a)Effa) o r Fca)Ef(Az)
So f l a ) E f (Ai)VfCAz)
s o E FCA,)VfCAz)
y
s o y
C- FCA,) o r YEFGA,)
so I x .E A ,
s-t fa,)=y
O R 7 × 2 C -A z s - t . F a z ) = L
since MEA, x , EA.UA,
So Fx C - (A.✓ Az) s-t f(×)=y ×2EAz xzERVAz
So y=fcx)Ef(ANAz)
Ders notu 58 of 97
② W e will prove A,EAz FCAileftAz)
s o y=fCx) E fCAz)
s o FCA,)EFlAz)
Q. E-D.
f l a i n Az) Wa n t : y EfcAnnfCAz)
③ Let y
E
i
exercise
⑧ Prove o r
# v e FCA.)nfCAz) E f (HAAZ)
§µ
×
f l a n Az)- { D }
{D,D3¢{D@
Ders notu 59 of 97
P ro p i Let f : X → Y b e a mopping.
Assume f
Want:f(A,hAz)=flA,)nfCAz)
Proofi ( ) i s I-I
s o y-fan)=fCxz)
x .= × z
since f i s 1-1
s o
A i nA z s o y=flx) E FCA,AA,)
Hence x=xi=x2 E
i . f l A , )N f ( A z ) E f(A,A Az) ✓
choose A i - { x . } Age{ X D
f(AinA z ) - f (O) =
0
FCA,)nf (Az) = ¢
[by the
s o f(x,) #f(42)
f I-I
s o i s
mapping
Propi be two sets and f i x → Y a
Let X , Y
← ←
(Bi) U f (Ba)
←
1) f- (B,UBz) - f
← ←
2)B, E B z f (B.) E f (Ba)
Ders notu 60 of 97
"
s o f -( x ) E B ,
S o xEf←(Bz)
Proof ( 3 ) : 12)
f7B,) since B .N B , E B , and
f - (B. A B )
←
(E) E
"
E 132 "
←
f- ( B i n Bz) E f←(Ba) since l '
Hence
←
f (B,nBz) E f
←
IB,)nf9Bz)
* , A z
S o * E FIB,) n x E f
←
(Ba)
So f l x )E B , n f l x )E B z
S o f i x ) C- (BinBd
S o x E f-
←
(BinBz)
papiktf.x-ITIIIppiissjec.li#ifrfBeyff
(B)) -
B
contradiction:
(a) Proof by
FBEY f f f (B)) # B
←
f i s surj a
c a s e 1 : F a e f f f (B)) ←
or a¢B Not possible
since f i s surjective.
Ders notu
but x E f9B) which means a E f f f ← (B)) contradicts w i t h A s 61 of 97
www.a?ImII#so;
want:D'
Let B E Y be arbitrary
Let y
E f ( f ← CB)), t h e n F xf 9 B ) fat-y
←
Wellrofft f ( x ) c -B since x E f (B)
So y = fix)E B i . f l f TB)) E B
Let y E B
Since f i s surj. F xE X fCx)=yEB
S o x E f
←
(B) s o y=flx) E f ( f 9 B))
i . B Efff
←
(B))
( ⇐) proof by contradiction
D, must a l s o hold f o r B - Y
( f (Y)) Y
←
f =
÷÷÷÷÷÷:÷÷:÷÷÷÷
i s invertible i f
f i x→ Y
Defn: w e say that a mapping
Ders notu 62 of 97
i) fxE X gofCx)=x
ii) fyEY fogly)-Y
i s called t h e inverse o f f,
Then such a mopping g
h:c→D
f : ASB g:B-C
sitebilirni l e t A,B, C;D be sets
fylemmai
burugerle
bite you Then (hog)o f =
holgof)
deff.
t . X Y i s i n v w t b k m i . s i # 9
inverse o f
f-
Proof: Assume g and h a r e both
h: Y → ×
fo g (g)
=
y - fohly) byE Y
golfog) 90%4
Then
Iassociativity
=
Ders notu 63 of 97
Finite s e t s and Combinatorics.
Defn.it#sad to be equinumerous
A 213
f : A→ B . w e write
if there exists a
bijection
a natural number n # O
write c o r d( A )= n
I f Ann 1N, w e
sets,then
T h e o r e m : Suppose A ,
B ,C a r e
i) A-A
ii) Ar ts B-A
iii) A I B n a r c A a c
Proof: e x e r c i s e
Ders notu 64 of 97
O A' n B '
AAB -
theno Aub%A'v#
iff - 6 ¥ '
Proof: Assume A Wa n t : *
exercise.
c o r d(B)
proofi exercise
set
let A b e non-empty finite
Prop: card ( A ) - 1
and c a r d (Al{x3)
=
Alex5 = 0 ✓
Let x E A be fix)=iENn
arbitrary and
{
fca) i f fca)ci
g( a )
=
fla)-l i f f -( a ) > i
ALEX} a n d Nn-i
Thus
gisµ§¥#between
B E A then ①i s finite.
Theorem: If A i s finite set and
exercise
Ders notu 65 of 97
finite sets n AnBt0 then cord (Arb)-cord (A)t c o r aD
l )-cordCAnB)
Prop: I f A,B a r e
s o DNA i finite
BIA
¥¥,
s
%¥A£
AUB finite
so i s
%BM)
\ , (a,,,,,,,,, = , + cordCbt
t . I E ? I . . # ' '
www.upg.o.ae# is also finite and c o r d(AxB)= c a r d(A)-cord(B)
+co.aaYpeoof= , , , , , , , , , , , , , , , , , , ✓
Ii) I f B ± 0 # A
Assume c o r d( B )= m c a r d(A)=n
S o At {a,,a z , . . . . an}
=
¥. {a3xB 8
Note t h a t {ai3xB n { a ; }x B =
0 i f i # j
fo r all a i E A
F f bi; between B a n d Nm
claim:
Nowdefine B
g:{a}×B→
b
g i s
bij
( a ,b ) →
i . {a3xB a B
from ⑧ c a r d (AxB)=
Ecord(saisxD)
6=1
=
§, cord (B) = n . m
= c a r dCA),cordas)
P r o p i l f d x 2 h
Proofi By M l
Induction B a s i s :
Induction Step:
Want Pinot, i s true
Assume Pno is true
by induction
P(×') { A i , A z . . - Arno}
=
X?
What a r e t h e subsets o f
a l s o subset o f X
{
s u b s e ts o f X i s
any
only these A,oV(anon)
the s e t s A N {anon}, AzU(anon)..-- ,
Ders notu are a l s o s u b s e ts o f X 67 of 97
anon} 2%+2" ✓
Hence {a,,... - has subsets
i. Dna i s true
Hence conclude P n I n t o M I
w e i strue
by
cedar) card ( t)
Iii) I f f i s bij then =
P r o o f i e x e c
Question: How
many
1 -1 mappings a r e t h e re from X into Y ?
Y- { b. . . . . - n g ×-Ea.-
No,} Y- { b i . - - b n }
set
Theorem: from the set into
c a r d( x ) = card( t) then
X ,t ' b e finite s e t s if
Question: L e t
there from X into Y
how bijections a r e
many
Ars: n! exercise.
Ders notu 68 of 97
on} finite s e t w i t h cord (X)-n
Let X = {a,,az,a s - . -
b e a
A,- { { a } , { o z } . . . . - {an}}
Az -
{{a,,az3,{alias}... . -
{a,,an},
{a,,a,}...- --{arians,
't' i
-
'i.
...
{anais}
p.tn#pi
cord (Ap)-
.
Proof:
{alias.-ap}
Hint: T h e re i s a connection with 1 -1 mappings f r o m
Infinitesetsandcordin
finite said t o b e infinite.
Defn: A s e t B which i s not is
infinite sets?
HOW Can w e compare cord. o f these
N -
{0,42,...} wt
N" C 1N But F f bi; F : N →
n i l
I N E { 1 , 2 ,3 . . . . }
→
n
Ders notu 69 of 97
n,-11
I - 1 ) Assume f - (no)- f -(n.) s o n o t 1 =
S o n o = N,
then f l u - i ) - n
c o r d(x)< c a r a t )
then w e write f . X→Y
o n t o mopping
t h e r e exists
a n
but
If t h e re ex i s t s N o big.
c)
write c o r d( x ) >c a rd(Y)
then w e
and
l-l mapping g:x→Y
f : X → Y a
cord( x ) then
card (Y) E
Ders notu 70 of 97
Theorem: (Cantor) F o r set A#0 c a r d (A) < c o r d (PCA))
any
there ex i s t s l-l f : A→ PCA)
show t h a t mopping
P ro o f
a
w e will
B u t there e x i s t s
NO bij Y : A → PCA)
f : A-→ P A
I-lmepping Let
then f i s l-l
x D {x}
f a t = {x}# {y}-fly)
since x±y
Noabaise
,: A i s finite:
2"#
hence #big'.
cord (PCM)-2" s o n
cord (A)= n
case 2:
A i s infinite:
F f bi; Y: A-→ PCA)
Assume f o r a contradiction
T¥et B - 1×44×13
{x E A
C -A s - t eCxo)=B
since
4 i s onto Fx.
case X o # B
c a s e x-c- B
s o X - E flxo)
s o X o¢ @Ko) X o E B
X o£13
(APLIN)))
Remark: card ( N ) < c o r d (PCM) <card
Ders notu 71 of 97
covntablecndvn
ctb.se#Defn:
infinite An set × i s said t o b e countable infinite
said t o be
D e r n : An infinite s e t which is Not etui. i s
uncountable.
I n .
¥i÷÷x→µ.
¥ I ± in.in?
÷÷÷÷* tb#sffbij
between X and1N.
o r
f . I N→ X
I N XI N c tbl?
Q cted?
any
subset o f 1N ctrl?
Roth?
Ders notu 72 of 97
Show t h a t c o r d( E ) cord (N)
=
↳envenwsnation
Proof: consider f : N → E
n a 2 h
claim: f i s a big'
Wa n t : fi)#fly)
¥ : Let x . E 1N b e arbitrary x#y
y
✓
f(x) =2x±2y= f l y )
s o e = 2 4 for s o m e K E N .
s o f ( E )= e
Let H l =
{I, 2,4, 8,16...} s o Hl i s denumerable
consider f : I N→ H I
n ↳ 2"
denumerable.
¥ I NX I N i s
(Cantor-Bernstein Theorem)
w a i t : n i - n e
Let F :N → I N× IN ± : let fch,)=ffrz)
h l → (n,o ) s o (n,,O) ( h2,0 )
=
s o n ,= N z
Ders notu 73 of 97
let g : I N XN l → IN ± : suppose glam)-glris) wont: n o n m = s
Hence2^3%235 c
sµm=
s o 2"-r 3M = 35
simplifie
s to
= I a X. r¢n
If m s s 3"-£1 n o t poss.
2÷gs
a
I f Mcs 35%1 a
*. . , .
... m = s
Hence (n,m7=(vis) i , r - n .
i. g i s I-I
.÷÷i÷:÷:÷÷÷÷÷÷÷*÷ = { a nI n E N }
subset o f N denim.
P a p i Any infinite i s
Let's u s e Cantor-Bernstein. T h e n
consider f':µ→A
where n o =
min (A)
k n w
n,-min ( A l {no})
Ders notu : 74 of 97
ne-min (al:[Euis)
Cantor-Bernstein
A is denumerable
by
seti s a l s o ctbl,
Remarki An infinite subset o f a d b l .
denim.
S o A = {ago,....}
Be { h o ,b i . . . . }
c a s t AnB=0
a -
• →
Define p : N → AUB
b o
I →
i f i s even
{an,
n
n ↳ 2 →
a n
zb¥ i f n i s odd
3 → b i
:
An-to
cose¥
exercise
Ders notu 75 of 97
^%¥ denum sets A AinAj-0 for it;
Ao,A i , . . . . . , An,.... be
want:A i s damn.
A-= { a i , a i , a i . . . }
A,- {ai,a i , a i . . . 3
{anm I n E
s o A=¥µ An = N men}
:
An =
{af,a i , ai...}
± : Assume 4 ( h i m ) - Y (n'in.)
s o Ari = ai.
Annan' - 0 when n # n '
§
s o am" c - An ant. E Am w e hone
n - n '
elements b e
set An , these c a n
i f m - m '
equal
'
. f i s I-I
-
A i n the form
all the elements o f o r e
0M¥ f i s onto since
9,
s o
(nm) maps
t o
arbitrary a r t
Ders notu 76 of 97
Remark: T h e theorem i s also t r u e i f Ai's arent pairwise disjoint
O R i f s o m e o f t h e Ai's a r e finite.
OI {Ia l p ,a c -I N 9*0}
Let A i - { F I PEN}
Az { I l
= p c- IN}
'
:
Q E 0 An
d ow n .
ctbl union o f demon. s e t s a r e
n e t
I s R c t b
Them: The interval A = (0,1) i s unctbl.
¥.::::::::::::
'
, ÷::""" b i= {§ i f ai'#s
otherwise
÷..................
l
i,
i
§ot but
here
b¢{xo,x . . . . . }
Hence 10,1) unctbl.
Ders notu 77 of 97
with alb the interval Ca,b ) i s unctbl.
Prep: any a,bE R
unctbl.FI#2ordwumiwa
i . ( a )b ) i s
f-1,1)
¥¥...
Y:R C-i, i
→ ) . - -
x - . ÷ .
C l a i m : Cf i s a big
w a r t : 91×1=1441
1 1 : Assume x ,y E R x#y
b e a r b i t r a r y.
¥g
contradiction
Assume f o r a
¥ , =¥y
xtx/y=y+x/y x - y
*
S o 41×7=1 @Cy)
Ders notu 78 of 97
c a s e
casein x ,y c o ,
same
case: X >O
yao
W L O G
41g)L O
s o Yi)#Ky)
claim 4 i s onto
61×0)- yo ✓
So,, i s unctbl.
4: so,, → PIN)
{is
%"-Plait-¥,
when a i
claim: Qi s bij
exercise
Ders notu 79 of 97
gproofiAssumeforacortradictionsonisdenvmfctbl.im#
A =
{Ii} where I i = ( i , it'] i EIN
=
{Io,I i , I z . . . . }
I n t r o r a
non-empty s e t . A binary operation o n
from X x x into X .
X means a mapping
€ - y o r ×
by o r x # y
Notation: f ( x ,y ) x
N.
Binary operations o n
(n,m)ElNxN ' → a m E N
Exe: n * m = h t m
E N
n * m - n-M
( n ,m ) EINXIN t o n .m
operation X . W e say
Defn: Let X be
any
set and * be
any
o n
that
E X x - y
-
y* x
i) h e is commutative i f t x ,y
(x-g)*
assIi@eifttxiy.z (ynez) = z
E X x p
ii) * i s
Ders notu 80 of 97
Ex: Let X:
{ ({ bd)
/ a , b,c , d ER} (set o f 2 × 2 matrices)
defined X"
w i t h"an operation * o n
A ×
Notation: set
s-t. t hE X X - e - X - e * X .
Ex: l) (N,t ) e - O
1
2) (N,-) e -
(x, t ) e-(88)
(x..) e . (Ii)
has at most
(X,-)
o n e
Prop: Any set with a n op.
-
neutral e l t .
than
contradiction ( X , re) has m o r e
¥ : Assume for a
o n e neutral e l f.
Ders notu 81 of 97
e ,# e z
s o e , * e z - e , =
e z- e , since ez i s a neutral e l f .
" "
' l 1 1 1 ' .
e z 8 e , =
e z = e, * e z e ,
S o e z * e , = e z Fe, = e z* e , §
Assume t h a t
Deff let ( x ,* ) be a set w i t h op.
neutral e l f. E X . We say t h a t
(Xin) has a e
E X i s invertible i f t h e r e ex i s t s s o m e
a n e l f, a
b - b
b E X satisfying a = e = a *
b e t h e inverse o f a
said t o
I n this c a s e b i s
a " - a .
and denoted by o r
defined
£mm"¥n
is
µ a = e * a
Fe YaE
=
I E X X a - e
e a t , eat.
E X a ' = a ' *a
E X invertible i f Fa' sit. a * - e
a i s
INT #IN)
l) (Nyt) → only i s i nve r t i b l e (for X E - x
2 ¥ e = ° e
inverse
- x i s t h e
e z
2) (Zit) → e - 0 Fx E # → s o
I 1 and - 1 invertible.
3) (Igo) → e -
only i s
4) X -
{({3) / a , b,c ,d ER}
(x,.)→e=( 'o:)
detM-lad-be)
L e t M e ({Y) M
i s invertible i f f detM#O
Ders notu 82 of 97
ex:('i') i s not i nve r t i b l e
ex:(↳ S O
coso)
-since
for some fixed 0 E R
since
n"
N i s invertible.
det N - 1 s o
N-'=
(coso coso)
since
-since
inverse o f × i s unique.
E X i s invertible b u t i t i s not
Proof: Assume f o r a contradiction . . . . X
d i f fe re n t inverses o f × . Let's
S o there a r e a t least two
unique.
c a l l them and E X and # Z .
YEX + y
S o
y
-
y-
e -
y - ( x - z ) c)
by a s s o c .
=
(y* x ) * z
= e * z
= z
determined under t h e s e
Hence the inverse o f × is uniquely
assumptions.
Fa,b
abtbcommjLetaibEQAatb-
E OF a-1b e a t
IsabetbnaabbZIabEn@i.l, is c o m m . o n Q'
Ders notu 83 of 97
µ : exercise.
e - a
a t e = a t o n e +
0
s o a e t e =
S o e (ah)-O
e = 0 since a#-1
Is
every eat. o f Q' invertible]
a'(atD = - a
al -
1¥ since a t - 1
S o a ' = QB
i . a' =
2¥, i s the inverse o f a under ( o r , -1)
I f my E X a r e t wo invertible e H s i n X then X *
Y
Proof: Let e
b e t h e neutral e a t . (Xia)
Cy-'*x ) - ( x y)
(x¥±(y-§
*
= e s
show
We need to
AE = ((x-g)* y")-x =
(x-(yay"))e x - '
=
Ders notu 84 of 97
= Xxx-'=e
AOA x i o m o fc h o
non-empty sets
Let {Xi l i e I } be a
family o f
a function
for each i E I f -( i ) C -X i
F : I →
¥, Xi s-t.
f i r e .
F i s called the choice
C -X i i e I }
F (I) =
{x / Fei)=x
Poggi
i f i s a
claim:
# j X i n ¢X j =
s e t s i .e Hi,; c- I i
},
disjoint .
f " "
Echisi"
then i#j F e i ) * f -( j ) s o
o f sets.
i n o u r collection
Ders notu 85 of 97
1. I T ? : : : : : : : : - . . . . i . m .
relation o n ✗ .
R i s compatible with * i f
Defn: We that
say
w e have
and
☑x , y , z E X ✗
Ry ✗☆ Z Ry-z
Z - X R Z A X
E Y Let X - R * : + ✗ Ry ×-ye#
reln. IR.
S o R i s a n equiv o n
Assume x ,y, z E IR a ✗ Ry
(Z+XR(z+y)
E )
So E #
x-y
S o (✗+ z)-(y+z) c-
enough since
.". R i s comp.
with +
Ders notu 86 of 97
R s a m e
9
EI: Let X - R * : malt.
Is R comp. w i t h
* .
-2=12
No! Take x - l yeo
but x . z #g. z
XRy
£ 12/0
cosca-cosy)
R Vx,y E R xRy⇐,
¥ . Let x = * i t
R i s a n e a r. reln. ✓
but x e z Rl ytz
XRy
E X xRy six-y
Exe: X - Z re: + F x ,y
R V
is equ. reln.
Is R comp.
with * ? yes.
exercise.
Vx,y E X x R y # S I X-y
EI: X - Z re: o
Reg. ret. ? ✓
e x xRy six-y
Let x .
y
5 1 zCx-y) = Z x -Ey
zxRzy
since i s commutative.
enough
.
Ders notu 87 of 97
Ottomomorphism-
( Y, o ) be two sets with op.
Le t (X,-) and
'→
"
T'" s a i d t o b e a
Defn: A mapping f : ✗ i s
homomorphism
L e t ×,,x, e x be arbitrary.
2×1++2
( x , + x2)
f )
Observe that f =
s o m e
+
E F : (R,-) → (IR).)
✗ ↔ 2x
Ta b e × , = 3
✗ 2=3 (f x,.kz/=f(g)=29-
f(xil.flxz1=23.23=20
So not a homomorphism.
Ders notu 88 of 97
E Let f : (Rt).) → (IR, + )
✗ ↔ Inx
Claim: f is a homomorphism
b t w. . .
Direct Proof
Assume ×,,×,
ER" be arbitrary
f (x,) a n d f (x2) E IR
s o
= f (x,) + f(x2) ✓
with
( Y, 0 ) b e two s e t s ops.
Pep: Let ( X ,*) and
Y b e o n t o homomorphism.
AND F :
o n
✗ →
2 ) i f ( X ,* )
is a s s o c .
i s t h e neutral e l f . o f ( X ,* ) e ' f l e a ) =
3) i f e -
i s the neutral e l t . o f ( T, o )
elt. E X i s invertible
neutral ✗
4) if ( x ,* ) has a
Ders notu 89 of 97
Proof:
(X,-) i s commutative want: (Yo) i s comm
1) Assume
↓
Let y,,yz
E Y be arbitrary. 2 ,0 4 2 = 9 2 0 4 ,
f (x,)= y ,
Fx,,xz E X
f (x2) =
92
f ( x ,* ✗ 2) = f ( × , ) of(x2) y , o y ,
[f(xz*
=
← ✗ 1 )= f (x2)o f / ✗ i ) =
9209,
Also n o t e
t h a t × ,* X 2
since
= X2#XI
S o 9,092 =
Yzoy,
☆ i s comm.
2) Assume (X, * ) is a s s o c .
L e t Y i ,92,93 E Y
f ( ✗3 )= y , since f
E X f ( ✗1 ) =
Y ', f(X2) 42,
-
S o ] ×,,xz,×} i s onto.
= F X ,_ ✗ 2) * ✗ 3)
assoc.
F (x, (X2 X)))→
since * i s
* ☆
=
f i s homomorphism
= f (x,) o f / ✗2*+3) → since
=
y, 0 (92093)
Ders notu
i . (Y,o) is a s s o c .
90 of 97
of (X,*)
3) Assume e x i s neutral e l t .
Let y E Y be arbitrary.
f
Want: e'-flea) i s n e u t r a l
since onto.
S o ] ×,EX f l y e l t o f (Y, O )
S o
e x
e ,
i s
www.ysnafisn.
* × , =
neutral e l t .
× , = × , * e * since
f @ x . l momapm.sn# fix,) y
-
So
-
↳
Similarly flea)ofY
-
y
-
f#oflea)
element o f (Y>° )
S o flea) i s the identity
invertible. ( D )
☐ ]
a n d consider y' = f (x')
Let y = f (x)
f / X ' *x ) = f(e)
y'oy f / x ' ) o f f x )
=
=
invertible in ( Yo )
S o g-' = fix))" i . y is
Ders notu 91 of 97
⚠ "
Otsomorphism
f: ✗ Y i s said to be a n isomorphism
Def: A mapping
→
AND homomorphism.
If f i s bijection
Isomorphism?
X-R +
Is f a n
F : ✗ → Y
y=R+ . ✗ n e t Ye s .
e×+Y e x . e9=fCx)-fly)
11 Flxty) = =
2) f i s bij
± : tot x,,xz E X
be arbitrary
Wa n t : f ( x , >≠ f (x2)
Assume ✗ i # ✗2
fun"÷E É. "
i . f i s 1 - 1
consider I n (y) E IR
R" s o
chess: l e t y e
✓
flinty)) - y
•
; f i s onto.
Ders notu 92 of 97
✗=P'
.
E Let
flx)=ln(x)
+
Y - IR
f i s isomorphism.
f i s bij + f i s homomorphism =
H◦mq;P"?#eat
be arbitrary.
i . f i s hom.
I
w a n t : X ,= ✗ 2
Assume f (x,)-f(x2)
So In/×.)-In/x2)
S o ✗ 1=42
1-1
i . f -i s
0 ¥
exercise
☆= • f(x) - 1×1
Let X- R Y - R
F ◦ = .
i . f i s homomorphism
1 -1 )
b i j . (also
not
f i s not
But f i s not onto s o
f i s n o t isomorphism.
So
Ders notu 93 of 97
Prof Let (X, t ) ,
(4,0) b e two sets with ops.
and F: ✗ → Y be a n isomorphism.
also isomorphism.
Then f": Y→ X i s a n
¥ : Exercise.
GroupsandRi
ngs-DefIL.at ✗ be a non-empty s e t w i t h a n op. ⊕,
i f
said to be agroups
(×, ⊕), i s
2) ⊕ op. i s assoc.
s-t. H E X e⊕x=x=x⊕e
3) there exists identity e l t . e E X
inverse e l t .
4 ) every e l f. of X (✗e x ) h a s
w i t h t w o operations
Defn: Let X be a
non-empty s e t
be aring i f
⊕ and 0 . ( X , ⊕, 0) i s said
to
t h e followings hold.
b) ⊖ i s a n assoc. op.
distributive o v e r t h e op. ⊕
c) ⊖ i s
Ders notu 94 of 97
i.e . Hx,y,-2 E X × (y 2 (✗09) (x
=
)
z )
Defn: The
ring ( X , t ) . ) is said t o be comm. ring
"
i f the ." i s c o m m .
op
(4,0) Let
⑦ Defn: Let (X, * ) b e two groups. i e .
e -
Defn: Let ( G ,* ) be a
group
and l e t It be a non-empty
I t o f G . I f ( H ,* ) is also a
group then w e
say (H,-)
i s a subgroup o f (G, *
Ders notu 95 of 97
"$"
Y
( X , * ) (4,0) be t wo If f : X →
This groups. a
Let
subset o f X. Let's s h ow it is
P F : Ke r ( f ) group.
a
is a
☆ op
is a s s o c . since (X,-) is a group.
f is
homomorphism. So e*Eker(f)
flea)
a
since
-
e ,
So is e l f. o f her( f )
id. elt. a n
wa n t : X ' Ebert)
I t . Let ✗ E d e r( f )
So f (x) -
e o
So consider f(×"/ =
f (x)" = (eo)" - e o
→
proved
before
S o ✗ "Eber (f)
✓(f),*)iscloe :
want: X , * x , Eber/f)
ker f) a-b.
let ×,,xzE
flx,_ x ) - Eff
e.
.". X , * X2 Eker(f)
Ders notu 96 of 97
"
group?
E Le t me {(??)-m/ detim)-i} (m).) i s a
exercise
E Let ✗ =
{(%) / a ,b,c,d ER}
and mult. o f
Let +,
-
be t h e usual adition
matrices.
(×, + , - ) is it a ring?
(Ntp)
}?
µ . =
MN + MP
(Ntr)-m = n o n , pre
Ders notu 97 of 97