Probability. Part 1 - Basic Counting Principles. 1. References. (1) R. Durrett, The Essentials of Probability, Duxbury.

Similar documents
Discrete Mathematics with Applications MATH236

1 The Basic Counting Principles

Counting. Math 301. November 24, Dr. Nahid Sultana

CIS 2033 Lecture 5, Fall

Notes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Combinatorial Analysis

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting

Probability, For the Enthusiastic Beginner (Exercises, Version 1, September 2016) David Morin,

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions

Lecture 6. Probability events. Definition 1. The sample space, S, of a. probability experiment is the collection of all

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions

Counting. Mukulika Ghosh. Fall Based on slides by Dr. Hyunyoung Lee

Introduction to Decision Sciences Lecture 11

Discrete Probability

Announcements. CSE 321 Discrete Structures. Counting. Counting Rules. Important cases of the Product Rule. Counting examples.

Computer Science Foundation Exam

HW2 Solutions, for MATH441, STAT461, STAT561, due September 9th

Math 461 B/C, Spring 2009 Midterm Exam 1 Solutions and Comments

IBPS Clerk Online CWE ( ) Reasoning Question Paper

PROBABILITY. Contents Preface 1 1. Introduction 2 2. Combinatorial analysis 5 3. Stirling s formula 8. Preface

Probability. 25 th September lecture based on Hogg Tanis Zimmerman: Probability and Statistical Inference (9th ed.)

PROBABILITY VITTORIA SILVESTRI

Module 8 Probability

Probabilistic models

Week 2: Probability: Counting, Sets, and Bayes

MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS

Statistical Inference

STAT 201 Chapter 5. Probability

True/False. Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao

1 True/False. Math 10B with Professor Stankova Worksheet, Discussion #9; Thursday, 2/15/2018 GSI name: Roy Zhao

Probabilistic models

2.6 Tools for Counting sample points

Counting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Let us think of the situation as having a 50 sided fair die; any one number is equally likely to appear.

The Near-miss Birthday Problem. Gregory Quenell Plattsburgh State

CS 2336 Discrete Mathematics

Senior Math Circles November 19, 2008 Probability II

