Probability. Will Monroe Summer 2017 with materials by Mehran Sahami and Chris Piech

Size: px
Start display at page:

Download "Probability. Will Monroe Summer 2017 with materials by Mehran Sahami and Chris Piech"

Transcription

1 Probability Will Monroe Summer 207 with materials by Mehran Sahami and Chris Piech June 30, 207

2 Today we will make history

3 Logistics: Office hours

4 Review: Permutations The number of ways of ordering n distinguishable objects. n n! = n= i i=

5 Review: Combinations The number of unique subsets of size k from a larger set of size n. (objects are distinguishable, unordered) n k () n! = k!(n k )! choose k n

6 Review: Bucketing The number of ways of assigning n distinguishable objects to a fixed set of k buckets or labels. k n n objects k buckets

7 Divider method The number of ways of assigning n indistinguishable objects to a fixed set of k buckets or labels. ( n+(k ) n ) n objects k buckets (k - dividers)

8 A grid of ways of counting All distinct Some indistinct All indistinct Ordering Subsets n! n k () k n Creativity! Split into cases Use inclusion/exclusion Reframe the problem n! k! k 2! k m! Bucketing ( n+(k ) n )

9 Sample space S = the set of all possible outcomes Coin flip S = {Heads, Tails} Two coin flips S = {(H, H), (H, T), (T, H), (T, T)} Roll of 6-sided die S = {, 2, 3, 4, 5, 6} # s in day S = ℕ (non-neg. integers) Netflix hours in day S = [0, 24] (interval, inclusive)

10 Events E = some subset of S (E S) Coin flip is heads E = {Heads} head on 2 flips E = {(H, H), (H, T), (T, H)} Roll of die 3 E = {, 2, 3} # s in day 20 E = {x x ℕ, x 20} Wasted day E = [5, 24] (Ross uses to mean )

11 Set operations Union: outcomes that are in E or F S = {, 2, 3, 4, 5, 6} E= {, 2} F= {2, 3} E F = {, 2, 3}

12 Set operations Intersection: outcomes that are in E and F S = {, 2, 3, 4, 5, 6} E= {, 2} F= {2, 3} EF = E F = {2}

13 Set operations Complement: outcomes that are not in E S = {, 2, 3, 4, 5, 6} E= {, 2} F= {2, 3} Ec = {3, 4, 5, 6}

14 A profound truth

15 A profound truth Everything in the world is either a hot dog or not a hot dog. (E Ec = S)

16 Quiz question Room: CS09SUMMER7

17 Quiz question Which is the correct picture for EcFc (= Ec Fc)? S A S E F D S B F E F S E F E F S C E E

18 Quiz question Which is the correct picture for EcFc (= Ec Fc)? S C E F

19 Quiz question Which is the correct picture for Ec Fc? S A S E F D S B F E F S E F E F S C E E

20 Quiz question Which is the correct picture for Ec Fc? S D E F

21 De Morgan's Laws distributive laws for set complement (E F)c = Ec Fc (E F)c = Ec Fc S S F E c F E Ei = ( Ei ) (i ) i c c Ei = ( Ei ) (i ) i c

22 What is a probability? A number between 0 and to which we ascribe meaning

23 Sources of probability Experiment Datasets Expert opinion Analytical solution

24 Meaning of probability A quantification of ignorance image: Frank Derks

25 What is a probability? # ( E) P( E)=lim n n

26 Axioms of probability () (2) (3) 0 P( E) P(S)= If E F=, then P( E F)=P( E)+ P( F) (Sum rule, but with probabilities!)

27 Corollaries c P( E )= P( E) If E F, then P( E) P( F) P( E F)=P( E)+ P( F) P( EF) (Principle of inclusion/exclusion, but with probabilities!)

28 Principle of Inclusion/Exclusion The total number of elements in two sets is the sum of the number of elements of each set, minus the number of elements in both sets. A B = A + B A B = 6

29 Inclusion/exclusion with more than two sets E F G = E F G

30 Inclusion/exclusion with more than two sets E F G = E E F G

31 Inclusion/exclusion with more than two sets E F G = E + F E 2 2 F G

32 Inclusion/exclusion with more than two sets E F G = E + F + G E F 2 G

33 Inclusion/exclusion with more than two sets E F G = E + F + G EF E 2 2 F 2 G

34 Inclusion/exclusion with more than two sets E F G = E + F + G EF EG E F 2 G

35 Inclusion/exclusion with more than two sets E F G = E + F + G EF EG FG E 0 F G

36 Inclusion/exclusion with more than two sets E F G = E + F + G EF EG FG E + EFG F G

37 Inclusion/exclusion with more than two sets size of the union n add or subtract (based on size) n size of intersections r Ei = ( ) i= i < <i r sum over subset sizes sum over all subsets of that size (r +) r= Ei j= j

