1 Counting principles, including permutations and combinations. The binomial theorem: expansion of π + π π , π π π. β THE PRODUCT RULE If there are π different ways of performing an operation and for each of these there are π different ways of performing a second independent operation, then there are ππ different ways of performing the two operations in succession. The product principle can be extended to three or more successive operations. The number of different ways of performing an operation is equal to the sum of the different mutually exclusive possibilities. β COUNTING PATHS The word πππ suggests multiplying the possibilities The word ππ suggests adding the possibilities.b In English we use the word "combination" loosely, without thinking if the order of things is important. In other words: "My fruit salad is a combination of apples, grapes and bananas" We don't care what order the fruits are in, they could also be "bananas, grapes and apples" or "grapes, apples and bananas", its the same fruit salad. "The combination to the safe was 472". Now we do care about the order. "724" would not work, nor would "247". It has to be exactly 4-7-2. So, in Mathematics we use more precise language: If the order doesn't matter, it is a Combination. If the order does matter it is a Permutation. 2 β PERMUTATIONS (order matters) A permutation of a group of symbols is any arrangement of those symbols in a definite order. β Permutations of π different object : π! different arrangements 1234 1243 1324 1342 1423 1432 2134 2143 2314 2341 2413 2431 3124 3142 3214 3241 3412 3421 4! = 24 4123 4132 4213 4231 4312 4321 1324 1342 1423 1432 2314 2341 2413 2431 3142 3241 4132 4231 When to use it: Example : There are 6! permutations of the 6 letters of the word square. a) In how many of them is r the second letter? _ r _ _ _ _ b) In how many of them are q and e next to each other? Solution: a) Let r be the second letter. Then there are 5 ways to fill the first spot. There are 4 ways to fill the third, 3 to fill the fourth, and so on. There are 5! such permutations. b) Let q and e be one object βqeβ. So, there are 5 object and 5! permutations. But q and e could be together as βeqβ. Therefore, the total number of ways they can be next to each other is 2· 5! = 240. Wise Advice: If a group of items have to be kept together, treat the items as one object. Remember that there may be permutations of the items within this group too. β Permutations of π different objects out of π different available π· π, π = ππ·π = π! = π πβπ πβπ πβπ+π πβπ ! Suppose we have 10 letters and want to make groups of 4 letters. For four-letter permutations, there are 10 possibilities for the first letter, 9 for the second, 8 for the third, 3 and 7 for the last letter. We can find the total number of different four-letter permutations by multiplying 10 x 9 x 8 x 7 = 5040. Good logic to apply to similar questions straightforward!!! To arrive at 10 x 9 x 8 x 7, we need to divide 10! (10 because there are ten objects) by (10-4)! (subtracting from the total number of objects from which we're choosing the number of objects in each permutation): π 10,4 = 10 π4 = 10! 10 β 9 β 8 β 7 β 6 β 5 β 4 β 3 β 2 β 1 = = 10 β 9 β 8 β 7 = 5040 10 β 4 ! 6β5β4β3β2β1 β Permutations with repetition of π different objects out of π different available π·πΉ π, π = ππ (In other words, there are n possibilities for the first choice, THEN there are n possibilities for the second choice, and so on, multiplying each time.) E: For the 3 digits lock combination, there are 10 numbers to choose from (0,1,..9) and you choose 3 of them (they can be equal!) 10 × 10 × ... (3 times) = 103 = 1,000 permutations β Problems emphasizes differences Q : How many different 5- digits numbers can be formed with the digits: 1, 2, 3, 4, 5? S: The order of the elements does matter. The digits cannot be repeated. There are 5! = 120 πππ£π πππππ‘ ππ’πππππ π€ππ‘β π ππππππππ πππππ‘π ππ’π‘ ππ 1, 2, 3, 4, 5 Q: How many three digit numbers can be formed with the digits: 1, 2, 3, 4, 5? n=5 k=3 S: The order of elements does matter. Elements are repeated. ππ 5,3 = 53 = 125 I do it this way: First place has 5 possibilities, second place 5 possibilities, third place 5 possibilities: There are 5 β 5 β 5 = 53 = 125 π‘βπππ πππππ‘ ππ’πππππ π€ππ‘β πππππ‘π 1, 2, 3, 4, 5 Q : How many different three-digit numbers can be formed with the digits: 1, 2, 3, 4, 5? S: The order of the elements does matter. The different numbers are 123, 231, 321... The elements cannot be repeated as the problem states that the figures are different. 5 π3 = 5! = 5 β 4 β 3 = 60 5β3 ! I do it this way: First place has 5 possibilities, second place 4 possibilities, third place 3 possibilities: There are 5 β 4 β 3 = 60 π‘βπππ πππππ‘ ππ’πππππ π€ππ‘β π ππππππππ πππππ‘π ππ’π‘ ππ 1, 2, 3, 4, 5 Q: How many three digit numbers can be formed with the digits: 0, 1, 2, 3, 4, 5? 4 n=6 k=3 S: The numbers must be separated into two blocks: The first set, of one number, can occupy only one of 5 digits because a number does not begin with zero (except for license plates and other special cases). n=5 k=1 The second block, of two numbers can occupy any digit: n=6 k=2 π 5,1 β ππ 6,2 = 5 β 62 = 180 I do it this way: number does not begin with zero First place has 5 possibilities, second place 6 possibilities, third place 6 possibilities: There are 5 β 62 = 180 π‘βπππ πππππ‘ ππ’πππππ π€ππ‘β πππππ‘π 0, 1, 2, 3, 4, 5 Q: How many different three digit numbers can be formed with the digits: 0, 1, 2, 3, 4, 5? n=6 k=3 S: The numbers must be separated into two blocks: The first set, of one number, can occupy only one of 5 digits because a number does not begin with zero (except for license plates and other special cases). n=5 k=1 The second block, of two numbers, can occupy any two different digits but zero. π 5,1 β π 5,2 = 5 β 5 β 4 = 100 I do it this way: number does not begin with zero First place has 5 possibilities, second place 5 possibilities, third place 4 possibilities: There are 5 β 5 β 4 = 100 π‘βπππ πππππ‘ ππ’πππππ π€ππ‘β π ππππππππ πππππ‘π 0, 1, 2, 3, 4, 5 Q: 10 candidates have been presented with awards for their novels in literary contest. The honor roll (list of cadidates) is formed by the winner, finalist and runners-up. How many different honor rolls can be formed? S: n = 10 k = 3 The order of the elements does matter as each honor roll cannot have the same winner and finalist. Also, there are no repeated elements as it is assumed that each candidate has entered only one novel into the contest. π 10,3 = 10 β 9 β 8 = 720 I do it this way: First place has 10 possibilities, second place 9 possibilities, third place 8 possibilities: There are 10 β 9 β 8 = 720 π ππππππππ βππππ πππππ β COMBINATIONS (order doesnβt matters) It is the number of ways of choosing π objects out of π available given that βͺ The order of the elements does not matter. 5 βͺ The elements are not repeated [such as lottery numbers (2,14,15,27,30,33)] βͺ Repetition is Allowed: such as coins in your pocket (5,5,5,10,10) NOT in IB syllabus ο· ο· The easiest way to explain it is to: assume that the order does matter (ie permutations), then alter it so the order does not matter. Since the combination does not take into account the order, we have to divide the permutation of the total number of symbols available by the number of redundant possibilities. Since we are choosing a particular number of objects π, these objects have a number of redundancies equal to the permutation of the objects (since order doesnβt matter). However, we also need to divide the permutation n! by the permutation of the objects that are not selected, that is to say π β π . π! π! π! = πβπ ! π! π β π ! ππͺ π π! π πβπ πβπ πβπ+π π β‘ πͺππ β‘ ππͺπ = ( ) = = π π! π β π ! π! π Binomial coefficient ( ) often read as "n choose k" π Difference between permutations and combinations: For example, let us say balls 1, 2 and 3 were chosen. These are the possibilites: Order does matter Order doesn't matter 123 132 213 123 231 312 321 So, the permutations will have 6 times as many possibilities. β Problem Types given three fruits, an apple, an orange and a pear, there are three combinations of two that can be drawn from this set: an apple and a pear; an apple and an orange; or a pear and an orange. The order of the elements does not matter. The elements cannot be repeated. Q: In how many ways can a group of five players on the varsity boys S: basketball team be chosen from a team of 14 players? This represents a combination of 14 objects taken 5 at a time and is equal to 2,002. 6 14! 14 β 13 β 12 β 11 β 10 14 )= = = 2002 5 5! 9! 5! ( Q: On an English exam, students are required to answer four essay questions from a list of nine questions. How many possible combinations of four questions will there be? S: 9! 9β8β7β6 9 ( )= = = 126 4 4! 5! 4! β BINOMIAL EXPANSION/THEOREM π π+π π π π π = β ( ) ππβπ π π = ππ + ( ) ππβ1 π + β― + ( ) ππβπ π π + β― + π π π π 1 π=0 πππ π ( ) β‘1 0 0! β‘ 1 β Binomial Coefficient π ( ) is the coefficient of the term containing ππβπ π π in the expansion of π + π π π π πβ1 πβ2 β― πβπ+1 π! π! π π ( )= = = =( ) π π β π π! π! π β π ! π β π ! π! π πβπ πππππππ π‘πππ ππ π + 1 π‘β π‘πππ ππ : ππ+1 = ( ) ππβπ π π π The constant term is the term containing no variables. When finding the coefficient of π₯ π always consider the set of all terms containing π₯ π Pascal's Triangle was known long before Blaise Pascal wrote about it. It was known to both Chinese and the Arabs, but it seems that Pascal was the first to discover the importance of all of the patterns it contained. 7 8
© Copyright 2026 Paperzz