Preliminary Basic Definitions Definition: 1 Graph
Preliminary Basic Definitions Definition: 1 Graph
Preliminary Basic Definitions Definition: 1 Graph
Basic definitions
Definition: 1 Graph
A graph G consist of a pair (V, E) where V is a non-empty finite set whose elements
are called vertices and E is another set whose elements are called edges such that each edge
e ∈ E is associated with orered or unordered pair of element of V, i.e there is a mapping from
the set of edges E to the set of ordered or unordered pair of elements of V.
A graph G(V, E) is said to be finite if it has a finite number of vertices and finite
number of edges. Otherwise it is called an infinite graph
Let V = {1, 2, 3, 4}, E = {(1, 2), (1, 3), (1, 4), (2, 3), (2, 4), (3, 4)}
Definition: 3
G=
V1 V2
Definition: 4
If more than one line joining two vertices are allowed, the resulting object is called
multi graph
Definition: 5
Definition: 6
A graph whose edge set in empty is called a null graph or a totally disconnected
graph
Definition: 7
A graph in which any two distinct points are adjacent is called a complete graph. The
complete graph on P point is denoted by kp. Clearly kp has P vertices and Pc2 edge
Definition: 8
A graph G is called a bi-graph or bipartite graph if V can be partitioned into two
disjoint non-empty subsets V1 & V2 such that every line of G join a point of V1 to a point V2
If further G contain every line joining the points of V1 to the points of V2, the G is
called complete bipartite graph. If V1 contain m point and V2 contain n point then the
complete bi-graph G is denoted by k, m, n.
Eg. Let V = { V 1 , V 2 ,V 3 , V 4 , V 5 ,V 6 , V 7 ,V 8 }
V 1= {V 1 , V 2 ,V 3 } ,
V 2= {V 4 ,V 5 , V 6 ,V 7 , V 8 }
Definition: 9
A walk of a graph G is an alternating sequence of vertices and edges v 0, e1, v1, e2, v2,
……, vn-1, en, vn beginning and ending with vertices such that each line e i is incident with vi-1
and vi
We say that the walk joins v0 and vn and it is called as v0-vn walk. Here v0 is called the
initial point and vn is called the initial point and vn is called the terminal point to the walk.
The number of edges in the walk is called the length of the walk.
E.g.
In a walk, both vertices and edges can be repeated. Here the vertices v1, v2, v3 and the edges
e2, e3 repeated.
Definition: 10
E.g.
In a graph G, v0e1 v1e2 v2e3 v3e4 v4e5 v2 e6v5 is a trial. In a trail, vertices can be
repeated. Here vertices v2 is repeated
Definition: 11
e.g
in a graph G v0e1 v1e2 v2e3 v3e4 v4e5 e5v5 is a path.
Definition: 12
A v0-vn walk is closed, if v0 = vn. A closed walk v0, v1, v2,…….., vn = v0 in which n > 3
and v0, v1, ……, vn-1 are distinct is called a cycle of length n.
E.g
Definition: 13
Two vertices u and v of a graph G are said to be connected if there exist a u –v path is
G.
Definition: 14
e.g. of connected
e.g of disconnected
Definition: 15
Let Gi denotes the induced sub group of G with vertex set Vi clearly the subgroup G1,
G2, ……….. Gn are connected and are called the components of G.
e.g.
Definition: 16
A directed graph is called strongly connected if for any pair of vertices of the graph
both the vertices of the pair are reachable from one another.
A directed graph is said to be unilaterally connected if for any pair of vertices of the
graph at least one of the vertices of the pair is reachable from other vertex
The graph is unilaterally connected but not strongly connected.
Theorems
Component
Defn: Let Gi denote the induced subgroup of G with vertex set V i – clearly the sub graphs G1,
G2, ………….Gn are connected and are called the component of G
P−1
1) Thrm: A graph G with p points and δ ≥ is connected
2
P−1 P−1
Since δ ≥ , F at least points in G1 adjacent to v1.
2 2
P−1
Hence v1 contains at least + 1 number of points
2
P+ 1
Thus v1 contains at least number of points
2
P+ 1
Thus each component of G contains at least points.
2
P+ 1 P+1
Hence the number of points in G is at least + .
2 2
Hence G is connected
If u, v belong to different component in G, they are not adjacent in G and hence they
are adjacent is G.
Hence G is connected.
Hence G is connected.
Disconnected graph
Is disconnected graph
2. Thrm: A graph G is disconnected if its vertic set V can be partitioned into two non-
emty, disjoint subsets v1 and v2 such that there exists no edge is G whose one end
vertex, is in subset v1 and the other in subset v2.
Proof:
No path can exist between vertices a and b. otherwise there would be at least one edge
whose one end vertex would be in v1 and the other is v2.
Conversely,
Let v1 be the set of all vertex that are connected by paths to a. since G is disconnected,
v1 does not include all vertex of G. the remaining vertices will form a (non- empty) set v2.
Thrm: 3
A simple graph with n vertices anf k components can have at most (n – k) (n-k+1)/2
edges.
Proof:
Let the number of vertices in each of the k – component of a graph G be n1, n2, …..nk.
Thus, we have,
n1 + n2 + …… nk = n
k
Now, ∑ (n¿¿ i−1)=n−k ¿
i=1
¿¿
¿
k k
2
∑ (n¿¿ 1−1) +2 ∑ (n¿¿ j−1) ( n j−1 ) =n2 + k 2−2 nk ¿ ¿
i=1 i , j=1 ,i ≠ j ≠
k k k
k k
n k
n2 −( k−1 )(αn−k )
Now, the maximum number of edges in the i th component of G is ni (ni-1)/2. Since the
maximum number of edges is a simple graph with n vertices is n(n-1)/2.
k n
1 1 n
∑ ni ( ni −1 )= ∑ ni2−
2 i=1 2 i=1 2
1 2 n
≤ [ n −( k −1 ) ( 2n−k ) ]−
2 2
1 2
¿ [ n −2 nk +2 n=k 2−k−n ]
2
1
¿ ¿
2
1
¿ ( n−k ) (n−k +1)
2
Thrm: 4
Proof:
If m = 0 then obviously n= 1
Let the result be true for m= 0, 1, 2, 3, ., k. we shall show that the result is true for m = k +1.
Let e be an edge of G.
Let the two components have k1, k2 number of edges and n1, n2 number of vertices
respectively.
So, by our hypothesis, k1 > n1 – 1 and k2 > n2 -1.
i.e. K + 1 > n – 1.
Note:
Figure
Figure
Solution: (i) the graph (a) is not connected. In drawing a graph two edges may cross at a
point which is not a vertex.
Figure
(ii) The graph (b) is connected since for every pair of distinct vertices there is a path
between them.
Example: 2
Figure
Solution : (i) The number of connected component of graph (a) is two
Figure
Definition: Block
Figure
Trm: 1
Let G be a connected graph with at least three points. The following statement are
equivalent.
1. G is a block
2. Any two point of G lie on a common cycle.
3. Any point and any line of G lie on a common cycle.
4. Any two lines of G lie on a common cycle.
Proof:
(1) (2) suppose G is a block. We shall prove by induction on the distance d (u, v)
between u and v, that any two vertices u and v lie on a common cycle.
Suppose d(u, v) = 1
x is on a cycle ofG.
Hence, the point u and v lie on a common cycle of G.
Now, assumes that the result is true for any two vertices at distance less than k and let
d(u, v) = k >2.
Hence by induction hypothesis there exist a cycle c that contains u and w. Now since
G is a block, w is not a cut point of G and so G-w is connected. Hence there exist a u – v path
p not containing w.
Now, let Q denote the u – v1 path along the cycle C not containing the point w.
Then, Q followed by the v1-v path along p, the line vw and the w-u path along the
cycle c line disjoint from Q from a cycle that contain both u and v. this completes the
induction.
Figure
(2) (1) .
Suppose any two point of G lie on a common cycle of G. suppose v is a cut point of
G. then there exist two points u and w distinct from v such that u-w path contains v.
Now by hypothesis u and w lie on a common cycle and this cycle determines two u-w
paths and at least one of these paths does not contain v which is a contradiction.
(2) (3)
If w lies on C, then the line vw together with the v-w path of c containing u is the
required cycle containing u and the line vw.
This cycle determines two w-u paths and at least one of these paths does not contain
v. denote this path by p.
Let u1 be the first point common to p and c. (u 1 may be u itself). Then the line vw
followed by the w-ui sub path of p and the u1-v path in C, containing u from a cycle
containing u and the line vw.
Thrm: 2
k
A connected graph with blocks B1, B2, …..Bk has (∑ )i=1
n(Bi ) −k +1 vertices.
Proof:
We use induction on k.
Basis step k = 1
When G is not 2 – connected, there is a block B that contains only one of the cut –
vertices. Let this vertex be v, an index the blocks so that Bk= B.
Result:
Every two blocks have at most one vertex in common, namely a cut vertex.
Figure,
Thrm: 3
Proof:
Suppose the opposite there is a connected graph G whose center Cen (G) does not lie
within a single block of G.
Then G has a cut – vertex v such that G-V contains components G1 and G2, each of
which contains distinct vertices of Cen (G).
Let u be a vertex such that d(u, v) = e(v), and let P1 be a v-u geodesic.
At least one of G1, G2 say G1 does not contain vertex from p1.
The paths P1 and P2 from together a u – w path P3, which is a u-w path of length d(u,
w).
Then e(w) > e(v) which contradicts the fact that w is a central vertex.
Figure
E(w) > d(u, w) > d(u, v) = e(v) which contradicts the fact that w ∈ Cen (G),
Thrm: 4
Proof: Sufficiency
If every block is Eulorian then each vertex receives even degree from each block
containing it. The blocks partition the edges, so the total degree at each vertex is even.
Necessity: since every block is connected, if sufficies to show that each vertex has even
degree in each block.
For a cut vertex v, let G1 be the sub graph consisting of one component of G-V
together with its edges to V. Each block containing V appears in one such sub graph.
Every vertex of G1 other than V has even degree in G1, since it tetains all of its
incident edges from G. also V has even degree in G1.
Hence V has even degree in the block of F containing v that is contained in G1.
Chapter – I
Connectedness graph
Defn of connected:
Figure
Thrm:
p−1
A graph G with p point & δ ≥ is connected.
2
Proof:
Let V 1 ∈ V 1
p−1 p−1
Since δ ≥ there exist at least points in G1 adjacent to V1 and hence V1
2 2
p−1 p+1
contains at least + 1= points
2 2
p+ 1
Then each component of G contains at least points and G has at least two
2
components.
Hence G is connected.
Thrm: 2
A graph G is connected iff for any portition of V into sub sets V1 & V2 then is a line
of G joining a point og V1 to a point og V2.
Proof:
Suppose G is connected
Let u ∈V 1∧v ∈ V 2 .
Since G is connected, there exist a u-v path is G, say u = V0, V1, V2, …..Vn = V
For any partition of V into sub set V1 & V2 there is a line of G joining a point of V1 to
a point of V2.
T.P G is connected
Then G contains at least two components let V1 denote the set of all vertices of one
component and V2, the remaining vertices of G.
Clearly V = V1 U V2 is a partition of V and there is no line joining any point of V1 to
any point of V2
Which is a contradiction
Hence G is connected.
Defn:
A graph G is said to be n connected if k (G) > n and n – line connected if (G) > n.
A non- trivial graph is 2 – connected iff it is a block having more than one tin.
pk
Pln: 1 Prove that if G is a K – connected graph thus q ≥
2
1
∴ q= d (v ) [∴d ( v ) ≥ δ ]
2∑
1
≥ pδ
2
pk
∴q≥
2
3p
Now q ≥ ( by plan 1 )
2
15
∴q≥
2
For example
Figure
V = {a, b, c, d, e, f}
E = {(a, b), (b, c), (b, c), (c, a), (d,, e), (e, f), (f, d)}
For example
Figure
Since the undirected graph G is connected, the directed graph G is weakly connected.
Consider, when we remove the edge (b, e) from the directed graph G. the underlying
graph that we get is G.
When we remove edge (b, e) from G the graph that remain is neither strongly
connected nor weakly connected.
Defn:
Example:
Biconnected graph
2-path graph
Figure
A number of graphs that are connected but not bi connected. Such graphs are called 1
– connected.
Figure
2 – Connected graphs
A graph is connected if for any two vertices x, y ∈ V(G), there is a path whose end
point are x & y.
Figure
Figure
If V is a cut vertex of G, then the removal of the vector V increase the number of
component in G.
Thrm: 3
A vertex V in a connected graph G is a cut vertex if and only if there exist vertices u
and v distinct from V such that every path connecting u and w contains the vertex v.
If the path does not contain v, then the removal of V from G will not disconnected the
vertices u and w., which is a contradiction to the fact that u and v lie on two different
component of G – V.
Conversely, if every path from u to w contains the vertex V, the removal of v from the
graph G disconnected u and w.
Figure
Edge connectivity
Defn: Let G be a connected graph. The edge connectivity of G is the minimum number of
edges whose removal results is a disconnected.
In other words, the number of edges in the smallest cut set is defined as the edge
connectivity of G.
If G is a connected graph and has a bridge, then the edge connectivity of G is one.
Figure
∴ ( G )=2
Thrm: 4
The edge connectivity of a connected graph G can’t exceed the minimum degree of F.
i.e. ∴ ( G ) ≤ δ (G)
Prf: Let G be a connected graph and V be a vertex of minimum degree is G. then the
removal of edges incident with the vertex V disconnected the vertex V from the graph G.
then the set of all edges incident with the vertex v forms a cut set of G.
But from the definition edge connectivity is the minimum number of edges in G
whose removal disconnect G.
This implies that the edge connectivity ( G ) is always less than the number of edges
incident with the vertex v.
Hence ( G ) ≥ δ(G)
Example:
Figure
Vertex connectively
Defn: Let G be a connected graph. The minimum number of vertices whose removal
result in a disconnected is called the vertex connectivity of G.
If K(G) = 1, then G has a vertex V such that G-V is not connected and the vertex V is
called a cut vertex.
IF G = Kn then
K (G) = n-1
i.e. K(G) = 1
Thrm: 5
The vertex connectivity of a graph G is always less than or equal to the edge
connectivity of G. i.e. K ( G ) ≤ ( G ) .
If no two edges in S have the same end vertex in the set V1 or V2.
Then removal of all the end vertices of the edges in S disconnect G, otherwise the
number of vertices required to disconnect G is less than the number of edges in S.
Observation:
K ( G ) ≤ ( G ) ≤ δ (G ) .
Example:
Find the edge connectivity and the vertex connectivity of the following graph.
Figure
(G) = 3
K (G) = 1