Professional Documents
Culture Documents
Instructions
1.) You may do both problems for 20 points each, but the total extra credit
points for Exam #1 will be computed as 10 × (Your Grade)/40.
2.) Show all your work for full credit and for partial credit.
4.) You may only consult your notes, my notes on Canvas and the textbook
and you may only email me directly if you have any questions.
5.) Please sign your name and your signature certifies that you have complied
with the University of Pennsylvania’s Code of Academic Integrity in com-
pleting this examination.
––––––––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––––––––
An fair n-sided die is rolled m times and suppose that X is the random
variable equal to the maximum value of these m rolls.
for n ≥ 1.
––––––––––––––––––––––––––––––––––––
2
––––––––––––––––––––––––––––––––––––
Imagine that the United States Senate is about to vote on an important bill.
Let’s suppose that there are A senators (out of N) that are “against” the
bill (with A < N/2), and hence N − A = F > N/2 senators “for” the bill
so that if all N senators show up for the vote, the bill will past. However,
suppose that M of the senators miss the vote because they are not present
during the day of the vote and suppose that their absence is due to purely
random reasons (traffic delays, illness, forgetfulness, etc.) and has nothing
to do with whether a senator is either for or against the bill. It is then
possible for the bill to go the wrong way, i.e., for the senators who do show
up to vote to collectively defeat the bill.
a.) (15 points) In this problem, you want to compute the probability that the
bill is defeated given that M of the N senators miss the vote. You may
leave your final answer as a sum but clearly explain the terms in the sum
and the limits in the summation. Hint: Let X be the random variable on
the number of senators missing the vote that, if present, would have voted
for the bill. Then compute P (X = x|A, F, M) and go from there. Also,
assume that the bill is defeated if, at the time of the vote, the number of
senators for the bill is less than or equal to the number of senators against
the bill.
b.) (5 points) Compute the probability that the bill is defeated given that
M = 10 of the N = 100 senators miss the vote assuming also that A = 49
and F = 51.
––––––––––––––––––––––––––––––––––––
3
––––––––––––––––––––––––––––––––––––
Solution to Problem #1
X = {1, 2, 3, ..., n}
and suppose that X = x. Then this can happen in the ways summarized in
the following table.
The probabilities are computed by noting that in the case when j of the
m rolls equal x, there must be n − j rolls less than x, and regardless of their
values, they all have the same probability of 1/n, and so the probability
that a roll is less than x is (x − 1)/n. Then, using the binomial distribution,
each of these has probability
à !µ ¶m−j µ ¶j
m x−1 1
j n n
and so m
à !µ ¶m−j µ ¶j
X m x−1 1
P (X = x) =
j=1 j n n
or
m
à !µ ¶m−j µ ¶j à !µ ¶m−0 µ ¶0
X m x−1 1 m x−1 1
P (X = x) = −
j=0 j n n 0 n n
4
or µ ¶m µ ¶m µ ¶m µ ¶m
x−1 1 x−1 x x−1
pn,m (x) = + − = −
n n n n n
or
xm − (x − 1)m
pn,m (x) =
nm
for x = 1, 2, 3, ..., n. It should be noted that
n n
X X xm − (x − 1)m nm − (1 − 1)m
pn,m (x) = = =1
x=1 x=1 nm nm
as it must.
––––––––––––––––––––––––––––––––––––
5
––––––––––––––––––––––––––––––––––––
Solution To Problem #2
a.) Let X be the random variable on the number of senators missing the vote
that, if present, would have voted for the bill. Then for X = x, M − x is
the number of senators missing the vote who would have voted against the
bill. Now it should be clear that the bill will be defeated if
F − x ≤ A − (M − x) or (N − A) − x ≤ A − (M − x)
6
and so ³ ´³ ´
min(F,M) F A
X x M−x
P = ³ ´
N
x=xmin M
where » ¼
F −A+M
xmin ≡ .
2
b.) For A = 49, F = 51, N = 100 and M = 10, we find that
» ¼
51 − 49 + 10
xmin ≡ = d6e = 6
2
and then ³ ´³ ´
min(51,10) 51 49
X x 10−x 6475011
P = ³ ´ =
100 16340038
x=6 10
––––––––––––––––––––––––––––––––––––