Strings. A string is a list of symbols in a particular order.
|
|
- Beverley Snow
- 5 years ago
- Views:
Transcription
1 Ihor Stasyuk
2 Strings A string is a list of symbols in a particular order.
3 Strings A string is a list of symbols in a particular order. Examples: is a string of integers. X Q R A X P T is a string of letters from the usual alphabet. Any positive integer can be represented by a string of digits from the set {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}. Notice that the same symbol may appear more than once in a string.
4 Counting strings Example. Find the total number of possible words consisting of 5 letters.
5 Counting strings Example. Find the total number of possible words consisting of 5 letters. 1 st letter 2 nd letter 3 rd letter 4 th letter 5 th letter
6 Counting strings Example. Find the total number of possible words consisting of 5 letters. 26 ways 1 st letter 2 nd letter 3 rd letter 4 th letter 5 th letter
7 Counting strings Example. Find the total number of possible words consisting of 5 letters. 26 ways 26 ways 1 st letter 2 nd letter 3 rd letter 4 th letter 5 th letter
8 Counting strings Example. Find the total number of possible words consisting of 5 letters. 26 ways 26 ways 26 ways 1 st letter 2 nd letter 3 rd letter 4 th letter 5 th letter
9 Counting strings Example. Find the total number of possible words consisting of 5 letters. 26 ways 26 ways 26 ways 26 ways 1 st letter 2 nd letter 3 rd letter 4 th letter 5 th letter
10 Counting strings Example. Find the total number of possible words consisting of 5 letters. 26 ways 26 ways 26 ways 26 ways 26 ways 1 st letter 2 nd letter 3 rd letter 4 th letter 5 th letter
11 Counting strings Example. Find the total number of possible words consisting of 5 letters. 26 ways 26 ways 26 ways 26 ways 26 ways 1 st letter 2 nd letter 3 rd letter 4 th letter 5 th letter The total number of such words is = 26 5.
12 Counting strings Example. Find the number of 4-digit strings using digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} if no digit appears more than once in the string.
13 Counting strings Example. Find the number of 4-digit strings using digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} if no digit appears more than once in the string. 1 st digit 2 nd digit 3 rd digit 4 th digit
14 Counting strings Example. Find the number of 4-digit strings using digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} if no digit appears more than once in the string. 10 ways 1 st digit 2 nd digit 3 rd digit 4 th digit
15 Counting strings Example. Find the number of 4-digit strings using digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} if no digit appears more than once in the string. 10 ways 9 ways 1 st digit 2 nd digit 3 rd digit 4 th digit
16 Counting strings Example. Find the number of 4-digit strings using digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} if no digit appears more than once in the string. 10 ways 9 ways 8 ways 1 st digit 2 nd digit 3 rd digit 4 th digit
17 Counting strings Example. Find the number of 4-digit strings using digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} if no digit appears more than once in the string. 10 ways 9 ways 8 ways 7 ways 1 st digit 2 nd digit 3 rd digit 4 th digit
18 Counting strings Example. Find the number of 4-digit strings using digits {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} if no digit appears more than once in the string. 10 ways 9 ways 8 ways 7 ways 1 st digit 2 nd digit 3 rd digit 4 th digit The total number of such strings is = 5040.
19 Counting strings Example. Rolling a six sided die 3 times, how many possible outcomes are there with the first number 4 or 5 and the last number not 6?
20 Counting strings Example. Rolling a six sided die 3 times, how many possible outcomes are there with the first number 4 or 5 and the last number not 6? 1 st roll 2 nd roll 3 rd roll
21 Counting strings Example. Rolling a six sided die 3 times, how many possible outcomes are there with the first number 4 or 5 and the last number not 6? 2 results possible 1 st roll 2 nd roll 3 rd roll
22 Counting strings Example. Rolling a six sided die 3 times, how many possible outcomes are there with the first number 4 or 5 and the last number not 6? 2 results possible 6 results possible 1 st roll 2 nd roll 3 rd roll
23 Counting strings Example. Rolling a six sided die 3 times, how many possible outcomes are there with the first number 4 or 5 and the last number not 6? 2 results possible 6 results possible 5 results possible 1 st roll 2 nd roll 3 rd roll
24 Counting strings Example. Rolling a six sided die 3 times, how many possible outcomes are there with the first number 4 or 5 and the last number not 6? 2 results possible 6 results possible 5 results possible 1 st roll 2 nd roll 3 rd roll The total number of such outcomes is = 60.
25 Counting Strings The Multiplication Principle Suppose in a string of length k the first term can be chosen in n 1 ways, the second term can be chosen in n 2 ways regardless of how the first term has been filled,, the last k-th term can be chosen in n k ways regardless of how the previous terms have been filled. Then the total number of possible strings is n 1 n 2 n k. n 1 ways n 2 ways n k ways.. 1 st term 2 nd term k th term
26 Counting Strings Applying the Multiplication Principle, the total number of strings with k terms where each term can be chosen in n ways, is equal to n k. n ways n ways n ways st term 2 nd term k th term
27 Permutations A permutation of a collection of elements is an ordering of these elements in a row.
28 Permutations A permutation of a collection of elements is an ordering of these elements in a row. In other words, it is a string where each element of this collection appears exactly once.
29 Permutations A permutation of a collection of elements is an ordering of these elements in a row. In other words, it is a string where each element of this collection appears exactly once. Example. There are 6 possible permutations of the collection {a,b,c} : abc, acb, bac, cab, bca, cba.
30 Permutations Apply the Multiplication Principle to find the number of permutations of a collection with n elements : Collection of n elements. 1 st term 2 nd term n th term Ordering in a row
31 Permutations Apply the Multiplication Principle to find the number of permutations of a collection with n elements : Collection of n elements n ways. 1 st term 2 nd term n th term Ordering in a row
32 Permutations Apply the Multiplication Principle to find the number of permutations of a collection with n elements : Collection of n elements n ways n-1 ways. 1 st term 2 nd term n th term Ordering in a row
33 Permutations Apply the Multiplication Principle to find the number of permutations of a collection with n elements : Collection of n elements n ways n-1 ways 1 way. 1 st term 2 nd term n th term Ordering in a row
34 Permutations Apply the Multiplication Principle to find the number of permutations of a collection with n elements : Collection of n elements n ways n-1 ways 1 way Ordering in a row. 1 st term 2 nd term n th term The total number is n (n-1) 1 = n! n-factorial.
35 Permutations Example. In how many ways can 4 people be seated in a row of 4 theatre seats?
36 Permutations Example. In how many ways can 4 people be seated in a row of 4 theatre seats?
37 Permutations Example. In how many ways can 4 people be seated in a row of 4 theatre seats?
38 Permutations Example. In how many ways can 4 people be seated in a row of 4 theatre seats?
39 Permutations Example. In how many ways can 4 people be seated in a row of 4 theatre seats?
40 Permutations Example. In how many ways can 4 people be seated in a row of 4 theatre seats? The answer is 4! = = 24.
41 Combinations The term combination applies to a list of elements when the order of the elements is not taken into account.
42 Combinations The term combination applies to a list of elements when the order of the elements is not taken into account. Example. The two strings ABC and BCA both represent the same combination of the letters A, B and C.
43 Combinations The term combination applies to a list of elements when the order of the elements is not taken into account. Example. The two strings ABC and BCA both represent the same combination of the letters A, B and C. Example. ABCD is the same combination as ACDB but is different from ABCE.
44 Combinations Choosing k elements out of n Problem. In how many ways can we choose k elements out of n elements? (k n)
45 Combinations Choosing k elements out of n Problem. In how many ways can we choose k elements out of n elements? (k n) To get the answer, we have to find the number of combinations that consist of k distinct elements taken from a collection of n elements.
46 Combinations Choosing k elements out of n Collection of n elements n ways n-1 ways n-k+1 ways 1 st term 2 nd term k th term The number of ordered selections is: n ( n 1)... ( n k + 1) = n ( n 1)... ( n k + 1) ( n k) ( n k ( n k) ( n k 1) ) = (n n! k)! Since each combination can be rearranged in k! ways, we must divide by k! : n! k!( n k)!
47 Combinations So there are We denote n! k!( n k)! n! k!( n k)! ways of choosing k elements out of n elements. = n k n We read the symbol n choose k. k By definition, 0!=1, so, 0 = 0 0! 0!(0 0)! 1 = 1 1 = 1.
48 Combinations Example. Find the number of ways to choose 2 books out of 4.
49 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4
50 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4 We obtain : n! k!( n k)! = 4! 2!(4 2)! = = = 6.
51 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4 We obtain : n! k!( n k)! = 4! 2!(4 2)! = = = 6.
52 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4 We obtain : n! k!( n k)! = 4! 2!(4 2)! = = = 6.
53 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4 We obtain : n! k!( n k)! = 4! 2!(4 2)! = = = 6.
54 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4 We obtain : n! k!( n k)! = 4! 2!(4 2)! = = = 6.
55 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4 We obtain : n! k!( n k)! = 4! 2!(4 2)! = = = 6.
56 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4 We obtain : n! k!( n k)! = 4! 2!(4 2)! = = = 6.
57 Combinations Example. Find the number of ways to choose 2 books out of 4. k=2, n=4 We obtain : n! k!( n k)! = 4! 2!(4 2)! = = = 6. 6 combinations
58 Pascal s Triangle To build the triangle, start with 1 at the top, then continue placing numbers below it in a triangular pattern. Each number is just the two numbers above it added together (except for the edges, which are all 1).
59 Blaise Pascal ( ) mathematician, physicist, inventor, writer and philosopher
60 Pascal's triangle was known in China in the early 11th century through the work of the Chinese mathematician Jia Xian ( ). Yang Hui ( ) (Pascal s) triangle, as depicted by the Chinese using rod numerals.
61 Pascals Triangle Blaise Pascal s version of the triangle
62 Pascal s Triangle Horizontal Sums are powers of 2.
63 Pascal s Triangle
64 Pascal s Triangle Exponents of 11 :
65 Pascal s Triangle Pascal s Formula n + 1 k = n + k 1 n k for every positive integers n and k with k n.
66 Leonardo Bonacci, or Fibonacci, Leonardo of Pisa ( ) Liber Abaci Book of Calculations Mathematician
67 Fibonacci Numbers Problem. A pair of rabbits is put in a limited area. This pair of rabbits produces another pair each month. If the rabbits do not die, the question is : How many pairs of rabbits there would be? The answer from the book is this sequence of numbers : the Fibonacci sequence F n The sequence is defined recursively by the following rule: F 1 =1, F 2 =1 and F n =F n-1 +F n-2 for every integer n >2.
68 By adding diagonal numbers of the Pascal Triangle Fibonacci sequence can be obtained Pascal s Triangle Fibonacci sequence
69 Sets A set is a collection of elements or disjoint objects, considered as an object in its own right.
70 Sets A set is a collection of elements or disjoint objects, considered as an object in its own right. We use capital letters to denote sets and small letters to denote its elements.
71 Sets A set is a collection of elements or disjoint objects, considered as an object in its own right. We use capital letters to denote sets and small letters to denote its elements. aa AA means : the element a is contained in the set A.
72 Sets Examples. A={1,2,3,4,5} is the set of all integers from 1 to 5. B ={x real number 1 < x < 2} = (1,2) is the interval with end points 1 and 2. C={a, c, e} is the set that contains three elements: the letters a, c and e. A and C are finite sets while B is an infinite set.
73 Operations on Sets A B The union of two sets A and B is the set which is the set of all elements that are either in A or in B.
74 Operations on Sets The union of two sets A and B is the set which is the set of all elements that are either in A or in B. Example. If A={-3,5,7} and B={-4, 0, 5, 9} then A B = {-4, -3, 0, 5, 7, 9} A B
75 Operations on Sets The union of two sets A and B is the set which is the set of all elements that are either in A or in B. Example. If A={-3,5,7} and B={-4, 0, 5, 9} then A B = {-4, -3, 0, 5, 7, 9} If C={e, f, g, h} and D={i, j, k, l, m} then C D= {e, f, g, h, i, j, k, l, m}. A B
76 Operations on Sets A B The intersection of two sets A and B is the set which is the set of all elements that are both in A and in B.
77 Operations on Sets The intersection of two sets A and B is the set which is the set of all elements that are both in A and in B. Example. A B A B If A={-7,2,4,11} and B={-1,2,5,9,11} then ={2,11}.
78 Operations on Sets The intersection of two sets A and B is the set which is the set of all elements that are both in A and in B. Example. A B If A={-7,2,4,11} and B={-1,2,5,9,11} then ={2,11}. If C=(0,2) and D=(3,7) are intervals then C D = - the empty set that has no elements. A B
79 Operations on Sets The union of sets A 1, A 2,, A k is the set k i= 1 A i = A 1 A 2... either in A 1 or in A 2,, or in A k. A k of all elements that are
80 Operations on Sets The intersection of sets A 1, A 2,, A k is the set k i= 1 A i = A 1 A 2... of all elements that are simultaneously in A 1, in A 2,, and in A k. A k
81 Counting elements of disjoint sets For a set A of finitely many elements let N(A) be the number of elements in A. For instance, if A= { α, β, γ, δ, ε} then N(A)=5.
82 Counting elements of disjoint sets For a set A of finitely many elements let N(A) be the number of elements in A. For instance, if A= { α, β, γ, δ, ε} then N(A)=5. The Addition Principle Suppose a finite set A equals the union of k distinct pairwise disjoint subsets A 1, A 2,, A k. Then N(A)=N(A 1 )+N(A 2 )+ +N(A k )
83 Counting elements of disjoint sets Example. In some state all license plates consist of symbols from 4 to 6 chosen from the 26 letters of the alphabet together with the 10 digits 0-9 (together 36 symbols). A C D 9 Q 1 B T B How many license plates are possible if repetition of symbols is allowed?
84 Counting elements of disjoint sets The set of all plates can be partitioned into disjoint sets A, B, C containing of those of 4, 5 and 6 symbols: Plates with 4 symbols Plates with 5 symbols Plates with 6 symbols A B C The set of all plates is the union: A B C. The number of all plates is: N( A B C ) = N(A)+N(B)+N(C) (addition principle) = (multiplication principle)
85 Counting elements of disjoint sets When repetition of symbols is not allowed, the total number of such plates is: = = 2, 238, 928, 128
86 The Inclusion/Exclusion Rule A, B finite sets if. The Inclusion/Exclusion Rule for 2 or 3 sets. If A, B, C are any finite sets then and ) ( ) ( ) ( B N A N B A N + = A B = ) ( ) ( ) ( ) ( B A N B N A N B A N + = ) ( ) ( ) ( ) ( ) ( ) ( ) ( C B A N C B N C A N B A N C N B N A N = ) ( C B A N
87 The Inclusion/Exclusion Rule A B A B C C
88 The Inclusion/Exclusion Rule Example. A college conducted a survey to explore the academic interests of its students. They were asked to place checks beside the numbers of all statements that were true for them. Statement 1 I was on the honour roll last term. Statement 2 I belong to an academic club such as math club or Spanish club. Statement 3 I am majoring in at least two subjects. Out of a sample of 100 students, 28 checked #1, 26 checked #2 and 14 checked #3, 8 checked both #1 and #2, 4 checked both #1 and #3, 3 checked both #2 and #3, 2 checked all the three statements #1, #2 and #3.
89 The Inclusion/Exclusion Rule How many students checked at least one of the statements?
90 The Inclusion/Exclusion Rule How many students checked at least one of the statements? Answer: the number of students who checked at least one of the statements is ) ( ) ( ) ( ) ( ) ( ) ( ) ( = = D C H N D C N D H N C H N D N C N H N = ) ( D C H N
91 The Inclusion/Exclusion Rule How many students checked none?
92 The Inclusion/Exclusion Rule How many students checked none? Answer: the number of students who checked none is =45.
93 The Inclusion/Exclusion Rule Fill in the numbers for all eight regions of the diagram. Answer: ) ( ) ( ) ( ) ( = + = + D C H N D H N C H N H N ) ( ) ( ) ( ) ( = + = + D C H N D C N C H N C N ) ( ) ( ) ( ) ( = + = + D C H N D C N D H N D N ) ( ) ( = = D C H N C H N ) ( ) ( = = D C H N D H N ) ( ) ( = = D C H N D C N
94 THANK YOU
Elementary Combinatorics
184 DISCRETE MATHEMATICAL STRUCTURES 7 Elementary Combinatorics 7.1 INTRODUCTION Combinatorics deals with counting and enumeration of specified objects, patterns or designs. Techniques of counting are
More informationCOUNTING AND PROBABILITY
CHAPTER 9 COUNTING AND PROBABILITY Copyright Cengage Learning. All rights reserved. SECTION 9.2 Possibility Trees and the Multiplication Rule Copyright Cengage Learning. All rights reserved. Possibility
More informationCombinatorics: The Fine Art of Counting
Combinatorics: The Fine Art of Counting Lecture Notes Counting 101 Note to improve the readability of these lecture notes, we will assume that multiplication takes precedence over division, i.e. A / B*C
More informationCombinatorial Proofs
Combinatorial Proofs Two Counting Principles Some proofs concerning finite sets involve counting the number of elements of the sets, so we will look at the basics of counting. Addition Principle: If A
More informationCHAPTER 7 Probability
CHAPTER 7 Probability 7.1. Sets A set is a well-defined collection of distinct objects. Welldefined means that we can determine whether an object is an element of a set or not. Distinct means that we can
More informationMath Steven Noble. November 22nd. Steven Noble Math 3790
Math 3790 Steven Noble November 22nd Basic ideas of combinations and permutations Simple Addition. If there are a varieties of soup and b varieties of salad then there are a + b possible ways to order
More informationSample Spaces, Events, Probability
Sample Spaces, Events, Probability CS 3130/ECE 3530: Probability and Statistics for Engineers August 28, 2014 Sets A set is a collection of unique objects. Sets A set is a collection of unique objects.
More informationIn how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors?
What can we count? In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors? In how many different ways 10 books can be arranged
More informationHonors Precalculus Chapter 9 Summary Basic Combinatorics
Honors Precalculus Chapter 9 Summary Basic Combinatorics A. Factorial: n! means 0! = Why? B. Counting principle: 1. How many different ways can a license plate be formed a) if 7 letters are used and each
More informationBlock 1 - Sets and Basic Combinatorics. Main Topics in Block 1:
Block 1 - Sets and Basic Combinatorics Main Topics in Block 1: A short revision of some set theory Sets and subsets. Venn diagrams to represent sets. Describing sets using rules of inclusion. Set operations.
More informationObjectives: Permutations. Fundamental Counting Principle. Fundamental Counting Principle. Fundamental Counting Principle
and Objectives:! apply fundamental counting principle! compute permutations! compute combinations HL2 Math - Santowski! distinguish permutations vs combinations can be used determine the number of possible
More informationCIS 2033 Lecture 6, Spring 2017
CIS 2033 Lecture 6, Spring 2017 Instructor: David Dobor February 2, 2017 In this lecture, we introduce the basic principle of counting, use it to count subsets, permutations, combinations, and partitions,
More informationChapter 2. Permutations and Combinations
2. Permutations and Combinations Chapter 2. Permutations and Combinations In this chapter, we define sets and count the objects in them. Example Let S be the set of students in this classroom today. Find
More informationCounting and Probability Math 2320
Counting and Probability Math 2320 For a finite set A, the number of elements of A is denoted by A. We have two important rules for counting. 1. Union rule: Let A and B be two finite sets. Then A B = A
More informationPermutations and Combinations
Motivating question Permutations and Combinations A) Rosen, Chapter 5.3 B) C) D) Permutations A permutation of a set of distinct objects is an ordered arrangement of these objects. : (1, 3, 2, 4) is a
More informationCounting. Chapter 6. With Question/Answer Animations
. All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education. Counting Chapter
More informationn r for the number. (n r)!r!
Throughout we use both the notations ( ) n r and C n n! r for the number (n r)!r! 1 Ten points are distributed around a circle How many triangles have all three of their vertices in this 10-element set?
More informationMultiple Choice Questions for Review
Review Questions Multiple Choice Questions for Review 1. Suppose there are 12 students, among whom are three students, M, B, C (a Math Major, a Biology Major, a Computer Science Major. We want to send
More informationCourse Learning Outcomes for Unit V
UNIT V STUDY GUIDE Counting Reading Assignment See information below. Key Terms 1. Combination 2. Fundamental counting principle 3. Listing 4. Permutation 5. Tree diagrams Course Learning Outcomes for
More informationCHAPTER 8 Additional Probability Topics
CHAPTER 8 Additional Probability Topics 8.1. Conditional Probability Conditional probability arises in probability experiments when the person performing the experiment is given some extra information
More informationClass 8 - Sets (Lecture Notes)
Class 8 - Sets (Lecture Notes) What is a Set? A set is a well-defined collection of distinct objects. Example: A = {1, 2, 3, 4, 5} What is an element of a Set? The objects in a set are called its elements.
More informationGrade 7/8 Math Circles November 8 & 9, Combinatorial Counting
Faculty of Mathematics Waterloo, Ontario NL G1 Centre for Education in Mathematics and Computing Grade 7/8 Math Circles November 8 & 9, 016 Combinatorial Counting Learning How to Count (In a New Way!)
More informationW = {Carrie (U)nderwood, Kelly (C)larkson, Chris (D)aughtry, Fantasia (B)arrino, and Clay (A)iken}
UNIT V STUDY GUIDE Counting Course Learning Outcomes for Unit V Upon completion of this unit, students should be able to: 1. Apply mathematical principles used in real-world situations. 1.1 Draw tree diagrams
More informationMath 3012 Applied Combinatorics Lecture 2
August 20, 2015 Math 3012 Applied Combinatorics Lecture 2 William T. Trotter trotter@math.gatech.edu The Road Ahead Alert The next two to three lectures will be an integrated approach to material from
More informationExercises Exercises. 1. List all the permutations of {a, b, c}. 2. How many different permutations are there of the set {a, b, c, d, e, f, g}?
Exercises Exercises 1. List all the permutations of {a, b, c}. 2. How many different permutations are there of the set {a, b, c, d, e, f, g}? 3. How many permutations of {a, b, c, d, e, f, g} end with
More informationCSE 21: Midterm 1 Solution
CSE 21: Midterm 1 Solution August 16, 2007 No books, no calculators. Two double-sided 3x5 cards with handwritten notes allowed. Before starting the test, please write your test number on the top-right
More informationCS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6
CS100: DISCRETE STRUCTURES Lecture 8 Counting - CH6 Lecture Overview 2 6.1 The Basics of Counting: THE PRODUCT RULE THE SUM RULE THE SUBTRACTION RULE THE DIVISION RULE 6.2 The Pigeonhole Principle. 6.3
More informationWith Question/Answer Animations. Chapter 6
With Question/Answer Animations Chapter 6 Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients and Identities Generalized Permutations and
More informationGeneralized Permutations and The Multinomial Theorem
Generalized Permutations and The Multinomial Theorem 1 / 19 Overview The Binomial Theorem Generalized Permutations The Multinomial Theorem Circular and Ring Permutations 2 / 19 Outline The Binomial Theorem
More informationThe Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n
Chapter 5 Chapter Summary 5.1 The Basics of Counting 5.2 The Pigeonhole Principle 5.3 Permutations and Combinations 5.5 Generalized Permutations and Combinations Section 5.1 The Product Rule The Product
More informationPermutations And Combinations Questions Answers
We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer, you have convenient answers with permutations and combinations
More information12.1 The Fundamental Counting Principle and Permutations
12.1 The Fundamental Counting Principle and Permutations The Fundamental Counting Principle Two Events: If one event can occur in ways and another event can occur in ways then the number of ways both events
More informationChapter 1. Probability
Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated.
More informationLecture 2: Sum rule, partition method, difference method, bijection method, product rules
Lecture 2: Sum rule, partition method, difference method, bijection method, product rules References: Relevant parts of chapter 15 of the Math for CS book. Discrete Structures II (Summer 2018) Rutgers
More informationThere are three types of mathematicians. Those who can count and those who can t.
1 Counting There are three types of mathematicians. Those who can count and those who can t. 1.1 Orderings The details of the question always matter. So always take a second look at what is being asked
More informationChapter 1. Probability
Chapter 1. Probability 1.1 Basic Concepts Scientific method a. For a given problem, we define measures that explains the problem well. b. Data is collected with observation and the measures are calculated.
More informationPermutations. and. Combinations
Permutations and Combinations Fundamental Counting Principle Fundamental Counting Principle states that if an event has m possible outcomes and another independent event has n possible outcomes, then there
More informationSection 8.1. Sequences and Series
Section 8.1 Sequences and Series Sequences Definition A sequence is a list of numbers. Definition A sequence is a list of numbers. A sequence could be finite, such as: 1, 2, 3, 4 Definition A sequence
More informationThe Fundamental Counting Principle & Permutations
The Fundamental Counting Principle & Permutations POD: You have 7 boxes and 10 balls. You put the balls into the boxes. How many boxes have more than one ball? Why do you use a fundamental counting principal?
More informationelements in S. It can tricky counting up the numbers of
STAT-UB.003 Notes for Wednesday, 0.FEB.0. For many problems, we need to do a little counting. We try to construct a sample space S for which the elements are equally likely. Then for any event E, we will
More informationFundamental Counting Principle 2.1 Page 66 [And = *, Or = +]
Math 3201 Assignment 1 of 1 Unit 2 Counting Methods Name: Fundamental Counting Principle 2.1 Page 66 [And = *, Or = +] Identify the choice that best completes the statement or answers the question. 1.
More informationFundamental Counting Principle
Lesson 88 Probability with Combinatorics HL2 Math - Santowski Fundamental Counting Principle Fundamental Counting Principle can be used determine the number of possible outcomes when there are two or more
More informationSection Introduction to Sets
Section 1.1 - Introduction to Sets Definition: A set is a well-defined collection of objects usually denoted by uppercase letters. Definition: The elements, or members, of a set are denoted by lowercase
More informationUnit Nine Precalculus Practice Test Probability & Statistics. Name: Period: Date: NON-CALCULATOR SECTION
Name: Period: Date: NON-CALCULATOR SECTION Vocabulary: Define each word and give an example. 1. discrete mathematics 2. dependent outcomes 3. series Short Answer: 4. Describe when to use a combination.
More informationPermutations and Combinations
Permutations and Combinations Rosen, Chapter 5.3 Motivating question In a family of 3, how many ways can we arrange the members of the family in a line for a photograph? 1 Permutations A permutation of
More informationNumber Patterns - Grade 10 [CAPS] *
OpenStax-CNX module: m38376 1 Number Patterns - Grade 10 [CAPS] * Free High School Science Texts Project Based on Number Patterns by Rory Adams Free High School Science Texts Project Mark Horner Heather
More informationSlide 1 Math 1520, Lecture 13
Slide 1 Math 1520, Lecture 13 In chapter 7, we discuss background leading up to probability. Probability is one of the most commonly used pieces of mathematics in the world. Understanding the basic concepts
More information5. (1-25 M) How many ways can 4 women and 4 men be seated around a circular table so that no two women are seated next to each other.
A.Miller M475 Fall 2010 Homewor problems are due in class one wee from the day assigned (which is in parentheses. Please do not hand in the problems early. 1. (1-20 W A boo shelf holds 5 different English
More informationSets. Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 6, Outline Sets Equality Subset Empty Set Cardinality Power Set
Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) August 6, 2012 Gazihan Alankuş (Based on original slides by Brahim Hnich et al.) Gazihan Alankuş (Based on original slides by Brahim Hnich
More informationCHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events
CHAPTER 2 PROBABILITY 2.1 Sample Space A probability model consists of the sample space and the way to assign probabilities. Sample space & sample point The sample space S, is the set of all possible outcomes
More informationFundamental Counting Principle 2.1 Page 66 [And = *, Or = +]
Math 3201 Assignment 2 Unit 2 Counting Methods Name: Fundamental Counting Principle 2.1 Page 66 [And = *, Or = +] Identify the choice that best completes the statement or answers the question. Show all
More informationThe Product Rule can be viewed as counting the number of elements in the Cartesian product of the finite sets
Chapter 6 - Counting 6.1 - The Basics of Counting Theorem 1 (The Product Rule). If every task in a set of k tasks must be done, where the first task can be done in n 1 ways, the second in n 2 ways, and
More informationCounting Things. Tom Davis March 17, 2006
Counting Things Tom Davis tomrdavis@earthlink.net http://www.geometer.org/mathcircles March 17, 2006 Abstract We present here various strategies for counting things. Usually, the things are patterns, or
More information6/24/14. The Poker Manipulation. The Counting Principle. MAFS.912.S-IC.1: Understand and evaluate random processes underlying statistical experiments
The Poker Manipulation Unit 5 Probability 6/24/14 Algebra 1 Ins1tute 1 6/24/14 Algebra 1 Ins1tute 2 MAFS. 7.SP.3: Investigate chance processes and develop, use, and evaluate probability models MAFS. 7.SP.3:
More informationPermutations and Combinations. Quantitative Aptitude & Business Statistics
Permutations and Combinations Statistics The Fundamental Principle of If there are Multiplication n 1 ways of doing one operation, n 2 ways of doing a second operation, n 3 ways of doing a third operation,
More informationAlgebra. Recap: Elements of Set Theory.
January 14, 2018 Arrangements and Derangements. Algebra. Recap: Elements of Set Theory. Arrangements of a subset of distinct objects chosen from a set of distinct objects are permutations [order matters]
More informationCase 1: If Denver is the first city visited, then the outcome looks like: ( D ).
2.37. (a) Think of each city as an object. Each one is distinct. Therefore, there are 6! = 720 different itineraries. (b) Envision the process of selecting an itinerary as a random experiment with sample
More information8.2 Union, Intersection, and Complement of Events; Odds
8.2 Union, Intersection, and Complement of Events; Odds Since we defined an event as a subset of a sample space it is natural to consider set operations like union, intersection or complement in the context
More informationChapter 1. Set Theory
Chapter 1 Set Theory 1 Section 1.1: Types of Sets and Set Notation Set: A collection or group of distinguishable objects. Ex. set of books, the letters of the alphabet, the set of whole numbers. You can
More informationIntroductory Probability
Introductory Probability Combinations Nicholas Nguyen nicholas.nguyen@uky.edu Department of Mathematics UK Agenda Assigning Objects to Identical Positions Denitions Committee Card Hands Coin Toss Counts
More informationTwenty-fourth Annual UNC Math Contest Final Round Solutions Jan 2016 [(3!)!] 4
Twenty-fourth Annual UNC Math Contest Final Round Solutions Jan 206 Rules: Three hours; no electronic devices. The positive integers are, 2, 3, 4,.... Pythagorean Triplet The sum of the lengths of the
More informationPurpose of Section To introduce some basic tools of counting, such as the multiplication principle, permutations and combinations.
1 Section 2.3 Purpose of Section To introduce some basic tools of counting, such as the multiplication principle, permutations and combinations. Introduction If someone asks you a question that starts
More informationNovember 6, Chapter 8: Probability: The Mathematics of Chance
Chapter 8: Probability: The Mathematics of Chance November 6, 2013 Last Time Crystallographic notation Groups Crystallographic notation The first symbol is always a p, which indicates that the pattern
More informationSets. Definition A set is an unordered collection of objects called elements or members of the set.
Sets Definition A set is an unordered collection of objects called elements or members of the set. Sets Definition A set is an unordered collection of objects called elements or members of the set. Examples:
More informationFundamental. If one event can occur m ways and another event can occur n ways, then the number of ways both events can occur is:.
12.1 The Fundamental Counting Principle and Permutations Objectives 1. Use the fundamental counting principle to count the number of ways an event can happen. 2. Use the permutations to count the number
More informationCounting Problems. Dr. Holmes. March 11, A selection of counting problems of various kinds.
Counting Problems Dr. Holmes March 11, 2013 A selection of counting problems of various kinds. 1. License plates License plates in a certain state have four letters and four digits on them. The four letters
More informationMAT 115: Finite Math for Computer Science Problem Set 5
MAT 115: Finite Math for Computer Science Problem Set 5 Out: 04/10/2017 Due: 04/17/2017 Instructions: I leave plenty of space on each page for your computation. If you need more sheet, please attach your
More informationchapter 2 COMBINATORICS 2.1 Basic Counting Techniques The Rule of Products GOALS WHAT IS COMBINATORICS?
chapter 2 COMBINATORICS GOALS Throughout this book we will be counting things. In this chapter we will outline some of the tools that will help us count. Counting occurs not only in highly sophisticated
More informationPOKER (AN INTRODUCTION TO COUNTING)
POKER (AN INTRODUCTION TO COUNTING) LAMC INTERMEDIATE GROUP - 10/27/13 If you want to be a succesful poker player the first thing you need to do is learn combinatorics! Today we are going to count poker
More informationCH 13. Probability and Data Analysis
11.1: Find Probabilities and Odds 11.2: Find Probabilities Using Permutations 11.3: Find Probabilities Using Combinations 11.4: Find Probabilities of Compound Events 11.5: Analyze Surveys and Samples 11.6:
More informationTOPIC 2: HOW TO COUNT
TOPIC 2: HOW TO COUNT Problems and solutions on 'How many ways?' (Combinatorics). These start with very simple situations and illustrate how the methods can be extended to more difficult cases. 2. How
More informationOrganization in Mathematics
Organization in Mathematics Tom Davis tomrdavis@earthlink.net http://www.geometer.org/mathcircles November 17, 2015 1 Introduction When faced with a difficult mathematical problem, one good strategy is
More informationIn this section, we will learn to. 1. Use the Multiplication Principle for Events. Cheesecake Factory. Outback Steakhouse. P.F. Chang s.
Section 10.6 Permutations and Combinations 10-1 10.6 Permutations and Combinations In this section, we will learn to 1. Use the Multiplication Principle for Events. 2. Solve permutation problems. 3. Solve
More informationMathematics Probability: Combinations
a place of mind F A C U L T Y O F E D U C A T I O N Department of Curriculum and Pedagogy Mathematics Probability: Combinations Science and Mathematics Education Research Group Supported by UBC Teaching
More informationCSE 21 Mathematics for Algorithm and System Analysis
CSE 21 Mathematics for Algorithm and System Analysis Unit 1: Basic Count and List Section 3: Set CSE21: Lecture 3 1 Reminder Piazza forum address: http://piazza.com/ucsd/summer2013/cse21/hom e Notes on
More informationTopics to be covered
Basic Counting 1 Topics to be covered Sum rule, product rule, generalized product rule Permutations, combinations Binomial coefficients, combinatorial proof Inclusion-exclusion principle Pigeon Hole Principle
More informationCounting Methods and Probability
CHAPTER Counting Methods and Probability Many good basketball players can make 90% of their free throws. However, the likelihood of a player making several free throws in a row will be less than 90%. You
More informationTheory of Probability - Brett Bernstein
Theory of Probability - Brett Bernstein Lecture 3 Finishing Basic Probability Review Exercises 1. Model flipping two fair coins using a sample space and a probability measure. Compute the probability of
More informationPermutations and Combinations. MATH 107: Finite Mathematics University of Louisville. March 3, 2014
Permutations and Combinations MATH 107: Finite Mathematics University of Louisville March 3, 2014 Multiplicative review Non-replacement counting questions 2 / 15 Building strings without repetition A familiar
More informationChapter 1: Sets and Probability
Chapter 1: Sets and Probability Section 1.3-1.5 Recap: Sample Spaces and Events An is an activity that has observable results. An is the result of an experiment. Example 1 Examples of experiments: Flipping
More informationJIGSAW ACTIVITY, TASK # Make sure your answer in written in the correct order. Highest powers of x should come first, down to the lowest powers.
JIGSAW ACTIVITY, TASK #1 Your job is to multiply and find all the terms in ( 1) Recall that this means ( + 1)( + 1)( + 1)( + 1) Start by multiplying: ( + 1)( + 1) x x x x. x. + 4 x x. Write your answer
More informationIntroduction to Combinatorial Mathematics
Introduction to Combinatorial Mathematics George Voutsadakis 1 1 Mathematics and Computer Science Lake Superior State University LSSU Math 300 George Voutsadakis (LSSU) Combinatorics April 2016 1 / 97
More informationCompound Probability. Set Theory. Basic Definitions
Compound Probability Set Theory A probability measure P is a function that maps subsets of the state space Ω to numbers in the interval [0, 1]. In order to study these functions, we need to know some basic
More informationUNC Charlotte 2012 Comprehensive
March 5, 2012 1. In the English alphabet of capital letters, there are 15 stick letters which contain no curved lines, and 11 round letters which contain at least some curved segment. How many different
More informationMath 1111 Math Exam Study Guide
Math 1111 Math Exam Study Guide The math exam will cover the mathematical concepts and techniques we ve explored this semester. The exam will not involve any codebreaking, although some questions on the
More informationIntermediate Math Circles November 1, 2017 Probability I
Intermediate Math Circles November 1, 2017 Probability I Probability is the study of uncertain events or outcomes. Games of chance that involve rolling dice or dealing cards are one obvious area of application.
More information13 Searching for Pattern
13 Searching for Pattern 13.1 Pictorial Logic In this section we will see how to continue patterns involving simple shapes. Example Continue these patterns by drawing the next 5 shapes in each case: Solution
More informationThe next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:
CS 70 Discrete Mathematics for CS Fall 2004 Rao Lecture 14 Introduction to Probability The next several lectures will be concerned with probability theory. We will aim to make sense of statements such
More information2. Nine points are distributed around a circle in such a way that when all ( )
1. How many circles in the plane contain at least three of the points (0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (1, 2), (2, 0), (2, 1), (2, 2)? Solution: There are ( ) 9 3 = 8 three element subsets, all
More informationMath 365 Wednesday 2/20/19 Section 6.1: Basic counting
Math 365 Wednesday 2/20/19 Section 6.1: Basic counting Exercise 19. For each of the following, use some combination of the sum and product rules to find your answer. Give an un-simplified numerical answer
More informationLEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together?
LEVEL I 1. Three numbers are chosen from 1,, 3..., n. In how many ways can the numbers be chosen such that either maximum of these numbers is s or minimum of these numbers is r (r < s)?. Six candidates
More information12th Bay Area Mathematical Olympiad
2th Bay Area Mathematical Olympiad February 2, 200 Problems (with Solutions) We write {a,b,c} for the set of three different positive integers a, b, and c. By choosing some or all of the numbers a, b and
More informationWeek 6: Advance applications of the PIE. 17 and 19 of October, 2018
(1/22) MA284 : Discrete Mathematics Week 6: Advance applications of the PIE http://www.maths.nuigalway.ie/ niall/ma284 17 and 19 of October, 2018 1 Stars and bars 2 Non-negative integer inequalities 3
More informationReading 14 : Counting
CS/Math 240: Introduction to Discrete Mathematics Fall 2015 Instructors: Beck Hasti, Gautam Prakriya Reading 14 : Counting In this reading we discuss counting. Often, we are interested in the cardinality
More informationName Date. Goal: Understand sets and set notation.
F Math 12 3.1 Types of Sets and Set Notation p. 146 Name Date Goal: Understand sets and set notation. 1. set: A collection of distinguishable objects; for example, the set of whole numbers is W = {0, 1,
More informationChapter 5 - Elementary Probability Theory
Chapter 5 - Elementary Probability Theory Historical Background Much of the early work in probability concerned games and gambling. One of the first to apply probability to matters other than gambling
More informationLESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE
LESSON 2: THE INCLUSION-EXCLUSION PRINCIPLE The inclusion-exclusion principle (also known as the sieve principle) is an extended version of the rule of the sum. It states that, for two (finite) sets, A
More informationProbability. Engr. Jeffrey T. Dellosa.
Probability Engr. Jeffrey T. Dellosa Email: jtdellosa@gmail.com Outline Probability 2.1 Sample Space 2.2 Events 2.3 Counting Sample Points 2.4 Probability of an Event 2.5 Additive Rules 2.6 Conditional
More informationHow can I count arrangements?
10.3.2 How can I count arrangements? Permutations There are many kinds of counting problems. In this lesson you will learn to recognize problems that involve arrangements. In some cases outcomes will be
More informationName: Exam 1. September 14, 2017
Department of Mathematics University of Notre Dame Math 10120 Finite Math Fall 2017 Name: Instructors: Basit & Migliore Exam 1 September 14, 2017 This exam is in two parts on 9 pages and contains 14 problems
More information