Discrete Mathematics Homework 10, CS173 Fall 2006, Assignments of Discrete Structures and Graph Theory

Problem solutions for homework 10 in the discrete mathematical structures course offered by cs173 at the university of california, berkeley, in the fall 2006 semester. The problems cover various topics such as combinatorics, probability, and number theory.

Typology: Assignments

Pre 2010

Uploaded on 03/10/2009

koofers-user-2cn
koofers-user-2cn 🇺🇸

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 10
Due: 8am, November 21, 2006
November 14, 2006 Cinda Heeren
Problem 1
(10 points) How many solutions are there to the equation
x1+x2+x3+x4+x5+x6= 29
where xi, i = 1,2,3,4,5,6,is a nonnegative integer such that
a) xi>1 for i= 1,2,3,4,5,6?
b) x11, x22, x33, x44, x55,and x66?
c) x15?
d) x1<8 and x2>8?
Problem 2
a) (3 points) How many different strings can be made from the letters in MI SS IS SI P P I,
using all the letters?
b) (4 points) How many different strings can be made from the letters in MI SS IS SI P P I,
using all the letters and having no consecutive Ss?
c) (3 points) How many ways are there to travel in xyzw space from the origin (0,0,0,0) to the
point (4,3,5,4) by taking steps one unit in the positive x, positive y, positive z, or positive
wdirection?
Problem 3
(10 points) What is the probability of these events when we randomly select a permutation of the
26 lowercase letters of the English alphabet?
a) ais the first letter of the permutation and zis the last letter.
b) yand zare not next to each other in the permutation. (Hint: it might be easier to first think
of the probability of yand zbeing next to each other.)
c) aand zare separated by at least 23 letters in the permutation. (Hint: list all possible
configurations and then figure out how many permutations each configuration can have. For
example, a24zis a possible configuration)
d) zis somewhere in between aand bin the permutation.
1
pf2

Partial preview of the text

Download Discrete Mathematics Homework 10, CS173 Fall 2006 and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CS173: Discrete Mathematical Structures Fall 2006

Homework 10

Due: 8am, November 21, 2006 November 14, 2006 Cinda Heeren

Problem 1

(10 points) How many solutions are there to the equation

x 1 + x 2 + x 3 + x 4 + x 5 + x 6 = 29

where xi, i = 1, 2 , 3 , 4 , 5 , 6 , is a nonnegative integer such that

a) xi > 1 for i = 1, 2 , 3 , 4 , 5 , 6?

b) x 1 ≥ 1 , x 2 ≥ 2 , x 3 ≥ 3 , x 4 ≥ 4 , x 5 ≥ 5 , and x 6 ≥ 6?

c) x 1 ≤ 5?

d) x 1 < 8 and x 2 > 8?

Problem 2

a) (3 points) How many different strings can be made from the letters in M ISSISSIP P I, using all the letters? b) (4 points) How many different strings can be made from the letters in M ISSISSIP P I, using all the letters and having no consecutive Ss?

c) (3 points) How many ways are there to travel in xyzw space from the origin (0, 0 , 0 , 0) to the point (4, 3 , 5 , 4) by taking steps one unit in the positive x, positive y, positive z, or positive w direction?

Problem 3

(10 points) What is the probability of these events when we randomly select a permutation of the 26 lowercase letters of the English alphabet?

a) a is the first letter of the permutation and z is the last letter.

b) y and z are not next to each other in the permutation. (Hint: it might be easier to first think of the probability of y and z being next to each other.) c) a and z are separated by at least 23 letters in the permutation. (Hint: list all possible configurations and then figure out how many permutations each configuration can have. For example, a♦^24 z is a possible configuration) d) z is somewhere in between a and b in the permutation.

Problem 4

(10 points) Assume that the probability a child is a boy is 0.51 and that the sexes of children born into a family are independent. What is the probability that a family of five children has

a) exactly three boys?

b) at least one boy?

c) at least one girl?

d) all children of the same sex?

Problem 5

(10 points) What is the expected sum of the numbers that appear when three fair dice are rolled? (Hint: Note that the expectation of a sum is the sum of the expectations.)