Discrete Maths Flashcards
Existence
Determining whether there is a solution
Construction
Involves finding a solution
Enumeration
Finding out how many solutions there are
Optimisation
Finding out the best solution, according to some measure, perhaps the shortest of cheapest or most profitable
Partition
A partition is a collection of disjoint subsets of a given set such that the union of the subsets must equal the original set
Pigeon Hole principle
If there are m pigeonholes and n pigeons where m is smaller than n, there will be at least one pigeonhole with more than one pigeon
What does nPr mean
The number of permutations of r objects selected from n objects
n!/(n-r)!
What does nCr mean
The number of combinations or selections of r objects chosen from n objects
N!/(n-r)!r!
Degree
Number of arcs incident to that vertex
Adjacent
For vertices- joined by an edge
For edges- share a common vertex
Tree
Simply connected graph with no cycles
Simple
No multiple edges or loops
Connected
Exists a path between every pair of vertices
Walk
Set of arcs where the end vertex of one is the start vertex of the next
Trail
Walk where no arcs are repeated
Path
Trail where no nodes are repeated
Cycle
Closed path
Route
Can be a walk trail or path or a closed walk rail or path
Complete Kn
Kn is a complete graph of n vertices
A Graph where every two vertices share exactly one edge and where there are no loops
No of edges = n•(n-1)/2
A bipartite graph
The vertices can be divided into two sets with edges only joining a vertex in one set to a vertex in the other
A complete bipartite graph
Km,n
Each of the m vertices on one side is connected exactly once to each of the n vertices on the other
It has nm edges
Eulerian
It is possible to travel round a graph without repeating any edges (along a trail) so that all the edges in the graph are covered. If the trial ends at its starting point it is Eulerian.
If it has no odd vertices, it is Eulerian
Semi Eulerian
It is possible to travel round a graph without repeating any edges (along a trail) so that all the edges in the graph are covered. But the trail does not end at it’s starting point
If just two of the vertices are odd.
It is semi-Eulerian.
Hamiltonian graph
Finding a route around a graph that visits all the vertices exactly once. And returns to the staring point
Edges cannot be repeated as this would mean a vertex is repeated. Not all edges must be traversed.