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

Show that every tree is bipartite.

Short Answer

Expert verified

Therefore, every tree is bipartite is the true statement.

Step by step solution

01

General form

Definition of tree: A tree isa connected undirected graph with no simple circuits.

Definition of Circuit:It isa path that begins and ends in the same vertex.

Bipartite graph (Definition): It is a simple graph whose vertices can be partitioned into two sets \({{\bf{V}}_{\bf{1}}}\) and \({{\bf{V}}_{\bf{2}}}\) such that there are no edges among the vertices of \({{\bf{V}}_{\bf{1}}}\) and no edges among the vertices of \({{\bf{V}}_{\bf{2}}}\), while there can be edges between a vertex of \({{\bf{V}}_{\bf{1}}}\) and a vertex of \({{\bf{V}}_{\bf{2}}}\).

Definition of Level: The level of a vertex is the length of the path from the root to the vertex.

02

Proof of the given statement

Given that, T is a tree.

To prove: T is bipartite.

Let \({{\bf{V}}_{\bf{1}}}\) contains all vertices at level 0, level 2, level 4, etc., of the tree T and let \({{\bf{V}}_{\bf{1}}}\) contains all vertices at level 1, level 3, level 5, etc.,

There cannot be edges from a vertex in \({{\bf{V}}_{\bf{1}}}\) to a vertex in \({{\bf{V}}_{\bf{1}}}\), as a vertex at level h can only be connected to a vertex at level h-1 or level h+1.

Similarly, there cannot be edges from a vertex in \({{\bf{V}}_{\bf{2}}}\) to a vertex in \({{\bf{V}}_{\bf{2}}}\), as a vertex at level h can only be connected to a vertex at level h-1 or level h+1.

Finally, it is possible that there are edges from a vertex in \({{\bf{V}}_{\bf{1}}}\) to a vertex in \({{\bf{V}}_{\bf{2}}}\).

Conclusion: So, the graph is bipartite.

Hence proved.

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

Show that a directed graph \({\bf{G = }}\left( {{\bf{V,E}}} \right)\) has an arborescence rooted at the vertex r if and only if for every vertex \({\bf{v}} \in {\bf{V}}\), there is a directed path from r to v.

The eccentricity of a vertex in an unrooted tree is the length of the longest simple path beginning at this vertex. A vertex is called a center if no vertex in the tree has smaller eccentricity than this vertex. In Exercises \({\bf{39--41}}\) find every vertex that is a center in the given tree.

41.

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.

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

Show that a center should be chosen as the root to producea rooted tree of minimal height from an unrooted 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