Definitions S1 Flashcards

(45 cards)

1
Q

Empty Set

A

The unique set that has no elements at all.
Denoted as: ∅
Aka: {x ∈ Z+ | x < 0} = ∅.

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

Equal Sets

A

2 sets (A + B) are equal (A=B) if they have precisely the same elements.
i.e. A = B means x ∈ A ⇒ x ∈ B, and vice versa.

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

Subset

A

For sets A and B:
A is a subset of B when every element of A is an element of B.
denoted: A ⊆ B
i.e. x ∈ A ⇒ x ∈ B

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

Proper subset

A

For sets A and B:
when A is not equal to B, A is a proper subset of B
denoted: A ⊊ B

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

Cardinality

A

For a finite set X:
cardinality is the number of elements in the set.
denoted: |X|

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

Intersection

A

For 2 sets A and B:
intersection = the set elements which lie in both A and B.
denoted: A ∩ B
Mathematically: A ∩ B = {x | x ∈ A and x ∈ B}.

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

Disjoint

A

For sets A and B:
they’re disjoint if they share no elements (A ∩ B = ∅)

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

Union

A

For sets A and B:
union is the set of elements which lie in A or in B.
denoted: A ∪ B
Mathematically: A ∪ B = {x | x ∈ A or x ∈ B}

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

difference

A

For 2 sets A and B:
the difference of A and B: the set of elements that lie in A but not B.
denoted: A \ B
Mathematically: A \ B = {x | x ∈ A and x ∉ B}

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

Universal set

A

a set which has elements of all the related sets, without any repetition of elements

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

Complement

A

Let A be a set with universal set U:
Complement would be everything outside A.
denoted: Aᶜ
Mathematically: Aᶜ=U\A={x|x ∈ U and x ∉ A}

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

ordered pair

A

a list of two things enclosed in parentheses and separated by a comma.
i.e. (x,y)

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

Cartesian Product

A

Given sets X and Y:
Cartesian product is the set of all ordered pairs (x,y) where x ∈ X and y ∈ Y.
denoted: X * Y
Mathematically: X * Y = {(x,y)|x ∈ X, y ∈ Y}

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

Relation

A

On set X is a subset of X * X
denoted: ~
Mathematically: x ~ y when (x,y) ∈ ~

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

congruence modulo n

A

a type of relation on Z for each integer n ≠ 0
2 integers are congruent modulo n IOI x - y is divisible by n.
denoted: x ≡ y mod n

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

Reflexive

A

(suppose ~ is a relation on set X)
~ is reflexive if x ~ x for all x ∈ X

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

Symmetric

A

(suppose ~ is a relation on set X)
~ is symmetric if x ~ y implies that y ~ x for every x,y ∈ X

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

transitive

A

(suppose ~ is a relation on set X)
~ is transitive if x ~ y and y ~ z implies x ~ z for all x,y,z ∈ X

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

equivalence relation

A

a ~ on X is an equivalence relation if it’s reflexive, symmetric and transitive

20
Q

equivalence class

A

(an equivalence relation on sets)
let ~ be an equivalence relation on X and x ∈ X.
equivalence class of x is:
{ a ∈ X | a ~ x}
denoted: [x]

21
Q

partition

A

of a set X partition is a set of non-empty subsets of X
s.t. the union of all the subsets equals X
+ the intersection of any 2 different subsets is ∅ (mutually or pairwise disjoint)

22
Q

statement

A

a mathematical expression that is either definitely true or definitely false

23
Q

logical equivalence

A

2 statements are logically equivalent if their truth values match up line-for-line in a truth table

24
Q

Fibonacci sequence

25
prime number
a number greater than 1 which is only divisible by 1 and itself
26
rational number
if it can be written as a fraction a/b where a, b ∈ Z
27
function
the assignment of a unique element in one set to each element of a second set.
28
domain and codomain
input = domain output = codomain
29
image of a function
let f: X -> Y be a function: im f = { f(x)|x ∈ X} NB: im f ⊆ Y
30
equal function
Two functions ( f & g) are equal if they have the same domain and codomain and f(x) = g(x) for all x ∈ X
31
identity function
for any set X, the id: X -> X is id (x) = x
32
define composition for functions: f: X -> Y g: Y -> Z
g ◦ f : X -> Z g ◦ f(x) = g ( f(x))
33
for the function f: X -> Y define injective, surjective + Bijective
f is: injective (one-to-one) if (for all a,b ∈ X) f (a) = f (b) then a = b surjective if (for all y ∈ Y) there exists at least one x ∈ X such f (x) = y bijective if f is surjective + injective
34
same size/cardinality of sets
if there is a bijection between them
35
for the function: f: X -> Y define: left inverse, right inverse and inverse
left inverse: a function g: Y -> X s.t: g ◦ f = id_X right inverse: a function h: Y -> X s.t.: f ◦ h = id_Y inverse: a function k: Y -> X which is both a left and right inverse = f is invertible
36
permutation
let X be a set: a permutation is a bijection X -> X
37
powers of permutations
if f ∈ S_n is a permutation, then f^2 = f f = f ◦ f
38
order of a permutation
notation: o (σ) the smallest +ve integer n ∈ N s.t. σ^n = id
39
m-cycle
A permutation written as (a₀, a₁, ..., aₘ₋₁) where: - m > 0 and all aᵢ are distinct integers. - Each element maps to the next: aᵢ → aᵢ₊₁ for i < m–1, and aₘ₋₁ → a₀. - All other elements not in the cycle map to themselves. the cycle has length m.
40
A disjoint collection of cycles
if they share no elements
41
transposition
a 2-cycle. i.e. (2,3)
42
adjacent transposition
a permutation in the form (i, i + 1)
43
odd permutation
if it may be written as an odd number of transpositions
44
even permutation
if it can be written as an even number of permutations
45
sign of a permutation
1 if its even and -1 if its odd denoted: sgn (permutation)