Functions Flashcards
(4 cards)
1
Q
Whats the formal definition of a function?
A
A relation f is a function provided (a, b) in f and (a, c) in f imply b = c.
2
Q
Whats the formal definition of function notation?
A
Let f be a function and let a be an object, the notation f(a) is defined provided there exists an object b such that (a, b) in f. In this case f(a) = b
3
Q
Bijection
A
A function f:A->B is a bijection IFF
- Injection (one-to-one)
for all x1, x2, in A, if f(x1)=f(x2), then x1=x2. ( maps distinct elements of its domain to distinct elements of its codomain) - Surjection (onto)
for all b in B, there exists an a in A such that f(a) = b. (The image of f spans the entire codomain)
4
Q
A