University of San Andrés (UdeSA

)
MATH101
Alle documenten voor dit vak (17)
Verkoper
Volgen
SolutionsWizard
Ontvangen beoordelingen
Voorbeeld van de inhoud
A Solution Manual for:
A First Course In Probability: Seventh Edition
by Sheldon M. Ross.
John L. Weatherwax∗
September 4, 2007
Introduction
Acknowledgements
Special thanks to Vincent Frost and Andrew Jones for helping find and correct various typos
in these solutions.
Miscellaneous Problems
The Crazy Passenger Problem
The following is known as the “crazy passenger problem” and is stated as follows. A line of
100 airline passengers is waiting to board the plane. They each hold a ticket to one of the 100
seats on that flight. (For convenience, let’s say that the k-th passenger in line has a ticket
for the seat number k.) Unfortunately, the first person in line is crazy, and will ignore the
seat number on their ticket, picking a random seat to occupy. All the other passengers are
quite normal, and will go to their proper seat unless it is already occupied. If it is occupied,
they will then find a free seat to sit in, at random. What is the probability that the last
(100th) person to board the plane will sit in their proper seat (#100)?
If one tries to solve this problem with conditional probability it becomes very difficult. We
begin by considering the following cases if the first passenger sits in seat number 1, then all
∗
wax@alum.mit.edu
1
,the remaining passengers will be in their correct seats and certainly the #100’th will also.
If he sits in the last seat #100, then certainly the last passenger cannot sit there (in fact he
will end up in seat #1). If he sits in any of the 98 seats between seats #1 and #100, say seat
k, then all the passengers with seat numbers 2, 3, . . . , k − 1 will have empty seats and be able
to sit in their respective seats. When the passenger with seat number k enters he will have
as possible seating choices seat #1, one of the seats k + 1, k + 2, . . . , 99, or seat #100. Thus
the options available to this passenger are the same options available to the first passenger.
That is if he sits in seat #1 the remaining passengers with seat labels k +1, k +2, . . . , 100 can
sit in their assigned seats and passenger #100 can sit in his seat, or he can sit in seat #100
in which case the passenger #100 is blocked, or finally he can sit in one of the seats between
seat k and seat #99. The only difference is that this k-th passenger has fewer choices for
the “middle” seats. This k passenger effectively becomes a new “crazy” passenger.
From this argument we begin to see a recursive structure. To fully specify this recursive
structure lets generalize this problem a bit an assume that there are N total seats (rather
than just 100). Thus at each stage of placing a k-th crazy passenger we can choose from
• seat #1 and the last or N-th passenger will then be able to sit in their assigned seat,
since all intermediate passenger’s seats are unoccupied.
• seat # N and the last or N-th passenger will be unable to sit in their assigned seat.
• any seat before the N-th and after the k-th. Where the k-th passenger’s seat is taken
by a crazy passenger from the previous step. In this case there are N −1 −(k +1) +1 =
N − k − 1 “middle” seat choices.
If we let p(n, 1) be the probability that given one crazy passenger and n total seats to select
from that the last passenger sits in his seat. From the argument above we have a recursive
structure give by
N −1
1 1 1 X
p(N, 1) = (1) + (0) + p(N − k, 1)
N N N
k=2
N −1
1 1 X
= + p(N − k, 1) .
N N
k=2
where the first term is where the first passenger picks the first seat (where the N will sit
correctly with probability one), the second term is when the first passenger sits in the N-th
seat (where the N will sit correctly with probability zero), and the remaining terms represent
the first passenger sitting at position k, which will then require repeating this problem with
the k-th passenger choosing among N − k + 1 seats.
To solve this recursion relation we consider some special cases and then apply the principle
of mathematical induction to prove it. Lets take N = 2. Then there are only two possible
arraignments of passengers (1, 2) and (2, 1) of which one (the first) corresponds to the second
passenger sitting in his assigned seat. This gives
1
p(2, 1) = .
2
,If N = 3, then from the 3! = 6 possible choices for seating arraignments
Only
(1, 2, 3) (2, 1, 3) (3, 2, 1)
correspond to admissible seating arraignments for this problem so we see that
3 1
p(3, 1) = = .
6 2
1
If we hypothesis that p(N, 1) = 2
for all N, placing this assumption into the recursive
formulation above gives
N −1
1 1 X1 1
p(N, 1) = + = .
N N 2 2
k=2
Verifying that indeed this constant value satisfies our recursion relationship.
, Chapter 1 (Combinatorial Analysis)
Chapter 1: Problems
Problem 1 (counting license plates)
Part (a): In each of the first two places we can put any of the 26 letters giving 262 possible
letter combinations for the first two characters. Since the five other characters in the license
plate must be numbers, we have 105 possible five digit letters their specification giving a
total of
262 · 105 = 67600000 ,
total license plates.
Part (b): If we can’t repeat a letter or a number in the specification of a license plate then
the number of license plates becomes
26 · 25 · 10 · 9 · 8 = 468000 ,
total license plates.
Problem 2 (counting die rolls)
We have six possible outcomes for each of the die rolls giving 64 = 1296 possible total
outcomes for all four rolls.
Problem 3 (assigning workers to jobs)
Since each job is different and each worker is unique we have 20! different pairings.
Problem 4 (creating a band)
If each boy can play each instrument we can have 4! = 24 ordering. If Jay and Jack can
play only two instruments then we will assign the instruments they play first with 2! possible
orderings. The other two boys can be assigned the remaining instruments in 2! ways and
thus we have
2! · 2! = 4 ,
possible unique band assignments.
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper SolutionsWizard. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €9,76. Je zit daarna nergens aan vast.