Skip to main content Accessibility help
×
Hostname: page-component-848d4c4894-4rdrl Total loading time: 0 Render date: 2024-06-17T08:05:57.666Z Has data issue: false hasContentIssue false

5 - Graphs and Trees

Published online by Cambridge University Press:  06 July 2010

Sheldon M. Ross
Affiliation:
University of California, Berkeley
Get access

Summary

Graphs

A graph consists of a set of elements V called vertices (or nodes) and a set A of pairs of distinct vertices called edges (or arcs). It is usual to represent such a system graphically by drawing circles for vertices and drawing lines between vertices i and j when (i, j) is an edge. For instance, the graph having V = {1, 2, 3, 4, 5, 6} and A = {(1, 2), (1, 4), (1, 5), (2, 3), (2, 5), (3, 5), (5, 6)} is represented in Figure 5.1.

It should be noted the edges have no direction – for instance, the edge (1, 3) can also be written as (3, 1) – and also that we allow neither edges from a vertex to itself nor multiple edges connecting the same pair of vertices.

A sequence of vertices i, i1, i2, …, ik, j for which (i, i1), (i1, i2), …, (ik−1, ik), (ik, j) are all edges is called a path from vertex i to vertex j. Figure 5.2 shows a path from vertex 1 to vertex 6.

A path i, i1, i2, …, ik, i from a vertex back to itself in which all of the edges (i, i1), (i1, i2), …, (ik−1, ik), (ik, i) are distinct is called a cycle; see Figure 5.3.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2000

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure coreplatform@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Graphs and Trees
  • Sheldon M. Ross, University of California, Berkeley
  • Book: Topics in Finite and Discrete Mathematics
  • Online publication: 06 July 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511755354.006
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Graphs and Trees
  • Sheldon M. Ross, University of California, Berkeley
  • Book: Topics in Finite and Discrete Mathematics
  • Online publication: 06 July 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511755354.006
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Graphs and Trees
  • Sheldon M. Ross, University of California, Berkeley
  • Book: Topics in Finite and Discrete Mathematics
  • Online publication: 06 July 2010
  • Chapter DOI: https://doi.org/10.1017/CBO9780511755354.006
Available formats
×