Mathfinal
Mathfinal
Guided By:
Dr. Prasanta Kumar Parida
Assistant Professor
Department of Mathematics
ACKNOWLEDGEMENT
I am truly grateful for his mentorship and support, which have been crucial
in the successful completion of this project.
SUBMITTED BY
3rd Semester - Group-02
SL.NO TOPICS
PAGE.NO
0 INTRODUCTION 01
1
0 MATHEMATICAL 02
2 BACKGROUND
MATHEMATICAL 03
0 APPROACH
3
0 FORMULATION 04
4
0 PROBLEM STATEMENT 05
5
COMPARISION 08
0
6
0 APPLICATIONS 12
7
0 CONCLUSION 15
8
REFERENCE 16
0
9
INTRODUCTION
Formally, if the graph G=(V,E) has vertices V={v1 ,v2 ,…,vn } and edges
E={e1 ,e2 ,…,em } with weights ω (e), the MST is the subset T⊆E such
that:
Example
MST :
NUM-TREES=7
MST : (A,D)
NUM-TREES=6
MST : (A, D), (C, D)
NUM-TREES=5
NUM-TREES=4
MST: (A, D), (C, D), (B, E), (D, E) NUM-TREES=3
(D, E)
NUM-TREES=3
NUM-TREES=2
MST: (A, D), (C, D),
NUM-TREES=2
NUM-TREES=1
Comparison of Kruskal’s and Prim’s Algorithm:
Both Kruskal’s Algorithm and Prim’s Algorithm produce the
same minimum spanning tree (MST) in this example, with a
total weight of 10. However, their approaches differ:
Kruskal’s Algorithm:
o Operates by sorting all the edges initially.
o Processes edges in increasing order of weight.
o Is more suitable for sparse graphs where there are
fewer edges relative to the number of vertices.
Prim’s Algorithm:
o Starts with a single vertexand growsthe MST one edge at a time.
o Continuously adds the smallest edge that connects
the MST to an unvisited vertex.
o Tends to be more efficient for dense graphs, where
there are many edges between vertices.
Kruskal's Algorithm:
Step-by-Step Solution:
B−C (weight = 2)
A−C (weight = 3)
a.
A−B (weight = 4)
b.
B−D (weight = 5)
c.
C−E (weight = 6)
d.
e.
f. C−D (weight = 7)
g. D−E (weight = 8)
3. Start adding edges:
We begin adding the smallest edges to the MST, ensuring that we don’t form
any cycles.
Initially, all the vertices are disconnected, so adding the edge B−C (weight
2)is valid. This edge connects B and C, and no cycle is formed.
Now, we add the edge A−C (weight 3), which connects A and C.
Since A and C are not yet in the same connected component,
adding this edge does not form a cycle.
At this point, the edge A−B would connect A and B, but it would form a
a. B−C (weight = 2)
b. A−C (weight = 3)
c. B−D (weight = 5)
Prim's Algorithm:
Step-by-Step Solution:
A.
vertex
From the available edges, the smallest one is C−B (weight = 2), so we
add
it to the MST.
a. Updated MST: {A,B,C}
i. B−D (weight = 5)
b. The new edges connecting the MST to other vertices are:
The smallest edge now is B−D (weight = 5), so we add it to the MST.
The final edge is D−E (weight = 8), which connects the last remaining
E to the MST.
vertex
b. C−B (weight = 2)
a. A−C (weight = 3)
c. B−D (weight = 5)
is essential.
2. Telecommunications Networks:
a. MSTs can be used to design telecommunications
infrastructure, such as fiber optic networks or
telephone lines. The problem is similar to that of
designing a road network: you want to connect multiple
locations with minimal cable length and cost.
3. Electrical Power Grid Design:
a. In the design of electrical power grids, MST algorithms
can be used to minimize the total wiring cost while
ensuring that all power stations and customers are
connected. This is especially important in remote
areas where cost efficiency in grid construction is
crucial.
4. Computer Networks:
a. MST algorithms can help design optimal computer
networks, particularly in data centre connectivity,
where the goal is to minimize the cost of laying down
cables between servers while ensuring robust and fast
communication.
5. Water, Gas, and Other Utilities:
a. For laying waterpipes, gas pipelines, orany otherutility
network, MST algorithms are used to minimize
construction costs while ensuring complete service
coverage. This approach is efficient for infrastructure
that spans large geographical areas.
Through this case study, we see that MST algorithms are not only
efficient but also crucial in real-world applications that require
both optimal resource allocation and connectivity. The principles
of graph theory and optimization continue to play a pivotal role
in modern infrastructure development, ensuring sustainable
growth and efficient system design.
Reference
[2] E.V. Denardo and B.L. Fox, Shortest-route methods: 1, reaching, pruning
and buckets, Operations Res. 27(l) (1979) 161-186.
[5] Chenwei Zhu, Yu Lin, Fuyuan Zheng, Juan Lin, Yiwen Zhong, An Adaptive
Multi-Meme Memetic Algorithm for the prize-collecting generalized minimum
spanning tree problem,Swarm and Evolutionary Computation,Volume
90,2024,101664,ISSN 2210-6502