2 Sets and Functions Flashcards

1
Q

Definition 2.1:
Sets

A

A collection of things, called its elements. π‘₯∈𝐴 := π‘₯ is an element of the set 𝐴.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Definition 2.5:
Subsets

A

Let 𝐴 and 𝐡 be sets.
- 𝐴 is a subset of 𝐡 (π΄βŠ†π΅) if every element of 𝐴 also lies in 𝐡.
- 𝐴 is empty if 𝐴 has no elements, i.e. π‘Žβˆˆπ΄ is never true.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Lemma 2.8

There can only be one

A

If 𝐴 is empty, then π΄βŠ†π΅ for any set 𝐡. In particular, there is precisely one empty set, denoted βˆ….

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Definition 2.9:
Power set

A

For any set 𝐴, the power set, denoted P(𝐴), is the set of all subsets of 𝐴. Thus 𝐡∈P(𝐴)βŸΊπ΅βŠ†π΄.
i.e. B an element of P(A) iff B is a subset of A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Definition 2.12:
Cardinality of a finite set

A

Let 𝐴 be a set containing only finitely many elements. The cardinality of 𝐴, denoted |𝐴|, is the number of elements in 𝐴.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Definition 2.17:
Unions, intersections and differences

A

Given sets 𝐴 and 𝐡
- union 𝐴βˆͺ𝐡 = {π‘₯∣π‘₯∈𝐴 or π‘₯∈𝐡};
- intersection 𝐴∩𝐡 = {π‘₯∣π‘₯∈𝐴 and π‘₯∈𝐡} = {π‘₯∈𝐴∣π‘₯∈𝐡} = {π‘₯∈𝐡∣π‘₯∈𝐴}
- difference π΄βˆ–π΅={π‘₯∈𝐴∣π‘₯βˆ‰π΅}
- In the special case where π΅βŠ†π΄, the difference π΄βˆ–π΅ is called the complement of 𝐡 in 𝐴.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Definition 2.20
Cartesian product

A

The Cartesian product of sets 𝐴1,…,𝐴𝑛 for some 𝑛β‰₯1 is 𝐴1×⋯×𝐴𝑛 = { (π‘Ž1,…,π‘Žπ‘›) ∣ π‘Žπ‘–βˆˆπ΄π‘– for 𝑖=1,…,𝑛 }.

E.g. For 𝐴={1,3} and 𝐡={4,5},
𝐴×𝐡={(1,4),(1,5),(3,4),(3,5)}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Definition 2.20
Cartesian powers

A

The Cartesian powers of a set 𝐴 are defined to be 𝐴^𝑛 = { (π‘Ž1,…,π‘Žπ‘›) ∣ π‘Žπ‘–βˆˆπ΄ for 𝑖=1,…,𝑛 }.

E.g. For 𝐴={1,3},
𝐴^2={(1,1),(1,3),(3,1),(3,3)}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Definition 2.23
Function

A

Given sets 𝐴 and 𝐡, a function (also called a map) 𝑓:𝐴→𝐡 is a rule that assigns to every element π‘Žβˆˆπ΄, a unique element 𝑓(π‘Ž)∈𝐡.
We call 𝐴 the domain of 𝑓 and 𝐡 the codomain of 𝑓.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Definition 2.25:
Graph of a function

A

Given a function 𝑓:𝐴→𝐡, the graph of 𝑓 is the subset of 𝐴×𝐡 given by Graph(𝑓) = { (π‘Ž,𝑏)βˆˆπ΄Γ—π΅ ∣ 𝑏=𝑓(π‘Ž) }.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Definition 2.28:
Identity map

A

Let 𝐴 be a be set.
The identity map id𝐴 is the map whose domain and codomain both equal 𝐴, and where id𝐴(π‘Ž)=π‘Ž for all π‘Žβˆˆπ΄.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Definition 2.28:
Composition

A