38 Inclusion/exclusion with more than two sets prob. of OR n P ( ) add or subtract (based on size) prob. of AND n Ei = ( ) i= r (r +) r= sum over subset sizes i < <i r P ( ) sum over all subsets of that size Ei j= j

39 Inclusion/exclusion with more than two sets P( E F G)=P( E)+ P( F)+ P(G) P( EF) P( EG) P(FG) E + P( EFG) F G

40 Break time!

41 Equally likely outcomes Coin flip S = {Heads, Tails} Two coin flips S = {(H, H), (H, T), (T, H), (T, T)} Roll of 6-sided die S = {, 2, 3, 4, 5, 6} P(Each outcome)= S E P( E)= S (counting!)

42 Rolling two dice D D2 P( D + D 2=7)=?

43 How do I get started? For word problems involving probability, start by defining events!

44 Rolling two dice D D2 P( D + D 2=7)=? E: {all outcomes such that the sum of the two dice is 7}

45 Rolling two dice D D2 6 P( D + D 2=7)= = 36 6 S = {(, ), (, 2), (, 3), (, 4), (, 5), (, 6), S = {(2, ), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), E =6 S =36 S = {(3, ), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), S = {(4, ), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6), S = {(5, ), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6), S = {(6, ), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6)}

46 Rolling two (indistinguishable) dice? D D2 3 sumptions] P( D + D 2=7)= as =? r u o y k c e 2 7 [ch S = {(, ), (, 2), (, 3), (, 4), (, 5), (, 6), S = {(2, ), (2, 2), (2, 3), (2, 4), (2, 5), (2, 6), E =3 S =2 S = {(3, ), (3, 2), (3, 3), (3, 4), (3, 5), (3, 6), S = {(4, ), (4, 2), (4, 3), (4, 4), (4, 5), (4, 6), S = {(5, ), (5, 2), (5, 3), (5, 4), (5, 5), (5, 6), S = {(6, ), (6, 2), (6, 3), (6, 4), (6, 5), (6, 6)}

47 Getting rid of ORs Finding the probability of an OR of events can be nasty. Try using De Morgan's laws to turn it into an AND! c c c P( A B Z )= P( A B Z ) S E F

48 Running into a friend 2,000 people at Stanford You're friends with 250 Go to an event with 70 other (equally-likely) Stanforders What's P(at least one friend among the 70)? E =??? 2,000 S = 70 ( E: {subsets of size 70 with at least one friend} ) S: {all subsets of size 70 of 2,000 students} image: torbakhopper / scott richard

49 Running into a friend 2,000 people at Stanford You're friends with 250 Go to an event with 70 other (equally-likely) Stanforders What's P(at least one friend among the 70)? 20, C C E = 2, P( E)= P( E )= 2, E: {subsets of size 70 with at least one friend} 2,000 S = Ec: {subsets of size 70 with no friends} 70 S: {all subsets of size 70 of 2,000 students} ( ( ) ( ( ) ) ) image: torbakhopper / scott richard

50 Running into a friend serendipity [ˌse.ɹənˈdɪ.pɨ.ɾi] n the faculty or phenomenon of finding valuable or agreeable things not sought for Merriam-Webster

51 Getting rid of ORs Finding the probability of an OR of events can be nasty. Try using De Morgan's laws to turn it into an AND! c c c P( A B Z )= P( A B Z ) S E F

52 Defective chips k E = n k ( ) n S = (k ) n E: {all outcomes such that the defective chip is chosen} S: {all subsets of size k from n chips}

53 Defective chips k E = n k ( ) n S = (k ) n n k ( ) P( E)= n (k ) (n )! (k )!(n k )! (n )! k! (n )! k (k )! k = = = = n! n!(k )! n (n )!(k )! n k!(n k)!

54 Poker straight (Standard deck:) 52 cards = 3 ranks 4 suits Straight : 5 consecutive ranks (suits can be different) starting rank E: {all hands that are straights} E = S = 5 ( ) S: {all possible hands} 5 suit of each card image: Guts Gaming (

55 Poker straight (Standard deck:) 52 cards = 3 ranks 4 suits Straight : 5 consecutive ranks (suits can be different) E: {all hands that are straights} S: {all possible hands} E = S = 5 ( ) P ( E)= ( ) image: Guts Gaming (

56 Birthdays n people in a room. What is the probability none share the same birthday? E: {all ways of giving all n people different birthdays} S: {all ways of giving all n people each a birthday} 365! 365 E = (365 n+)= = n! (365 n)! n n S =365 ( ) 365 n! n ( ) P( E)= 365 n n = 23: P(E) < /2 n = 75: P(E) < /3,000 n = 00: P(E) < /3,000,000 n = 50: P(E) < /3,000,000,000,000,000

57 Flipping cards Shuffle deck. Reveal cards from the top until we get an Ace. Put Ace aside. What is P(next card is the Ace of Spades)? P(next card is the 2 of Clubs)? A) P(Ace of Spades) > P(2 of Clubs) B) P(Ace of Spades) = P(2 of Clubs) C) P(Ace of Spades) < P(2 of Clubs) Room: CS09SUMMER7

58 Flipping cards Shuffle deck. Reveal cards from the top until we get an Ace. Put Ace aside. What is P(next card is the Ace of Spades)? P(next card is the 2 of Clubs)? E: {all orderings for which Ace of Spades comes immediately after first Ace} S: {all orderings of the deck} E =5! S =52! 5! P ( E)= = 52! 52

59 Flipping cards Shuffle deck. Reveal cards from the top until we get an Ace. Put Ace aside. What is P(next card is the Ace of Spades)? P(next card is the 2 of Clubs)? E: {all orderings for which 2 of Clubs comes immediately after first Ace} S: {all orderings of the deck} E =5! S =52! 5! P ( E)= = 52! 52

60 Flipping cards Shuffle deck. Reveal cards from the top until we get an Ace. Put Ace aside. What is P(next card is the Ace of Spades)? P(next card is the 2 of Clubs)? B) P(Ace of Spades) = P(2 of Clubs)

61 (We just made history)

Today s Topics. Next week: Conditional Probability

Today s Topics. Next week: Conditional Probability Today s Topics 2 Last time: Combinations Permutations Group Assignment TODAY: Probability! Sample Spaces and Event Spaces Axioms of Probability Lots of Examples Next week: Conditional Probability Sets

More information

Will Monroe June 28, with materials by Mehran Sahami and Chris Piech. Combinatorics

Will Monroe June 28, with materials by Mehran Sahami and Chris Piech. Combinatorics Will Monroe June 28, 27 with materials by Mehran Sahami and Chris Piech Combinatorics Review: Course website https://cs9.stanford.edu/ Logistics: Problem Set 4 questions (#: tell me about yourself!) Due:

More information

3. Discrete Probability. CSE 312 Spring 2015 W.L. Ruzzo

3. Discrete Probability. CSE 312 Spring 2015 W.L. Ruzzo 3. Discrete Probability CSE 312 Spring 2015 W.L. Ruzzo 2 Probability theory: an aberration of the intellect and ignorance coined into science John Stuart Mill 3 sample spaces Sample space: S is a set of

More information

2.5 Sample Spaces Having Equally Likely Outcomes

2.5 Sample Spaces Having Equally Likely Outcomes Sample Spaces Having Equally Likely Outcomes 3 Sample Spaces Having Equally Likely Outcomes Recall that we had a simple example (fair dice) before on equally-likely sample spaces Since they will appear

More information

November 6, Chapter 8: Probability: The Mathematics of Chance

November 6, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 6, 2013 Last Time Crystallographic notation Groups Crystallographic notation The first symbol is always a p, which indicates that the pattern

More information

Theory of Probability - Brett Bernstein

Theory of Probability - Brett Bernstein Theory of Probability - Brett Bernstein Lecture 3 Finishing Basic Probability Review Exercises 1. Model flipping two fair coins using a sample space and a probability measure. Compute the probability of

More information

Chapter 1. Probability

Chapter 1. Probability Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated.

More information

STAT 430/510 Probability Lecture 3: Space and Event; Sample Spaces with Equally Likely Outcomes

STAT 430/510 Probability Lecture 3: Space and Event; Sample Spaces with Equally Likely Outcomes STAT 430/510 Probability Lecture 3: Space and Event; Sample Spaces with Equally Likely Outcomes Pengyuan (Penelope) Wang May 25, 2011 Review We have discussed counting techniques in Chapter 1. (Principle

More information

Chapter 1. Probability

Chapter 1. Probability Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated.

More information

2. Combinatorics: the systematic study of counting. The Basic Principle of Counting (BPC)

2. Combinatorics: the systematic study of counting. The Basic Principle of Counting (BPC) 2. Combinatorics: the systematic study of counting The Basic Principle of Counting (BPC) Suppose r experiments will be performed. The 1st has n 1 possible outcomes, for each of these outcomes there are

More information

Basic Probability Models. Ping-Shou Zhong

Basic Probability Models. Ping-Shou Zhong asic Probability Models Ping-Shou Zhong 1 Deterministic model n experiment that results in the same outcome for a given set of conditions Examples: law of gravity 2 Probabilistic model The outcome of the

More information

Counting and Probability Math 2320

Counting and Probability Math 2320 Counting and Probability Math 2320 For a finite set A, the number of elements of A is denoted by A. We have two important rules for counting. 1. Union rule: Let A and B be two finite sets. Then A B = A

More information

Chapter 2. Permutations and Combinations

Chapter 2. Permutations and Combinations 2. Permutations and Combinations Chapter 2. Permutations and Combinations In this chapter, we define sets and count the objects in them. Example Let S be the set of students in this classroom today. Find

More information

Probability Models. Section 6.2

Probability Models. Section 6.2 Probability Models Section 6.2 The Language of Probability What is random? Empirical means that it is based on observation rather than theorizing. Probability describes what happens in MANY trials. Example

More information

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions) CSE 31: Foundations of Computing II Quiz Section #: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions) Review: Main Theorems and Concepts Binomial Theorem: x, y R, n N: (x + y) n

More information

8.2 Union, Intersection, and Complement of Events; Odds

8.2 Union, Intersection, and Complement of Events; Odds 8.2 Union, Intersection, and Complement of Events; Odds Since we defined an event as a subset of a sample space it is natural to consider set operations like union, intersection or complement in the context

More information

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit? Section 6.1 #16 What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit? page 1 Section 6.1 #38 Two events E 1 and E 2 are called independent if p(e 1

More information

1 Permutations. Example 1. Lecture #2 Sept 26, Chris Piech CS 109 Combinatorics

1 Permutations. Example 1. Lecture #2 Sept 26, Chris Piech CS 109 Combinatorics Chris Piech CS 09 Combinatorics Lecture # Sept 6, 08 Based on a handout by Mehran Sahami As we mentioned last class, the principles of counting are core to probability. Counting is like the foundation

More information

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n Chapter 5 Chapter Summary 5.1 The Basics of Counting 5.2 The Pigeonhole Principle 5.3 Permutations and Combinations 5.5 Generalized Permutations and Combinations Section 5.1 The Product Rule The Product

More information

The probability set-up

The probability set-up CHAPTER The probability set-up.1. Introduction and basic theory We will have a sample space, denoted S sometimes Ω that consists of all possible outcomes. For example, if we roll two dice, the sample space

More information

More Probability: Poker Hands and some issues in Counting

More Probability: Poker Hands and some issues in Counting More Probability: Poker Hands and some issues in Counting Data From Thursday Everybody flipped a pair of coins and recorded how many times they got two heads, two tails, or one of each. We saw that the

More information

Permutations. Example 1. Lecture Notes #2 June 28, Will Monroe CS 109 Combinatorics

Permutations. Example 1. Lecture Notes #2 June 28, Will Monroe CS 109 Combinatorics Will Monroe CS 09 Combinatorics Lecture Notes # June 8, 07 Handout by Chris Piech, with examples by Mehran Sahami As we mentioned last class, the principles of counting are core to probability. Counting

More information

Week 3 Classical Probability, Part I

Week 3 Classical Probability, Part I Week 3 Classical Probability, Part I Week 3 Objectives Proper understanding of common statistical practices such as confidence intervals and hypothesis testing requires some familiarity with probability

More information

Discrete Structures Lecture Permutations and Combinations

Discrete Structures Lecture Permutations and Combinations Introduction Good morning. Many counting problems can be solved by finding the number of ways to arrange a specified number of distinct elements of a set of a particular size, where the order of these

More information

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set)

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set) 12.3 and 12.4 Notes Geometry 1 Diagramming the Sample Space using Venn Diagrams A sample space represents all things that could occur for a given event. In set theory language this would be known as the

More information

Probability. Ms. Weinstein Probability & Statistics

Probability. Ms. Weinstein Probability & Statistics Probability Ms. Weinstein Probability & Statistics Definitions Sample Space The sample space, S, of a random phenomenon is the set of all possible outcomes. Event An event is a set of outcomes of a random

More information

The probability set-up

The probability set-up CHAPTER 2 The probability set-up 2.1. Introduction and basic theory We will have a sample space, denoted S (sometimes Ω) that consists of all possible outcomes. For example, if we roll two dice, the sample

More information

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1: Block 1 - Sets and Basic Combinatorics Main Topics in Block 1: A short revision of some set theory Sets and subsets. Venn diagrams to represent sets. Describing sets using rules of inclusion. Set operations.

More information

Compound Probability. Set Theory. Basic Definitions

Compound Probability. Set Theory. Basic Definitions Compound Probability Set Theory A probability measure P is a function that maps subsets of the state space Ω to numbers in the interval [0, 1]. In order to study these functions, we need to know some basic

More information

November 8, Chapter 8: Probability: The Mathematics of Chance

November 8, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 8, 2013 Last Time Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Crystallographic notation The first symbol

More information

STAT 3743: Probability and Statistics

STAT 3743: Probability and Statistics STAT 3743: Probability and Statistics G. Jay Kerns, Youngstown State University Fall 2010 Probability Random experiment: outcome not known in advance Sample space: set of all possible outcomes (S) Probability

More information

Sample Spaces, Events, Probability

Sample Spaces, Events, Probability Sample Spaces, Events, Probability CS 3130/ECE 3530: Probability and Statistics for Engineers August 28, 2014 Sets A set is a collection of unique objects. Sets A set is a collection of unique objects.

More information

Intermediate Math Circles November 1, 2017 Probability I

Intermediate Math Circles November 1, 2017 Probability I Intermediate Math Circles November 1, 2017 Probability I Probability is the study of uncertain events or outcomes. Games of chance that involve rolling dice or dealing cards are one obvious area of application.

More information

Statistics Intermediate Probability

Statistics Intermediate Probability Session 6 oscardavid.barrerarodriguez@sciencespo.fr April 3, 2018 and Sampling from a Population Outline 1 The Monty Hall Paradox Some Concepts: Event Algebra Axioms and Things About that are True Counting

More information

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count 7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count Probability deals with predicting the outcome of future experiments in a quantitative way. The experiments

More information

Introductory Probability

Introductory Probability Introductory Probability Combinations Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Assigning Objects to Identical Positions Denitions Committee Card Hands Coin Toss Counts

More information

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG MATH DISCRETE MATHEMATICS INSTRUCTOR: P. WENG Counting and Probability Suggested Problems Basic Counting Skills, Inclusion-Exclusion, and Complement. (a An office building contains 7 floors and has 7 offices

More information

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building?

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building? 1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building? 2. A particular brand of shirt comes in 12 colors, has a male version and a female version,

More information

Math 1313 Section 6.2 Definition of Probability

Math 1313 Section 6.2 Definition of Probability Math 1313 Section 6.2 Definition of Probability Probability is a measure of the likelihood that an event occurs. For example, if there is a 20% chance of rain tomorrow, that means that the probability

More information

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5. Math 166 Spring 2007 c Heather Ramsey Page 1 Math 166 - Exam 2 Review NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5. Section 7.1 - Experiments, Sample Spaces,

More information

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5. Math 166 Spring 2007 c Heather Ramsey Page 1 Math 166 - Exam 2 Review NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5. Section 7.1 - Experiments, Sample Spaces,

More information

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability Review: Main Theorems and Concepts Binomial Theorem: Principle of Inclusion-Exclusion

More information

November 11, Chapter 8: Probability: The Mathematics of Chance

November 11, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 11, 2013 Last Time Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Probability Rules Probability Rules Rule 1.

More information

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability The study of probability is concerned with the likelihood of events occurring Like combinatorics, the origins of probability theory can be traced back to the study of gambling games Still a popular branch

More information

Section 7.1 Experiments, Sample Spaces, and Events

Section 7.1 Experiments, Sample Spaces, and Events Section 7.1 Experiments, Sample Spaces, and Events Experiments An experiment is an activity with observable results. 1. Which of the follow are experiments? (a) Going into a room and turning on a light.

More information

Classical vs. Empirical Probability Activity

Classical vs. Empirical Probability Activity Name: Date: Hour : Classical vs. Empirical Probability Activity (100 Formative Points) For this activity, you will be taking part in 5 different probability experiments: Rolling dice, drawing cards, drawing

More information

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6 CS100: DISCRETE STRUCTURES Lecture 8 Counting - CH6 Lecture Overview 2 6.1 The Basics of Counting: THE PRODUCT RULE THE SUM RULE THE SUBTRACTION RULE THE DIVISION RULE 6.2 The Pigeonhole Principle. 6.3

More information

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability Preliminary Concepts, Formulas, and Terminology Meanings of Basic Arithmetic Operations in Mathematics Addition: Generally

More information

3 The multiplication rule/miscellaneous counting problems

3 The multiplication rule/miscellaneous counting problems Practice for Exam 1 1 Axioms of probability, disjoint and independent events 1. Suppose P (A) = 0.4, P (B) = 0.5. (a) If A and B are independent, what is P (A B)? What is P (A B)? (b) If A and B are disjoint,

More information

3 The multiplication rule/miscellaneous counting problems

3 The multiplication rule/miscellaneous counting problems Practice for Exam 1 1 Axioms of probability, disjoint and independent events 1 Suppose P (A 0, P (B 05 (a If A and B are independent, what is P (A B? What is P (A B? (b If A and B are disjoint, what is

More information

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza Probability Theory Mohamed I. Riffi Islamic University of Gaza Table of contents 1. Chapter 1 Probability Properties of probability Counting techniques 1 Chapter 1 Probability Probability Theorem P(φ)

More information

Combinatorics: The Fine Art of Counting

Combinatorics: The Fine Art of Counting Combinatorics: The Fine Art of Counting Week 6 Lecture Notes Discrete Probability Note Binomial coefficients are written horizontally. The symbol ~ is used to mean approximately equal. Introduction and

More information

7.1 Experiments, Sample Spaces, and Events

7.1 Experiments, Sample Spaces, and Events 7.1 Experiments, Sample Spaces, and Events An experiment is an activity that has observable results. Examples: Tossing a coin, rolling dice, picking marbles out of a jar, etc. The result of an experiment

More information

Lecture 1. Permutations and combinations, Pascal s triangle, learning to count

Lecture 1. Permutations and combinations, Pascal s triangle, learning to count 18.440: Lecture 1 Permutations and combinations, Pascal s triangle, learning to count Scott Sheffield MIT 1 Outline Remark, just for fun Permutations Counting tricks Binomial coefficients Problems 2 Outline

More information

Def: The intersection of A and B is the set of all elements common to both set A and set B

Def: The intersection of A and B is the set of all elements common to both set A and set B Def: Sample Space the set of all possible outcomes Def: Element an item in the set Ex: The number "3" is an element of the "rolling a die" sample space Main concept write in Interactive Notebook Intersection:

More information

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following: CS 70 Discrete Mathematics for CS Fall 2004 Rao Lecture 14 Introduction to Probability The next several lectures will be concerned with probability theory. We will aim to make sense of statements such

More information

Chapter 4: Probability and Counting Rules

Chapter 4: Probability and Counting Rules Chapter 4: Probability and Counting Rules Before we can move from descriptive statistics to inferential statistics, we need to have some understanding of probability: Ch4: Probability and Counting Rules

More information

Probability. Dr. Zhang Fordham Univ.

Probability. Dr. Zhang Fordham Univ. Probability! Dr. Zhang Fordham Univ. 1 Probability: outline Introduction! Experiment, event, sample space! Probability of events! Calculate Probability! Through counting! Sum rule and general sum rule!

More information

1 Permutations. 1.1 Example 1. Lisa Yan CS 109 Combinatorics. Lecture Notes #2 June 27, 2018

1 Permutations. 1.1 Example 1. Lisa Yan CS 109 Combinatorics. Lecture Notes #2 June 27, 2018 Lisa Yan CS 09 Combinatorics Lecture Notes # June 7, 08 Handout by Chris Piech, with examples by Mehran Sahami As we mentioned last class, the principles of counting are core to probability. Counting is

More information

Probability Rules. 2) The probability, P, of any event ranges from which of the following?

Probability Rules. 2) The probability, P, of any event ranges from which of the following? Name: WORKSHEET : Date: Answer the following questions. 1) Probability of event E occurring is... P(E) = Number of ways to get E/Total number of outcomes possible in S, the sample space....if. 2) The probability,

More information

1. Counting. 2. Tree 3. Rules of Counting 4. Sample with/without replacement where order does/doesn t matter.

1. Counting. 2. Tree 3. Rules of Counting 4. Sample with/without replacement where order does/doesn t matter. Lecture 4 Outline: basics What s to come? Probability A bag contains: What is the chance that a ball taken from the bag is blue? Count blue Count total Divide Today: Counting! Later: Probability Professor

More information

Probability and Counting Techniques

Probability and Counting Techniques Probability and Counting Techniques Diana Pell (Multiplication Principle) Suppose that a task consists of t choices performed consecutively. Suppose that choice 1 can be performed in m 1 ways; for each

More information

Counting Poker Hands

Counting Poker Hands Counting Poker Hands George Ballinger In a standard deck of cards there are kinds of cards: ce (),,,,,,,,,, ack (), ueen () and ing (). Each of these kinds comes in four suits: Spade (), Heart (), Diamond

More information

Today s Topics. Sometimes when counting a set, we count the same item more than once

Today s Topics. Sometimes when counting a set, we count the same item more than once Today s Topics Inclusion/exclusion principle The pigeonhole principle Sometimes when counting a set, we count the same item more than once For instance, if something can be done n 1 ways or n 2 ways, but

More information

Probability. Engr. Jeffrey T. Dellosa.

Probability. Engr. Jeffrey T. Dellosa. Probability Engr. Jeffrey T. Dellosa Email: jtdellosa@gmail.com Outline Probability 2.1 Sample Space 2.2 Events 2.3 Counting Sample Points 2.4 Probability of an Event 2.5 Additive Rules 2.6 Conditional

More information

4.1 Sample Spaces and Events

4.1 Sample Spaces and Events 4.1 Sample Spaces and Events An experiment is an activity that has observable results. Examples: Tossing a coin, rolling dice, picking marbles out of a jar, etc. The result of an experiment is called an

More information

Grade 7/8 Math Circles February 25/26, Probability

Grade 7/8 Math Circles February 25/26, Probability Faculty of Mathematics Waterloo, Ontario N2L 3G1 Probability Grade 7/8 Math Circles February 25/26, 2014 Probability Centre for Education in Mathematics and Computing Probability is the study of how likely

More information

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

Such a description is the basis for a probability model. Here is the basic vocabulary we use. 5.2.1 Probability Models When we toss a coin, we can t know the outcome in advance. What do we know? We are willing to say that the outcome will be either heads or tails. We believe that each of these

More information

Lecture 6 Probability

Lecture 6 Probability Lecture 6 Probability Example: When you toss a coin, there are only two possible outcomes, heads and tails. What if we toss a coin two times? Figure below shows the results of tossing a coin 5000 times

More information

Discrete Structures for Computer Science

Discrete Structures for Computer Science Discrete Structures for Computer Science William Garrison bill@cs.pitt.edu 6311 Sennott Square Lecture #23: Discrete Probability Based on materials developed by Dr. Adam Lee The study of probability is

More information

Probability is often written as a simplified fraction, but it can also be written as a decimal or percent.

Probability is often written as a simplified fraction, but it can also be written as a decimal or percent. CHAPTER 1: PROBABILITY 1. Introduction to Probability L EARNING TARGET: I CAN DETERMINE THE PROBABILITY OF AN EVENT. What s the probability of flipping heads on a coin? Theoretically, it is 1/2 1 way to

More information

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

Probability and Statistics. Copyright Cengage Learning. All rights reserved. Probability and Statistics Copyright Cengage Learning. All rights reserved. 14.2 Probability Copyright Cengage Learning. All rights reserved. Objectives What Is Probability? Calculating Probability by

More information

Lecture 14. What s to come? Probability. A bag contains:

Lecture 14. What s to come? Probability. A bag contains: Lecture 14 What s to come? Probability. A bag contains: What is the chance that a ball taken from the bag is blue? Count blue. Count total. Divide. Today: Counting! Later: Probability. Professor Walrand.

More information

Chapter 5 - Elementary Probability Theory

Chapter 5 - Elementary Probability Theory Chapter 5 - Elementary Probability Theory Historical Background Much of the early work in probability concerned games and gambling. One of the first to apply probability to matters other than gambling

More information

{ a, b }, { a, c }, { b, c }

{ a, b }, { a, c }, { b, c } 12 d.) 0(5.5) c.) 0(5,0) h.) 0(7,1) a.) 0(6,3) 3.) Simplify the following combinations. PROBLEMS: C(n,k)= the number of combinations of n distinct objects taken k at a time is COMBINATION RULE It can easily

