100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Lecture Notes on Equivalence Classes and Partial Orders (COMP11120)

Rating
-
Sold
-
Pages
2
Uploaded on
30-05-2024
Written in
2023/2024

Master the concepts of equivalence classes and partial orders with these comprehensive lecture notes for COMP11120. These notes cover key topics such as the definition and properties of equivalence classes, the construction and visualization of partial orders, and their applications in various mathematical contexts. Perfect for students enrolled in COMP11120 or anyone looking to deepen their understanding of these fundamental concepts, these notes provide clear explanations, illustrative examples, and structured content to aid your learning and exam preparation. Enhance your mathematical skills with this essential study resource!

Show more Read less
Institution
Course








Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Unknown
Course

Document information

Uploaded on
May 30, 2024
Number of pages
2
Written in
2023/2024
Type
Class notes
Professor(s)
Andrea schalk
Contains
Equivalence classes and partial orders

Subjects

Content preview

Equivalence Classes and Partial Orders

Definition : Given a set S with an equivalence relation R and an elements of S , the
equivalence class with respect to R generated by s
, [S] , is the subset of S
consisting of all elements of S which are related to sby R, that is




[s] =
[5 eS (5 5) , [R]


Quotient Set Partitions
Given a set S with an
equivalence relation
~, the quotient set
of S with
respect
Whenever a set S is
partitioned ,
ie
. .
Split into disjoint subsets , we can define an



equivalence relation
~ such that for S, s'e S
,
~ consists of the equivalence classes of S with respect
to to . This is written as


Sv & ~ S if and only if s and s are in the same
partition
.




The equivalence classes are
exactly the partitions.


Example : The relation between students in the Department (Cab 2 , ,
6,0
,
th)
where two students are related if they have the same
year of birth
.
Example : I partitioned into positive , negative and zero values·


[O]


if We have tree (3) equivalence


in
[ 1]- -
1 O .
classes [1]
1



...
2
L
-





-
P
7




.....
[a] = [b) =
[c] =
(a b, c)
,
-7
~

14
[d]
L

& d CD [d] =




[e] =
If) =
[0 f) ,




[2] [3) (5 [SO]
=


f a [1] I =... =




[0] =
503
& b El] =
[ 2] =
[ 3] = ... =
Ess O]


d C




Binary Relation Over Lists

Consider the binary relation
~ on the set hists of lists
Reflexivity Symmetry
over the set S as
follows Prove the relation is
reflexive using a
proof by induction Prove the relation is symmetric using a
proof by induction
Show that Show that all I , 1't hists if I-I I'v
base case 5) ~[] empty list is related to itself ! for all Le Listsg ,
(v) for ,
ther


Step For Iv)" and S, 5'ES have
basecase : [] [] [] []
base
we
case
- -
case :




1 ws' /
S: :
Step case : For -1 and SeS then ,
Step case : For (v)' and S, S' eS then


S :l ~S : / -S : l -S :

I'v) < ind hyp
So the relation reflexive
. .




is v

What does this relation does ? > Sil ~ Sil

It often good idea to try out examples with We
is a some
give a
proof by induction proving each direction
So the relation is symmetric
the definition to see what the relation does .
separately

First then Ion) Len 1
We have a conjecture that for all lists I I'
,
1 >
if (we' =




11 Then <
if lon) Lond then my
IwI' if
=

and only if len1 = zen 1




Proving for Conjecture I
Proving for Conjective II


base lents Con E Ion[] 0 Cent] < E3-E]
base
=
case : [J-[] <
=
0 = =
case :


Step case : For 1-11 and s ,
seS then Step case : For1 11 E Lists
,
and S, S'ES

S :l ng" / : Ion(s : )) = 1 + len 1


(cn(s: () = 1 + (en) = 1 + (en) ind .

hyp .




=
1 + len I' ind .

hyp .
= len (s' : ()
=
Ien (S' i :
> Silvs'
$9.03
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
jpxoi

Also available in package deal

Get to know the seller

Seller avatar
jpxoi The University of Manchester
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
20
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions