language of graphs Flashcards
vertex
shown as a point on a graph
sometimes labelled, sometimes not
edge
a line or curve with a vertex at each end
walk
a set of edges joined end to end, so the end vertex of one edge is the start vertex of the next
trail
a set of edges joined end to end, that does not repeat an edge
can repeat vertices although often do not
cycle
a trail that starts and finishes at the same vertex. other than the start being the same as the finish, vertices are not repeated in a cycle
adjacent
two vertices are directly connected if there is a edge with these vertices at its end
connected
a graph is connected if it is possible to get from any vertex to any other, directly or indirectly
loop
an edge that directly connects a vertex to itself
multiple edge
when there is more than one edge that directly connect the same pair of vertices
simple graph
a graph with no loops and no multiple edges
degree
the degree of a vertex is the number of edges that end at that vertex
subgraph
a graph formed by using some or all of the vertices of a graph together with some or all of the edges that connect these vertices.
a graph contained within another graph. this could result in an unconnected vertex however they are usually connected
subdivision
inserting a vertex of degree 2 into an edge. increases the number of vertices by one and the number of edges by one
complete graph
a simple graph on a given number of vertices, with the maximum possible number of edges. each vertex is connected by a single edge of the other vertices. the complete graph with n vertices is denoted by Kn AND HAVE 1/2 n(n-1) edges
bipartite graph
a simple graph that can be partitioned into two sets so that every edge joins a vertex from one of these sets to a vertex in the other set. no edge connects two vertices in the same set
complete bipartite graph
each vertex in the first set is connected by a single edge to each vertex in the second set. the complete graph with m vertices in the first set and n vertices in the second set is denoted by Km,n and has mn edges
adjacency matrix
shows the number of edges that directly connect each pair of vertices
complement
the complement of a simple graph is the set of edges that when added to the graph make a complete graph
simple-connected graph
a graph that is both simple and connected
tree
a simple connected graph with the minimum possible number of edges
traversable graph
a graph that can be drawn as a trail, without going over the same edge twice
eulerian graph
a connected graph that has no vertices of odd degree. they are traversable, with the trail starting and finishing at the same vertex
semi-eulerian graphs
a connected graph that has exactly two vertices of odd degree, they are traversable, but the trail starts at one vertex and finishes at a different vertex
hamiltonian graph
a graph that contains a cycle that passes through every vertex exactly once, apart from starting and finishing at the same vertex. the cycle is called a hamiltonian cycle. there will usually be edges in the graph that are not used in the cycle