Proving Non-Trivial Trees Have At Least 2 Vertices with Degree <2

In summary: Hence c is a new vertex with degree greater than 1.I don't think this argument is much easier to understand than the inductive one. In fact, it seems much more difficult.
  • #1
Reshma
749
6
I'm not sure where to post this, but anyway here is the question:

Given a graph G(p,q) is a tree where p is the number of vertices and q is the number of edges.

Since given graph is a tree, number of edges q=p-1.

How do you prove that every non-trivial tree has atleast two vertices with degree less than 2?

P.S.: A tree is a connected acyclic graph.
 
Physics news on Phys.org
  • #2
Sum up the degrees of the vertices in two ways, once as a sum over the vertices and once as a sum over the edges. Assume you don't have two vertices with degree one, use this assumption to get a lower bound for the sum of the degrees and you'll find a contradiction.
 
  • #3
Thanks for replying.

Here is my proof:
Graph G(p,q) is a tree. Hence q=p-1.
Let us assume that the tree does not have any vertices with degree 1.
Let [tex]d_i[/tex] represent degree of any vertex i ranging from 1 to p.

We know [tex]\sum d_i = 2q[/tex]
[tex]\sum d_i = 2p-2 [/tex]

How do you get a lower bound on this and get a contradiction?
 
  • #4
Can someone help?
 
  • #5
Well if you assumed you had no vertices of degree 1, then each [tex]d_i[/tex] must be greater than or equal to what number? What does this say about [tex]\sum d_i[/tex], keeping in mind that [tex]p[/tex] is the number of vertices?

Can we modify this slightly to rule out the possiblity of only one vertex of degree 1? What about 2 vertices of degree 1, is this possible?
 
Last edited:
  • #6
OK,based on the assumption--each [tex]d_i[/tex] is greater than or equal to 2.

How do you now prove there are atleast 2 verices of degree 1?
 
  • #7
Reshma said:
OK,based on the assumption--each [tex]d_i[/tex] is greater than or equal to 2.

You're adding up p things, each of which is at least 2, so [tex]\sum d_i \geq ?[/tex]
 
  • #8
Ok, so [tex]\sum d_i \geq 2p[/tex]...which is a contradiction.
Hence there are atleast 2 vertices of degree 1.

Thank you.
 
  • #9
Hang on, this lower bound of 2p came from the assumption that we had no vertices of degree 1, so this contradiction only tells you that you have at least one vertex of degree 1. The point of this cse was to give you a (slightly) simpler version to try first.

What inequality do you get if you assume you have only one vertex of degree 1? You should get a similar contradiction.
 
  • #10
I'm sorry, I cannot arrive at any contradiction :cry:
can you help?
 
  • #11
Let's make the indicies explicit. You know:

[tex]\sum_{i=1}^{p}d_i=2p-2[/tex]

Now suppose you have 1 vertex with degree 1, the rest two or more. Without loss of generality assume [tex]d_p=1[/tex] and [tex]d_i\geq 2[/tex] for all 1<=i<p. Using this, what is a lower bound for the sum?
 
  • #12
The lower bound is: [tex]\sum d_i \geq 2p+1[/tex]
Right? This also a contradiction. Hence there has to be atleast 2 verices of degree 1.

Hope I got it right this time.
 
  • #13
Why the +1?

break the sum up:

[tex]\sum_{i=1}^{p}d_i=d_p+\sum_{i=1}^{p-1}d_i[/tex]

and use my assumption above that the pth vertex was the only one with degree 1, the rest (all p-1 of them) have degree 2 or more..
 
  • #14
[tex]\sum_{i=1}^{p}d_i=d_p+\sum_{i=1}^{p-1}d_i[/tex]

[tex]\sum_{i=1}^{p}d_i=2p-2[/tex]

[tex]d_p=1[/tex]

[tex]\sum_{i=1}^{p-1}d_i\geq 2(p-1)[/tex]
--->right?
 
  • #15
Reshma said:
--->right?

Good, now combine everything.
 
  • #16
use induction on the number of edges. It is true if there is only one edge.

Now just collapse any edge, collapsing vertex a to vertex b. The result is true for the new graph by induction. If collapsing the edge changed the degree of b from 2 to one, it is obvious that either b or a also had degree one originally.


done.

moral: induction is a ridiculously powerful tool.
 
Last edited:
  • #17
shmoe said:
Good, now combine everything.

[tex]\sum_{i=1}^{p}d_i=d_p+\sum_{i=1}^{p-1}d_i[/tex]
Hence, [tex] 2p-2 = 1 + [2(p-1)]_{min}[/tex]

You get an absurd equation. Hence a contradiction.
 
  • #18
what do you think of the inductive argument? doesn't it seem easier?
 
  • #19
mathwonk said:
what do you think of the inductive argument? doesn't it seem easier?

