1. Set, Function, Image, Inverse Image

“Set theory”

Set = Collection = family.

{definable objects} True/ False.

ex) A={1,2,4,5},1A.OA

ex) B={xP(x)}

ex) C={1,2}

P(C)={subsets in C}.

Examples.

N={1,2,3,4,},
Z={0,1,2,3,4,}{1,2,3,},

Q={qpp1qZ,q0},
R={ real #s},
C={ Complex #s}

Exercise. Show that 2(x2=2,x>0) is not the rational number.

Definition. X be an universal set. Let A,BX, define

AB:={xxA or xB}.

AB:={xxA and xB}.

AC:={xXxA}.

Definition. A,BX.

A=BAB and BA

 If xB then xB, and if yB, then yA

Proposition. Let A,B,C X.

(a) A(BC)=(AB)(AC).



Proof. Need to show (NTS):

A(BC)(AB)(AC)

and (AB)(AC)CA(BC)

 If xA(BC)

xA and (xB or xC)

(xA and xB) or (xA and xC)

xAB or xAC 

x(AB)(AC)

(b) A(BC)=(AB)(AC)

(c) (AB)C=ACBC

(d) (AB)C=ACBC

Definition. Given a set A, define
P(A):={BA}, the collection of subsets of A, called the power set of A.


Exercise. If A has n elements, then show that P(A) has 2n elements. 


“Functions”

Given two sets A,B, A×B={(a,b)aA,bB}.

Definition. Given “two sets A,B, we call f:AB is a function, if we have ” SfA×B satisfying: for each aA, there exists bB uniquely such that (a,b)Sf.



We call A the domain, B the codomain.
We call  Imf={b=f(a)aA} call the image (range) of f.



Proposition 2. Given f:AB a function, let A1A2A.

1. f(A1A2):={f(x)xA1A2}=f(A1)f(A2).

2. f(A1A2)f(A1)f(A2).
Proof. Exercise.

Definition. Given f:AB a function.


Let B1B.
Define f1(B1):={xAf(x)B1}, called the inverse image of f under B1


Proposition 3. Let f:AB be a function, B1,B2B.

(a) f1(B1B2)=f1(B1)f1(B2).

(b) f1(B1B2)=f1(B1)f1(B2).

(c) f1(B1c)=f1(B1)c.

Proof. Exercise.