Cost Function

Let be a graph with cost function on edges so

Link to original

Minimum Cost Spanning Tree

Let be a connected graph
Let be a cost function

Let be a Spanning Tree of then

is a Minimum Cost Spanning Tree (MCST) if

Link to original


Kruskal's Algorithm

Let
Let be a cost function

Start with

For then
If there exists edge of where such that

then
Let be cheapest such edge then set

and continue

Then denote for the final graph

Link to original

Kruskal's Algorithm and MCST

Let be a connected graph
Let be positive for each edge then

Kruskal’s Algorithm ends with MCST for

Link to original


Cyclic Property of Adding Edge to Graph

Let be a graph

Adding edge to graph creates cycle contains - path

Link to original

Running Time

For Kruskal’s Algorithm then if has vertices and edges then there are steps

Link to original