chapter
    Minimum Spanning Trees and Shortest Paths Notes for GATE CS

    Minimum Spanning Trees and Shortest Paths notes for GATE CS: 39 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questi

    minimum spanning trees and shortest paths notes

    Chapter Journey: Minimum Spanning Trees and Shortest Paths

    Chapter Roadmap

    Your journey through graph optimization algorithms.

    1
    MST Cut-Cycle Properties and Uniqueness

    The theoretical foundation. (You are here)

    2
    MST Construction and Counting

    Kruskal's, Prim's, and counting distinct trees.

    3
    Shortest-Path Properties and Algorithms

    Dijkstra, Bellman-Ford, and path relaxations.

    4
    Effects of Edge-Weight Transformations

    Adding constants, scaling, and structural impacts.

    MST Cut-Cycle Properties and Uniqueness

    Algorithms › Minimum Spanning Trees

    Cut-Cycle Properties & Uniqueness

    The theoretical engine behind every MST algorithm.

    What you will master:
    • Defining cuts and cycles in graph theory.
    • The Cut Property: identifying "safe" edges.
    • The Cycle Property: identifying "unsafe" edges.
    • Conditions that guarantee a unique Minimum Spanning Tree.

    Graph Basics: Cuts and Cycles

    1. A Cut

    A partition of the graph's vertices into two disjoint sets, and .

    Crossing Edge: An edge where one endpoint is in and the other is in .

    2. A Cycle

    A sequence of edges starting and ending at the same vertex, with no repeated vertices or edges in between.

    Key Trait: Removing any single edge from a cycle does not disconnect the vertices involved.

    36 more cards in this chapter

    Free preview ends here

    Login to view the complete notes

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Minimum Spanning Trees and Shortest Paths Notes for GATE CS

    Minimum Spanning Trees and Shortest Paths notes for GATE CS: 39 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.

    Chapter Journey: Minimum Spanning Trees and Shortest Paths

    Chapter Roadmap

    Your journey through graph optimization algorithms.

    1
    MST Cut-Cycle Properties and Uniqueness

    The theoretical foundation. (You are here)

    2
    MST Construction and Counting

    Kruskal's, Prim's, and counting distinct trees.

    3
    Shortest-Path Properties and Algorithms

    Dijkstra, Bellman-Ford, and path relaxations.

    4
    Effects of Edge-Weight Transformations

    Adding constants, scaling, and structural impacts.

    MST Cut-Cycle Properties and Uniqueness

    Algorithms › Minimum Spanning Trees

    Cut-Cycle Properties & Uniqueness

    The theoretical engine behind every MST algorithm.

    What you will master:
    • Defining cuts and cycles in graph theory.
    • The Cut Property: identifying "safe" edges.
    • The Cycle Property: identifying "unsafe" edges.
    • Conditions that guarantee a unique Minimum Spanning Tree.

    Graph Basics: Cuts and Cycles

    1. A Cut

    A partition of the graph's vertices into two disjoint sets, and .

    Crossing Edge: An edge where one endpoint is in and the other is in .

    2. A Cycle

    A sequence of edges starting and ending at the same vertex, with no repeated vertices or edges in between.

    Key Trait: Removing any single edge from a cycle does not disconnect the vertices involved.

    The Cut Property: Finding Safe Edges

    The Cut Property Theorem

    Let be any cut of a connected graph . Let be the minimum-weight edge crossing this cut.

    Then belongs to at least one Minimum Spanning Tree of .

    Uniqueness Condition:

    If edge weights are distinct (no two edges have the same weight), then is the strictly lightest edge crossing the cut. In this case, must be in every Minimum Spanning Tree.

    More notes in this unit