學海無涯,思境無維;數乃六藝,理之始也。
或有一得足矣 愚千慮

Set Theory

1.1 Set Notation and Relations

Set : A collections of elements.
Set A, if

xA,
x
is an element of A. Or
xA
,
x
is not an element of A.
{A={1,2,3}N:the natrual numbers,{1,2,3,}Z:the integers,{,3,2,1,0,1,2,3,} as a setQ:the rational numbers as a setR:the real numbers as a setC:the complex numbers as a setP:the positive integers as a set

Set-Builder Notation

Q={a/ba,bZ,b0}C={a+bia,bR,i2=1}

Finite Set: the set has a finite number of elements.

Cardinality: the number of the elements in the set, denoted |A|.

Subset:

aAaB , denoted
AB
,
ex:
NZQRC

Set Equality:

(AB)(BA), denoted
A=B

we don't care the order of the elements in the sets.

Empty set/Null set:

Improper subset: for any set A, A is called an improper subset of A.

Proper subset: for other subsets of A(including

) are called proper subset of A.

1.2 Basic Set Operations

Intersection:

AB={xxA and xB}

Solving the system of linear equations could be viewed as an intersection.

{x+y=7xy=3{A={(x,y)x+y=7}B={(x,y)xy=3}AB=(5,2)

Disjoint Sets:

AB=

Union:

AB={xxA or xB}

Universe: The universe, or universal set, is the set of all elements under discussion for possible membership in a set. We normally reserve the letter U for a universe in general discussions.

1.2.2 Set Operations and their Venn Diagrams

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Complement of a set:

BA={xxB and xA}

If U is the universal set, then

UA is denoted by
Ac
and is called the complement of A.
Ac={xxU and xA}

Symmetric Difference: (Exclusive)

AB=(AB)(AB)

1.3 Cartesian Products and Power Sets

Cartesian Product: A,B are sets.

A×B={(a,b)aA and bB}, (a,b) is an ordered pair.

ex: Cartesian coordinate system could be viewed as Cartesian products of the same infinite set(

R).

|A×B|=|A|×|B|

An=A×A××An

1.3.2 Power Sets

Power Set: If A is any set, the power set of A is the set of all subsets of A, denoted

P(A).

ex:

  • P()=
  • P({1})={,{1}}
  • P({1,2})={,{1}{2}{1,2}}

1.4 Binary Representation of Positive Integers

Grouping by Twos

1.5 Summation Notation and Generalizations

{k=1nak=a1+a2++ank=1nak=a1a2ank=1nak=a1a2ank=1nak=a1a2ank=1nak=a1a2an×k=1nak=(a1,a2,,an)

tags: math set