IGT Chapter 2 Notes by Vivek (1)
IGT Chapter 2 Notes by Vivek (1)
24 Basic Properties
AcYCLIC GRAPH
FOREST
Afoust an aayeli guaph
TREE
True is a conructid ayclie gaph.
G6
Ex : has
’ Notu
LEAF
33AT
vetx
Deking
>.G' ç a Tue el odu n-1.
Theoum 2.1.4
Iodudive Step
G has no yele
agelie,
connectd gruph )
Nouo, we hawe,
e(G:) = o (G;)-)
e(G) = e (Gi) + e(G) +.+ e(Gu)
o(Gu)-1 t o(4,)-i+o(4)
o(G) +06,) t + oG) -I--l..-1
o(6) K- times
t O(G)-k
ecG) n-k
But we have e(G) = n-I
K 1
A ’B
Cennucld and ha N
I! Gs
u-v palh u,v e V(G).
D’A
I7 tu,ve V(G), G has
is connsctd acyclic
Let u,V G V(G) , Ghas exady
G is connucld
{ G certains ayele ten for euey pain o vecas
veces bn tu
yele i we hae a tuwo path l doch uite antileckwise).
(é) q hes cacty sne path
SPANNING TREE
a tru
A spaning hu B a spanning subgraph that i o
A
H,! H,:
spanning Bu
conallany 2.1.3
2.)
@ Evey edge aBu is aa cut edqe
We krew an
edge is a cul-adye t belengs bto no- ayela
Tru hos ne ye
’ bog aede
’Evey edge a te is o ut- edge.
Addling ene-edge
we kww
vorties has Gre path
exacty on yee
ol/Apr/25
Agraph
e spanning br
Let G be a e
I we consider G has anethen spaning ue, that maans
’ Ghas no cyc
loepls.
Let
loep les and has xactly spoming tue (sayT)
twe claim,
Let q T
an
thue es an edge e inlG which ds not in G.
+e has exactly one ayeo
(Tte)- e' is
sponning
()4) Bccuse Ghas spening pe
2.1-6 be aa
Let T be tu with averae dugreu q. Delmine the
of T.
Let n(T) =n, e(T) n-)
we haw
A9E V(T)
VVImp Qe
Atus of Grdr 21 has ony vectiies e< dage ,3.5L6.
dape
t oh 2 votex havt
DISTANCE
ECC ENTRICITY
pia(G) >2
DialG)=4
J Rod (a) 2
Dia (e,) =6
Dia(Cq) * 3
Rad (C,) = 3
3Dia (Pa)= n
Rad (Po)
Theorem 2.).1)
simple graph with dio(G) > 3, thun dia () s3
s Gi a
duprewe
bet n; denolu the no- vetiies in a bu T, then;
on the no. vel ces in p
2,3, 4, 5 , . . K
n -kt
K
(Ktl)
K(K*1) n-k 2 (n-1)
20iCE
K(K*1) t 2(n-K) 4 (n-)
4n-4
K´4 K 2n - 2K
K K-(2n +4)= o
KKty
and Enumenation
2.3 Spanning u
n()=1
n(7) =2
b
n(t) 3
b e d
n() 4
b (12)
(4)
n-2
tus with
the ae n
size n, thene
set s
vwtex set s.
Sporning bu
b b
b
4
b a
a b
8
Tlalpossi3biliy + 3 = q4
5 + 24 2 2- |
Conthacion g an edqe
: 4.e
ab
G:
a
ab
G,:
conaction
e with end poins
In a raph G. with strgle vetex ohose
a, b
e b
o the pplacunent f e ethn than e that wk incident
tncidort edges ae the edgs
to a s b.
Ex :
ab
fiopesiloh Let
then tot e eE(G),T (G) = T(G -e) +
lG.e)
b b
Ex
bc
-
G-e Ge
(4)= (G-e) +(G-e)= +3 =y
b
a
+ a bd
G-e G:e
bd
G~e Ge
A(G) !
step:Find diagonal mabix, ohue diagenal
mathix ane vertux dege
2
3
D: 2
-| - -|
-1
- 2
itj
Step ) () =(-1)* Aot(o") = (-i)"dot (e")
2 -( o
2 (6-1) + (2+1).
3 -)
-I 2 8
2 2 1
4,: A(G): 2
3 3
step 5 -2
Step)
5 -2 -|
-2
<2 5 -3
-3 - -3 7
5 -2 o
le"| = 5 (25-4)
step: le*|
stp 9: -2 +2 (-l0)
-2
-2
Theorem Stament
(Not ask in exom)
weighted Guaph
A weighted graph u a graph wth
numical labels on the
ecges
numbeh.
G: ie.
ach ecge a ,
b
nunbes ae for tho weight y the
edqus,
Sueh a graph s calld o waghtd gruph
2
1 w(T) l+2+3 +4 = l0
2 6
= 21
C
building a road
ThHo axe S cties in a utwk. Thu cost
Ex 2 - 3 - 3
1
70
co Mountain
w (T) = 3+8+3 47
3
= 21 (4ns)
a
2 b 1f dCb) + w(be) < d(c)
2
tun, d (c)= d(b)+ w(be)
Loeh for nuaeat wight
Stp 1: Sewe venix (a)
af eb
Heu, we have
’ af is min
Votex
C * Merlisn all slhu undfined
yonex ().
3fep 2 : NGo, from hat
Loek tor min updad
a
d()+ w
(fe) <de)
Repat step2 a 3
Fron, f ne'd x
e 4 b, in which
from that
step 4:
we hae el d, af
updeling we foeand
911, go contu
Dune :)
Ex Set^
AODAa bc o e fg hf
8 9 J4 12 19 2)
(s.) (21)
2
2
(sv)
X 3.
nin =1
6
Next Min =3
o9/aprl25
arcot
bkc ae the
chi ld e a
e is a Iue in ohich ene eex has ben
A osud
daiyatidl
as the o6t and envny edge is ciuad Quay frem the rot
. Vertir e< a sostd tuo s called a la! it has
no childun.
that hae childen ae called intynal vehies
Vetices
A neotd thu ç calld is callud an m-any tue y
totrnal vtx has no moe than m-childun.
ful m-any
is callid aa full m-ony biee
’ The tru iç evey ibnal tn bas
exactly m- childvn .
Leal, =7
n= i+l= 3+7 =lo
’
n =itl
intornal vtx
Ex ! l=?
n mit1
l= i(m-1) +1
Ey Let Gbe a graph (V,E) and weight tha edge (49)s - |
v(G) = , ,,eo
99
)
3 49 hmy
2
d
2
2
2 T: 4
2
the yals e that wil maximigeu min "
Ex: Choese find
min" spanning bu i for tis Nalu g x,
pi a
3
wold
If we take n= 5, then we
qet too more sponning tra posihit
2+2 - 4
GATE QuUs
the Sum th dees s
Ex: Let T be a tru with I0 velices. whal is
all vertices
So^:
2.9 = 18
Zdy(v) = 2e(1)