Chap 2 Combinatorial Methods Ghahramani 3rd edition.

Slides:



Advertisements
Similar presentations
Methods of Enumeration Counting tools can be very important in probability … particularly if you have a finite sample space with equally likely outcomes.
Advertisements

Chapter 2 Concepts of Prob. Theory
Arrange -ments Single Events Compound ConditionalOther Final Jeopardy.
Chapter 3 Probability.
1 1 PRESENTED BY E. G. GASCON Introduction to Probability Section 7.3, 7.4, 7.5.
Introduction to Probability
1 Introduction to Stochastic Models GSLM Outline  course outline course outline  Chapter 1 of the textbook.
Probability and combinatorics Notes from Virtual Laboratories in Probability and Statistics.
Counting Elements in a List How many integers in the list from 1 to 10? How many integers in the list from m to n? (assuming m
HW2 assignment. 1.A fair coin is tossed 5 times. Find a probability of obtaining (a) exactly 3 heads; (b) at most 3 heads Solution: Binomial distribution.
Algebra1 Independent and Dependent Events
Conditional Probabilities
Problem A-16 If Set X = {13,19,22,26,37} and Set Y = {8,19,37,44,103}, what is the intersection of sets x and y?
INTRODUCTORY MATHEMATICAL ANALYSIS For Business, Economics, and the Life and Social Sciences  2007 Pearson Education Asia Chapter 8 Introduction to Probability.
Probability Chapter 3. § 3.1 Basic Concepts of Probability.
Chapter 2. Axioms of Probability
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
4. Counting 4.1 The Basic of Counting Basic Counting Principles Example 1 suppose that either a member of the faculty or a student in the department is.
Counting and Probability Sets and Counting Permutations & Combinations Probability.
Chapter 1 Basics of Probability.
5.1 Basic Probability Ideas
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
X of Z: MAJOR LEAGUE BASEBALL ATTENDANCE Rather than solving for z score first, we may be given a percentage, then we find the z score, then we find the.
You probability wonder what we’re going to do next!
Probability Review and Counting Fundamentals Ginger Holmes Rowell, Middle TN State University Tracy Goodson-Espy and M. Leigh Lunsford, University of AL,
7 Further Topics in Algebra © 2008 Pearson Addison-Wesley. All rights reserved Sections 7.4–7.7.
Conditional Probability
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
Principles of Statistics Chapter 2 Elements of Probability.
Section 7.1. Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning.
Warm-Up 1. What is Benford’s Law?
Chapter 7 With Question/Answer Animations. Section 7.1.
Slide 7- 1 Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
You probability wonder what we’re going to do next!
Probability Chapter 3. § 3.4 Counting Principles.
2. Combinatorial Methods p Introduction If the sample space is finite and furthermore sample points are all equally likely, then P(A)=N(A)/N(S)
Warm Up 1. Determine whether each situation involves permutations or combinations 2. Solve each problem (set up…if you can simplify…you’re great!) Arrangement.
Combinatorics and Probability
Homework Homework due now. Reading: relations
Warm-Up A woman and a man (unrelated) each have two children .
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.1,
Review Homework pages Example: Counting the number of heads in 10 coin tosses. 2.2/
Probability Basic Concepts Start with the Monty Hall puzzle
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Welcome to our seventh seminar! We’ll begin shortly.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Great Theoretical Ideas in Computer Science for Some.
Data Handling Multiple Choice (BCD Questions). A B C D Q1. An ordinary fair dice is thrown at the same time a a coin is tossed. The probability of obtaining.
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
Section 5.3 Independence and the Multiplication Rule.
Section 7.1. Probability of an Event We first define these key terms: An experiment is a procedure that yields one of a given set of possible outcomes.
Probability and Statistics for Engineers Huang Xin 2016 Jan 20.
Probability Quiz. Question 1 If I throw a fair dice 30 times, how many FIVES would I expect to get?
6.2 – Probability Models It is often important and necessary to provide a mathematical description or model for randomness.
13 Lesson 1 Let Me Count the Ways Fundamental Counting Principle, Permutations & Combinations CP Probability and Statistics FA 2014 S-ID.1S-CP.3S-CP.5.
PROBABILITY AND STATISTICS WEEK 2 Onur Doğan. Introduction to Probability The Classical Interpretation of Probability The Frequency Interpretation of.
1 COMP2121 Discrete Mathematics Principle of Inclusion and Exclusion Probability Hubert Chan (Chapters 7.4, 7.5, 6) [O1 Abstract Concepts] [O3 Basic Analysis.
Counting Principles Ex. Eight pieces of paper are numbered 1 to 8 and placed in a box. One piece of paper is drawn from the box, its number is written.
ICS 253: Discrete Structures I
The Pigeonhole Principle
You probability wonder what we’re going to do next!
COCS DISCRETE STRUCTURES
BASIC PROBABILITY Probability – the chance of something (an event) happening # of successful outcomes # of possible outcomes All probability answers must.
PROBABILITY AND STATISTICS
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Chapter 3 Probability.
Combination and Permutations Quiz!
Permutations and Combinations
Mutually Exclusive Events
Presentation transcript:

Chap 2 Combinatorial Methods Ghahramani 3rd edition

p2. Outline 2.1 Introduction 2.2 Counting principle 2.3 Permutations 2.4 Combinations 2.5 Stirling ’ s formula

p Introduction If the sample space is finite and furthermore sample points are all equally likely, then P(A)=N(A)/N(S) So we study combinatorial analysis here, which deals with methods of counting.

p Counting principle Ex 2.1 How many outcomes are there if we throw 5 dice? Ex 2.2 In tossing 4 fair dice, P(at least one 3 among these 4 dice)=? Ex 2.3 Virginia wants to give her son, Brian, 14 different baseball cards within a 7-day period. If Virginia gives Brian cards no more than once a day, in how many way can this be done? Ex 2.6 (Standard Birthday Problem) P(at least two among n people have the same Bday)=?

p5. Counting principle Thm 2.3 A set with n elements has 2 n subsets. Ex 2.9 Mark has $4. He decides to bet $1 on the flip of a fair coin 4 times. What is the probability that (a) he breaks even; (b) he wins money?(use tree diagram)

p Permutations Ex people, Brown, Smith, and Jones, must be scheduled for job interviews. In how many different orders can this be done? Ex anthropology, 4 computer science, 3 statistics, 3 biology, and 5 music books are put on a bookshelf with a random arrangement. What is the probability that the books of the same subject are together?

p7. Permutations Ex 2.12 If 5 boys and 5 girls sit in a row in a random order, P(no two children of the same sex sit together)=? Thm 2.4 The number of distinguishable permutations of n objects of k different types, where n 1 are alike, n 2 are alike, …, n k are alike and n=n 1 +n 2 +…+n k is

p8. Permutations Ex 2.13 How many different 10-letter codes can be made using 3 a’s, 4 b’s, and 3 c’s? Ex 2.14 In how many ways can we paint 11 offices so that 4 of them will be painted green, 3 yellow, 2 white, and the remaining 2 pink? Ex 2.15 A fair coin is flipped 10 times. P(exactly 3 heads)=?

p Combinations Ex 2.16 In how many ways can 2 math and 3 biology books be selected from 8 math and 6 biology books? Ex instructors were selected randomly to ask whether they are happy with their teaching loads. The response of 32 were negative. If Drs. Smith, Brown, and Jones were among those questioned. P(all 3 gave negative responses)=?

p10. Combinations Ex 2.18 In a small town, 11 of the 25 schoolteachers are against abortion, 8 are for abortion, and the rest are indifferent. A random sample of 5 schoolteachers is selected for an interview. (a)P(all 5 are for abortion)=? (b)P(all 5 have the same opinion)=? Ex 2.19 In Maryland’s lottery, player pick 6 integers between 1 and 49, order of selection being irrelevant. P(grand prize)=? P(2 nd prize)=? P(3 rd prize)=?

p11. Combinations Ex cards are drawn from 52 without replacement. P(at least one of the cards is a king)=? Ex cards are drawn from 52. P(full house)=? Ex 2.24 A professor wrote n letters and sealed them in envelopes. P(at least one letter was addressed correctly)=? Hint: Let E i be the event that i th letter is addressed correctly. Compute P(E 1 U…UE n ) by inclusion- exclusion principle.

p12. Combinations Thm 2.5 (Binomial expansion) Ex 2.25 What is the coefficient of x 2 y 3 in the expansion of (2x+3y) 5 ? Ex 2.26 Evaluate the sum

p13. Combinations Ex 2.27 Evaluate the sum Ex 2.28 Prove that

p14. Combinations Ex 2.29 Prove the inclusion-exclusion principle. Ex 2.30 Distribute n distinguishable balls into k distinguishable cells so that n 1 balls are distributed into the first cell, n 2 balls into the second cell, …, n k balls into the k th cell, where n 1 +n 2 +…+n k =n. How many possible ways? Sol:

p15. Combinations Thm 2.6 (Multinomial expansion).

p Stirling’s formula