Let 𝐴,𝐡,𝐢 be sets.
Given functions 𝑓:𝐴→𝐡 and 𝑔:𝐡→𝐢, their composition (π‘”βˆ˜π‘“):𝐴→𝐢, which we read as β€˜π‘” follows 𝑓’, is the function given by (π‘”βˆ˜π‘“)(π‘Ž)=𝑔(𝑓(π‘Ž)) for π‘Žβˆˆπ΄.
We do not consider π‘”βˆ˜π‘“, unless the codomain of 𝑓 and the domain of 𝑔 coincide.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Definition 2.30:
Function spaces

A

Let 𝐴 and 𝐡 be sets. The set of functions from 𝐴 to 𝐡 is denoted 𝐡^𝐴 = {functions 𝐴→𝐡}.
Equivalently, 𝐡^𝐴 = {πΊβŠ†π΄Γ—π΅ ∣ 𝐺 is the graph of a function 𝑓:𝐴→𝐡}

The vertical line test (check if it is a function).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Definition 2.33:
Image of a function

A

Let 𝑓:𝐴→𝐡 be a function. The image of 𝑓, denoted Im(𝑓), is the subset of 𝐡 given by
Im(𝑓) = {π‘βˆˆπ΅ ∣ 𝑏=𝑓(π‘Ž) for some π‘Žβˆˆπ΄} = {𝑓(π‘Ž) ∣ π‘Žβˆˆπ΄}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Definition 2.34:
Injective

A

If whenever π‘Ž,π‘Žβ€²βˆˆπ΄ satisfy 𝑓(π‘Ž)=𝑓(π‘Žβ€²), it follows that π‘Ž=π‘Žβ€².

If there is a solution, then it is unique.

For 𝑓:ℝ→ℝ, horizontal line cuts graph of 𝑓 in at most 1 point.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Definition 2.34:
Surjective

A

If for all π‘βˆˆπ΅, there exists π‘Žβˆˆπ΄ such that 𝑏=𝑓(π‘Ž). i.e. Im(𝑓)=𝐡.

Every 𝑏 can be written as a function of π‘Ž.

17
Q

Definition 2.34:
Bijective

A

If 𝑓 is both injective and surjective.

A unique solution exists for all π‘βˆˆπ΅.

For 𝑓:ℝ→ℝ, horizontal line cuts graph of 𝑓 in exactly 1 point.

18
Q

Definition 2.41:
Left-inverse

A

Let 𝑓:𝐴→𝐡 and 𝑔:𝐡→𝐴 be functions.
Then 𝑔 is a left inverse of 𝑓 if π‘”βˆ˜π‘“=id𝐴.

19
Q

Definition 2.41:
Right-inverse

A

Let 𝑓:𝐴→𝐡 and 𝑔:𝐡→𝐴 be functions.
Then 𝑔 is a right inverse of 𝑓 if π‘“βˆ˜π‘”=id𝐡.

20
Q

Definition 2.41:
Two-sided inverse

A

Let 𝑓:𝐴→𝐡 and 𝑔:𝐡→𝐴 be functions.
Then 𝑔 is a two-sided inverse of 𝑓 if π‘”βˆ˜π‘“=id𝐴 and π‘“βˆ˜π‘”=id𝐡.

21
Q

Definition 2.53:
Finite set

A

A set 𝐴 is finite if 𝐴=βˆ… or if there exists π‘›βˆˆβ„• and a bijective map 𝑓:{1,…,𝑛}→𝐴.

The cardinality of 𝐴 is defined to be 0 when 𝐴=βˆ…, and it is |𝐴|:=𝑛 when there is a bijective map 𝑓:{1,…,𝑛}→𝐴.

22
Q

Definition 2.61:
Countable sets

A

The set 𝐴 is countably infinite if there is a bijection 𝑓:ℕ→𝐴.
𝐴 is countable if 𝐴 is finite or countably infinite.

23
Q

Definition 2.62 preface:
Binary relation

A

A binary relation ∼ on a set 𝐴 is a property that any given pair of elements of 𝐴 (π‘Ž,π‘βˆˆπ΄) either satisfy (π‘ŽβˆΌπ‘), or they do not satisfy (π‘Žβ‰π‘).

