1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.6,

Slides:



Advertisements
Similar presentations
Counting. Counting in Algorithms How many comparisons are needed to sort n numbers? How many steps to compute the GCD of two numbers ? How many steps.
Advertisements

5.3 Permutations and Combinations
1 Section 4.3 Permutations & Combinations. 2 Permutation Set of distinct objects in an ordered arrangement An ordered arrangement of r members of a set.
Counting Chapter 6 With Question/Answer Animations.
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,
Discrete Structures Chapter 4 Counting and Probability Nurul Amelina Nasharuddin Multimedia Department.
CSE115/ENGR160 Discrete Mathematics 04/17/12
Lecture 5 Counting 4.3, Permutations r-permutation: An ordered arrangement of r elements of a set of n distinct elements. Example: S={1,2,3}:
CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting.
Discrete Mathematics Lecture 5
Discrete Mathematics Lecture 6 Alexander Bukharovich New York University.
Set, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides.
Chapter 8 Counting Techniques PASCAL’S TRIANGLE AND THE BINOMIAL THEOREM.
Discrete Mathematics Lecture 7 Harper Langston New York University.
Chapter 11 Counting Methods © 2008 Pearson Addison-Wesley. All rights reserved.
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
1 Permutations and Combinations CS/APMA 202 Epp section 6.4 Aaron Bloomfield.
Permutations and Combinations
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Precalculus – MAT 129 Instructor: Rachel Graham Location: BETTS Rm. 107 Time: 8 – 11:20 a.m. MWF.
1 Permutations and Combinations CS/APMA 202 Rosen section 4.3 Aaron Bloomfield.
Counting. Why counting  Determine the complexity of algorithms To sort n numbers, how many instructions are executed ?  Count the number of objects.
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,
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
On the Symmetries of Pascal’s Pyramid
Binomial Coefficients, Inclusion-exclusion principle
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Permutations and Combinations
The Binomial Theorem. Powers of Binomials Pascal’s Triangle The Binomial Theorem Factorial Identities … and why The Binomial Theorem is a marvelous.
Fall 2002CMSC Discrete Structures1 One, two, three, we’re… Counting.
March 10, 2015Applied Discrete Mathematics Week 6: Counting 1 Permutations and Combinations How many different sets of 3 people can we pick from a group.
2 Permutations and Combinations Lesson 8 HAND OUT REFERENCE SHEET AND GO OVER IT.
Lecture 5 Counting 4.3, Permutations r-permutation: An ordered arrangement of r elements of a set of n distinct elements. Example: S={1,2,3}:
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
1 Binomial Coefficients CS 202 Epp, section ??? Aaron Bloomfield.
Chapter 5 The Binomial Coefficients
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
Copyright © 2011 Pearson Education, Inc. Combinations, Labeling, and the Binomial Theorem Section 8.5 Sequences, Series, and Probability.
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 4 Counting methods and the pigeonhole principle.
The Pigeonhole Principle. The pigeonhole principle Suppose a flock of pigeons fly into a set of pigeonholes to roost If there are more pigeons than pigeonholes,
1 CS 140 Discrete Mathematics Combinatorics And Review Notes.
Spring 2016 COMP 2300 Discrete Structures for Computation
Binomial Coefficients: Selected Exercises
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 6.4. Powers of Binomial Expressions Definition: A binomial expression is the sum of two terms, such as x + y. (More generally, these terms can.
Binomial Coefficients and Identities
5.4 Binomial Coefficients Theorem 1: The binomial theorem Let x and y be variables, and let n be a nonnegative integer. Then Example 3: What is the coefficient.
L14: Permutations, Combinations and Some Review EECS 203: Discrete Mathematics.
Section The Pigeonhole Principle If a flock of 20 pigeons roosts in a set of 19 pigeonholes, one of the pigeonholes must have more than 1 pigeon.
Fall 2002CMSC Discrete Structures1 Combinations An r-combination of elements of a set is an unordered selection of r elements from the set. Thus,
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.
The Binomial Theorem Section 9.2a!!!. Powers of Binomials Let’s expand (a + b) for n = 0, 1, 2, 3, 4, and 5: n Do you see a pattern with the binomial.
Section 6.3. Section Summary Permutations Combinations.
Chapter 10 Counting Methods.
L14: Permutations, Combinations and Some Review
The Pigeonhole Principle
Binomial Coefficients: Selected Exercises
CSE15 Discrete Mathematics 04/19/17
Today’s topics Counting Reading: Sections , 4.4 Upcoming
Ch. 8 – Sequences, Series, and Probability
The Binomial Theorem Objectives: Evaluate a Binomial Coefficient
Basic Counting.
Basic Counting Lecture 9: Nov 5, 6.
Permutations and Combinations
The Binomial Theorem OBJECTIVES: Evaluate a Binomial Coefficient
Chapter 11: Further Topics in Algebra
pencil, red pen, highlighter, GP notebook, calculator
Presentation transcript:

1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.6, 6.7

2 Melikyan/DM/Fall09 Algebra of Combinations and Pascal’s Triangle The number of r-combinations from a set of n elements equals the number of (n – r) combinations from the same set. C(n, r) = C(n, n-r)

3 Melikyan/DM/Fall09 Pascal's Triangle: Theorem: (Pascal’s Formula). Let n and r be positive integers and r  n, then C(n + 1, r) = C(n, r – 1) + C(n, r) Proof: Algebraic verses Combinatorial A combinatorial proof is an argument that establishes an algebraic fact by relying on counting principles.

4 Melikyan/DM/Fall09 Proof (Combinatorial Version) Is S is an set with n+1 elements. The number of all subsets of size r can be calculated as follows:

5 Melikyan/DM/Fall09 Pascal’s Triangle

6 Melikyan/DM/Fall09 Exercises Show that: 1 * * 3 + n * (n + 1) = 2 * C(n + 2, 3) Prove that : C(n, 0) 2 + C(n, 1) 2 + … + C(n, n) 2 = C(2n, n)

7 Melikyan/DM/Fall09 Binomial Formula Theorem (Binomial Theorem): Given any real numbers a and b and any nonnegative integer n (a + b) n = = a n + C(n, 1)a n-1 b + C(n, 2)a n-2 b C(n, n-1)a n-1 b + b n = =

8 Melikyan/DM/Fall09 Example: 1. Show that = 2 n 2. Show that = 0 3. Express in the closed form

9 Melikyan/DM/Fall09 More Combinatorial Proof Let S be all n-card hands that can be dealt from a deck containing n red cards (numbered 1,..., n) and 2n black cards (numbered 1,..., 2n). The right hand side = # of ways to choose n cards from these 3n cards. The left hand side = # of ways to choose r cards from red cards x # of ways to choose n-r cards from black cards = # of ways to choose n cards from these 3n cards = the right hand side.

10 Melikyan/DM/Fall09 What about ?