User Tools

Site Tools


math121b:sets

Sets

A vector space is a set with certain properties. What is a set?

A set is a collection of elements. For example, we can say, “the set of students in this room”, where each student would be an element of this set. Or we can say, “the set of possible outcomes of tossing a coin”, then it would contain two elements {Head,Tail}\{ Head, Tail\}.

The real number is a set R\R. It is an infinite set, meaning it contains infinitely many elements.

The rational number is a set Q\Q. It is also infinite. But it is countable, meaning, we can have a bijection between the natural number N\N, or we can a way of list all the elements in Q\Q (for example, we can enumerate them according to the size of the denominators 11,12,13,23,14,34, \frac{1}{1}, \frac{1}{2}, \frac{1}{3},\frac{2}{3}, \frac{1}{4},\frac{3}{4}, \cdots

If we are given two sets, denoted as AA and BB, we can define their Cartesian product, this is another set, defined as A×B={(a,b)aA,bB} A \times B =\{ (a,b) \mid a \in A, b \in B \} It consist of all possible pairs in AA and BB. If AA and BB are finite sets, then A×BA \times B is a finite, and A×B=A×B|A \times B| = |A| \times |B|, where A|A| means the number of elements in AA, or 'size' of AA.

We can form consecutive products, like (A×B)×C(A \times B) \times C. It is obvious that (A×B)×C=A×(B×C)(A \times B) \times C = A \times (B \times C), hence we will sometimes omit the parenthesis, and simply write A×B×CA \times B\times C.

We write R2=R×R\R^2 = \R \times \R and similarly Rn\R^n as Cartesian product of nn copies of R\R.

Maps and Functions

If A,BA, B are two sets, a map ff from AA to BB is an assignment, that for each aAa \in A, we assign an element f(a)Af(a) \in A. This is denoted as f:ABf: A \to B.

A real valued function on AA, is a map f:ARf: A \to \R.

math121b/sets.txt · Last modified: 2020/01/28 11:30 (external edit)