

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about math 184a, a university course taught by prof. Tesler during the fall 2009 semester. Details about the topics that will be covered in class and the due dates for various assignments. The main focus of the document is on problem sets h-31 to h-34, which involve graph theory, euler's formula, and catalan numbers. Students are expected to determine the number of cycles, walks, and faces in a graph, find the chromatic number and proper colorings, and apply bijections between different objects counted by catalan numbers.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


Math 184A, Fall 2009, Prof. Tesler Homework #9, Due Thursday December 3, 2009
There’s no homework due on Thanksgiving, so this is a two-week assignment. Approximate dates that topics will be covered in class are listed below.
Chapter 9# 8∗, 9, 35 [Covered before assignment was posted] Chapter 10# 2 [Covered before assignment was posted] Problem H-31 [Scheduled to be covered Nov. 20] Chapter 12# 1∗, 3, 11 and Problem H-32 [Scheduled to be covered Nov. 23] Chapter 11# 15 and Problem H-33 [Scheduled to be covered Nov. 25] Problem H-34 [Scheduled to be covered Nov. 30; will include slides not in the book] ∗Notes:
Problem H-31. The problems below refer to the graph shown below in H-33(b). Recall that the length of a walk/path/trail/cycle is the number of edges.
(a) Determine the number of cycles of length 4, starting and ending at vertex 1. (b) Determine the number of walks of length 4 from vertex 1 to vertex 5.
If you have access to a calculator that does matrix arithmetic or to a program such as Matlab, you may use it. If you don’t, the length 4 was chosen so that you can use a shortcut by hand, A^4 = (A^2 )^2.
Problem H-32.
(a) A planar graph has 18 vertices and 40 edges. How many faces does it have? (b) An ordinary soccer ball has 32 panels: 20 hexagons and 12 pentagons. The vertices, edges, and faces of these panels give a planar graph. (i) What degrees do the vertices have? How many faces does each vertex touch? How many faces does each edge touch? (ii) Consider the set T = { (v, f ) : v is a vertex, f is a face, v is on f }. Determine its size |T | two ways: first, for each v, consider how many faces it’s in, and add that up over all v; and second, for each f , consider how many vertices it has, and add that up over all f. Use this to determine the total number of vertices. (iii) Consider the set U = { (e, f ) : e is an edge, f is a face, e is on f }. Determine its size in two ways. Use this to determine the total number of edges. (iv) Show that Euler’s formula (for planar graphs) holds.
Problem H-33. Determine the chromatic number of each of these graphs. Give an example of a proper coloring of each of these graphs achieving that number of colors.
(d) Redraw graph (b) as a planar graph. In the redrawn graph, determine V, E, F and show that they satisfy Euler’s formula (for planar graphs).
Problem H-34. Catalan numbers are briefly covered in our book, but not until Chapter 14. Instead, see the notes from the lectures, or the Wikipedia article “Catalan number”.
(a) Compute the number of ways to form a string of n pairs of balanced parentheses for n ≤ 6. An example for n = 6 is (())(()())(). (b) Compute the number of complete binary parenthesizations of a product of n variables, for n ≤ 6: e.g., ((a(bc))d)e is valid since each multiplication is of two things (binary), while (abc)(de) is not since abc is left as trinary multiplication. (c) In class we will learn bijections between four different things counted by Catalan numbers: n pairs of balanced parentheses; complete binary parenthesizations of a product of n + 1 variables; ordered binary trees with n + 1 leaves; triangulations of an (n + 2)-sided polygon. For each object below, determine the corresponding objects in the other categories listed above via the appropriate bijections. (i) Balanced parentheses: ((())()()) (ii) Complete binary parenthesization: (a(bc))(((de)f )g)
(iii) Triangulation: (d) Suppose we have an election between two candidates, A and B, and the ballots are counted one- by-one. At the end, the candidates are tied with n votes each. (i) If the order in which the votes are counted is random, what is the probability that A is never behind B during the counting? Hint: Write a vote for A as “(” and a vote for B as “)”, in the order in which the votes are counted. (ii) If the order in which the votes are counted is random, what is the probability that A is always ahead of B during the counting, except for the 0 − 0 and n − n ties at the start and end of the counting?