Docsity

Questions on Basic Discrete Mathematics - Homework 8 | MATH 213, Assignments of Discrete Mathematics

Toggle sidebar
bg1
MATH213 HW 8
Due Wednesday, October 18
Solve five of the six problems below.
1. What is the probability of these events when we randomly choose a permutation of
{1,2, . . . , n}where n≥4?
(a) 2 precedes n.
(b) 1 precedes 2 and 2 precedes n.
(c) 1 immediately precedes 3.
(d) 1 immediately precedes 3, and nimmediately precedes 2.
2. Suppose that E1and E2are events such that p(E1) = 3/4 and p(E2) = 4/5. Show
that 11/20 ≤p(E1∩E2)≤3/4.
3. A student takes a random card from a deck of 52 cards, looks at it and puts it back.
If he does this ktimes, what is the probability that he took a card of some kind at least
twice? What is the smallest ksuch that this probability is greater than 1/2?
4. Suppose that a die is loaded so that 1 comes up twice as often as each other number.
We roll the die three times. What is the expected sum of the numbers that come up?
5. Suppose we flip a coin until either it comes up heads two times in a row or we flipped
it five times. What is the expected number of times we flip the coin?
6. An inversion in a permutation of {1,2, . . . , n}is an ordered pair (i, j) such that
i<jbut jprecedes iin this permutation. For example, the inversions in the permuta-
tion (2,4,1,3) are (1,2),(1,4), and (3,4). What is the expected number of inversions in a
permutation of {1,2, . . . , n}? Prove your answer.

Partial preview of the text

Download Questions on Basic Discrete Mathematics - Homework 8 | MATH 213 and more Assignments Discrete Mathematics in PDF only on Docsity!

MATH213 HW 8

Due Wednesday, October 18 Solve five of the six problems below.

  1. What is the probability of these events when we randomly choose a permutation of { 1 , 2 ,... , n} where n ≥ 4? (a) 2 precedes n. (b) 1 precedes 2 and 2 precedes n. (c) 1 immediately precedes 3. (d) 1 immediately precedes 3, and n immediately precedes 2.
  2. Suppose that E 1 and E 2 are events such that p(E 1 ) = 3/4 and p(E 2 ) = 4/5. Show that 11/ 20 ≤ p(E 1 ∩ E 2 ) ≤ 3 /4.
  3. A student takes a random card from a deck of 52 cards, looks at it and puts it back. If he does this k times, what is the probability that he took a card of some kind at least twice? What is the smallest k such that this probability is greater than 1/2?
  4. Suppose that a die is loaded so that 1 comes up twice as often as each other number. We roll the die three times. What is the expected sum of the numbers that come up?
  5. Suppose we flip a coin until either it comes up heads two times in a row or we flipped it five times. What is the expected number of times we flip the coin?
  6. An inversion in a permutation of { 1 , 2 ,... , n} is an ordered pair (i, j) such that i < j but j precedes i in this permutation. For example, the inversions in the permuta- tion (2, 4 , 1 , 3) are (1, 2), (1, 4), and (3, 4). What is the expected number of inversions in a permutation of { 1 , 2 ,... , n}? Prove your answer.