You are on page 1of 16

Heritaqe stitute

fTeehnoloty:
Nome-Berochan Marik
Roll 2055026
Chonical EngineerinaehE
Dis cipline -

Ast year nd Seme3ter


Yea
Paper cCode- MATHL201

LL
Paper Nanne- Mathematieg

Assignment on Graphheary
Berochan Marik 2055026 1)
In of
a
roup 11peaple, one krauus exae 5
6thers in hrou

Here, Assumi4he Alpapla3 ag vetieas


and, Edges imilar to the rdadionghip/beia
Knoon to.
Each vedex have 5 edaes thus daqree t 5

Total/summaion dagre
A)= X5 = 55 = No-an Even

Numbe
TLs, Such Arvangemandt/roup is nat posila
Thereore T is not possille to hae
a hroupo41pespla where Ona knau exaclu

5 othars in rou
a bee .
e
b

e o 0t

The Aliacene Matix


Beynchan Mavik 065026

h a ha yentices be P,ARS
P RS

PO

S1 S

he p h Cam b
(

Griven Ineidanee Pladrx t e ve-ticas Vi,V%V,V,VG Vs

and edaes e e s E s

e e es e4 es

V
O
o
O -1 e,Y
O
O -

VO

Tha rapn is
Berochan Mavik 2055026 (3)

ACovcpaving 1, aad j ,
On
Bath ha Aophs have Same umber
ey-tiee3 ard edaes
Ge

On Mapping G, to ,
dagree = d(u,)-3 du)=dy)=...
As all veaiees o Ga and has doed3

)let V,VVg,V, be imaga o 0, Ug, U4


Henee these apaps ove iSomarphte
Berachan Morik 7055026 4
7V
e Je
V
Rs

The încidence Mlatniu is

eA
V

N 11 1 10 O

O1
11 O0 O O
Vs O11

o 0 011
OO.
Berochan Marik 20550265
V

raph Can be
A&ler Re amangemant, h i s

hawn As A

No

be dividek in sueh
As,Tha vertices C a n
two Subsels s(Vs,V, Vs) end S(Y,4 N
had
OJoining veiees rom &feren sulbseds
a r e possiee.
Same subset
N o w o vertieasthad are in
a r e adjaeend oined to each othar,
There ane the raph is

biparte [PravedI.
Berochan Mavik 2055026

The aiven Matrix V


AssuminA erliee3
ane Vi,v,, Vg,Va V O

The Condition aadjatenH


Matrix T1
A- wher i=4 when. V, and j av
Adjaent
or a O

No, 1V; and V is adjaeend for ij=4


also lbe odhoeendi= 1
enV ond Vi wil
Budin iven atpix,
shan adjacoydt o4
vy,=1
V and Vgs
But V, ond mot shaoraddacant
is
03
vv, =0. hoeMod edse beheen Vgand V, is

alid
doesntmepresent a valid
uush2 Araph:
a Undireeled troph-
adjaceneAmadrix dor
Bud, for Direcked Araph
here is a possibla
gvaph goomed by ha
gven Adjoecne Masrix
Berochan Movik 2055026

es

He The meidenee
Matrix is

e e e 4 e5 e e
V 1 0 O 1 1 0 0 -
1 1
1 O O
O -1 1O
L O1-101-1 1

A 2 F

D -E
F
A G
F

D
E

The three Spamy


irees aer apPäa
A
DES AlAerihm
D
Berochan Marik 055026 8

D
P

Thetmee Spamu
ees oh his grdp E
D F S slaorithm
A
B
Y

N
1
V NA /c4)
) /

hen V ,V, as ()
Nau, abellina Vi (o),
we Can lahel dor both, y 2) hen
(3) and 4)Hor bath vs dnd V
Vs ond Va as

V
here tore a possile
Spomung r e e byt
NA
BFS arithm
Berochay Marik 7055026

A (V
N

i s labelladad ) hanee, N2 is ad (
i i s at (2) as wellas Ns
labelles (a)
V and V ave

and is laotll.d Ta)


i Va
Apelag BES Algritn
J Ng

N
Berochan Mavik 2065026 o

5 4
The
roph is asimple arph.
DE
EdgesAe CDBe DF BD EFCE DB
Weigkls 22 3A5 12
APplying knukals Algavkns
A C
E
2+3+2+4+7
B
D4

The rumal spamnig rE2


Berochan Marik 2055026

A
9.5

13

95
20

Edgeg DE| DeCE PB| AD BAe BeEF BE Ac0FG


Weaghds 7 739 9510113 169spo
Aeplying Kruskals Agovithm

5
D

ot7+8+9:5+9+ 19.5
=59 units
The ninimal pannjng
free
Berochan Marik 2055026 2
A ABCD E F G
1
B3 9 0 o 5
5
E 0 c o 10 ooH1
F|6o 07 8
D 45 8
V
Ngw Py Prims Mgoritmm
L A-B

G-D 3+4+745+6t7
F
32Units
5
E
D

Edge A/4G BG DGF EFGcGFBe CDFD EG

Apraing Kruskals Algeridhon


B
F 3t6t4 +7t7+5)
A
X =32urils

D
Berochan Marik 1O55026 (13)
heAJjoeeney Mad

E B AD E
3
A43
4
3 5

[ 2 o 3,
a [21
2
PyPriws Mgorh, 5

C-B The mnima


Spanng T r e
AD-E
3

Weiht = 2+3+3+2= 10 unt

EgeE BcAAD AE De ABeE


5
Weghde 2 3 3
Py bmuskals algovithm
A
Weqnt- 243+3+2= J0

E/
D
Berochan Marik 7055026 14)
V
1-
A
N a
N
Trial verteX V Termina verex V
V V VV V
o]
X 2

x2 o X 4
X
41 7 x A

5 xA
x X x
[51 G

Nau,
Nou Calculadking shavlesh pah by Diikstras
Alaovrlhm,
--V-4
2t2+ | = 5 unshs
weaht =
Beyochan Marik 2065026 (15)
5
N
J
)

14

Comveing o a simap arpw Tutial verlex


Va
Mo Vi Termina
vevlex V
N 2
V

Vz

VI V V V

x
4
x[4
2 4 5
12 x51
X
3L71
Calculbivg sharlest palh ay Digkshrd's Algavith

V-- Weign |+4 +2 =


7 ws

You might also like