More information

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Study Guide for Test III (MATH 1630) Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find the number of subsets of the set. 1) {x x is an even

More information

A Probability Work Sheet

A Probability Work Sheet A Probability Work Sheet October 19, 2006 Introduction: Rolling a Die Suppose Geoff is given a fair six-sided die, which he rolls. What are the chances he rolls a six? In order to solve this problem, we

More information

Probability - Chapter 4

Probability - Chapter 4 Probability - Chapter 4 In this chapter, you will learn about probability its meaning, how it is computed, and how to evaluate it in terms of the likelihood of an event actually happening. A cynical person

More information

Probability: Terminology and Examples Spring January 1, / 22

Probability: Terminology and Examples Spring January 1, / 22 Probability: Terminology and Examples 18.05 Spring 2014 January 1, 2017 1 / 22 Board Question 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

More information

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37 Probability MAT230 Discrete Mathematics Fall 2018 MAT230 (Discrete Math) Probability Fall 2018 1 / 37 Outline 1 Discrete Probability 2 Sum and Product Rules for Probability 3 Expected Value MAT230 (Discrete

More information

Chapter 4: Introduction to Probability

Chapter 4: Introduction to Probability MTH 243 Chapter 4: Introduction to Probability Suppose that we found that one of our pieces of data was unusual. For example suppose our pack of M&M s only had 30 and that was 3.1 standard deviations below

More information

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events CHAPTER 2 PROBABILITY 2.1 Sample Space A probability model consists of the sample space and the way to assign probabilities. Sample space & sample point The sample space S, is the set of all possible outcomes

More information

EECS 203 Spring 2016 Lecture 15 Page 1 of 6

EECS 203 Spring 2016 Lecture 15 Page 1 of 6 EECS 203 Spring 2016 Lecture 15 Page 1 of 6 Counting We ve been working on counting for the last two lectures. We re going to continue on counting and probability for about 1.5 more lectures (including

More information

Week 6: Advance applications of the PIE. 17 and 19 of October, 2018

Week 6: Advance applications of the PIE. 17 and 19 of October, 2018 (1/22) MA284 : Discrete Mathematics Week 6: Advance applications of the PIE http://www.maths.nuigalway.ie/ niall/ma284 17 and 19 of October, 2018 1 Stars and bars 2 Non-negative integer inequalities 3

More information

6.1 Basics of counting

6.1 Basics of counting 6.1 Basics of counting CSE2023 Discrete Computational Structures Lecture 17 1 Combinatorics: they study of arrangements of objects Enumeration: the counting of objects with certain properties (an important

More information

If you roll a die, what is the probability you get a four OR a five? What is the General Education Statistics

If you roll a die, what is the probability you get a four OR a five? What is the General Education Statistics If you roll a die, what is the probability you get a four OR a five? What is the General Education Statistics probability that you get neither? Class Notes The Addition Rule (for OR events) and Complements

More information

CSE 21: Midterm 1 Solution

CSE 21: Midterm 1 Solution CSE 21: Midterm 1 Solution August 16, 2007 No books, no calculators. Two double-sided 3x5 cards with handwritten notes allowed. Before starting the test, please write your test number on the top-right

More information

4.3 Rules of Probability

4.3 Rules of Probability 4.3 Rules of Probability If a probability distribution is not uniform, to find the probability of a given event, add up the probabilities of all the individual outcomes that make up the event. Example:

More information

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes.

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes. Section 11.1: The Counting Principle 1. Combinatorics is the study of counting the different outcomes of some task. For example If a coin is flipped, the side facing upward will be a head or a tail the

More information

GAMBLING ( ) Name: Partners: everyone else in the class

GAMBLING ( ) Name: Partners: everyone else in the class Name: Partners: everyone else in the class GAMBLING Games of chance, such as those using dice and cards, oporate according to the laws of statistics: the most probable roll is the one to bet on, and the

More information

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability) MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability) Last modified: November 10, 2004 This follows very closely Apostol, Chapter 13, the course pack. Attachments

More information

Textbook: pp Chapter 2: Probability Concepts and Applications

Textbook: pp Chapter 2: Probability Concepts and Applications 1 Textbook: pp. 39-80 Chapter 2: Probability Concepts and Applications 2 Learning Objectives After completing this chapter, students will be able to: Understand the basic foundations of probability analysis.

More information

Problem Set 2. Counting

Problem Set 2. Counting Problem Set 2. Counting 1. (Blitzstein: 1, Q3 Fred is planning to go out to dinner each night of a certain week, Monday through Friday, with each dinner being at one of his favorite ten restaurants. i

More information

Probability (Devore Chapter Two)

Probability (Devore Chapter Two) Probability (Devore Chapter Two) 1016-351-01 Probability Winter 2011-2012 Contents 1 Axiomatic Probability 2 1.1 Outcomes and Events............................... 2 1.2 Rules of Probability................................

More information

Basic Concepts of Probability and Counting Section 3.1

Basic Concepts of Probability and Counting Section 3.1 Basic Concepts of Probability and Counting Section 3.1 Summer 2013 - Math 1040 June 17 (1040) M 1040-3.1 June 17 1 / 12 Roadmap Basic Concepts of Probability and Counting Pages 128-137 Counting events,

More information

Simple Probability. Arthur White. 28th September 2016

Simple Probability. Arthur White. 28th September 2016 Simple Probability Arthur White 28th September 2016 Probabilities are a mathematical way to describe an uncertain outcome. For eample, suppose a physicist disintegrates 10,000 atoms of an element A, and

More information

Probability I Sample spaces, outcomes, and events.

Probability I Sample spaces, outcomes, and events. Probability I Sample spaces, outcomes, and events. When we perform an experiment, the result is called the outcome. The set of possible outcomes is the sample space and any subset of the sample space is

More information

CSE 312: Foundations of Computing II Quiz Section #1: Counting (solutions)

CSE 312: Foundations of Computing II Quiz Section #1: Counting (solutions) CSE 31: Foundations of Computing II Quiz Section #1: Counting (solutions Review: Main Theorems and Concepts 1. Product Rule: Suppose there are m 1 possible outcomes for event A 1, then m possible outcomes

More information

Section : Combinations and Permutations

Section : Combinations and Permutations Section 11.1-11.2: Combinations and Permutations Diana Pell A construction crew has three members. A team of two must be chosen for a particular job. In how many ways can the team be chosen? How many words

More information

6) A) both; happy B) neither; not happy C) one; happy D) one; not happy

6) A) both; happy B) neither; not happy C) one; happy D) one; not happy MATH 00 -- PRACTICE TEST 2 Millersville University, Spring 202 Ron Umble, Instr. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Find all natural

More information