CS 3341 Lecture Notes - Lecture 5: Sample Space, Diddy Kong Racing, Birthday Problem

19 views9 pages
16 May 2018
School
Course
Section 2.3 Combinatorics
Page 1 of 8
ā€œI present here without the aid of analysis the principles and general results of this
theory [probability], applying them to the most important questions of life, which are
indeed for the most part only problems of probability.ā€
ā€”Pierre Simon, marquis de Laplace, from A Philosophical Essay on Probabilities
Equally likely outcomes
When the sample space īˆ³ īµŒ ļˆ¼īŸ±ī¬µī‡” īŸ±ī¬¶ī‡” ī‡„ ī‡” īŸ±īÆ”ļˆ½ consists of equally likely outcomes, we
compute the probability of an event īœ§ as
īœ²ļˆŗīœ§ļˆ»īµŒī‚–ī‚Šī‚‡ī€ƒī‚ī‚—ī‚ī‚„ī‚‡ī‚”ī€ƒī‚‘ī‚ˆī€ƒī‚‘ī‚—ī‚–ī‚…ī‚‘ī‚ī‚‡ī‚•ī€ƒī‚‹ī‚ī€ƒīœ§
ī‚–ī‚Šī‚‡ī€ƒī‚ī‚—ī‚ī‚„ī‚‡ī‚”ī€ƒī‚‘ī‚ˆī€ƒī‚‘ī‚—ī‚–ī‚…ī‚‘ī‚ī‚‡ī‚•ī€ƒī‚‹ī‚ī€ƒīˆ³
ā€œThe theory of chance consists in reducing all the events of the same kind to a certain number of cases
equally possibleā€¦and in determining the number of cases favorable to the event whose probability is
sought. The ratio of this number to that of all the cases possible is the measure of this probability, which
is thus simply a fraction whose numerator is the number of favorable cases and whose denominator is
the number of all the cases possible.ā€
ā€”Ibid.
Outcomes in īœ§ are traditionally called ā€œfavorable,ā€ so we may write
īœ²ļˆŗīœ§ļˆ»īµŒī‚–ī‚Šī‚‡ī€ƒī‚ī‚—ī‚ī‚„ī‚‡ī‚”ī€ƒī‚‘ī‚ˆī€ƒī‚ˆī‚ƒī‚˜ī‚‘ī‚”ī‚ƒī‚„ī‚Žī‚‡ī€ƒī‚‘ī‚—ī‚–ī‚…ī‚‘ī‚ī‚‡ī‚•
ī‚–ī‚Šī‚‡ī€ƒī‚–ī‚‘ī‚–ī‚ƒī‚Žī€ƒī‚ī‚—ī‚ī‚„ī‚‡ī‚”ī€ƒī‚‘ī‚ˆī€ƒī‚‘ī‚—ī‚–ī‚…ī‚‘ī‚ī‚‡ī‚• īµŒī£Ø
ī®æ
ī£Ø
īƍ
Example: An urn contains 3 red marbles and 5 blue marbles, and a marble is drawn at
random. Let īœ§ be the event of ā€œdrawing a red marble.ā€ Identify īˆ³ so that it consists of
equally likely outcomes and compute īœ²ļˆŗīœ§ļˆ».
Example: If a family has two children, what is the probability of having two boys?
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 9 pages and 3 million more documents.

Already have an account? Log in
Section 2.3 Combinatorics
Page 2 of 8
Sampling, permutations, and combinations
ī£Ø
ī®æ and ī£Ø
īƍ are not always simple to compute. When a situation involves selecting
objects at random from a set of īŠ objects, we may use combinatorics to compute ī£Ø
ī®æ
and ī£Ø
īƍ.
We will look at experiments where īŠ objects are sampled, or randomly selected, ī‡ at a
time.
Objects may be sampled with or without replacement, and with or without
distinguishing different orders.
With Replacement
Every sampled object is replaced, so at any time the probability of selecting any
individual object is ī³īˆ€īŠ.
Without Replacement
Every sampled object is removed and will not be sampled again, so the set of
possibilities reduces by 1 after each selection.
Distinguishable (or, ā€œorder mattersā€)
The exact same objects sampled in a different order is considered a different outcome.
In particular, when a hierarchy or ranking is given to the sampled objects, the order is
distinguished.
Indistinguishable (or, ā€œorder does not matterā€)
The order is not important, only which objects were sampled and which were not.
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 9 pages and 3 million more documents.

Already have an account? Log in
Section 2.3 Combinatorics
Page 3 of 8
Example: A randomly generated password.
īŠ isā€¦
ī‡ isā€¦
Replacement?
Order?
Example: A random selection of students from a class for a poll.
īŠ isā€¦
ī‡ isā€¦
Replacement?
Order?
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 9 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents