combinatorics cards Flashcards

1
Q

pigeonhole principle

A

let n∈ℕ. If at least n+1 pigeons are placed in n pigeonholes, then some pigeonhole contains at least two pigeons

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

pigeonhole principle general

A

let n,k∈ℕ. If at least n pigeons are placed in k pigeonholes, the some pigeonhole contains atleast ⌈n/k⌉ pigeons

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

ceiling of x, ⌈ x ⌉

A

the smallest integer greater than or equal to x

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

floor of x, ⌊ x ⌋

A

the greatest integer less than or equal to x

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

⌈ x ⌉ =

A

⌊ - x ⌋

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

other ways the define the set {1,2,3,4}

A

EXAMPLES
{x∈ℕ: x<5}
{x-1| x∈{2,3,4,5}}

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

Union

A

AUB is the set consisting of anything in A OR anything in B

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

Intersection

A

A∩B is the set consisting of anything in A AND anything in B

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

Difference

A

A\B is the set consisting of anything in A but not in B

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

Complement

A

In context of the universal set the complement of A is defined by Aᶜ = U/A

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

consequences of the axiom of extension

A
  • it doesnt matter the order of elements
  • elements cannot appear in a set more than once
  • There is exactly one set with no elements called the empty set {}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

property of ∈

A

not transitive i.e. if a∈b and b∈c that doesn’t mean a∈c

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

subset

A

A is a subset of B if the set A is contained in B. A⊆B.

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

image of a under f

A

f(a)

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

image

A

the set of elements in the codomain which are mapped to

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

functions a and b are equal if

A
  1. equal domains
  2. equal codomains
  3. same rule
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

injective

A

different elements of the domain map to different elements in the codomain

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

surjective

A

every element of the codomain is mapped to

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

bijective

A

both injective and surjective

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

if f is a bijection then there is precisely…

A

one element of the domain s.t. f(a)=b

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

bijective functions are…

A

invertible

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

the inverse of a bijection is…

A

a bijection

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

A set X has size n if there exists…

A

a bijection f:{1,2…n}->X

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

distributivity of ∩ and ∪

A

A∩(B∪C) = (A∩B)∪(A∩C)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
∩ ∪ are
associative and commutative
26
ordered r-tuple
a sequence of r objects which we refer to as elements or co-ordinates in a given order (a,b,c,...)
27
in tuples..
order matters and elements can be repeated
28
cartesian product
cartesian product of A and B is given by AxB {(a,b): a∈A and b∈B}
29
powers of sets
Aⁿ = AxAx...xA
30
Power set
a set whose elements are the subsets of A
31
choosing a possibility of one type or another
m+n posiibilities (assuming no overlap)
32
choosing a possiblity of each type
mn posibilities
33
Uniformly random choice
a choice where all outcomes are equally as likely
34
probability of an event where there are a finite number of possible outcomes each with a uniformly random chance of being picked
P(E) = number of outcomes for which E occurs/ total number of outcomes
35
binomial coefficiant of n choose n
1
36
binomial coefficiant of n choose n-1
n
37
binomial coefficiant of n choose n-2
n(n-2)/2
38
ways to choose r elements from a set of size n where order matters and repition is allowed
39
ways to choose r elements from a set of size n where order matters and repition is not allowed
n!/(n-r)!
40
ways to choose r elements from a set of size n where order doesnt matter and repition is allowed
n+r-1 choose r
41
ways to choose r elements from a set of size n where order doesn't matter and repition is not allowed
n choose r
42
permutation
A permutation of set S of size n is an ordered n-tuple in which each element of S appears once
43
0! =
1
44
If there is an overlap of sets then
use inclusion exclusion
45
probability of an element being chosen from a total of n elements where order matters and repetition is not allowed
(n-r)!/n!
46
probability of an element being chosen from a total of n elements where order matters and repetition is allowed
1/nʳ
47
probability of an element being chosen from a total of n elements where order doesn't matter and repetition is allowed
no probability
48
probability of an element being chosen from a total of n elements where order doesnt matter and repetition is not allowed
r!(n-r)!/n!
49
workout the probability of certain values being chosen
1. workout the outcomes that fit the condition given 2. workout the total number of possible outcomes 3. divide the value from 1. by the value from 2.
50
how many permutations are there of S? where |S|=n
n!
51
finding the probability for an unordered set where repetition is allowed
1. work out the possible set outcomes 2. pick out the ordered sets which match the condition. workout all the permutations of these sets 3. divide the no. permutations of all the possible sets by the the set of possible outcomes.
52
binomial theorem
allows you to express a power of a sum as a sum of individual terms
53
if |X|≤|Y| and |Y|≤|Z| then
|X|≤|Z|
54
if |X|≤|Y| and |Y|≤|X| then
|X|=|Y|
55
for to sets we must either have
|X|≤|Y| or |Y|≤|X|
56
A proper subset may have the same...
cardinality as the original set
57
The smallest cardinality of an infinite set is...
|ℕ|
58
countable infite
if there exists a bijection f:ℕ->X
59
A set is countable if
it is finite or countably infinite
60
A set in uncountable if
its not finite or countably infinite
61
small infinite set
countably infinite stes
62
large infinite sets
uncountable sets
63
Continuum hypothesis
Does there exist a set whose cardinality is larger than |ℕ| and smaller than |ℝ|
64
Russels paradox
There is a contradiction by defining sets {n:n is an element in a set} and says sets must be defined like {x∈X: x satisfies this property}
65
graph
a structure consisting of vertices and edges where each edge links two distinct vertices and any two distinct vertices are linked by at most one edge
66
two graphs are equal if
they have the same set of edges and vertices
67
Two graphs G and H are isomorphic if
we can transform G to H by relabelling vertices. | The are the same graph
68
how to calculate how many labelled graphs there are with a given vertex set
1. work out the edge set, E, and size of edge set |E| | 2. the are 2|ᴱ| graphs with vertex set V
69
how to calculate how many graphs there are with n vertices up to isomorphism
1. work out how many graphs there are with 0,1,...|E| edges | 2. sum these to get a total number of graphs
70
Complement of a graph
the inverse of the graph
71
regular graphs
all the vertices have equal order
72
complete graph
has an edge between every pair of vertices
73
total number of edges in a complete graph
n choose 2
74
copy
An instance of another graph at a specific point
75
Walk
any order of adjacent vertices where vertices and edges can be repeated as many times as you like.
76
connected
a graph is connected if there is a walk through all the vertices or alternatively if there is a path from u to v in G
77
connected components
the subgraphs that are connected (If the graph is connected there is one connected component: the graph)
78
acyclic
doesn't contain a cycle
79
what does deleting an edge in a cycle do to graph connectedness
nothing
80
What three properties imply each other for trees
1. T is connected 2. T is acyclic 3. T has n-1 edges where n is the order of the tree
81
size of a closed walk in a bipartite graph
2n (even)