Finding the Spanning Tree of a Graph - Barneygumble742

  • Thread starter barneygumble742
  • Start date
  • Tags
    Graph Tree
In summary, a spanning tree in a graph is a subgraph that contains all the vertices of the original graph and is also a tree, used to connect all the vertices in an efficient way. It helps to identify the minimum number of edges needed to connect all the vertices, can be found using Kruskal's or Prim's algorithm, and can either minimize or maximize the total weight of the edges. A graph can have multiple spanning trees in cases of multiple edges with the same weight or when the graph is disconnected.
  • #1
barneygumble742
28
0
hi,

what's the spanning tree from the graph shown? it was on a test and I'm curious as to if I'm right or not.

what i wrote down was a graph with edges 5, 6, 7, 8 and vertices A, B, C, D, E

barneygumble742
 

Attachments

  • graph.JPG
    graph.JPG
    5.9 KB · Views: 415
Mathematics news on Phys.org
  • #2
your solution should be fine...outta curiosityf do you know what a spanning tree of a graph is?
 
  • #3
i think so. it's like an induced subgraph except without the non-connected vertices?!
 

1. What is a spanning tree in a graph?

A spanning tree in a graph is a subgraph that contains all the vertices of the original graph and is also a tree, meaning it contains no cycles. It is used to connect all the vertices of a graph in the most efficient way possible.

2. Why do we need to find the spanning tree of a graph?

Finding the spanning tree of a graph is important because it helps to identify the minimum number of edges needed to connect all the vertices of a graph. This can be useful in optimizing network routing, minimizing costs, and identifying potential vulnerabilities in a network.

3. How do you find the spanning tree of a graph?

The most commonly used algorithm for finding the spanning tree of a graph is the Kruskal's algorithm or Prim's algorithm. Both of these algorithms use the concept of a minimum spanning tree, where the total weight of all the edges in the tree is minimized.

4. What is the difference between a minimum spanning tree and a maximum spanning tree?

A minimum spanning tree connects all the vertices of a graph with the lowest possible weight, while a maximum spanning tree connects all the vertices with the highest possible weight. In other words, a minimum spanning tree aims to minimize the total weight, while a maximum spanning tree aims to maximize it.

5. Can a graph have more than one spanning tree?

Yes, a graph can have multiple spanning trees. This can happen when the graph has multiple edges with the same weight, or when the graph is disconnected, meaning there are multiple subgraphs that contain all the vertices. In such cases, different spanning trees can be found using different algorithms.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
1K
Replies
1
Views
935
  • General Math
Replies
21
Views
1K
  • General Math
Replies
7
Views
954
Replies
1
Views
1K
Replies
7
Views
2K
  • General Math
Replies
2
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
2K
Replies
3
Views
2K
Replies
2
Views
985
Back
Top