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

Similar documents
Discrete Structures for Computer Science

Section Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning

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?

EECS 203 Spring 2016 Lecture 15 Page 1 of 6

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

Week 1: Probability models and counting

CSC/MTH 231 Discrete Structures II Spring, Homework 5

A Probability Work Sheet

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

Chapter 1. Probability

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

Chapter 5 - Elementary Probability Theory

Probability. Dr. Zhang Fordham Univ.

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

The probability set-up

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

Math 1313 Section 6.2 Definition of Probability

1. The chance of getting a flush in a 5-card poker hand is about 2 in 1000.

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

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

The probability set-up

Combinatorics and Intuitive Probability

4.1 Sample Spaces and Events

Compound Probability. Set Theory. Basic Definitions

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 13

Intermediate Math Circles November 1, 2017 Probability I

23 Applications of Probability to Combinatorics

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.

Honors Precalculus Chapter 9 Summary Basic Combinatorics

Week 3 Classical Probability, Part I

7.1 Experiments, Sample Spaces, and Events

CS 237: Probability in Computing

ECON 214 Elements of Statistics for Economists

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

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

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

Chapter 1. Probability

Independent Events B R Y

Simple Probability. Arthur White. 28th September 2016

The game of poker. Gambling and probability. Poker probability: royal flush. Poker probability: four of a kind

Theory of Probability - Brett Bernstein

Grade 6 Math Circles Fall Oct 14/15 Probability

Lesson 4: Chapter 4 Sections 1-2

Rosen, Discrete Mathematics and Its Applications, 6th edition Extra Examples

Section Introduction to Sets

Elementary Statistics. Basic Probability & Odds

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

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

Probability with Set Operations. MATH 107: Finite Mathematics University of Louisville. March 17, Complicated Probability, 17th century style

The student will explain and evaluate the financial impact and consequences of gambling.

Raise your hand if you rode a bus within the past month. Record the number of raised hands.

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

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

4.3 Rules of Probability

Combinatorics: The Fine Art of Counting

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

Chapter 1: Sets and Probability

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

10-1. Combinations. Vocabulary. Lesson. Mental Math. able to compute the number of subsets of size r.

Conditional Probability Worksheet


, x {1, 2, k}, where k > 0. (a) Write down P(X = 2). (1) (b) Show that k = 3. (4) Find E(X). (2) (Total 7 marks)

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

Option 1: You could simply list all the possibilities: wool + red wool + green wool + black. cotton + green cotton + black

1. A factory makes calculators. Over a long period, 2 % of them are found to be faulty. A random sample of 100 calculators is tested.

INDEPENDENT AND DEPENDENT EVENTS UNIT 6: PROBABILITY DAY 2

I. WHAT IS PROBABILITY?

LAMC Junior Circle February 3, Oleg Gleizer. Warm-up

Probability. Ms. Weinstein Probability & Statistics

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

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

COUNTING AND PROBABILITY

Key Concepts. Theoretical Probability. Terminology. Lesson 11-1

Chapter 4: Probability and Counting Rules

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

Section : Combinations and Permutations

Probability and the Monty Hall Problem Rong Huang January 10, 2016

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

Axiomatic Probability

Math 102 Practice for Test 3

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

Sample Spaces, Events, Probability

Discrete probability and the laws of chance

Probability (Devore Chapter Two)

Georgia Department of Education Georgia Standards of Excellence Framework GSE Geometry Unit 6

CSI 23 LECTURE NOTES (Ojakian) Topics 5 and 6: Probability Theory

From Probability to the Gambler s Fallacy

TEST A CHAPTER 11, PROBABILITY

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

Bell Work. Warm-Up Exercises. Two six-sided dice are rolled. Find the probability of each sum or 7

Counting (Enumerative Combinatorics) X. Zhang, Fordham Univ.

Exam III Review Problems

Date. Probability. Chapter

Math 7 Notes - Unit 11 Probability

Independent Events. 1. Given that the second baby is a girl, what is the. e.g. 2 The probability of bearing a boy baby is 2

Statistics Intermediate Probability

Contents 2.1 Basic Concepts of Probability Methods of Assigning Probabilities Principle of Counting - Permutation and Combination 39

Answer each of the following problems. Make sure to show your work.

CHAPTERS 14 & 15 PROBABILITY STAT 203

Probability. March 06, J. Boulton MDM 4U1. P(A) = n(a) n(s) Introductory Probability

Transcription:

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 of mathematics with many applications: Simulation Risk Assessment Genetics Algorithm Design Gambling Many situations can be analyzed using a simplified model of probability Assumptions: 1. Finite number of possible outcomes 2. Each outcome is equally likely Dice Card games Flipping coins Roulette Lotteries 1

Terminology Definitions: An experiment is a procedure that yields one of a given set of possible outcomes The sample space of an experiment is the set of possible outcomes An event is a subset of the sample space Given a finite sample space S of equally-likely outcomes, the probability of an event E is p(e) = E / S. Example: Experiment: Roll a single 6-sided die one time Sample space: {1, 2, 3, 4, 5, 6} One possible event: Roll an even number {2, 4, 6} The probability of rolling an even number is {2, 4, 6} / {1, 2, 3, 4, 5, 6} = 3/6 = 1/2 Solving these simplified finite probability problems is easy Note that combinatorics and probability are related! Step 1: Identify and count the sample space / Step 3: Divide! Step 2: Count the size of the desired event space 2

