Skip to main content

Trees

  • Chapter
  • First Online:
Basic Graph Theory

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

  • 6125 Accesses

Abstract

A tree is a connected graph that contains no cycle. In this chapter we know some properties of trees which are useful for solving computational problems on trees.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 49.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Nikolopoulos, S.D., Palios, L., Papadopoulos, C.: Counting spanning trees in graphs using modular decomposition. In: Proceedings of WALCOM 2011. Lecture Notes in Computer Science, vol. 6552, pp. 202–213. Springer, Berlin (2011)

    Google Scholar 

  2. Goodrich, M.T., Tamassia, R.: Algorithm Design: Foundations, Analysis, and Internet Examples. Wiley, New York (2002)

    MATH  Google Scholar 

  3. Cayley, A.: A theorem on trees. Quart. J. Math. 23, 376–378 (1889)

    Google Scholar 

  4. Prüfer, H.: Neuer beweis eines satzes über permutationen. Arch. Math. Phys. 27, 142–144 (1918)

    Google Scholar 

  5. Clarke, L.E.: On Cayley’s formula for counting trees. J. London Math. Soc. 33, 471–474 (1958)

    Google Scholar 

  6. Moon, J.W.: Counting Labeled Trees. Canadian Mathematical Congress, Montreal (1970)

    MATH  Google Scholar 

  7. Arybhatta, S., Roy, T.G., Uddin, M., Rahman, M.S.: On graceful labeling of trees. In: Proceedings of WALCOM 2011. Lecture Notes in Computer Science, vol. 6552, pp. 214–220. Springer, Heidelberg (2011)

    Google Scholar 

  8. Morgan, D.: All lobsters with perfect matchings are graceful. Bull. Inst. Comb. Appl. 53, 82–85 (2008)

    MathSciNet  MATH  Google Scholar 

  9. Agnarsson, G., Greenlaw, R.: Graph Theory: Modeling, Applications and Algorithms. Pearson Education Inc., New Jersey (2007)

    Google Scholar 

  10. Nishizeki, T., Rahman, M.S.: Planar Graph Drawing. World Scientific, Singapore (2004)

    Google Scholar 

  11. West, D.B.: Introduction to Graph Theory, 2nd edn. Prentice Hall, New Jersey (2001)

    Google Scholar 

  12. Wilson, R.J.: Introduction to Graph Theory, 4th edn. Longman, London (1996)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Md. Saidur Rahman .

Exercises

Exercises

  1. 1.

    Show that a forest with n vertices and k components has \(n-k\) edges.

  2. 2.

    Show that a forest with n vertices and m edges contains \(n-m\) components.

  3. 3.

    Show that a graph with n vertices, m edges, and \(n-m\) components is acyclic.

  4. 4.

    Prove the correctness of Kruskal’s algorithm described in Section  4.4.

  5. 5.

    Draw all labeled trees with four vertices.

  6. 6.

    Construct all labeled spanning trees of \(K_4\). How many of them are non-isomorphic?

  7. 7.

    Compute the ecentricities of the vertices in the graph in Fig. 4.14.

  8. 8.

    Find the centers of the trees in Figs. 4.15(a) and (b).

  9. 9.

    Show that the center of a tree is a single vertex if the diameter of the tree is even.

  10. 10.

    Compute the Prüffer’s code for Figs. 4.15(a) and (b).

  11. 11.

    Construct the tree corresponding to Prüffer’s code 1,2,2,7,6,6,5.

  12. 12.

    Find a graceful labeling of the tree in Fig. 4.15(b).

  13. 13.

    Develop an algorithm for computing a graceful labeling of a caterpillar.

  14. 14.

    Find a graceful labeling of the tree in Fig. 4.16. Can you develop an algorithm for finding graceful labelings of this type of trees?

  15. 15.

    Show that every tree containing a vertex of degree k contains at least k leaves.

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this chapter

Cite this chapter

Rahman, M.S. (2017). Trees. In: Basic Graph Theory. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-49475-3_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-49475-3_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-49474-6

  • Online ISBN: 978-3-319-49475-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics