Topic 3: Counting Techniques CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.

Slides:



Advertisements
Similar presentations
4-1 Chapter 4 Counting Techniques.
Advertisements

Methods of Enumeration Counting tools can be very important in probability … particularly if you have a finite sample space with equally likely outcomes.
4/16/2015 MATH 224 – Discrete Mathematics Counting Basic counting techniques are important in many aspects of computer science. For example, consider the.
Chapter 8 Counting Principles: Further Probability Topics Section 8.3 Probability Applications of Counting Principles.
Chapter 8 Counting Principles: Further Probability Topics Section 8.1 The Multiplication Principle; Permutations.
Chapter 2 Probability. 2.1 Sample Spaces and Events.
Chapter 13 sec. 3.  Def.  Is an ordering of distinct objects in a straight line. If we select r different objects from a set of n objects and arrange.
Today Today: Reading: –Read Chapter 1 by next Tuesday –Suggested problems (not to be handed in): 1.1, 1.2, 1.8, 1.10, 1.16, 1.20, 1.24, 1.28.
Chapter 4 Probability.
Chapter Two Probability. Probability Definitions Experiment: Process that generates observations. Sample Space: Set of all possible outcomes of an experiment.
Combinations We should use permutation where order matters
Statistics Lecture 5. Last class: measures of spread and box-plots Last Day - Began Chapter 2 on probability. Section 2.1 These Notes – more Chapter.
Class notes for ISE 201 San Jose State University
Probability Using Permutations and Combinations
The Erik Jonsson School of Engineering and Computer Science © Duncan L. MacFarlane Probability and Stochastic Processes Yates and Goodman Chapter 1 Summary.
Statistics Chapter 3: Probability.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
How many ways are there to pass through city A where the arrows represent one-way streets? Answer: mn ways The counting principal: Suppose two experiments.
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Probability Lesson: PR-4 Fundamental Counting Principle Fundamental Counting Principle Learning.
3.4 Counting Principles Statistics Mrs. Spitz Fall 2008.
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.
NA387 Lecture 5: Combinatorics, Conditional Probability
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
5- 1 Chapter Five McGraw-Hill/Irwin © 2006 The McGraw-Hill Companies, Inc., All Rights Reserved.
10/1/20151 Math a Sample Space, Events, and Probabilities of Events.
Probability Review and Counting Fundamentals Ginger Holmes Rowell, Middle TN State University Tracy Goodson-Espy and M. Leigh Lunsford, University of AL,
Finding Probability Using Tree Diagrams and Outcome Tables
Principles of Statistics Chapter 2 Elements of Probability.
Probability Notes Math 309. Sample spaces, events, axioms Math 309 Chapter 1.
3.1Set Notation Venn Diagrams Venn Diagram is used to illustrate the idea of sets and subsets. Example 1 X  U(b) A  B X U B A U.
© The McGraw-Hill Companies, Inc., Chapter 4 Counting Techniques.
Probability & Statistics I IE 254 Exam I - Reminder  Reminder: Test 1 - June 21 (see syllabus) Chapters 1, 2, Appendix BI  HW Chapter 1 due Monday at.
Ch Counting Techniques Product Rule If the first element or object of an ordered pair can be used in n 1 ways, and for each of these n1 ways.
Introduction to Probability. 5.1 Experiments, Outcomes, Events, and Sample Spaces Sample space - The set of all possible outcomes for an experiment Roll.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
EQT 272 PROBABILITY AND STATISTICS
Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
 To apply some rule and product rule in solving problems.  To apply the principles of counting in solving problems.
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 4.
1 Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND STATISTICS FOR SCIENTISTS AND ENGINEERS Systems.
Topic 5: Continuous Random Variables and Probability Distributions CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text,
Counting Principles Multiplication rule Permutations Combinations.
Topic 6: The distribution of the sample mean and linear combinations of random variables CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally.
Quick review of some key ideas CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith.
Sample Space All possible returns on the S&P500 index tomorrow, rounded to the nearest percent –...-4, -3, -2,..., 3, 4,... – This is called sample space,
1 Probability- Counting Techniques Dr. Jerrell T. Stracener, SAE Fellow EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Leadership.
CS 104: Discrete Mathematics
Quiz: Draw the unit circle: Include: (1)All “nice” angles in degrees (2) All “nice” angles in radians (3) The (x, y) pairs for each point on the unit circle.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 4-1 CHAPTER 4 Counting Techniques.
1 Probability Counting Techniques Dr. Jerrell T. Stracener, SAE Fellow EMIS 7370/5370 STAT 5340 NTU MA-520-N Probability and Statistics for Scientists.
4-1 Chapter 4 Counting Techniques.
Math a - Sample Space - Events - Definition of Probabilities
Chapter 7: Counting Principles
4 Elementary Probability Theory
Chapter 0.4 Counting Techniques.
4-1 Chapter 4 Counting Techniques.
4-1 Chapter 4 Counting Techniques.
4 Elementary Probability Theory
CS100: Discrete structures
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.
Probability Notes Math 309.
4-1 Chapter 4 Counting Techniques.
5 Elementary Probability Theory
9.6 Counting Theory Example If there are 3 roads from Albany to Baker
Chapter 11: Further Topics in Algebra
Probability Notes Math 309.
Probability Notes Math 309 August 20.
Presentation transcript:

