Degrees of Vertices IV: Graph is a Tree?

  • MHB
  • Thread starter Joystar77
  • Start date
  • Tags
    Degrees
In summary, the graph G is a tree because it has 5 vertices and 4 edges, and the number of edges is equal to the number of vertices minus 1. Additionally, G must also be a connected graph for it to be considered a tree.
  • #1
Joystar77
125
0
Let G be a graph with vertex set V = {v1, v2, v3, v4, v5}.

If the degrees of the vertices are 1, 2, 1, 3, 1, respectively, is G a tree? Why or why not?

2E = deg v1 + deg v2 + deg v3 + deg v4 + deg v5

2E = 1 + 2 + 1 + 3 + 1

2E = 8

E = 4

Yes, the degrees of vertices 1, 2, 1, 3, 1, G is a tree because the number of edges should be n-1 where n is the number of vertices.

Is this correct?
 
Physics news on Phys.org
  • #2
Joystar1977 said:
Let G be a graph with vertex set V = {v1, v2, v3, v4, v5}.

If the degrees of the vertices are 1, 2, 1, 3, 1, respectively, is G a tree? Why or why not?

2E = deg v1 + deg v2 + deg v3 + deg v4 + deg v5

2E = 1 + 2 + 1 + 3 + 1

2E = 8

E = 4

Yes, the degrees of vertices 1, 2, 1, 3, 1, G is a tree because the number of edges should be n-1 where n is the number of vertices.

Is this correct?
Not bad. But you also need to show that $G$ is a connected graph. There can exist a graph on $n$ vertices which is disconnected (thus not a tree) and has $n-1$ edges. So just by virtue of having $n-1$ edges a graph doesn't become a tree. It needs to be connected too.
 
  • #3
Thank you Caffeinemachine!
 

Related to Degrees of Vertices IV: Graph is a Tree?

1. What is a tree in graph theory?

A tree in graph theory is a special type of graph that is made up of vertices and edges. It is a connected graph that does not contain any cycles or loops.

2. How is a tree different from other types of graphs?

A tree differs from other types of graphs because it is connected and does not have any cycles or loops. Other types of graphs, such as cycles, have at least one cycle or loop.

3. What is the significance of degrees of vertices in a tree?

The degrees of vertices in a tree are important because they determine the structure and properties of the tree. The degrees of vertices can also help determine if a graph is a tree or not.

4. What is the maximum number of edges in a tree with n vertices?

The maximum number of edges in a tree with n vertices is n-1. This is known as the tree's maximum degree or its order.

5. Can a graph with more than one tree be considered a tree?

No, a graph with more than one tree cannot be considered a tree. A tree must be a connected graph with no cycles or loops. A graph with more than one tree would have disconnected components, which is not allowed in a tree.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Precalculus Mathematics Homework Help
Replies
3
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
Back
Top