MATH 302 Lecture 8

From Notes
Jump to navigation Jump to search

« previous | Wednesday, September 21, 2011 | next »


Sets (cont'd)

Power Set

P(A) the set of all subsets of A

X∈P(A)≡X⊆A

|A|=n→|P(A)|=2n

Collection of Sets

Universal Union

Similar to existential quantifier.

⋃i=1∞Ai={x∈U|∃i(x∈Ai)}

Universal Intersection

Similar to universal quantifier.

⋂i=1∞Ai={x∈U|∀i(x∈Ai)}


Function

Mapping of elements in set A (domain) to elements in set B (codomain)

each element a in the domain is the initial point for exactly one mapping

for all a∈A there is assigned a unique value in the codomain B

f:A→B

f ( a ) = b
  preimage of b   image of a

Properties of Functions

one-to-one (injective)
every element in the codomain must have at most one arrow pointing to it. (Two domain elements cannot be mapped to the same codomain element)
∀x,y∈A(x≠y→f(x)≠f(y))
prove injectivity using the contrapositive (assume that there is an x and a y so that f(x)=f(y) and prove that x must equal y)
onto (surjective)
every element in the codomain must have at least one arrow pointing to it.
∀b∈B∃a∈A(f(a)=b)
bijective
both injective and bijective
function can be inverted by changing the direction of the arrows