Discrete Structures Week 6 Flashcards
function/map
let A and B be two non-empty sets.
A function/map from A to B is an assignment that to every x C- A, assign a unique y C- B.
f: A -> B
x |-> f(x) = y C- B
Image
image of A = range of f
ex in notes
inverse image
of y is x
ex in notes
equal functions
two functions
f : A -> B
g: A -> B
are equal if
f(x) = g(x), V-x C- A
identity map
id sub A : A -> A
x |-> x
restriction
f : A -> B
c c_ A
restriction of f to c is
f | sub c : c -> B
x |-> f (x)
image and pre-image changes
cartesian product
of 2 sets A and B denoted by A x B is the set whose elements are points (x,y) whe x C- A and y C- B
A x B = { (x,y) | x C- A, y C- B}
A x A n times
A ^ n = (x1, x2, …xn) | each x C- A}
graph of a funtion
a function f : A-> B define a subset of A x B
graph of f: { (x,y) C- A x B | y = f(x)}
= { (x,f(x)) C- A x B | x C- A}