Graph, Di-graph & Its Fundamentals (Part 2)
Graph, Di-graph & Its Fundamentals (Part 2)
A Fig. 3.1.19
= deg(A) +deg(B) +deg{C) + deg( D)
:. Ldtr,) =
<)
difference of two even numbe r = An evell
number (1)
!\ow, d(t 11 ) is odd for every vertex vi in 0.
Since only a sum of even number of some odd numbers ia
even, so, we can say there are even number of terms in the
summation of Ll/S of (I). That is the number of odd vertices in
the graph is even.
Note : The number of even vertices may be odd or even. (See
the folloicing two examples)
lllustr ation :
(i) In the graph shown in Fig. 3.1.20 (a} the number of odd
vertex = 2 (which are v1 and v5 )
VJ
F D
£
Fig. 3.1.20 (b)
H,rc th<' nnmllf'r nf l'\"'l'n \'l'r11<'f't11 e 4 • •wn {C, D. E. F,
<•iil Or:1• " t"Ph "1th IIM-"l'n '°"""'" tuinnc df-lff"tl l. 5. :.,
.
• . ' .f.. 8.
Wt~ th<'"-' :t"-' thtt-e odd \"t'rt1ttt1 an the i,aph. But •t know
,n,· ~rh ronta m8 a n l'\1.'n hnumhcr of odd vertacee. So ,a • DOC
r - ~ ~ r a" r !I UCh a grap .
~ m . 5 Prot ~ that a romplcte grnph u·ith n t~rlict, co,u11,,I•
of " ·ri - l ) numbrr of edges (H'.B.U.Ttch, 2010, 200,,1
-
"}
00
If G - e becomei, diijconnttcted then i& would have lwo
unected
nu be colllJh>ne ut~. l ~t t ho two component1 ... L. L --..J "'
ve •• . . . •i
by~ \ of edge1:, and " 1 , "J num~,· of vttrtiat• re11ptteliwly. So.
k ... ~r 1>'Putheb11, k 1 :2'. ,, 1 - 1 and k~ ~ 11 - 1. Tht,-, lwo illply
i.!., k~~11 1+n : - :.! that id, k ~ ,i - 2 (·: £,+ki•k, n1 +M1 •a)
+1~11 - J.
1
: _0_ _ _ _ _ _ _ _ _ _E_N_G_1N_E_E_n_rN..:G..:A.:f'.:.:'T:1/::E:M.::A~T/~C~S-~11
k k k
Now, ~(ni-1} =In;-l)=n-k
I::} i::l izl
k .
2
or, t(ni-1) +~~ (ni-l)(ni-l)=n 2 +k 2 -2nk
. l :::l i ~ J
3-3:t
..... $
or, L n, 2
$ n
2
- (k- 1)(2n - k), thus (I) is proved.
••l
Let G, be the component of G having n, num ber of vertices.
ble
~ow ma.ximum num ber of edges in Gi = Number of possi
edge s join ing any two vertices.
ii
Since there are no parallel edges or self loop ( ·: the graph
diq
simple) so t here exists exactly one possible edge correspon
to any two verti ces of G;.
:. M.ax number of edges in G,
= Number o( selection of two vertices from "i
,, 11 1 (n ; - 1)
= 'Ci ::
..
?
s; !{n 2
- (k - IX211 - k) - 11}, by (I)
1
= (n-k)(n - /,+1) .
2
GJHPEI, DJ-GRAI'll & ITS FUND,UIENTALS 1-33
Theore
A
F
----~
EI
JI--,, . . dt .
. rn. 14 Every vertex, except the origin an erm1nus
Vertices
v · Trail) 1s
Of a walk whose all edges are distinct (1.e. · even
ertex.
1;1,. ..... lfJtlNlr•-- ------~-~ ----.. . . . . •
·t...~~;;;.. ,,""1_..~.....
'<
'
that l',_. ~ u. and r". -:1- v . If v". occurs only once in the \Ji alk "
.. thl't"C must exist one edge preceeding vk and one edge sualk ~
t 't . Clearly then v". becomes a 2-degree vertex. Next let CCe~
more than once in the walk, say p times. At each''1,~
occurence vk gets 2-degree (since no edge lJlle Of
repeats in a walk so the degree of v". is 2p
). Thus in any case any vertex has degree
even. (In our example figure vk has degree
2 X 3 = 6 ,)
Theorem. 15 Every u - v Trail contains a u
u-v path.
Proof: In the z1, -v Trail, u is the origin .
and v is terminus. Both u and v are of I-degree. We know eve
vertex, except u and v is of even-degree u and v vertex. So t~
u - v Trail contains only two odd vertices. By Theorem 10 u e
trail has a path joining u and v because we can think th~~
• u - v itself as a graph ( ·: the vertices and edges other than those
in u. - v trail have no influence in this proof)
Theorem. 16 A connected graph is an Euler graph if and only
if all vertices of Gare of even degree. ·
Proof: Beyond the scope.
3.1.6. Illustrative Examples
Ex. 1. State which of the fallowing graphs are bipartite graph:
(i) (ii)
a
A-----,,B
C
(iii) X ___x_ _ _ y .
w T
GR},Pll, nr-GTU f>ll & ITS ro,,·IM,\lf.STALS 3.35
V5
' ,f::ilJ.1:11:l:l!!!ltllnil1r •
GR.,.PH, Di-GRAPH & ITS FUNDAMENTALS 3.37
are left with the graph with vertices· v2, va, v 4, vs where
deg( v2 ) == deg( V3 ) = 2 ; deg( V 4) = deg( u5 ) = 3 .This can be drawn as
follow
crt w
On the othe r band we know the maximum num her of 5 • 8
. n(n - 1) . n(n - 1) ?
rn a simple graph LS 'J. 2 :? .. I
:. n{n - 1) ~ 48 . (2)
\ (I\\. k is positive intc~ cr. From (I)
t, == 1::, n = 48 and this satit dies (2)
i.· ~ ~::,,, = 24 and this satis fies (2)
1, == 3::, n = 16 and this satis fies (2)
~· == 4::, n = 12 but this satis fies (2)
:. No. of edges ~n
L" 2
r~l
(·: di ~ 2)
.. 2 x No. ofed
.. ~,
This contradicts the hypothesis that the No. of ed .
than n. gea•-.
Ex. 18. Sh?w that a connected graph is a cycle if the
~~~u~ ~~
. 2 X 12 = 18 + X1 + X2 +. •. + X1,
~~ x, + X:z + ... + x~. = 6 or, 6 = Xi + X:.i + ... + X
11
' G<3+3+ ···+3 (ktimes) [·: x; <3 Vi]
or, k 9 s· k
or, 6 < 3k :. > ... _. mce can get only integral valus so the
. ·mum value of k 1s 3.
nunt
. the minimum number of vertices= 6+3==9.
~ Show that a simple graph having n number of vertices
be connected if it has more than (n- l)(n- 2) edges ·
m~·t, 2 .
Let G be the graph. By problem the number of edges of G
2
:> (n-l)(n- ). Let G has k number of components. We know G
? . .
- {n - k )( n - k +1)
can have at most 2 number of edges (see Th 11)
EXE RCI SE
(I] SHO RT ANSW ER QUE STIO NS
~c
• praw a graph which is a spanning subgraph of the graph
17
B
E
A
C
18. Draw, with explanation, two edge disjoint graphs which are
not vertex disjoint
25
· In the graph A ~--~ G (i) construct a path
With or· · l F
With igm A and terminus C of length 4. o~· ~~ an another path
same lengt.h.
tM. ll(Sc)-J ~
F
-(ii ) fin d the dis tan ce bet we en A and
C
(iii ) fin d the dis tan ce bet we en D and
and thr ee com pon enta.
26. Dr aw a gra ph wi th fou r ver tic es
a con nec ted gra ph which .
27. De fin e con nec ted gra ph . Dr aw . 18
no t com ple te.
Co nst ruc t tw o gra ph s wh ich are no t iso mo rph ic. Giv e reasona.
28.
of any ver tex in a sun le
29. Pro ve tha t the ma xim um deg ree
[ Hi nt : Th eor em ~]
gra ph wi th 3 ver tic es is 2.
hav i~g 5 ver tice s. Fin d the
30 . (! be a sim ple con nec ted gra ph
[ Hi nt : Fol low Th eor em 2)
ma n~ um nu mb er of edg es o~ G.
31. Fin d the nu mb er of edg es 1n
a com ple te gra ph wi th 6 vertices
_ [ Hi nt : Fol low Th 3)
32 . Pro ve tha t the sum of the deg
ree s of all ver tic es in a graph
[S ee the pro of of Th eor em 6.)
wi th IO edg es is 20.
a gra ph ma y be eve n or odd _
33. Th e nu mb er of eve n ver tic es of
les .
Sh ow thi s by exh ibi tin g two exa mp
34. Dr aw a gra ph wi th 9 ver tic es
_h avi ng deg ree 1,5,2, 7,1 0,8 .
wi th 6 nod es (ve rtic es) , two of
35. De t.e rm ine the nu mb er of edg es
[W .B. U.T ech 2005]
deg ree fou r an d 4 of deg ree 2 .
ph wi th 12 edg es. If G has 6
36. Su pp ose G is a non -di rec ted gra
hav e deg ree les s tha n 3, find
ver tic es eac h of deg ree 3 an d res t
f W. B.U .Te ch 200Gj
the mi nim um nu mb er of ver tic es in G.
37 . A gra ph G is giv en bel ow :
Vi
f
Vi
G: l I
V6 115 V4
(u) cH •.
(a) Draw the complement of the following graph :
L VJ- V
4
V5 '<l)Jv3
. V4
[ ,W.B. U. Tech 2007, 2012]
(c) Draw a self complementary graph with 4 vertices.
5. Stat.e which of the following graphs are simple
(i)
(ii)
'l". Dr••· • ,impk vr.111h hM·inR four vertict-8 each of do.._
(1)
On•" ,. eonn('<'h~ tzra ph ~·1th 3 wrt1cc1 Rnd 4 ed
(11) a
(m) r,nd I h, mini mum !so. of connected compo~-=·
..,mrle i:r•r h • 11 h I 6 n ·rt ,cc• and 10 edRcs. If•
8. (i) Dra•· a ~1mple ~raph with five vertices having delJlt (
3. 3. 3. l
t. f md th~ t-uhgraphs of the followi ng graph
.f C
C
L----'------~
,· D
£
11. Consid~r the foll<Jwing graph :
H
' ., ('
,·
J
' ,. ,.
IJ
"
0
vr-GIUPTI & ITS FUND.1MENTAT..S 3.47
GllAP1,_:•J.:..,..__.---------- ------
~
. d (i) the subgi·aph removing the vertices D, G, Band F
F111(ii) the subgrap h ~-emovmg
. t hc edges g, e, ll, i, f nnd j.
(iii) the subgraph induced hy the vertices A, G, E, and F (i.e.
brrraph having vertices A, G, E, F and those edges of the
t.he sll t,
gi,·en graph that hav~ both ends as the given vertices)
(i'r) the subgraph induced by the edges d, g, i and c
(v) the subgraph which is complete with three vertices
(vi) the isomorphic gra?h (if exists) to the subgraph of G
which is complete with four ·vertices.
(vii) a simple subgraph ; all possible simple subgraphs.
g a
e
D.,__..,.. B
b
C
You are given some walks. Determine which are (a) path (b) trail
(c) a closed walk (d) a circuit
(i) A, a, B
(ii) B, b, C, c, D, d, C
(iii) B, b, C, c, D, d, C, b, B
(iv) D, d, C, c, D, e, B, a, A, f, E, g, D
, 13 -(a) From the graph :
rs U4
x~
~~-
a cl given some walks. Determine which are a path, a trail,
.
osed
. walk . . ;
, a circuit
(l) X a
i, l• X2, 02, X3, 05, X5/l4' X4
- - - - - - - - - - - - ~ ~ "~
3-48 ENGINEER/NG MATll!Jt4
(iii) x(i. o 7 • x 2 , a;1, xJ, aa, x~ o•. X0 , Or,, ,t'3, a.,;, X11
(iv) .r1• <1 1, .r2 • a 2 , .t:_i , Or,, .Yr,
'
(v) X 2, 0 ;1, X ;1, 0r,,Xa, O.-i, X1f11 ,.t'2
.,,,,,,,,
DJ-GRAPII & ITS FUNDAMENTALS 3.49
F' d three cycles from v:, to v:1 in the following graph. Hence
16· inhether it is a bipartite graph .
find w v6
v.,
17
. In the following graph S~d the following :
013
012
E F------' ·
Wili
(A, B) e subgraph after deleting the vertex F, G and the ·edge
. that the sum of degrees
(b)allthevede~ree_ of each vertex and verify
of
(c) all ~ices 1s equal to the twice the number of edges. ·
(d) ll su~ple paths from A to G
a trails fr B
(e) the d' om to C
(Q the d~tance between A and C
(g) ll iameter of the graph .
a cycles
3-50 ~'NGJNEE.'IUN r• •1
., ,r.lA TIJeA,.
(ii) { ..-t, C, E , G, II} (iii) {D, D , E , 1-J} (iv) {C, J,', G, JI}.
19.. Among the foHowing three graphs find
( i) which are connected ? For dis-connecte d
number of connected components . graph 8114 tie
(iii) Which are simple
(ii) \Vhich are loop-free ?
• grapha,
(iv) Which are without any circuit? If they have c· . ·
find the number of circuit. _ _ ircuit, ti...
V3
(b) Below you are given a graph. Find its components :
I I
22. Find the union 0 1 uG 2 when
v, V
(i) G1 :
V'JL..--...J i---