CS173 Discrete Mathematical Structures Homework 9, Assignments of Discrete Structures and Graph Theory

The fall 2006 cs173 discrete mathematical structures homework #9. The homework consists of problems related to the pigeonhole principle, combinatorial proof, and binomial coefficients. Students are required to solve problems related to showing that consecutive addresses exist on a street, proving that any set of nonempty strings over {a, b, c, d} have two strings with matching starting and ending letters, and finding terms and coefficients in the binomial expansion.

Typology: Assignments

Pre 2010

Uploaded on 03/10/2009

koofers-user-qy3
koofers-user-qy3 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS173 Discrete Mathematical Structures
Fall 2006
Homework #9
due Tuesday, November 7, 2006, 8:00 a.m.
(46 points + 6 bonus points)
1. The Pigeonhole Principle (10 points)
a. (5 points) There are 26 houses on a street. Each house has a distinct address between
1000 and 1049, inclusive. Show that at least two houses have addresses that are
consecutive integers.
Hint: Group all available addresses into pairs of consecutive numbers. Take them as
“pigeonholes”.
b. (5 points) Prove that any set of 17 nonempty strings over { a, b, c, d} have two different
strings whose starting letters agree and ending letters agree.
Hint: Nonempty strings over {a, b, c, d} can be any size greater than 0, can use any
combination of letters, and can have any order. We are only concerned with the starting
and ending letters of strings.
2. Combinatorial Proof (8 points)
Give a combinatorial proof that if n is a positive integer then
2 2
0
( 1)2
nn
k
n
k n n
k
.
Hints:
1. Read Chapter 5.4 in your textbook. There are a couple of nice combinatorial proofs.
See Corollary 1 and Theorem 2.
2. Consider a set A of n elements. Both sides count the ways to first select a subset S of
A and then select two not necessarily distinct elements from S. By saying not
necessarily distinct, it means that we select twice from S, and the selected element
of each selection may be the same element. For example, we choose x for the first
time, and again choose x for the second time.
3. Express the right-hand side as
2 1
( 1)2 2
n n
n n n
. Match these two terms with the
following two situations: the two elements chosen are different, and the two
elements chosen are the same.
pf2

Partial preview of the text

Download CS173 Discrete Mathematical Structures Homework 9 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CS173 Discrete Mathematical Structures

Fall 2006

Homework # 9

due Tuesday, November 7 , 2006, 8:00 a.m.

(46 points + 6 bonus points)

1. The Pigeonhole Principle (10 points) a. (5 points) There are 26 houses on a street. Each house has a distinct address between 1000 and 1049, inclusive. Show that at least two houses have addresses that are consecutive integers. Hint : Group all available addresses into pairs of consecutive numbers. Take them as “pigeonholes”. b. (5 points) Prove that any set of 17 nonempty strings over { a , b , c , d } have two different strings whose starting letters agree and ending letters agree. Hint : Nonempty strings over { a , b , c , d } can be any size greater than 0, can use any combination of letters, and can have any order. We are only concerned with the starting and ending letters of strings. 2. Combinatorial Proof (8 points) Give a combinatorial proof that if n is a positive integer then 2 2

0 (^ 1)

n (^) n k

n

k n n

k

 

 ^ 

Hints :

  1. Read Chapter 5.4 in your textbook. There are a couple of nice combinatorial proofs. See Corollary 1 and Theorem 2.
  2. Consider a set A of n elements. Both sides count the ways to first select a subset S of A and then select two not necessarily distinct elements from S. By saying not necessarily distinct, it means that we select twice from S , and the selected element of each selection may be the same element. For example, we choose x for the first time, and again choose x for the second time.
  3. Express the right-hand side as (^2 )

n n (  1)2 n^ ^  n 2 n 

. Match these two terms with the following two situations: the two elements chosen are different, and the two elements chosen are the same.

3. Binomial Coefficients (10 points + 6 bonus points) a. (5 points) Find the 2nd^ term of the expansion of 200 3

( x )

x

 (note that we start counting

from 0th^ term, then 1st^ term, 2nd^ term, 3rd^ term, etc.). Then find the coefficient of (^300)

x

in this expansion. Is there a constant term in the expansion? If yes, find it. If no, give a brief explanation.

b. (Bonus: 6 points) Give a formula for the coefficient of x k in the expansion of 3 200

( x )

x

, where k is an integer. Hints :

1. List a few terms of the expansion to find the property of k. What is the range of k? Are they a multiple of some integer? 2. Your formula should look like a piecewise function. 3. Pay attention to the +/- sign of each term. c. (5 points) Use the binomial theorem to prove that

n

C n  C n  C n    C n n 

4. Combination & Permutation (18 points) For each of the following question, show the expression. Do not calculate the final solution. a. (10 points) How many bit strings (strings over {0, 1}) of length 12 contain 1. exactly three 1s? 2. at most three 1s? 3. at least four 1s? 4. an equal number of 0s and 1s? 5. more 0s than 1s? b. (8 points) How many strings of six lowercase letters from the English alphabet contain 1. the letter x? 2. the letters x and y? 3. the letters x and y in consecutive positions with x preceding y , with all the letters distinct? 4. the letters x and y , where x is somewhere to the left of y in the string, with all the letters distinct?