September1999 CMSC 203 / 0201 Fall 2002 Week #11 – 4/6/8 November 2002 Prof. Marie desJardins.

Slides:



Advertisements
Similar presentations
22C:19 Discrete Math Counting Fall 2011 Sukumar Ghosh.
Advertisements

Basic Permutations and Combinations
Counting Chapter 6 With Question/Answer Animations.
Week #10 – 28/30 October and 1 November 2002 Prof. Marie desJardins
THE BASIC OF COUNTING Discrete mathematics KNURE, Software department, Ph , N.V. Bilous.
Counting and Probability The outcome of a random process is sure to occur, but impossible to predict. Examples: fair coin tossing, rolling a pair of dice,
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lecture 1 (Part 1) Introduction/Overview Tuesday, 9/4/01.
CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Review Lecture Tuesday, 12/10/02.
Discrete Mathematics Lecture 5
Discrete Mathematics Lecture 6 Alexander Bukharovich New York University.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2004 Lecture 1 (Part 1) Introduction/Overview Wednesday, 9/8/04.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2001 Lecture 1 Introduction/Overview Wed. 1/31/01.
Discrete Structures for Computer Science Ruoming Jin MW 5:30 – 6:45pm Fall 2009 rm MSB115.
Chapter 8 Counting Techniques PASCAL’S TRIANGLE AND THE BINOMIAL THEOREM.
1 Permutations and Combinations CS/APMA 202 Epp section 6.4 Aaron Bloomfield.
Permutations and Combinations
Week 10 - Monday.  What did we talk about last time?  More permutations  Addition rule  Inclusion and exclusion.
Main Menu Main Menu (Click on the topics below) Permutations with Some repetitions Example r-Combinations with Some repetitions Example Permutations and.
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.
Exam 1 Review 5.1, , 8.1, 8.2.
Combinatorics 3/15 and 3/ Counting A restaurant offers the following menu: Main CourseVegetablesBeverage BeefPotatoesMilk HamGreen BeansCoffee.
MAT 2720 Discrete Mathematics Section 6.1 Basic Counting Principles
Counting. Why counting  Determine the complexity of algorithms To sort n numbers, how many instructions are executed ?  Count the number of objects.
7 Further Topics in Algebra © 2008 Pearson Addison-Wesley. All rights reserved Sections 7.4–7.7.
Mathematics in Computer Science at Loras College Steve Mosiman.
Generalized Permutations and Combinations
Week #7 – 7/9/11 October 2002 Prof. Marie desJardins
Probability Notes Math 309. Sample spaces, events, axioms Math 309 Chapter 1.
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
Counting Subsets of a Set: Combinations Lecture 31 Section 6.4 Wed, Mar 21, 2007.
October 13, 2009 Combinations and Permutations.
2 Permutations and Combinations Lesson 8 HAND OUT REFERENCE SHEET AND GO OVER IT.
September1999 CMSC 203 / 0201 Fall 2002 Week #8 – 14/16 October 2002 Prof. Marie desJardins.
DISCRETE COMPUTATIONAL STRUCTURES CS Fall 2005.
Chapter 7 Advance Counting Techniques. Content Recurrence relations Generating function The principle of inclusion-exclusion.
1 Lecture 4 (part 1) Combinatorics Reading: Epp Chp 6.
Welcome to CMPSC 360!. Today Introductions Student Information Sheets, Autobiography What is Discrete Math? Syllabus Highlights
1 Fundamental Principles of Counting OBJECTIVES: At the end of this chapter, students should be able to: 1. describe the concepts of permutation (arrangement)
Sullivan Algebra and Trigonometry: Section 14.2 Objectives of this Section Solve Counting Problems Using the Multiplication Principle Solve Counting Problems.
September1999 CMSC 203 / 0201 Fall 2002 Week #9 – 21/23/25 October 2002 Prof. Marie desJardins.
Week 11 What is Probability? Quantification of uncertainty. Mathematical model for things that occur randomly. Random – not haphazard, don’t know what.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
September1999 CMSC 203 / 0201 Fall 2002 Week #1 – 28/30 August 2002 Prof. Marie desJardins.
September1999 CMSC 203 / 0201 Fall 2002 Week #13 – 18/20/22 November 2002 Prof. Marie desJardins.
Part I: Theory Ver Chapter 2: Axioms of Probability.
September1999 CMSC 203 / 0201 Fall 2002 Week #14 – 25/27 November 2002 Prof. Marie desJardins clip art courtesy of
Spring 2016 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Review Lecture Tuesday, 12/11/01.
5.5 Generalized Permutations and Combinations
7.6 Applications of Inclusion-Exclusion An Alternative Form of Inclusion-Exclusion Example 1: How many solutions does x 1 + x 2 +x 3 =11 have,where x 1,
1.  This course covers the mathematical foundations of computer science and engineering. It provides an introduction to elementary concepts in mathematics.
Section The Product Rule  Example: How many different license plates can be made if each plate contains a sequence of three uppercase English letters.
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Week 9 - Friday.  What did we talk about last time?  Permutations  Counting elements in sets  Brief introduction to combinations.
Section 6.3. Section Summary Permutations Combinations.
MAT 2720 Discrete Mathematics
Generalized Permutations and Combinations
Permutations and Combinations
CS 2210 Discrete Structures Counting
Mathematics for Computer Science MIT 6.042J/18.062J
Combinations, Enumerations without Repetitions
Week #5 – 23/25/27 September 2002 Prof. Marie desJardins
Week #3 – 9/11/13 September 2002 Prof. Marie desJardins
Week #6 – 30 September / 2/4 October 2002 Prof. Marie desJardins
Week #2 – 4/6 September 2002 Prof. Marie desJardins
DISCRETE COMPUTATIONAL STRUCTURES
Chapter 5: Graphs & Functions
Chapter 11: Further Topics in Algebra
Presentation transcript:

