1/32
Looks like no tags are added yet.
for a relation to be a function
every input x must produce one output y
domain
all inputs allowed to use
codomain
the set of outputs the function is allowed to produce
range
outputs the function actually produces
one to one (injective)
different inputs always produce different outputs
how to prove one to one (injective)
take f(a)=f(b) and use algebra to show a=b
onto (surjective)
every element of the codomain is actually reached by at least one input
how to prove onto (surjective)
let y be an element of codomain, solve for x, say its part of domain then say for which f(x)=y
B^A
B-codomain
A-domain
the set of all functions from A to B
a relation R from set A to B
some subset of A x B
(x,y)
x is an element of A, y is an element of B
when (a,b) is an element of R we say
a is related to b by R and write aRb
dom(R)=
first coordinates in A
range(R)=
second coordinates in B
inverse relation of R
(b,a)
for a set of n elemets maximum for intersection of R and inverse r is
(n(n-1))/2
reflexive
every element must be related to itself aRa
let a be an element of A…..
symmetric
if a is related to b, then b must be related to a
assume aRb
transitive
assume aRb and bRc prove aRc
equivalence relations
if r is reflexive, symmetric and transitive
equivalence class
[a]={x is an element of A: xRa}
equivalence class for [(a,b)]
{(x,y) is an element of R² : (x,y)R(a,b)}
equivalence class
group of all elements that are considered equivalent to a particular element under a given rule
f^-1 o f =
iA
f o f^-1
iB
two functions are equal if
dom(f)=dom(g)
cod(f)=cod(g)
f(x)=g(x) for every x in dom(f)
cardinality rules for finite sets
injective: |A| < or equal to |B|
surjective: |A| > or equal to |B|
bijective |A|=|B|
f o 1A =
f
1B o f
f
things
if g o f is injective, then f is injective
if g o f is surjective, then g is surjective
if f has a left inverse, then f is injective
if f is a right inverse, then f is surjective
is g is a left inverse and h is a right inverse then g=h
what is a partition
no empty groups, no overlapping elements, every element of A is included
left inverse
g o f = 1A
g(f(x)) = x for all x in A
f must be injective
basically left: g(f(x)) = x
right inverse
f o g = 1B
f(g(x)) = x for all x in B
f must be surjective
basically right: f(g(x)) = x