Topic 3: Counting Techniques CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering and the Sciences by Jay L. Devore, Duxbury 1995 (4th edition)

Counting Techniques n When the various outcomes of an experiment are equally likely then the task of computing probabilities reduces to counting. In particular, if N is the number of outcomes in the sample space and N(A) is the number of outcomes contained in an event A, then n The product rule for ordered pairs: If the first element or object of an ordered pair can be selected in n 1 ways and for each of these n 1 ways the second element of the pair can be selected in n 2 ways, then the number of pairs is n 1 n 2

Review Questions n Problem #57, chapter 2 u For any two events A and B with P(B) > 0 Show that P(A|B) + P(A’|B) = 1.0 Do this mathematically or with a venn diagram

Review Question n Solution n Note -- we use the law of total probability

Review Questions n Problem #58, chapter 2 u Show that for any three events A, B and C with P(C) > 0 F (AUB|C) = P(A|C)+P(B|C)-P(A intersection B|C)

Counting Techniques n For small problems, we sometimes construct a tree diagram to enumerate the different possible combinations. Assume that a UCI student must choose from three dorms and that he or she must select a room with zero, one or two roommates. The tree diagram below shows the nine possible combinations. D1D1 D2D2 D3D3 r0r1r2r0r1r2 r0r1r2r0r1r2 r0r1r2r0r1r2

Permutations n The number of permutations of n objects is equal to n(n-1)(n-2)…(2)(1) or n! For example, if a traveling salesman must visit 10 customers on a particular day there are 10! different routes that he may take. n Any ordered sequence of k objects taken from a set of n distinct objects is called a permutation of size k of the objects. The number of permutations of size k that can be constructed from the n objects is denoted by P k,n n The number of permutations of size k that can be constructed from n objects is equal to n(n-1)(n-2)…(n-k+1)

Permutations n Sometimes we need to determine the number of permutations possible when some of the objects in a group are indistinguishable from each other. For example: (Ross, 1988, p5) How many different letter arrangements can be formed using the letters PEPPER?

Permutations Solution: First note that there are 6! Permutations of the letters P 1 E 1 P 2 P 3 E 2 R when the 3 P’s and 2 E’s are distinguished from each other. However consider any one of these permutations -- for instance, P 1 P 2 E 1 P 3 E 2 R. If we now permute the P’s among themselves and the E’s among themselves then the resultant arrangement would still be of the form PPEPER. That is, all 3!2! Permutations are of the form PPEPER. Hence there are 6!/3!2! = 60 possible letter arrangements of the letters PEPPER.

combinations n We are often interested in determining the number of different groups of k objects may be formed from a group of n objects n Given a set of n distinct objects, any unordered subset of size k of the objects is called a combination. The number of combinations of size k that can be formed from n distinct objects is denoted by or sometimes by C k,n

Class exercise n To successfully route luggage from one airport to another the destination airport is identified by three letters. For example, Los Angeles is LAX, Orange County is SNA. How many airports can be served by this identification system?

Class exercise n A student looking for a good used car finds ten cars in his price range advertised on the web. Since he has to ride the bus to look at the cars in person he has only enough time to look at four of them. n Order matters in this case because if he finds a car he likes at any time in the process he’ll buy it. In how many ways can the four cars be selected from the set of ten? n If now we assume that he’ll look at all four cars and then make his decision (order does not matter). In how many ways can the four cars be selected from the set of ten?

Class exercise n Using the principle that n What is the probability of dealing a perfect bridge hand? (13 cards of the same suit?)