MIT18 05S14 Class1slides PDF
MIT18 05S14 Class1slides PDF
05
Spring 2014
http://xkcd.com/904/
January 1, 2017 1 / 24
R
January 1, 2017 2 / 24
Platonic Dice
January 1, 2017 3 / 24
Probability vs. Statistics
Different subjects: both about random processes
Probability
Logically self-contained
A few rules for computing probabilities
One correct answer
Statistics
Messier and more of an art
Get experimental data and try to draw probabilistic
conclusions
No single correct answer
January 1, 2017 4 / 24
Counting: Motivating Examples
January 1, 2017 5 / 24
Poker Hands
Deck of 52 cards
13 ranks: 2, 3, . . . , 9, 10, J, Q, K, A
4 suits: ♥, ♠, ♦, ♣,
Poker hands
Consists of 5 cards
A one-pair hand consists of two cards having one rank and the
remaining three cards having three other rank
Example: {2♥, 2♠, 5♥, 8♣, K♦}
The probability of a one-pair hand is:
(1) less than 5%
(2) between 5% and 10%
(3) between 10% and 20%
(4) between 20% and 40%
(5) greater than 40%
January 1, 2017 6 / 24
Sets in Words
Old New England rule: don’t eat clams (or any shellfish) in months
without an ’r’ in their name.
S = all months
S = {Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec}
January 1, 2017 7 / 24
Visualize Set Operations with Venn Diagrams
S L R
January 1, 2017 8 / 24
Product of Sets
S × T = {(s, t)}
January 1, 2017 9 / 24
Inclusion-Exclusion Principle
B A∩B A
January 1, 2017 10 / 24
Board Question
January 1, 2017 11 / 24
Rule of Product
January 1, 2017 12 / 24
Concept Question: DNA
January 1, 2017 13 / 24
Board Question 1
January 1, 2017 14 / 24
Board Question 2
Shirts: 3B, 3R, 2G; sweaters 1B, 2R, 1G; pants 2D,2B.
January 1, 2017 15 / 24
Solution
answer: Suppose we choose shirts first. Depending on whether we choose
red compatible or green compatible shirts there are different numbers of
sweaters we can choose next. So we split the problem up before using the
rule of product. A multiplication tree is an easy way to present the answer.
3 3 2
Shirts R B G
3 4 2
Sweaters R,B R,B,G B,G
4 4 4
Pants
B, D B, D B, D
January 1, 2017 16 / 24
Permutations
January 1, 2017 17 / 24
Permutations of k from a set of n
January 1, 2017 18 / 24
Permutations of k from a set of n
January 1, 2017 19 / 24
Combinations
January 1, 2017 20 / 24
Combinations of k from a set of n
January 1, 2017 21 / 24
Permutations and Combinations
� �
4 4 P3
= 4 C3 =
3 3!
January 1, 2017 22 / 24
Board Question
January 1, 2017 23 / 24
MIT OpenCourseWare
https://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms .