Graphs and Digraphs
[94/98%]Draw the diagram of each of the following graphs :
and
and
Draw the diagram of each of the following graphs :
and .
and
Identify the simple graphs in the previous two problems. If a simple graph is identified, determine whether it is (i) a bipartite graph, (ii) a complete graph, (iii) a complete bipartite graph, or (iv) a complete nonbipartite graph.
The complement of a simple graph is the simple graph in which there is an edge between two vertices and if and only if there is no edge between and in . Obviously, the complement of the complement of is . Draw the diagrams of the complements of the simple graphs identified in Problems 1.1 and 1.2.
Show that the complement of a bipartite graph need not be a bipartite graph.
Draw the diagram of an orientation of the simple nonbipartite graph that is not complete identified from Problems 1.1 and 1.2.
Any orientation of the complete graph with vertex set is a tournament, and it is a transitive tournament if there is an arc from to whenever there is an arc from to and an arc from to for all choices of , and . Construct both a transitive tournament with four vertices and one that is not transitive.
Show that every simple graph of order is isomorphic to a subgraph of the complete graph with vertices.
If two graphs and are isomorphic, the order of is equal to the order of and the size of is equal to the size of .
Show that two graphs need not be isomorphic even when they both have the same order and same size.
Show that two simple graphs are isomorphic if and only if their complements are isomorphic.
Determine whether the three graphs given in Fig. 1-10 are isomorphic.
Fig. 1-10
Suppose is the number of nonisomorphic simple graphs with vertices and edges. Find .
Find all nonisomorphic simple graphs of order 4.
A simple graph that is isomorphic to its complement is called a self-complementary graph. Find a selfcomplementary graph of order 4.
Find two self-complementary graphs of order 5.
Find a vertex-induced bipartite subgraph of the graph in Fig. 1-6(a).
A set of vertices in a simple graph is an independent set (also known as an internally stable set) in if no two vertices in are adjacent. A set of vertices in is called a vertex cover if every edge in the graph is incident to at least one vertex in . Show that a set of vertices is a vertex cover if and only if its complement is an independent set.
An independent set in a simple graph is a maximum independent set if there is no independent set in such that . The number of vertices in a maximum independent set in is the independence number (also known as the internal stability number) of the graph . A vertex cover in a graph is a minimum vertex cover if there is no vertex cover such that . The number of vertices in a minimum vertex cover is called the vertex-covering number of the graph . Find the vertex-covering number and the independence number of the graph in Fig. 1-14.
Fig. 1-14
Show that in a simple graph of order .
A subset of vertices in a simple graph is a dominating vertex set (also known as an external dominating set) if every vertex not in is adjacent to at least one vertex in . Find:
a dominating vertex set that is not independent,
an independent set that is not a dominating vertex set,
a set that is an independent set as well as a dominating vertex set in the graph of Fig. 1-14.
A dominating vertex set is a minimum dominating vertex set if there is no dominating set such that . The number of vectors in a minimum dominating vertex set is the vertex domination number (also known as the external stability number) of the graph. Show that the vertex domination number of a simple graph cannot exceed its independence number.
An independent set is a maximal independent set if it is not a proper subset of another independent set. Show that an independent set is a dominating vertex set if and only if it is a maximal independent set. (A maximal independent set is not the same as a maximum independent set defined in Problem 1.19.)
Show that if there are at least two people who do not know each other among a set of individuals, it is possible to choose people from that set to form a committee such that no two individuals in the committee know each other and that every individual in the set not included in the committee is known to at least one person in the committee.
A committee as described in Problem 1.24 is a minimum committee if there is no committee such that . The committee number of a set is the cardinality of a minimum committee in the set. Find the committee number of the acquaintance graph in Fig. 1-14.
A set of edges in a graph is called a matching (also known as an independent edge set) if no two edges in have a vertex in common. A set of edges is an edge cover if every vertex of positive degree is a vertex of at least one edge in . Show that the complement of a matching need not be an edge cover. (Compare this result with that of Problem 1.18.)
A matching in a simple graph is a maximum matching (also known as maximum cardinality matching) if there is no matching such that . The edge independence number of a graph is the number of edges in a maximum matching. An edge cover of a simple graph is a minimum edge cover if there is no edge cover of such that . The edge-covering number of the graph is the sum of the number of edges in a minimum edge cover and the number of isolated vertices. Find the edge independence number and the edge-covering number of the graph of Fig. 1-14.
Show that in a simple graph, .
A set of edges in a graph is a dominating edge set if every edge not in has a vertex in common with an edge in . The edge domination number is the number of edges in a minimum edge domination set. Find the edge domination number of the graph of Fig. 1-14.
Show that the edge domination number cannot exceed the edge independence number.
Find a necessary and sufficient condition to be satisfied by a matching so that it is a dominating edge set.
Find the number of edges in the complete graph with vertices.
Using techniques from graph theory, show that .
Show that the number of vertices in a self-complementary graph is either or , where is a positive integer.
Find the number of edges in the complete bipartite graph .
Prove Theorem 1.1: The sum of the degrees of a graph is twice the number of edges in it.
Use Theorem 1.1 (the sum of the degrees of a graph is twice the number of edges in it) to find the size of:
;
.
Prove Theorem 1.2: Every graph has an even number of odd vertices.
Construct two nonisomorphic simple graphs with six vertices with degrees , and 3. Find the size of the graph thus constructed.
Show that if and are isomorphic graphs, the degree of each vertex is preserved under the isomorphism.
Show that two graphs and with the same set of vertices such that the degree of vertex is the same for both the graphs for every need not be isomorphic.
Prove Theorem 1.3: In a digraph, the sum of the outdegrees of all the vertices is equal to the number of arcs, which is also equal to the sum of the indegrees of all the vertices.
Show that there is no simple graph with 12 vertices and 28 edges in which
the degree of each vertex is either 3 or 4, and
the degree of each vertex is either 3 or 6.
Show that there is no simple graph with four vertices such that three vertices have degree 3 and one vertex has degree 1.
A labeled graph with vertices is obtained by assigning the labels to the vertices of agiven graph with vertices and edges. Two labeled graphs thus obtained from a given graph are necessarily isomorphic, but they need not be equivalent. Label the vertices of a simple graph with four vertices of degrees , and 3, creating three isomorphic graphs , and such that (i) and are equivalent, and (ii) and are not equivalent.
Find the number of nonequivalent labeled graphs with vertices.
Show that the number of vertices in a -regular graph is even if is odd.
Show that it is not possible to have a group of seven people such that each person in the group knows exactly three other people in the group.
Prove that in any group of six people, there will be either three people who know one another or three people who do not know one another.
The positive integer has the -Ramsey property if for every graph with vertices, either is a subgraph of or is a subgraph of the complement of . Show that the positive integer 6 has the -Ramsey property whereas the positive integer 5 does not.
Show that the following properties are equivalent: (i) the positive integer has the -Ramsey property, (ii) every simple graph with vertices has a clique of vertices or an independent set of vertices, and (iii) the edges of can be colored using two colors such that there will be either a clique in which all edges are of one color or a clique in which all edges are of the other color.
The smallest integer that has the -Ramsey property is called a Ramsey number, denoted . Show that:
,
,
.
Show that if a bipartite graph is regular, both and have the same number of elements.
A cubic graph is simple graph in which the degree of each vertex is 3. Construct two nonisomorphic cubic graphs each with six vertices.
Find the maximum number of edges in a bipartite graph.
The -cube (also known as the hypercube) is the graph whose vertices are the ordered -tuples of binary numbers, two vertices being joined by an edge if and only if they differ exactly in one component. Show that a -cube is a -regular bipartite graph, and find the number of vertices and edges in a -cube.
Find the fewest vertices needed to construct a complete graph with at least 1000 edges.
Show that the vertices of the bipartite graph with vertices in and vertices in can be enumerated so that the adjacency matrix has the form
where is an matrix in which each entry is 0 or is the transpose of , and 0 is a matrix in which each entry is zero.
Prove Theorem 1.4:
In the adjacency matrix of a graph, the sum of the entries in a row (or a column) corresponding to a vertex is its degree, and the sum of all the entries of the matrix is twice the number of edges in the graph.
In the adjacency matrix of a digraph, the sum of the entries in a row corresponding to a vertex is its outdegree, the sum of the entries in a column corresponding to a vertex is its indegree, and the sum of all the entries of the matrix is equal to the number of arcs in the digraph.
Prove Theorem 1.5:
The sum of the entries in a row of the incidence matrix of a simple graph corresponding to a vertex is its degree, and the sum of all the entries in the matrix is twice the number of edges.
The sum of the entries in a row of the incidence matrix of a digraph is its outdegree minus its indegree, and the sum of all the entries in the matrix is zero.
A permutation matrix is a square binary matrix that has exactly one 1 in each row and column. Two matrices and are isomorphic if there is a permutation matrix such that . Show that two graphs are isomorphic if and only if their adjacency matrices are isomorphic.
Find the adjacency matrices and of the two isomorphic graphs given in Fig. 1-18, and obtain a permutation matrix such that .
Fig. 1-18
The characteristic polynomial of a simple graph with vertices is the determinant of the matrix , where is the adjacency matrix and is the identity matrix. Show that if two graphs are isomorphic, their characteristic polynomials are the same. (Note: The determinant of is written .)
By computing the characteristic polynomials of the two graphs shown in Fig. 1-19, show that two nonisomorphic graphs can have the same characteristic polynomial.
Fig. 1-19
If is the adjacency matrix of a simple graph with vertices, the binary code of with respect to is the nonnegative integer , where . Find the binary code of the adjacency matrix of the graph , where and .
Show that it is possible to construct a simple graph if the binary code of one of its adjacency matrices and the order of are known.
The minicode of a graph is its smallest binary code, and the largest binary code is the maxicode of the graph. Find the minicode and maxicode of a simple graph with three vertices and two edges.
Prove Theorem 1.6: Let be a nonincreasing vector of (where is at least 2) nonnegative integers such that no component exceeds . Let be the vector obtained from by deleting and subtracting 1 from each of the next components of . Let be the nonincreasing vector obtained from by rearranging its components if necessary. Then is a graphical vector if and only if is a graphical vector.
Prove that the algorithm in Section 1.6 determines whether a given vector of nonnegative integers is a graphical vector.
Test whether is a graphical vector. If it is graphical, draw a simple graph with this vector as the degree vector.
Test whether graphical.
Let and , where . Show that is graphical if and only if is graphical.
Show that there is no simple graph with six vertices of which the degrees of five vertices are , and 1.
Find if is a graphical vector.
Show that a finite nonincreasing vector in which no two components are equal cannot be a graphical vector.
Show that in a simple graph, there are at least two vertices with equal degrees.
Show that there exists a simple graph with 12 vertices and 28 edges such that the degree of each vertex is either 3 or 5. Draw this graph.
Show that there exists a simple graph with seven vertices and 12 edges such that the degree of each vertex is 2 or 3 or 4.
Find the complements of:
.
Find the number of nonisomorphic graphs with four vertices and at most 3 edges.
Find the vertex covering number and the independence number of and .
Find the vertex dominating number of and .
Find the committee number of:
.
If is an independent set in a graph, find the subgraph induced by .
Find the maximum number of edges in
a simple graph with vertices; and
a bipartite graph , where the cardinalities of and are and , respectively.
It is known that there exists a simple graph with 12 vertices and 28 edges in which the degree of each vertex is either 3 or 5. Find the number of vertices of degree 3.
Find the number of nonequivalent graphs with four vertices and three edges.
Find the number of nonequivalent graphs with five vertices and three edges.
If is a -regular graph with vertices, find the number of triangles in and its complement.
Show that if every edge in a graph joins an odd vertex and an even vertex, the graph is bipartite. Is the converse true?
Any root of the characteristic polynomial of a graph is an eigenvalue of the graph. The spectrum of a graph is the collection of all its eigenvalues. Find the spectrum of:
,
,
.
Find the spectrum of .
Find the minicode and the maxicode of the simple graph with four vertices such that the degrees of the vertices are , and 3.
Find the minicode and maxicode of .