No, I find the inductive aurgument pretty difficult to understand. Sorry :frown:
 
  • #20
let me try to explain it more clearly:

we wish to show that a non trivial finite tree has at least two vertices of degree one, i.e. from which there emanate only one edge. We will argue by induction on the number n of edges.

By definition, a non trivial tree has at least one edge. So we begin the induction with the case n=1. Then it is clear that both vertices have exactly one edge and we are done.

Now assume the result for all graphs with n-1 edges, and let us consider a graph G with n ≥ 2 edges.

Choose any edge e at all, with endpoints a and b, and collapse e to a point.

This produces a new graph G' with n-1 edges. The two endpoints a and b of e have been combined together into one new vertex called c.

Now let's compute the degree of c. I claim deg(c) = deg(a) + deg(b) -2.

I.e. all edges, except for e, that used to end at either a or b now end at c, so we must add them. (Since G was a tree, only one edge, namely e, ended at both a and b, so a and b had no edges in common except for e.) Since the missing edge e counted as one for both deg(a) and deg(b), we must subtract it twice have our formula. i.e. deg(c) = deg(a)-1 + deg(b)-1.

Now deg(c) cannot be zero, since that would mean that G had only the one edge e.

Consequently, deg(c) ≥ 1, and if deg(c) =1, then either deg(a) or deg(b)=1.

All other vertices of G' have the same degree they had in G, since they fail to meet e.

Now by the inductive hypothesis, there are two vertices say x,y, of G' of degree one. If neither of these is c, we are done, since our collapsing process did not affect them, so the same two vertices on G also had degree one.

If it happens that say x = c, then deg(c) =1, so either a or b had degree 1 in G, say deg(a) = 1. Then in G we had at least two vertices of degree one, namely a and y.

Does this seem clearer?
 
Last edited:
  • #21
come on guys. surely you can respond to this.
 
  • #22
Collapsing edges? Does this mean you deleting a vertex or an edge?
 
  • #23
mathwonk said:
come on guys. surely you can respond to this.

Not much for me to say about it. Personally I think arguing by the sum of the degrees of vertices is simpler and it uses more of the given information (q=p-1). This isn't to say induction proofs aren't very valuable in graph theory though! Both should be understood.


Reshma, "collapsing an edge" means removing that edge from the graph and identifying its two vertices as one. For example, if you collapse the edge in the tree with two vertices, you get the tree with one vertex.
 
  • #24
This discussion on graph theory has been quite insightful for me. Thank you very much, Shmoe for your cooperation and Mathwonk too!
 
  • #25
well simplicity is in the eye of the beholder but if you go back now and re read my original 2 sentence proof in #16, I think it is about as simple as possible. No formulas are needed, the argument took me about 10 seconds to think of, and completely settles the matter.
 
  • #26
I didn't at all mean to imply that the induction method here isn't groovy. I liked the other way for it's emphasis on how restrictive a condition like q=p-1 can be and the joys of counting the same thing twice. Which is simpler or nicer is definitely in the eye of the beholder. :smile:

I'm sure all beholders would agree that both basic techniques, counting the same thing in two different ways and induction, are key tools in both graph theory (and combinatorics)?
 
  • #27
i just like arguments i can do in my head in a few seconds, with no computation.
 

1. What does it mean for a tree to have a degree less than 2?

A tree is a type of graph that consists of vertices (points) connected by edges (lines). The degree of a vertex is the number of edges that are connected to it. Therefore, a tree with a degree less than 2 means that there are less than 2 edges connected to any given vertex.

2. Why is it important to prove that non-trivial trees have at least 2 vertices with degree <2?

Proving this statement helps us understand the structure of trees and their properties. It also allows us to make conclusions about the minimum and maximum number of edges that a tree can have based on the number of vertices it has.

3. What does "non-trivial" mean in this context?

In graph theory, a non-trivial tree is a tree that has more than one vertex. This means that it is not a single point or a line, but a structure with multiple vertices and edges.

4. How can we prove that non-trivial trees have at least 2 vertices with degree <2?

There are multiple ways to prove this statement, but one way is to use proof by contradiction. Assuming that a non-trivial tree has less than 2 vertices with degree <2, we can show that this leads to a contradiction, thus proving that the initial assumption was false and the statement is true.

5. Can this statement be extended to other types of graphs?

Yes, this statement can be extended to all types of graphs. In fact, it is a fundamental property of trees and can be applied to any graph that meets the definition of a tree. However, it may not hold true for other types of graphs that are not trees.

Similar threads

Replies
4
Views
863
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
Replies
34
Views
3K
  • Precalculus Mathematics Homework Help
Replies
22
Views
3K
  • General Math
Replies
21
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
Replies
1
Views
924
Replies
7
Views
2K
  • Precalculus Mathematics Homework Help
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
11
Views
475
Back
Top