CSE 321 Discrete Structures

Slides:



Advertisements
Similar presentations
5.3 Permutations and Combinations
Advertisements

Counting. Counting = Determining the number of elements of a finite set.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 6 Discrete Probability 歐亞書局.
Chapter 2 Probability. 2.1 Sample Spaces and Events.
Probability Theory Part 1: Basic Concepts. Sample Space - Events  Sample Point The outcome of a random experiment  Sample Space S The set of all possible.
Probability – Page 1CSCI 1900 – Discrete Structures CSCI 1900 Discrete Structures Probability Reading: Kolman, Section 3.4.
Discrete Mathematics Lecture 7 More Probability and Counting Harper Langston New York University.
CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
Counting Techniques The Fundamental Rule of Counting (the mn Rule); Permutations; and Combinations.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
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.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Combinatorics.
Stochastic Methods A Review (Mostly). Relationship between Heuristic and Stochastic Methods  Heuristic and stochastic methods useful where –Problem does.
10/1/20151 Math a Sample Space, Events, and Probabilities of Events.
MAT 2720 Discrete Mathematics Section 6.1 Basic Counting Principles
Counting. Techniques for counting Rule 1 Suppose we carry out have a sets A 1, A 2, A 3, … and that any pair are mutually exclusive (i.e. A 1  A 2 =
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.4,
6.1 Probability exercises. Def Def: If S is a finite sample space of equally likely outcomes, and E is an event, that is, a subset of S, then the probability.
Review Chapter Chapter 1 Combinatorial Analysis Basic principle of counting Permutation Combination 2.
Counting and Probability. Counting Elements of Sets Theorem. The Inclusion/Exclusion Rule for Two or Three Sets If A, B, and C are finite sets, then N(A.
Section 7.1. Section Summary Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning.
Chapter 7 With Question/Answer Animations. Section 7.1.
CSCI 115 Chapter 3 Counting. CSCI 115 §3.1 Permutations.
3. Counting Permutations Combinations Pigeonhole principle Elements of Probability Recurrence Relations.
CSE 321 Discrete Structures Winter 2008 Lecture 19 Probability Theory TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.:
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.
Daniel Meissner Nick Lauber Kaitlyn Stangl Lauren Desordi.
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 4 Counting methods and the pigeonhole principle.
Probability is a measure of the likelihood of a random phenomenon or chance behavior. Probability describes the long-term proportion with which a certain.
Discrete Structures By: Tony Thi By: Tony Thi Aaron Morales Aaron Morales CS 490 CS 490.
ICS 253: Discrete Structures I Discrete Probability King Fahd University of Petroleum & Minerals Information & Computer Science Department.
A Brief Summary for Exam 2 Subject Topics Number theory (sections ) –Prime numbers Definition Relative prime Fundamental theorem of arithmetic.
8.6 Counting Principles. Listing Possibilities: Ex 1 Eight pieces of paper are numbered from 1 to 8 and placed in a box. One piece of paper is drawn from.
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,
CSCI 115 Chapter 3 Counting. CSCI 115 §3.1 Permutations.
5.5 Generalized Permutations and Combinations
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.
Section The Product Rule  Example: How many different license plates can be made if each plate contains a sequence of three uppercase English letters.
Section 6.3. Section Summary Permutations Combinations.
Chapter 1: Outcomes, Events, and Sample Spaces men 1.
PROBABILITY AND STATISTICS WEEK 2 Onur Doğan. Introduction to Probability The Classical Interpretation of Probability The Frequency Interpretation of.
MAT 2720 Discrete Mathematics
Lecture Slides Elementary Statistics Twelfth Edition
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
Discrete Mathematics Lecture 8 Probability and Counting
Math a - Sample Space - Events - Definition of Probabilities
Chapter 6: Discrete Probability
CSE15 Discrete Mathematics 04/19/17
Chapter 7: Counting Principles
Generalized Permutations and Combinations
CS104:Discrete Structures
Permutations and Combinations
9. Counting and Probability 1 Summary
Chapter 2: Probability · An Experiment: is some procedure (or process) that we do and it results in an outcome. A random experiment: is an experiment we.
CS100: Discrete structures
PROBABILITY AND STATISTICS
Advanced Artificial Intelligence
CSE 321 Discrete Structures
CSE 321 Discrete Structures
CSE 321 Discrete Structures
CSE 321 Discrete Structures
CSE 321 Discrete Structures
CSE 321 Discrete Structures
The Division Rule Theorem: Suppose a set A has n elements and is partitioned by the collection {A1, A2, ..., Ap}, where each partition set has m elements.
Lecture 2 Basic Concepts on Probability (Section 0.2)
Probability Notes Math 309.
Presentation transcript:

CSE 321 Discrete Structures Winter 2008 Lecture 18 Generalized Permutations and Counting TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA

Announcements Readings Counting Probability Theory 5.5, (4.5) Generalized Permutations and Combinations Probability Theory 6.1, 6.2 (5.1, 5.2) Probability Theory 6.3 (New material!) Bayes’ Theorem 6.4 (5.3) Expectation Advanced Counting Techniques – Ch 7. Not covered

Highlights from Lecture 17 Permutations Combinations

How many Let s1 be a string of length n over 1 Let s2 be a string of length m over 2 Assuming 1 and 2 are distinct, how many interleavings are there of s1 and s2?

Permutations with repetition

Combinations with repetition How many different ways are there of selecting 5 letters from {A, B, C} with repetition

How many non-decreasing sequences of {1,2,3} of length 5 are there?

How many different ways are there of adding 3 non-negative integers together to get 5 ? 1 + 2 + 2  |   |   2 + 0 + 3   | |    0 + 1 + 4 3 + 1 + 1 5 + 0 + 0

C(n+r-1,n-1) r-combinations of an n element set with repetition

Permutations of indistinguishable objects How many different strings can be made from reordering the letters ABCDEFGH How many different strings can be made from reordering the letters AAAABBBB How many different strings can be made from reordering the letters GOOOOGLE

Discrete Probability Experiment: Procedure that yields an outcome Sample space: Set of all possible outcomes Event: subset of the sample space S a sample space of equally likely outcomes, E an event, the probability of E, p(E) = |E|/|S|

Example: Dice Sample space, event, example

Example: Poker Probability of 4 of a kind

Combinations of Events EC is the complement of E P(EC) = 1 – P(E) P(E1 E2) = P(E1) + P(E2) – P(E1 E2)