Combinations. April 14, 2006

Similar documents
Math 42, Discrete Mathematics

Math236 Discrete Maths with Applications

3 The multiplication rule/miscellaneous counting problems

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

Introductory Probability

Basic Concepts * David Lane. 1 Probability of a Single Event

Probability (Devore Chapter Two)

Chapter 1. Probability

Theory of Probability - Brett Bernstein

Section : Combinations and Permutations

Week in Review #5 ( , 3.1)

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

Chapter 1. Probability

NOTES ON SEPT 13-18, 2012

Compound Probability. Set Theory. Basic Definitions

FOURTH LECTURE : SEPTEMBER 18, 2014

8.2 Union, Intersection, and Complement of Events; Odds

Important Distributions 7/17/2006

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

Principles of Counting. Notation for counting elements of sets

Intermediate Math Circles November 1, 2017 Probability I. Problem Set Solutions

6/24/14. The Poker Manipulation. The Counting Principle. MAFS.912.S-IC.1: Understand and evaluate random processes underlying statistical experiments

n! = n(n 1)(n 2) 3 2 1

Basic Probability Models. Ping-Shou Zhong

Principle of Inclusion-Exclusion Notes

Introductory Probability

CSCI 2200 Foundations of Computer Science (FoCS) Solutions for Homework 7

3 The multiplication rule/miscellaneous counting problems

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

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

LISTING THE WAYS. getting a total of 7 spots? possible ways for 2 dice to fall: then you win. But if you roll. 1 q 1 w 1 e 1 r 1 t 1 y

INDIAN STATISTICAL INSTITUTE

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

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Week 1: Probability models and counting

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

Math 4610, Problems to be Worked in Class

Poker Hands. Christopher Hayes

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

12.1 The Fundamental Counting Principle and Permutations

Unit 6: Probability. Marius Ionescu 10/06/2011. Marius Ionescu () Unit 6: Probability 10/06/ / 22

Combinatorics. Chapter Permutations. Counting Problems

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

Dependence. Math Circle. October 15, 2016

Counting and Probability Math 2320

Pan (7:30am) Juan (8:30am) Juan (9:30am) Allison (10:30am) Allison (11:30am) Mike L. (12:30pm) Mike C. (1:30pm) Grant (2:30pm)

Chapter 2. Permutations and Combinations

Chapter 5 - Elementary Probability Theory

Probability and Counting Techniques

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

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

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

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:

Dear Chance News. Larry Polansky Music Dept. Dartmouth College

The Art of Counting. Bijections, Double Counting. Peng Shi. September 16, Department of Mathematics Duke University

EXAM. Exam #1. Math 3371 First Summer Session June 12, 2001 ANSWERS

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

Mixed Counting Problems

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

Math 1070 Sample Exam 1

Chapter 0: Preparing for Advanced Algebra

Week 3 Classical Probability, Part I

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

Permutations and Combinations. MATH 107: Finite Mathematics University of Louisville. March 3, 2014

Probability Rules 3.3 & 3.4. Cathy Poliak, Ph.D. (Department of Mathematics 3.3 & 3.4 University of Houston )

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

PROBLEM SET 2 Due: Friday, September 28. Reading: CLRS Chapter 5 & Appendix C; CLR Sections 6.1, 6.2, 6.3, & 6.6;

Chapter 2: Probability

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

n(s)=the number of ways an event can occur, assuming all ways are equally likely to occur. p(e) = n(e) n(s)

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

4.1 Sample Spaces and Events

(a) Suppose you flip a coin and roll a die. Are the events obtain a head and roll a 5 dependent or independent events?

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

Today s Topics. Next week: Conditional Probability

MA 524 Midterm Solutions October 16, 2018

Permutations: The number of arrangements of n objects taken r at a time is. P (n, r) = n (n 1) (n r + 1) =

Poker: Probabilities of the Various Hands

Problem Set 2. Counting

Discrete Finite Probability Probability 1

Section The Multiplication Principle and Permutations

4.1 What is Probability?

Probability - Grade 10 *

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

Solutions for Exam I, Math 10120, Fall 2016

Discrete Structures for Computer Science

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

MATH CALCULUS & STATISTICS/BUSN - PRACTICE EXAM #1 - SPRING DR. DAVID BRIDGE

Counting in Algorithms

More Probability: Poker Hands and some issues in Counting

11.2. Counting Techniques and Probability

(20.1) 4 la, na,i+ia, na 3 1+1A, na,i (20.2) 4 la, na, na 3 1+1A, na, na,i. involving single set: in abbreviation,

Section Summary. Permutations Combinations Combinatorial Proofs

Non-overlapping permutation patterns

ATHS FC Math Department Al Ain Remedial worksheet. Lesson 10.4 (Ellipses)

Advanced Intermediate Algebra Chapter 12 Summary INTRO TO PROBABILITY

Probability Models. Section 6.2

4.3 Finding Probability Using Sets

4.3 Rules of Probability

ECON 214 Elements of Statistics for Economists

Transcription:

Combinations April 14, 2006 Combinations (cont'd), April 14, 2006

Inclusion-Exclusion Principle Theorem. Let P be a probability distribution on a sample space Ω, and let {A 1, A 2,..., A n } be a nite set of events. Then P (A 1 A 2 A n ) = n P (A i ) i=1 1 i<j n P (A i A j ) + 1 i<j<k n P (A i A j A k ). That is, to nd the probability that at least one of n events A i occurs, rst add the probability of each event, then subtract the probabilities of all possible two-way intersections, add the probability of all three-way intersections, and so forth. Combinations (cont'd), April 14, 2006 1

Hat Check Problem In a restaurant n hats are checked and they are hopelessly scrambled; what is the probability that no one gets his own hat back? Combinations (cont'd), April 14, 2006 2

Hat Check Problem In a restaurant n hats are checked and they are hopelessly scrambled; what is the probability that no one gets his own hat back? Find the probability that a random permutation contains at least one xed point. Combinations (cont'd), April 14, 2006 2

Hat Check Problem In a restaurant n hats are checked and they are hopelessly scrambled; what is the probability that no one gets his own hat back? Find the probability that a random permutation contains at least one xed point. If A i is the event that the ith element a i remains xed under this map, then P (A i ) = 1 n. Combinations (cont'd), April 14, 2006 2

If we x a particular pair (a i, a j ), then P (A i Aj ) = 1 n(n 1). The number of terms of the form P (A i Aj ) is ( n 2 ). Combinations (cont'd), April 14, 2006 3

For any three events A 1, A 2, A 3 P (A i A j A k ) = (n 3)! n! = 1 n(n 1)(n 2), and the number of such terms is ( ) n 3 = n(n 1)(n 2) 3!. Hence P (at least one xed point) = 1 1 2! + 1 3! ( 1)n 1 1 n! Combinations (cont'd), April 14, 2006 4

and P (no xed point) = 1 2! 1 3! + ( 1)n 1 n!. Combinations (cont'd), April 14, 2006 5

Probability that no one n gets his own hat back 3.333333 4.375 5.366667 6.368056 7.367857 8.367882 9.367879 10.367879 Combinations (cont'd), April 14, 2006 6

Problems Show that the number of ways that one can put n dierent objects into three boxes with a in the rst, b in the second, and c in the third is n!/(a! b! c!). Combinations (cont'd), April 14, 2006 7

Problems... Suppose that a die is rolled 20 independent times, and each time we record whether or not the event {2, 3, 5, 6} has occurred. 1. What is the distribution of the number of times this event occurs in 20 rolls? 2. Calculate the probability that the event occurs ve times. Combinations (cont'd), April 14, 2006 8

Problems... Suppose that a basketball player sinks a basket from a certain position on the court with probability 0.35. 1. What is the probability that the player sinks three baskets in ten independent throws? 2. What is the probability that the player throws ten times before obtaining the rst basket? 3. What is the probability that the player throws ten times before obtaining two baskets? Combinations (cont'd), April 14, 2006 9

Problems... Poker Hands Suppose that we have a standard 52 card deck. In a poker game does a straight beat three of a kind? (straight: ve cards in a sequence regardless of suit, but not a royal or a straight ush). Why? Does a straight beat a full house? Why? Why does a four of a kind beat a full house? Combinations (cont'd), April 14, 2006 10

Problems... Show that b(n, p, j) = p q ( ) n j + 1 b(n, p, j 1), j for j 1. Use this fact to determine the value or values of j which give b(n, p, j) its greatest value. Combinations (cont'd), April 14, 2006 11

Problems... Conditional Probability Suppose that we draw two cards successively without replacement from a standard deck D. Consider the event A = {the second card is a king}. P (A)? What is Combinations (cont'd), April 14, 2006 12

Problems... Conditional Probability Suppose that we draw two cards successively without replacement from a standard deck D. Consider the event A = {the second card is a king}. P (A)? What is Suppose that you are told after the rst card is drawn that is was a king. What is the probability P (A B) that the second card is a king? Combinations (cont'd), April 14, 2006 12

Problems... Denition Let Ω = {ω 1, ω 2,..., ω r } be the original sample space with distribution function m(ω j ) assigned. Suppose we learn that the event E has occurred. If a sample point ω j is not in E, we want m(ω j E) = 0. For ω k in E, we should have the same relative magnitudes that they had before we learned that E had occurred: m(ω k E) = cm(ω k ). Combinations (cont'd), April 14, 2006 13

Denition... But we must also have m(ω k E) = c E E m(ω k ) = 1. Thus, c = 1 E m(ω k) = 1 P (E). Combinations (cont'd), April 14, 2006 14

Denition... Denition. The conditional distribution given E is the distribution on Ω dened by m(ω k E) = m(ω k) P (E) for ω k in E, and m(ω k E) = 0 for ω not in E. Combinations (cont'd), April 14, 2006 15

Then, for a general event F, P (F E) = F E m(ω k E) = F E m(ω k ) P (E) = P (F E) P (E). We call P (F E) the conditional probability of F occurring given that E occurs. Combinations (cont'd), April 14, 2006 16