Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Use Kruskal’s algorithm to design the communicationsnetwork described at the beginning of the section

Short Answer

Expert verified

Minimum spanning tree contains edges

(Chicago, Atlanta)

(Chicago, San Francisco)

(San Francisco, Denver)

(Atlanta, New York)

Step by step solution

01

Definition

A graph is connected if there exists a path between every pair of vertices.

Kruskal's algorithm

Start from a graph \({\bf{T}}\) that contains only the vertices and no edges.

Repeatedly select the edge in the given graph \({\bf{G}}\) with the smallest weight (that doesn't cause a circuit) and add it to the graph \({\bf{T}}\).

Once the graph is connected, we have found a minimum spanning tree.

02

Weight of the edge

Let \({\bf{T}}\) be the graph with the vertices of the given graph \({\bf{G}}\) and with no edges between the vertices.

The smallest weight of \({\bf{\$ 700}}\) occurs between Chicago and Atlanta, thus we add this edge to the graph \({\bf{T}}\) (and remove it from \({\bf{G}}\) ).

The smallest weight of \({\bf{\$ }}8{\bf{00}}\) in the remaining graph is between New York and Atlanta, thus one adds this edge to the graph \({\bf{T}}\) (and remove it from \({\bf{G}}\) ).

The smallest weight of \({\bf{\$ }}9{\bf{00}}\) in the remaining graph is between San Francisco and Denver, thus one adds this edge to the graph \({\bf{T}}\) (and remove it from \({\bf{G}}\) ).

03

Obtaining the graph

The smallest weight of \({\bf{\$ }}10{\bf{00}}\) in the remaining graph is between New York and Chicago. However, adding this edge would cause a circuit in \({\bf{T}}\) and thus we just remove the edge from \({\bf{G}}\) (without adding it to \({\bf{T}}\) ).

The smallest weight of \({\bf{\$ }}12{\bf{00}}\) in the remaining graph is between San Francisco and Chicago. As this edge does not cause a simple circuit, we can add it to the graph \({\bf{T}}\).

One has then obtained a connected graph and thus the minimum spanning tree contains the edges mentioned above (that were added to \({\bf{T}}\) ).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Give a definition of well-formed formulae in postfix notation over a set of symbols and a set of binary operators.

Three couples arrive at the bank of a river. Each of the wives is jealous and does not trust her husband when he is with one of the other wives (and perhaps with other people), but not with her. How can six people cross to the other side of the river using a boat that can hold no more than two people so that no husband is alone with a woman other than his wife? Use a graph theory model.

Which of these are well-formed formulae over the symbols \(\left\{ {{\bf{x,y,z}}} \right\}\) and the set of binary operators \(\left\{ {{\bf{ \ast , + ,}} \circ } \right\}\)?

  1. \({\bf{ \ast + + xyx}}\)
  2. \( \circ {\bf{xy \ast xz}}\)
  3. \({\bf{ \ast }} \circ {\bf{xz \ast \ast xy}}\)
  4. \({\bf{ \ast + }} \circ {\bf{xx}} \circ {\bf{xxx}}\)

What is wrong with the following “proof” using mathematical induction of the statement that every tree with \({\bf{n}}\) vertices has a path of length \({\bf{n - 1}}\). Basis step: Every tree with one vertex clearly has a path of length \(0\). Inductive step: Assume that a tree with \({\bf{n}}\) vertices has a path of length \({\bf{n - 1}}\), which has \({\bf{u}}\) as its terminal vertex. Add a vertex \({\bf{v}}\) and the edge from \({\bf{u}}\)to \({\bf{v}}\). The resulting tree has \({\bf{n + 1}}\) vertices and has a path of length \({\bf{n}}\). This completes the inductive step.

How many edges must be removed from a connected graph with n vertices and m edges to produce a spanning tree?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free