A binary relation ∼ is determined completely by the set {(π‘Ž,𝑏)βˆˆπ΄Γ—π΄βˆ£π‘ŽβˆΌπ‘} of pairs that satisfy the relation.

A binary relation on a set 𝐴 is a subset of 𝐴×𝐴 (comprising the pairs (π‘Ž,𝑏) for which π‘ŽβˆΌπ‘).

24
Q

Definition 2.62:
Equivalence relation

A

A binary relation ∼ on a non-empty set 𝐴 is an equivalence relation if it is reflexive (R), symmetric (S) and transitive (T).

25
Q

Definition 2.62:
Reflexive

A

∼ is reflexive if
for π‘Žβˆˆπ΄, we have 𝑓(π‘Ž)=𝑓(π‘Ž), so π‘ŽβˆΌπ‘Ž

26
Q

Definition 2.62:
Symmetric

A

∼ is symmetric if:
π‘ŽβˆΌπ‘ β‡’ π‘βˆΌπ‘Ž for all π‘Ž,π‘βˆˆπ΄.

for π‘Ž,π‘βˆˆπ΄, if 𝑓(π‘Ž)=𝑓(𝑏), then 𝑓(𝑏)=𝑓(π‘Ž).

27
Q

Definition 2.62:
Transitive

A

∼ is transitive if:
(π‘ŽβˆΌπ‘ and π‘βˆΌπ‘) β‡’ π‘ŽβˆΌπ‘ for all π‘Ž,𝑏,π‘βˆˆπ΄.

28
Q

Definition 2.64:
Equivalence classes

A

Let ∼ be an equivalence relation on 𝐴.
For each π‘Žβˆˆπ΄, the equivalence class of π‘Ž is [π‘Ž] = { π‘₯∈𝐴 ∣ π‘₯βˆΌπ‘Ž }.

Let 𝐴/∼ = { [π‘Ž] ∣ π‘Žβˆˆπ΄ } denote the set of equivalence classes.

[π‘Ž] is the set of elements in 𝐴 where π‘₯βˆΌπ‘Ž.

29
Q

Definition 2.67:
Partition of a set

A

A partition of a set 𝐴 is a set of pairwise disjoint non-empty subsets of 𝐴 whose union is 𝐴.

i.e. a set {𝐴_𝑖}(π‘–βˆˆπΌ) of non-empty subsets 𝐴_π‘–βŠ†π΄ such that 𝐴=⋃(π‘–βˆˆπΌ)𝐴_𝑖 and (𝐴_𝑖)∩(𝐴_𝑗)=βˆ… for all 𝑖,π‘—βˆˆπΌ with 𝑖≠𝑗.

30
Q

Definition 2.71:
The set of permutations on 𝑛 letters

A

For π‘›βˆˆβ„•, a bijective map 𝜎:{1,…,𝑛}β†’{1,…,𝑛} is called a permutation on 𝑛 letters.
Let 𝑆_𝑛 denote the set of all permutations on 𝑛 letters.

31
Q

Definition 2.75:
Cyclic permutations

A

For π‘š<𝑛, an π‘š-cycle in 𝑆𝑛 is a permutation πœŽβˆˆπ‘†π‘› that cyclically permutes π‘š elements of {1,…,𝑛} and fixes the remaining elements. We write 𝜎 = ( π‘Ž,𝜎(π‘Ž),…,𝜎^(π‘šβˆ’1)(π‘Ž) ).

32
Q

Definition 2.75:
Transpositions

A

A 2-cycle (permutation).

33
Q

Definition 2.78:
Even and odd permutations

A

A permutation is [odd/even] if it can be written as the composition of an [odd/even] number of transpositions.

34
Q

Definition 2.79:
Sign of a permutation

A

Let sign:𝑆𝑛→{1,βˆ’1} be the function defined by sending a permutation 𝜎 whose π‘˜ orbits are cycles of lengths π‘š1,…,π‘šπ‘˜ to
sign(𝜎) = (βˆ’1)^[ (π‘š1βˆ’1)+(π‘š2βˆ’1)+β‹―+(π‘šπ‘˜βˆ’1) ].