Proof.
We now begin to prove that exactly 12 connected graphs
G have
using a different approach than that of Gomez, Rubi, Terrazas, and Narayan [
7]. By Lemma 1, all of these graphs have at most six vertices.
Let x and y be the two vertices in S. We consider various cases using the notation where x is adjacent to i white vertices and y is adjacent to j white vertices. We also include a designated overlap corresponding to the number of neighbors x and y have in common.
We first note in the case of 0/0, x and y would be the only vertices in the graph, and for this type of graph .
In the cases 1/✳ where “✳” represents any positive integer for which the set of blue vertices is not a stalled set.
We note in all of the following cases where x is adjacent to zero white vertices, x and y must be adjacent for the graph to be connected.
Let x be adjacent to zero white vertices and let y be adjacent to at least three white vertices including , and w. Suppose one of the vertices has degree one. Without loss of generality, assume . Then, is an FZFS of size three.
We handle the cases where and separately.
First, assume . Suppose all of the vertices have degrees larger than one. Then, it must mean one of the vertices or w are has degree three and can be added to vertices to x and y to create an FZFS of size three.
Next, assume . Here, we include a new vertex z.
First, we consider if y is adjacent to , and z. Again, if any of the vertices or z has degree one, then it could be added to x and y to form an FZFS of size three. So we proceed under the assumption that , and z all have degree at least two. In the case where they all have degree two, y would be part of two pendant triangles, which implies that . If one of the vertices , or z has degree three, then it could be added to x and y to create an FZFS of size three.
The last case is where z is adjacent to u,v, or w. If z is adjacent to u and , then form an FZFS of size four. If , then is an FZFS of size three.
Let x be adjacent to zero white vertices and y be adjacent to two white vertices w and z.
If
y is not contained in a cycle, then
has three components. If
w and
z each have degree one, then we have the graph shown in
Figure 2, which is the same as graph (viii) in
Figure 1. If
w or
z have a degree larger than one, then we could take all of the vertices in a largest component of
and add
y to form a failed zero forcing set of size at least three. If
y is contained in a cycle of length at least four, then there is some vertex that has degree at least two and has distance at least two from
y. This can be added to
x and
y to form a failed zero forcing set with size at least three.
If
y is contained in a cycle of length three, then
w and
z are adjacent. This graph would have a failed zero forcing number of two and is shown in
Figure 3, which is graph (vi) in
Figure 1.
Next, from this graph, we consider if or .
If
, then
w would be adjacent to two white vertices
and
. If both
and
have degree one, then the graph contains a cherry and
(See
Figure 4). Next, we consider if at least one of
and
has a degree greater than or equal to two. Assume that
. Then,
, and
y form a stalled set of size three.
We next consider when
w has degree three and
z has degree two. Then, if
w is adjacent to a vertex
, then it would form a graph shown in
Figure 5, which is graph (xiii) in
Figure 1.
We note that no other vertices can be adjacent to since would imply that , and would be a stalled set of size three.
However, it is possible for another vertex to be adjacent to
z. For this case we consider when both
w and
z have degree three. Then, if
w is adjacent to a vertex
, then it would form the graph in
Figure 6 which is graph (xiv) in
Figure 1.
We note that no other vertices can be adjacent to . This is similar to the previous case involving .
We consider different possibilities of adding edges to the graphs in
Figure 7. Edges are added between vertices in the set
. We note we must add at least one edge between a vertex on the left side and a vertex on the right side for the graph to be connected.
If there is only one edge between a white vertex on the left side and a white vertex on the right side and no other edges are added, then the graph is .
If there are two edges between the left side and the right side, then there are two vertices of degree at least two that are both adjacent to either x or y. Then, these two vertices can be added to S and their common neighbor can be removed to create an FZFS of size three.
We consider different possibilities of adding edges to the graphs in
Figure 8. Edges are added between vertices in the set
. If no edges are added, the graph has a cherry and
.
If there is only a single edge between vertices on the left side and vertices on the right side, then the graph is a with pendant edges on adjacent vertices. A FZFS of size three can be formed by taking a vertex of degree one, its neighbor, and a vertex that has degree two and has distance three from the chosen vertex of degree one.
If there are two or more edges from vertices on the left side and vertices on the right side, then there is a pair of vertices of degree at least two that are both either adjacent to x or y. The pair of vertices can then be added to S and we can remove their common neighbor from S to create an FZFS of size three.
We next consider cases where x and y share exactly one neighbor. Here, if x or y is adjacent to four white vertices, and the other is adjacent to two white vertices; then, the graph would have more than six vertices. Hence, there is no 4/2 overlap on one case.
Here, we consider cases where
x is adjacent to three white vertices and
y is adjacent to two white vertices, and
x and
y have exactly one white neighboring vertex in common. The cases where
x and
y are adjacent or nonadjacent proceed in the same way. Since the maximum number of vertices in a graph with
is six, no other vertices can be added. We consider adding edges between any of the white vertices
, and
z. We show in each of the 64 cases
. Note in each case, we added edges to the graph in
Figure 9.
First, we note that if v is adjacent to two or three of the other white vertices, then v could be added to x and y to form a failed zero forcing set of size three. The same is true for u. This accounts for 44 of the cases.
If no edges are added between vertices , and z, or if only the edge is added, then we can apply the cherry lemma and .
If or the edge set are added with no other edges, then we have a pendant , and .
If or the edge set is added with no other edges, then forms an FZFS of size three.
If the edge set or with no other edges, then is an FZFS of size three.
If the edge set or or are added with no other edges, then is an FZFS of size three.
If the edges and are added with no other edges, then is an FZFS of size three.
If the edge set or is added with no other edges, then is an FZFS of size three.
If or the edge set is added with no other edges, then is an FZFS of size three.
If is added with no other edges, then is an FZFS of size three.
If the edge set or the edge set is added with no other edges, then is an FZFS of size three.
If the edge set is added with no other edges, then is an FZFS of size three.
None of these cases result in a graph with .
Let
x and
y be the only vertices in the colored set
S and
, and let
x and
y each be adjacent to exactly one other uncolored vertex,
q and
w, respectively. This graph is shown in
Figure 10.
Note that graphs in this case have a minimum of five vertices due to the structural constraints of the case and a maximum of six vertices due to Lemma 1.
We first consider the case where x and y are adjacent. For graphs with five vertices, we must consider adding any combination of edges in the set . We break these into six cases, covering the remaining two using the symmetry between edges and .
Case (i) , then is an FZFS of size three.
Case (ii)
. Then, we obtain a fan graph (xi) in
Figure 1 with
.
Case (iii) , then is an FZFS of size three.
Case (iv) , then is an FZFS of size three.
Case (v)
. This is the house graph with
and is shown in
Figure 11.
Case (vi)
. This graph is the first graph shown in
Figure 11 and has
.
For graphs with six vertices, we consider various cases involving adding a vertex
v and edges to the graph shown in
Figure 10.
If v is adjacent to two white vertices, then form an FZFS of size three.
If and , an FZFS can always be formed by the set
If
is the only edge added, then we have the graph (xiv) in
Figure 1.
If and are the only edges added, then forms an FZFS of size three.
If is the only edge added, then is an FZFS of size three.
If and are the only edges added, then is an FZFS of size three.
If and are the only edges added, then is an FZFS of size three.
FZF sets of size three from the five-vertex case can be used in with six vertices in some of these cases. We next consider the cases where x and y are not adjacent.
We first consider graphs on five vertices. We look at the different possibilities for adding edges to .
Case (i) , G has a pendant triangle and .
Case (ii) , G has a pendant triangle and .
Case (iii) . This is the house graph.
Case (iv)
. This is the fan graph
, which is graph (xi) in
Figure 1.
Case (v)
. This is
(xii) in
Figure 1.
Case (vi)
. This is
(ix) in
Figure 1.
The graphs that were obtained above are shown in
Figure 12.
Next, we consider graphs with six vertices. We can cover all 2/2 with one overlap cases by starting with on vertices and w, where x and y are in S and we add a new vertex v.
We first note that for the graph to be connected, v must be adjacent to at least one white vertex. If it is adjacent to two white vertices, then is an FZFS of size three.
Next, we consider different cases for adding edges to the graph shown in
Figure 13. We note that some cases can be removed since the graph has a horizontal symmetry. We consider two sets of cases (i)
(or
), and (ii)
is added to the graph shown in
Figure 13.
We first add (which is symmetric to adding ). Then, we consider cases for adding other edges between vertices and w. Since there are three different edges to add, there are cases.
If no other edges are added, then the graph is
which is graph (xv) in
Figure 1.
If the edge is added, then is an FZFS of size three.
If the edge is added, then is an FZFS of size three.
If the edge is added, then is an FZFS of size three.
If the edges and are added, then is an FZFS of size three.
If the edges and are added, then is an FZFS of size three.
If the edges and are added, then is an FZFS of size three.
If the edges , , and are added, then is an FZFS of size three.
Next, we add
to the graph in
Figure 13. Then, we consider cases for adding other edges between vertices
and
w. Since there are three different edges to add, there are
cases. However, adding the edge
is the same as adding
so we can eliminate two cases.
If no other edges are added, then is an FZFS of size three.
If the edge is added, then is an FZFS of size three.
If the edge is added, then is an FZFS of size three.
If the edges and are added, then is an FZFS of size three.
If the edges and are added, then is an FZFS of size three.
If the edges , , and are added, then is an FZFS of size three.
This completes the 2/2 overlap on one nonadjacent case.
We note a special graph (shown in
Figure 14) arises from this case. It is the only graph with six vertices with 2/2 overlap on one and
. It is the only graph on six or fewer vertices that meets the
order bound from Lemma 1 that is not a path.
We next consider the case where x and y share two neighbors.
Here, x is adjacent to four white vertices and y is adjacent to two white vertices, and x and y have two neighbors in common.
We consider the possible ways to add edges to the graph shown in
Figure 15.
If and , then the graph contains a cherry and .
If and , then is an FZFS of size three. (The case where and is similar.)
If is an edge of G and no other edges are added, then G contains a pendant triangle.
If and are added, then forms an FZFS of size three (The cases where and , and , or and are added are similar. For all other cases, u can simply be added to ).
It maybe helpful to refer to
Figure 16. We first consider graphs with five vertices (vertices
and
z). Let
x be adjacent to
, and
z, and let
y be adjacent to
v and
w. We consider adding edges between vertices
.
If
is the only edge added to this graph, then
forms an FZFS of size three. If
or
(but not both) is added to the graph, then we have graph (x) in
Figure 1, if
x and
y are not adjacent. If
x and
y are adjacent, then it is graph (xi) in
Figure 1.
If
and
are added, then
form an FZFS of size three. Assuming
x and
y are nonadjacent, if
and
are added, then we have graph (xi) in
Figure 1. If
x and
y are adjacent then
form an FZFS of size three.
Next, we consider graphs with six vertices. Here, we add a new vertex u. We must have for G to be connected. If , then u could be added to x and y to form an FZFS of size three. Hence, the remaining cases are where .
We first consider adding the edge which is the same as adding the edge . In this case, is an FZFS of size three. We next consider adding the edge . We consider various cases.
If no other edges are added, then form an FZFS of size three.
If is added, then is an FZFS of size three.
If is added, then is an FZFS of size three.
If is added, then is an FZFS of size three.
If any of the following edges sets , , or is added, then is an FZFS of size three.
If is added, then is an FZFS of size three.
Let x and y be the only vertices in S and both x and y are adjacent to both u and v.
We first consider graphs with four vertices. The two graphs shown in
Figure 17 are graphs (iv) and (v) in
Figure 1.
We next consider graphs with five vertices. We consider adding a vertex v that is adjacent to u (the case where v is adjacent to w is similar). If , then is an FZFS of size three. If , then v is also adjacent to w. Here, is an FZFS of size three.
Next, we consider the case of six vertices where we add vertices v and z. We first note that if both v and z are adjacent to either u or w, then we have either a cherry or a pendant cherry and .
We then consider adding edges and . If v is not adjacent to z, then is an FZFS of size three. If v and z are adjacent, is an FZFS of size three.
Finally, we consider the case where either v and z are part of a or with either u and w. Without loss of generality, we consider the case involving u. Then, the vertices form an FZFS of size three.
We note that the presence of edges or does not change the result.
It maybe helpful to refer to
Figure 18. Let
x be adjacent to
and
z, and let
y be adjacent to
and
w.
Case (i) If or , then either u or z could be added to x and y to form an FZFS of size three.
Case (ii) If is an edge of , then is an FZFS of size three.
Case (iii) If and are in , then is an FZFS of size three.
Case (iv) If and are in , then is an FZFS of size three.
If x and y are both adjacent to three white vertices, then these three vertices form an FZFS of size three.
This completes the proof. □
We conclude this section with an observation regarding graphs with different failed zero forcing sets of size two.