When two dice are rolled, what is the probability that the sum of the two numbers is seven? Step 1: Identify and count sample space Sample space, S, is all possible pairs of numbers 1-6 Product rule tells us that S = 6 2 = 36 Step 2: Count event space (1, 6) (2, 5) (3, 4) E = 6 (4, 3) (5, 2) (6, 1) Step 3: Divide Probability of rolling two dice that sum to 7 is p(e) p(e) = E / S = 6/36 = 1/6 Balls and Bins Example: A bin contains 4 green balls and 5 red balls. What is the probability that a ball chosen from the bin is green? 9 possible outcomes (balls) 4 green balls, so E = 4 So p(e) = 4/9 that a green ball is chosen 3

Hit the lotto Example: Suppose a lottery gives a large prize to a person who picks 4 digits between 0-9 in the correct order, and a smaller prize if only three digits are matched. What is the probability of winning the large prize? The small prize? Grand prize S = possible lottery outcomes S = 10 4 = 10,000 E = all 4 digits correct E = 1 So p(e) = 1/10,000 = 0.0001 Smaller prize S = possible lottery outcomes S = 10 4 = 10,000 E = one digit incorrect We can count E using the sum rule: 9 ways to get 1 st digit wrong OR 9 ways to get 2 nd digit wrong OR 9 ways to get 3 rd digit wrong OR 9 ways to get 4 th digit wrong So E = 9 + 9 + 9 + 9 = 36 p(e) = 36/10,000 = 0.0036 Mega Lotteries Example: Consider a lottery that awards a prize if a person can correctly choose a set of 6 numbers from the set of the first 40 positive numbers. What is the probability of winning this lottery? S = All sets of six numbers between 1 and 40 Note that order does not matter in this lottery Thus, S = C(40, 6) = 40!/(6!34!) = 3,838,380 Only one way to do this correctly, so E = 1 So p(e) = 1/3,838,380 0.00000026 Lesson: You stand a better chance at being struck by lightning than winning this lottery! 4

Four of a Kind Example: What is the probability of getting four of a kind in a 5-card poker hand? S = set of all possible poker hands Recall S = C(52,5) = 2,598,960 E = all poker hands with 4 cards of the same type To draw a four of a kind hand: C(13, 1) ways to choose the type of card (2, 3,, King, Ace) C(4,4) = 1 way to choose all 4 cards of that type C(48, 1) ways to choose the 5 th card in the hand So, E = C(13,1)C(4,4)C(48,1) = 13 48 = 624 p(e) = 624/2,598,960 0.00024 A Full House Example: How many ways are there to draw a full house during a game of poker? (Reminder: A full house is three cards of one kind, and two cards of another kind.) S = C(52,5) = 2,598,960 E = all hands containing a full house To draw a full house: Choose two types of cards (order matters) Choose three cards of the first type Choose two cards of the second type So E = 13 12 4 6 = 3,744 p(e) = 3,744/2,598,960 0.0014 P(13, 2) = 13 12 ways C(4, 3) = 4 ways C(4, 2) = 6 ways 5

Sampling with or without replacement makes a difference! Example: Consider a bin containing balls labeled with the numbers 1, 2,, 50. How likely is the sequence 23, 4, 3, 12, 48 to be drawn in order if a selected ball is not returned to the bin? What if selected balls are immediately returned to the bin? Note: Since order is important, we need to consider 5-permutations If balls are not returned to the bin, we have P(50, 5) = 50 49 48 47 46 = 254,251,200 ways to select 5 balls If balls are returned, we have 50 5 = 312,500,000 ways to select 5 balls Since there is only one way to select the sequence 23, 4, 3, 12, 48 in order, we have that p(e) = 1/254,251,200 if balls are not replaced p(e) = 1/312,500,000 if balls are replaced Yes, calculating probabilities is easy Anyone can divide two numbers! Key point: Be careful when you Define the sets S and E Count the cardinality of S and E 6

Group Work! Problem 1: What is the probability that a randomly selected day of the year (from the 366 possible days) is in April? Problem 2: In poker, a straight flush is a hand in which all 5 cards are from the same suit and occur in order. For example, a hand containing the 3, 4, 5, 6, and 7 of hearts would be a straight flush, while the hand containing the 3, 4, 5, 7, and 8 of hearts would not be. What is the probability of drawing a straight flush in poker? Problem 3: A flush is a hand in which all five cards are of the same suit, but do not form an ordered sequence. What is the probability of drawing a flush in poker? What about events that are derived from other events? Recall: An event E is a subset of the sample space S S Definition: p(e) = 1 p(e) Proof: Note that E = S E, since S is universe of all possible outcomes So, E = S - E Thus, p(e) = E / S by definition = ( S - E )/ S by substitution E = 1 - E / S simplification = 1 p(e) by definition E 7

