Review of Discrete
Structures +
The Pigeonhole Principle
1
Relation
Homogeneous relation (relation on)
Function, partial function
Injection, surjection, bijection
a b f(a) f(b)
contrapositive
Partial Functions
f: X Y is a partial function iff
xX: |f(x)| 1
Sometimes also denoted f: X Y
using an arrow with vertical stroke.
Another definition
A partial function f: X Y is a
function f: X' Y, where X' X.
7
Partial functions
Partial functions
Partial functions
Partial functions
11
Partial functions
12
13
14
Illustration
15
Illustration
10 pigeons
9 holes
16
Pigeonhole principle
17
Gopalakrishnan 85
18
Examples of usage
19
Examples of usage
Length n means n arrows which is
n+1 nodes
20
Resources
Hein 111
Epp 4t ed. 554
Gopalakrishnan 85
Sipser 3rd 78
21