September1999 CMSC 203 / 0201 Fall 2002 Week #11 – 4/6/8 November 2002 Prof. Marie desJardins

September1999 October 1999 TOPICS  (Probability theory cont.)  Generalized combinations and permutations  NOTE changes to syllabus:  Shifting of material; some chapter sections dropped; graphs ( ) instead of Boolean algebra  NOTE topics on midterm:  : Proofs, induction, and program correctness  : Counting  5.1, 5.3, : Recurrence relations; inclusion- exclusion  NOT chapters 6, 7, 10 (these will be on the final along with ALL EARLIER TOPICS)

September1999 MON 11/4 (PROBABILITY THEORY CONT. (4.5)) …see week 9 notes

September1999 WED 11/6 GENERALIZED PERMUTATIONS AND COMBINATIONS (4.6) ** HOMEWORK #8 DUE **

September1999 October 1999 Concepts / Vocabulary  Permutations and combinations with repetition  “sampling with replacement”  Number of r-permutations of n objects with repetition = n r  Number of r-combinations of n objects with repetition = C(n+r-1, r) [D’Alembert’s method / bars and stars]  Table gives formulas  Permutations with indistinguishable objecs  Theorem 3: Number of n-permutations of n objects, where there are n i objects of type i (i=1, …, k) = n! / (n 1 ! n 2 ! … n k !)

September1999 October 1999 Examples  Exercise : Suppose that a large family has 14 children, including two sets of identical triplets, three sets of identical twins, and two individual children. How many ways are there to seat these children in a row of chairs if the identical triplets or twins cannot be distinguished from one another?  Exercise : How many different strings can be made form the letters in ABRACADABRA, using all the letters?

September1999 October 1999 Examples II  Exercise : How many ways are there to travel in xyz space from the origin (0,0,0) to the point (4,3,5) by taking positive unit steps in any of the three directions?  Exercise : A shelf holds 12 books in a row. How many ways are there to choose five books so that no two adjacent books are chosen?

September1999 FRI 11/8 INCLUSION-EXCLUSION ( )

September1999 October 1999 Concepts / Vocabulary  Inclusion-exclusion revisited…  |A  B| = |A| + |B| - |A  B|  Inclusion-exclusion generalized…  |A  B  C| = |A| + |B| + |C| - |A  B| - |A  C| - |B  C| + |A  B  C|  Principle of Inclusion-Exclusion  |A 1  A 2  …  A n | =  1  i  n |A i | -  1  i<j  n |A i  A j | - … + (-1) n+1 |A 1  A 2  …  A n |  Proof by mathematical induction…

September1999 October 1999 Examples  Exercise 5.5.9: How many students are enrolled in a course either in calculus, discrete math, data structures, or programming languages if there are 507, 292, 312, and 344 students in these courses, respectively; 14 in both calculus and data structures; 213 in both calculus and programming languages; 211 in both discrete math and data structures; 43 in both discrete math and programming languages; and no student may take calculus and discrete math, or data structures and programming languages, concurrently?

September1999 October 1999 Examples II  Sieve of Eratosthenes  Derangements: Example 5.6.4: If n people check their hats at a restaurant, and the claim checks are misplaced, what is the probability that nobody receives the correct hat?