Combinatorics and Graph Theory
1.1.2 The Basics
-
Vertex set of a graph G is denoted
-
edge set denoted or
-
we may refer to them simply as V(E)
-
edges are denoted or simply as
-
directed graph:
- is a set of ordered pairs of vertices
-
multigraph:
- is a multiset and may contain repeated elements
-
pseudograph:
- allowing edges to connect a vertex to itself (loops)
-
infinite graphs:
- when or can be an infinite set
-
the order of a graph:
- the cardinality (size, number of elements) of its vertex set
-
the size of a graph:
- the cardinality of its edge set
-
adjacent vertices:
- if , then u and v are adjacent
- in other words, vertices are adjacent if they are connected by an edge.
-
nonadjacent vertices:
- are not connected by an edge.
-
incidence:
- is incident of if is an end vertex for .
-
(open) neighbourhood of a vertex :
- : the set of vertices adjacent to
-
closed neighbourhood of a vertex :
- is the set
-
neighbourhood of a set of vertices
- : the union of neighbourhood of vertices in
- similar definition for closed neighbourood
-
the degree of :
- : the number of edges incident with v
- aka number of outgoing edges of v
- in simple graphs, this is the same as the cardinality of the neighbourhood of
-
maximum degree of a graph
- denoted is the
-
minimum degree: similar definition as max
Perambulation and Connectivity
- walk
- a sequence of of vertices such that
- aka each subsequent vertex paired make an edge
- path
- where the vertices in a walk are distinct
- trail
- where the edges in a walk are distinct
- every path is a trail, but not every trail is a path
theorem: in a graph G with vertices u and v, every u-v walk contains a u-v path,
- vertex deletion:
- we let denote the graph obtained by removing and all edges incident with
-
- if is a set of vertices, we let denote the graph obtained by removing each vertex of S and all the incident edges.
- edge deletion:
- …
- connected component:
- each maximal connected piece of a graph is called a connected component.
- cut vertex
- if the deletion of a vertex from causes the number of compnents to increase, then is called a cut vertex
- cut set
- a proper subset S of vertices of a graph G is called a vertex cut set if the graph G - S is disconnected
- complete graph
- A graph where each vertex is adjacent to every other vertex (has an edge between them)
- complete graphs do not have any cut sets.
- connectivity
- the connectivity of denoted is the minimum size of a cut set .
- a graph is k-connected if
Special types of graphs
- regular graphs
- cycels
- paths
- subgraphs
- induced subgraphs
- bipartite graphs
isomorphic
- Graphs and are said to be isomorphic if there exists a one-to-one mapping that preserves adjacency
- the mapping is called an isomorphism
- when two graphs are isomorphic you can say G = H or G is H
- determining if two graphs are isomorphic is generally a difficult problem to solve
Distance in Graphs
- Combinatorics and Graph Theory, p.30
- the distance from vertex u to vertex v
- is the length (number of edges) of a shortest path in G
- we denote this distance by
- the eccentricity of vertex v, denoted
- the greatest distance from v to any other vertex
- in a connected graph G the radius of G denoted
- is the value of the smallest eccentricity
- the diameter of G, diam(G)
- the value of the greatest eccentricity
- the center of the graph G
- the set of vertices, v, s/t ecc(v) = rad(G)
- the periphery of G
- the set of vertices u, s/t ecc(u) = diam(G)
Graphs and Matrices
- Matrix representations of graphs are used in programming
- adjacency matrix:
- Let G be a graph with n vertices, the adjacency matrix of G is the matrix A whose entry is 1 if and are adjacent (connected by an edge), or 0 otherwise
- a graph can have multiple adjacency matrices.
- if and are two different adjacency matrices of the same graph G, there must exist a permutation of the vertices such that when the permutation is applied to the corresponding rows and columns of you get
- undefined
- distance matrix