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

a. What is a spanning tree of a simple graph?

b. Which simple graphs have spanning trees?

c. Describe at least two different applications that require that a spanning tree of a simple graph be found.

Short Answer

Expert verified

a. A spanning tree of a simple graph \({\bf{G}}\) is a subgraph of \({\bf{G}}\) that is a tree and that contains all vertices of \({\bf{G}}\).

b. Connected graphs

c. Answers could vary

Step by step solution

Achieve better grades quicker with Premium

  • Unlimited AI interaction
  • Study offline
  • Say goodbye to ads
  • Export flashcards

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

01

Definition

A tree is an undirected graph that is connected and that does not contain any simple circuits.

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

02

Spanning tree

A spanning tree of a simple graph \({\bf{G}}\) is a subgraph of \({\bf{G}}\) that is a tree and that contains all vertices of \({\bf{G}}\).

03

Connected tree

A simple graph has a spanning tree if the graph is connected, because if the graph is not connected, then it is not possible for a subgraph to become connected.

Note: If the simple graph contains simple circuits, then a spanning tree can exist (by deleting an edge from a circuit in the graph until we obtain no more simple circuits).

04

Communication networks

Communication networks

For example, if a communication company wants to reduce its costs on communication links of a network, then the company could be interested in a spanning tree such that everybody can be linked with all other people and such that the company can reduce its costs as much as possible (by avoiding the possibility of creating simple circuits).

Roads between cities

For example, a company that needs to make sure that all towns in its neighborhood are connected by a paved road might be interested in a spanning tree if it wants to reduce the cost of paving those roads (or if the client was to reduce the costs). The costs can then be minimized, by making sure that there are no circuits (since a circuit will lead to an extra stretch of road to be paved, while there already would have been paved roads that could be used to travel between the two towns).

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

Answer the same questions as listed in Exercise \({\bf{3}}\) for the rooted tree illustrated.

Sollin's algorithm produces a minimum spanning tree from a connected weighted simple graph \({\bf{G = (V,E)}}\) by successively adding groups of edges. Suppose that the vertices in \({\bf{V}}\) are ordered. This produces an ordering of the edges where \({\bf{\{ }}{{\bf{u}}_{\bf{0}}}{\bf{,}}{{\bf{v}}_{\bf{0}}}{\bf{\} }}\) precedes \({\bf{\{ }}{{\bf{u}}_{\bf{1}}}{\bf{,}}{{\bf{v}}_{\bf{1}}}{\bf{\} }}\) if \({{\bf{u}}_{\bf{0}}}\) precedes \({{\bf{u}}_{\bf{1}}}\) or if \({{\bf{u}}_{\bf{0}}}{\bf{ = }}{{\bf{u}}_{\bf{1}}}\) and \({{\bf{v}}_{\bf{0}}}\) precedes \({{\bf{v}}_{\bf{1}}}\). The algorithm begins by simultaneously choosing the edge of least weight incident to each vertex. The first edge in the ordering is taken in the case of ties. This produces a graph with no simple circuits, that is, a forest of trees (Exercise \({\bf{24}}\) asks for a proof of this fact). Next, simultaneously choose for each tree in the forest the shortest edge between a vertex in this tree and a vertex in a different tree. Again the first edge in the ordering is chosen in the case of ties. (This produces a graph with no simple circuits containing fewer trees than were present before this step; see Exercise \({\bf{24}}\).) Continue the process of simultaneously adding edges connecting trees until \({\bf{n - 1}}\) edges have been chosen. At this stage a minimum spanning tree has been constructed.

Show that the addition of edges at each stage of Sollinโ€™s algorithm produces a forest.

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

Draw \({{\bf{B}}_{\bf{k}}}\) for \({\bf{k = 0,1,2,3,4}}\).

a) Define a full \(m{\bf{ - }}\)ary tree.

b) How many vertices does a full \(m{\bf{ - }}\)ary tree have if it has \({\bf{i}}\) internal vertices\(?\) How many leaves does the tree have?

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