{ 0! = 1 n! = n(n 1)!, n 1. n! =

Lecture 3. Probability and elements of combinatorics

MATH 556: PROBABILITY PRIMER

Name: Harry Potter (pothar31) Discrete Math HW#6 Solutions March 9, Added: Chapter 6 Summary/Review: 17(a), 8, 15, 29, 42 and Q1 and Q2 below

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy

CS 210 Foundations of Computer Science

STAT509: Probability

Probability and the Second Law of Thermodynamics

6 CARDINALITY OF SETS

STAT 516 Midterm Exam 2 Friday, March 7, 2008

Lecture 2: Probability

MATH 402 : 2017 page 1 of 6

An Introduction to Combinatorics

Econ 325: Introduction to Empirical Economics

Example. If 4 tickets are drawn with replacement from ,

Set theory background for probability

Combinations and Probabilities

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

Number Theory and Counting Method. Divisors -Least common divisor -Greatest common multiple

Permutations and Combinations

Solution: There are 30 choices for the first person to leave, 29 for the second, etc. Thus this exodus can occur in. = P (30, 8) ways.

Combinations. April 12, 2006

1. Sample spaces, events and conditional probabilities. A sample space is a finite or countable set S together with a function. P (x) = 1.

Counting Review R 1. R 3 receiver. sender R 4 R 2

Warm-Up 11 Solutions. Peter S. Simon. December 1, 2004

Some Basic Concepts of Probability and Information Theory: Pt. 1

CS Foundations of Computing

Summer 2017 June 16, Written Homework 03

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 152

Carleton University. Final Examination Fall DURATION: 2 HOURS No. of students: 223

MATH MW Elementary Probability Course Notes Part I: Models and Counting

Sampling WITHOUT replacement, Order IS important Number of Samples = 6

Test One Mathematics Fall 2009

Lecture Notes. Here are some handy facts about the probability of various combinations of sets:

Solutions to Exercises Chapter 10: Ramsey s Theorem

STA Module 4 Probability Concepts. Rev.F08 1

Combinatorics and probability

Introduction to Decision Sciences Lecture 10

Carleton University. Final Examination Winter DURATION: 2 HOURS No. of students: 275

Recursive Definitions

Chapter 8 Sequences, Series, and Probability

Putnam Pigeonhole Principle October 25, 2005

Chapter 2 Class Notes

GEOMETRY AND MENSURATION...

STT When trying to evaluate the likelihood of random events we are using following wording.

Lecture 8: Probability

All numbered readings are from Beck and Geoghegan s The art of proof.

MATH 114 Fall 2004 Solutions to practice problems for Final Exam

Probability - Lecture 4

Compatible probability measures

F 99 Final Quiz Solutions

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

Math Fall Final Exam. Friday, 14 December Show all work for full credit. The problems are worth 6 points each.

Combinatorics. But there are some standard techniques. That s what we ll be studying.

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

Introduction to Probability Theory, Algebra, and Set Theory

PGSS Discrete Math Solutions to Problem Set #4. Note: signifies the end of a problem, and signifies the end of a proof.

Notes Week 2 Chapter 3 Probability WEEK 2 page 1

Module 1. Probability

Homework 7 Solutions, Math 55

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Transcription:

Probability Part 1 - Basic Counting Principles 1. References (1) R. Durrett, The Essentials of Probability, Duxbury. (2) L.L. Helms, Probability Theory with Contemporary Applications, Freeman. (3) J.J. Higgins and S. Keller-McNulty, Concepts in Probability and Stochastic Modeling, Duxbury. (4) R.V. Hogg and E.A. Tanis, Probability and Statistical Inference, Prentice-Hall. 2. Solved Problems Problem 1. An experiment consists of choosing a sequence of 6 digits. Describe the sample space of this experiment. How many possible outcomes of the experiment are there? Let A denote the event that the sequence begins with two consecutive digits in natural order. How many outcomes belong to the event A? Solution: The sample space S of an experiment is defined to be the set of all possible outcomes of the experiment. Here it is the set of all sequences (x 1, x 2, x 3, x 4, x 5, x 6 ), with each x i {0, 1, 2,, 9}. Since repetitions are not specifically prohibited, we will assume that they may occur. There are 10 possibilities for x 1, 10 possibilities for x 2,, and 10 possibilities 1

2 for x 6. By the multiplication principle, the total number of outcomes is 10 10 10 10 10 10 = 10 6. This is the number of functions from a set of size 6 to a set of size 10. In general, the number of functions from a set of size n to a set of size m is m n. Let B 1 denote the set of all sequences that begin with (0, 1), B 2 those that begin with (1, 2),, and finally let B 9 denote the set of sequences that begin with (8, 9). The number of outcomes in each B i is 10 4, the B i are pairwise disjoint, and A = 9 i=1 B i. Therefore, A has 9 10 4 outcomes. Problem 2. Consider the same experiment and event A described in the preceding problem, but assume that the terms of the sequence must be distinct. How many outcomes are in the sample space and the event A? Solution: An outcome is now a non-repeating sequence of digits (x 1,, x 6 ). It may be helpful to think of the digits as being chosen sequentially in time. There are 10 possibilities for x 1. Once x 1 has been selected its value is excluded for future selections. Thus there are 9 possibilities for x 2, 8 possibilities for x 3, and so on. Finally, there are 5=10-6+1 possibilities for x 6. By the multiplication principle, there are 10 9 8 7 6 5 = 151200 outcomes in all. In general, the number of nonrepeating sequences of length n from a set of m elements (m n) is m(m 1) (m n+1) = m!/(m n)!. This is also the number of one-to-one functions from a set of size n to a set of size m, or the number of permutations of length n from a set of m objects. Define events B 1, B 2, etc. as in Problem 1. For B 1, the initial terms are 0 and 1 and the last four terms of an outcome in B 1 must be a nonrepeating

sequence from the remaining eight digits. Thus B 1 has 8 7 6 5 = 1680 outcomes. The other B i have the same number. Therefore, the number of outcomes in A is 9 1680 = 15120. Problem 3. Assume that the experiment in Problem 1 has equally likely outcomes. What is the probability of the event A? What is the probability of A in Problem 2? Solution: The phrase equally likely outcomes applied to an experiment with a finite number N of possible outcomes means that each individual outcome, or singleton event, has probability 1/N. Equivalently, the probability of any event A is #A/N, where #A denotes the cardinality of A. Thus, in Problem 1, each individual outcome has probability 10 6 and the probability of A is 9 10 4 /10 6 = 0.09. In Problem 2, if outcomes are equally likely, the probability of event A is P (A) = 15120/151200 = 0.10. Problem 4. An experiment consists of selecting a subset (not a sequence) of six of the ten digits. How many outcomes does this experiment have? Define A to be the event that the chosen subset contains two consecutive digits. How many outcomes belong to A? If all outcomes are equally likely, what is the probability of A? Solution: The number of subsets of size n from a set of size m is given by the binomial coefficient ( ) m n = m! n!(m n)!. Thus, the number of outcomes for this experiment is ( 10 6 ) = 210. To find the number of outcomes containing a pair of consecutive digits, it is easier to count the ones that don t contain 3

4 a consecutive pair. Suppose there is such an outcome and its members are arranged in increasing order. Between the 6 members of the outcome there are 5 gaps where other integers between 0 and 9 belong. This makes at least 11 integers between 0 and 9, which is clearly impossible. Therefore, every outcome belongs to A. If all outcomes of the experiment are equally likely, the probability of A is 210/210 = 1. Problem 5 (The birthday problem): What is the probability that in a set of n people, at least two will have the same birthday? Solution: In problems like this one, where no information to the contrary is given, you may assume that outcomes are equally likely. The difficulty is usually in deciding exactly what the outcomes are. In this case, an outcome is an assignment of one of the 365 birthdays to each person in the set. In other words, it is a function from a set of size n to a set of size 365. Therefore, there are 365 n equally likely outcomes. If an outcome belongs to the event no two people with the same birthday, then the function is one-to-one and there are 365!/(365 n)! of these. Hence, the probability that no two people have the same birthday is 365 (365 n + 1) 365 n = (1 1 365 )(1 2 365 ) (1 n 1 365 ) The probability that two or more people do have the same birthday is 1 minus this quantity. It is an increasing function of n up to n = 365. For n = 22 it is greater than 1/2.

Definition 2.1. Suppose P is a finite population. An ordered sample with replacement of size n from P is a possibly repeating sequence of length n 5 from P. An ordered sample without replacement of size n from P is a nonrepeating sequence of length n of members of P. An unordered sample of size n from P is a subset of P having n members. If the sampled population has N members, the numbers of samples of each of the three types are, respectively, N n, N(N 1) (N n + 1) and ( N ) n. 3. Unsolved Problems Problem 1: Three students are seated in a row of 10 chairs for an exam. Assuming all outcomes are equally likely, what is the probability that they are in three adjacent chairs? What is the probability that no two adjacent chairs are occupied? Problem 2: A six-sided die is thrown 5 times. Assuming all outcomes are equally likely, what is the probability of getting three sixes in a row and no more? What is the probability of getting exactly three sixes in the 5 throws? Problem 3: What is the probability that among 3 friends, at least two were born in the same month? Assume all outcomes are equally likely. Problem 4: A population has N members. An ordered sample without replacement of size 3 is chosen in such a way that after each element of the sample is selected, all the remaining elements of the population are equally likely to be chosen next. Show that if K is any three-member subset of the

6 population, the probability that K is the result of the sequential selection procedure is 1/ ( N 3 ). Generalize to ordered samples of size n. This shows that an unordered sample without replacement can be chosen sequentially. That is the way it is usually done. Problem 5: Suppose a population P has N members and that an ordered sample of size n is chosen from it with replacement. Assume all outcomes are equally likely. What is the probability that no member of the population is included more than once in the sample? (Hint: This is a restatement and generalization of the birthday problem.) Problem 6 (For those who like calculus and inequalities): In problem number 5, suppose N and n are both allowed to vary. Show that the probability of no repetitions in the sample approaches 1 if and only if n2 N goes to 0.