Sometimes, counting E is hard! Example: A 10-bit sequence is randomly generated. What is the probability that at least 1 bit is 0? S = all 10-bit strings S = 2 10 E = all 10-bit strings with at least 1 zero E = all 10-bit strings with no zeros = {1111111111} p(e) = 1 p(e) = 1 1/2 10 = 1 1/1024 = 1023/1024 So the probability of a randomly generated 10-bit string containing at least one 0 is 1023/1024. We can also calculate the probability of the union of two events Definition: If E 1 and E 2 are two events in the sample space S, then p(e 1 E 2 ) = p(e 1 ) + p(e 2 ) p(e 1 E 2 ). S E 1 E 2 Why does this look familiar? Proof: Recall: E 1 E 2 = E 1 + E 2 - E 1 E 2 p(e 1 E 2 ) = E 1 E 2 / S = ( E 1 + E 2 - E 1 E 2 ) / S = E 1 / S + E 2 / S - E 1 E 2 / S = p(e 1 ) + p(e 2 ) - p(e 1 E 2 ) 8

Divisibility Example: What is the probability that a positive integer not exceeding 100 is divisible by either 2 or 5? Let E 1 be the event that an integer is divisible by 2 Let E 2 be the event that an integer is divisible by 5 E 1 E 2 is the event that an integer is divisible by 2 or 5 E 1 E 2 is the event that an integer is divisible by 2 and 5 E 1 = 50 E 2 = 20 E 1 E 2 = 10 p(e 1 E 2 ) = p(e 1 ) + p(e 2 ) - p(e 1 E 2 ) = 50/100 + 20/100 10/100 = 1/2 + 1/5 + 1/10 = 3/5 Not all events are equally likely to occur Sporting events Investments Games of strategy Nature 9

We can model these types of real-life situations by relaxing our model of probability As before, let S be our sample space. Unlike before, we will allow S to be either finite or countable. We will require that the following conditions hold: 1. 0 p(s) 1 for each s S 2. No event can have a negative likelihood of occurrence, or more than a 100% chance of occurence In any given experiment, some event will occur The function p : S [0,1] is called a probability distribution Simple example: Fair and unfair coins Example: What probabilities should be assigned to outcomes heads (H) and tails (T) if a fair coin is flipped? What if the coin is biased so that heads is twice as likely to occur as tails? Case 1: Fair coins Each outcome is equally likely So p(h) = 1/2, p(t) = 1/2 Check: 0 1/2 1 1/2 + 1/2 = 1 Case 2: Biased coins Note: 1. p(h) = 2p(T) 2. p(h) + p(t) = 1 2p(T) + p(t) = 1 3p(T) = 1 p(t) = 1/3, p(h) = 2/3 10

Are the following probability distributions valid? Why or why not? S = {1, 2, 3, 4} where p(1) = 1/3 p(2) = 1/6 p(3) = 1/6 p(4) = 1/3 S = {a, b, c} p(a) = 3/4 p(b) = 1/4 p(c) = 0 S = {1, 2, 3, 4} where p(1) = 2/3 p(2) = 1/6 p(3) = -1/6 p(4) = 1/3 S = {a, b, c} p(a) = 1/2 p(b) = 1/4 p(c) = 0 More definitions Definition: Suppose that S is a set with n elements. The uniform distribution assigns the probability 1/n to each element of S. The distribution of fair coin flips is a uniform distribution! Definition: The probability of an event E S is the sum of the probabilities of the outcomes in E. That is: 11

Can we reconcile this definition of probability with that of Laplace? Consider the uniform distribution over a finite sample space S, S = n. In this case p(s) = 1/n for each s S. Check definitions: 1. 0 1/n 1 2. This is the same probability assigned to E by the formula on the last slide! 1. p(s) = {s} / S = 1/n 2. For an event E such that E = e p(e) = E / S = e/n = e (1/n) Under Laplace: Loaded dice Example: Suppose that a die is biased so that 3 appears twice as often as each other number, but that the other five outcomes are equally likely. What is the probability that an odd number appears when we roll this die? p(1) + p(2) + p(3) + p(4) + p(5) + p(6) = 1 Note that p(1) = p(2) = p(4) = p(5) = p(6) and p(3) = 2p(1) So, p(1) + p(1) + 2p(1) + p(1) + p(1) + p(1) = 7p(1) = 1 Thus p(1) = p(2) = p(4) = p(5) = p(6) = 1/7 and p(3) = 2/7 Now, we want to find p(e), where E = {1, 3, 5} p(e) = p(1) + p(3) + p(5) = 1/7 + 2/7 + 1/7 = 4/7 12

Group Work! What is the probability of these events when we randomly select a permutation of {1, 2, 3}? Problem 1: 1 precedes 3 Problem 2: 3 precedes 1 Problem 3: 3 precedes 1 and 3 precedes 2 Final Thoughts Probability allows us to analyze the likelihood of events occurring We learned how to analyze events that are equally likely, as well as those that have non-equal probabilities of occurrence 13