[SOLVED] CPTS553-Assignment 2

24.99 $

Programming resource
Digital learning resource
Category:
โœ“ Practical programming resource
โœ“ Suitable for guided study and reference
โœ“ Tutor guidance available when needed

Description

Rate this product
  1. Among all simple graphs with 21 vertices, determine (with justification) the minimum possible and the maximum possible number of edges such a graph could have.

 

  1. Suppose ๐บ is a simple graph (no loops, no parallel edges) with ๐‘› vertices and ๐‘š Let ๐ป be the simple graph whose vertices take the form (0, ๐‘ฃ) or (1, ๐‘ฃ) for each vertex ๐‘ฃ of ๐บ.ย  Two vertices (๐‘Ž, ๐‘ฃ) and (๐‘, ๐‘ค) of ๐ป are adjacent if either of the following two conditions holds:

 

  • ๐‘Ž โ‰  ๐‘ and ๐‘ฃ = ๐‘ค, or
  • ๐‘Ž = ๐‘ and ๐‘ฃ๐‘ค is an edge of ๐บ

Later on, we will call this graph ๐พ2 ร— ๐บ.ย  As an example, if ๐บ is ๐พ4, then ๐ป is drawn below:

In terms of ๐‘› and ๐‘š, how many vertices does ๐ป have and how many edges does ๐ป have?

 

 

 

  1. Recall that a graph ๐บ is said to be cubic if it is 3-regular, i.e., every vertex has degree 3.
    1. Explain why a loopless cubic graph must have an even number of vertices.
    2. For each integer ๐‘› โ‰ฅ 1, construct a loopless cubic graph with 2๐‘›
    3. For each integer ๐‘› โ‰ฅ 3, construct a simple cubic graph with 2๐‘› (You could apply question #2 to this purpose.)

 

  1. Determine, with justification, whether the Petersen graph (drawn below, with vertex set ๐‘‰ = {๐‘Ž, ๐‘, ๐‘, ๐‘‘, ๐‘’, ๐‘“, ๐‘”, โ„Ž, ๐‘–, ๐‘—}) is bipartite:

 

 

CPTS 553: Graph Theory Assignment

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.