Math Puzzles & Probability
Math Puzzles & Probability
      ProudMum
                                My son is a genius!
                                I gave Oscar five bricks and straightaway he did this!
                                Is it too early to enrol him with MENSA?
    What is the probability that Oscar chose the bricks at random and just happened
    by chance to get them in the right order?
    There are two ways of looking at the situation. You can think of Oscar selecting
    the five bricks as five events, one after another. Alternatively, you can think of
    1, 2, 3, 4, 5 as one outcome out of several possible outcomes and work out the
    probability that way.
Five events
1 2 3 4 5
Figure 5.1
Outcomes
                                               To start with there are five bricks to choose from, so there are five ways of
                                               choosing brick 1. Then there are four bricks left and so there are four ways of
                                               choosing brick 2. And so on.
                                               	           5	   × 	  4 	  × 	  3 	  × 	  2	   × 	  1	   = 120.
                                               	        Brick 1		 Brick 2		 Brick 3		 Brick 4		 Brick 5
                                          ●
                                          ?	   Do you agree with Oscar’s mother that he is a child prodigy, or do you think it
                                               was just by chance that he put the bricks down in the right order?
                                 Factorials
                                               In the last example you saw that the number of ways of placing five different
                                               bricks in a line is 5 × 4 × 3 × 2 × 1. This number is called 5 factorial and is written
                                               5!. You will often meet expressions of this form.
                                               In general the number of ways of placing n different objects in a line is n!, where
                                               n! = n × (n − 1) × (n − 2) × ... × 3 × 2 × 1.
                                                     n must be a
                                                   positive integer.
 124
                                                                                                            S1 
EXAMPLE 5.1	   Calculate 7!
               SOLUTION
                                                                                                            5
               7! = 7 × 6 × 5 × 4 × 3 × 2 × 1 = 5040
                                                                                                            Factorials
               Some typical relationships between factorial numbers are illustrated below:
SOLUTION
               5! = 5 × 4 × 3! = 5 × 4 = 20
               3!       3!
                             7 ! × 5!
EXAMPLE 5.3	   Calculate 
                             3! × 4!
SOLUTION
               7! × 5! = 7 × 6 × 5 × 4 × 3! × 5 × 4 !
               3! × 4 !             3! × 4 !
                        = 7 × 6 × 5 × 4 × 5 = 4200
SOLUTION
               37 × 36 × 35 = 37 × 36 × 35 × 34 !
                                     34 !
                           = 37 !
                             34 !
EXAMPLE 5.5	   (i)	Find    the number of ways in which all five letters in the word GREAT can be
                       arranged.
               (ii)	   In how many of these arrangements are the letters A and E next to each
                       other?
SOLUTION
               (i)	    There are five choices for the first letter (G, R, E, A or T). Then there are four
                       choices for the next letter, then three for the third letter and so on. So the
                       number of arrangements of the letters is
5 × 4 × 3 × 2 × 1 = 5! = 120
                                                                                                            125
S1 
                                                (ii)	   The E and the A are to be together, so you can treat them as a single letter.
                                                	So there are four choices for the first letter (G, R, EA or T), three choices for
 5                                                the next letter and so on.
4 × 3 × 2 × 1 = 4! = 24
However EA G R T
is different from AE G R T
The total number of arrangements with the E and A next to each other is
2 × 4! = 48
                                                Note		
                                                The total number of ways of arranging the letters with the A and the E apart is
120 – 48 = 72
                                 EXAMPLE 5.6	   Find the number of ways in which all five letters in the word GREET can be
                                                arranged.
SOLUTION
                                                However, GREET has two repeated letters and so some of these arrangements are
                                                really the same.
                                                For example,	          E   E   G   R   T 			
is the same as E E G R T
                                 EXAMPLE 5.7	   How many different arrangements of the letters in the word MATHEMATICAL
                                                are there?
SOLUTION
For example, M A T H E M A T I C A L
                                      M  A   T   H  E   M  A   T   I   C   A   L                                                 5
               	
                                                                                                                                 Exercise 5A
               and	                   M  A   T   H  E   M  A   T   I   C   A   L
12 letters
                             12!
                         –––––––––   = 19 958 400
                         2! × 2! × 3!                                 Three As repeated
               Example 5.7 illustrates how to deal with repeated objects. You can generalise
               from this example to obtain the following:
               7	    How many different ways can eight books be arranged in a row on a shelf?
               8	    I	 n a greyhound race there are six runners. How many different ways are there
                      for the six dogs to finish?
                                                                                                                                 127
S1 
                                     9	   	In a 60-metre hurdles race there are five runners, one from each of the
                                          nations Austria, Belgium, Canada, Denmark and England.
                                 10	      J ohn has an MP3 player which can play tracks in ‘shuffle’ mode. If an album
                                           is played in ‘shuffle’ mode the tracks are selected in a random order with a
                                           different track selected each time until all the tracks have been played.
                                 	        John plays a 14-track album in ‘shuffle’ mode.
                                          (i)	    In how many different orders could the tracks be played?
                                          (ii)	   What is the probability that ‘shuffle’ mode will play the tracks in the
                                                  normal set order listed on the album?
                                 11	      In a ‘Goal of the season’ competition, participants are asked to rank ten goals
                                          in order of quality.
                                 	The organisers select their ‘correct’ order at random. Anybody who matches
                                   their order will be invited to join the television commentary team for the
                                   next international match.
                                          (i)	    What is the probability of a participant’s order being the same as that of
                                                  the organisers?
                                          (ii)	   Five million people enter the competition. How many people would be
                                                  expected to join the commentary team?
 128
Investigations
                                                                                                                         Permutations
                             them must appear exactly once. How many ways are there if each letter
                             may appear any number of times (i.e. between 0 and 4)? Formulate a
                             general rule.
                      (ii)   	 There are 4! ways of placing the letters S, T, A, R in line. How many ways
                               are there of placing in line the letters
                               (a) 	 S, T, A, A 	          (b)	 S, T, T, T?
                 	             Formulate a general rule for dealing with repeated letters.
Permutations
                 	               I should be one of the judges! When I heard the 16 songs in the competition, I knew
                                 which ones I thought were the best three. Last night they announced the results and I
                                 had picked the same three songs in the same order as the judges!
                 Joyetta
                                                                                                                         129
S1 
                                 EXAMPLE 5.8	        Six people go to the cinema. They sit in a row with ten seats. Find how many
                                                     ways can this be done if
                                                     (i)	 they can sit anywhere
 5                                                   (ii)	 all the empty seats are next to each other.
 Permutations and combinations
SOLUTION
                                                     (i)	    The first person to sit down has a choice of ten seats.
                                                     	       The second person to sit down has a choice of nine seats.
                                                     	       The third person to sit down has a choice of eight seats.
                                                     	       ...
                                                     	       The sixth person to sit down has a choice of five seats.
                                                     	 So the total number of arrangements is 10 × 9 × 8 × 7 × 6 × 5 = 151 200.
                                                     	This is a permutation of six objects from ten, so a quicker way to work this
                                                       out is
                                                                    number of arrangements = 10P6 = 151 200
                                                     (ii)	   Since all four empty seats are to be together you can consider them to be a
                                                             single ‘empty seat’, albeit a large one!
                                                     	       So there are seven seats to seat six people.
                                                     	       So the number of arrangements is 7P6 = 5040
                                 Combinations
                                                     It is often the case that you are not concerned with the order in which items are
                                                     chosen, only with which ones are picked.
                                                     To take part in the UK National Lottery you fill in a ticket by selecting six
                                                     numbers out of a possible 49 (numbers 1, 2, . . . , 49). When the draw is made a
                                                     machine selects six numbers at random. If they are the same as the six on your
                                                     ticket, you win the jackpot.
                                                ●
                                                ?	   You have the six winning numbers. Does it matter in which order the machine
                                                     picked them?
The key question is, how many ways are there of choosing six numbers out of 49?
                                                     However, the order does not matter. The selection 1, 3, 15, 19, 31 and 48 is the
                                                     same as 15, 48, 31, 1, 19, 3 and as 3, 19, 48, 1, 15, 31, and lots more. For each set
 130                                                 of six numbers there are 6! arrangements that all count as being the same.
                                                                                                           S1 
                    So, the number of ways of selecting six balls, given that the order does not
                    matter, is
                                   49 × 48 × 47 × 46 × 45 × 44 .
                                                                                                           5
                                                                                49P
                    		                                                  This is –––6
                                                6!                               6!
                                                                                                           Combinations
                    This is called the number of combinations of 6 objects from 49 and is denoted
                    by 49C6.
                                                          49!
               ●
               ?	   Show that 49C6 can be written as
                                                       6! × 43!
                                                                .
                    Returning to the UK National Lottery, it follows that the probability of your one
                    ticket winning the jackpot is 491 .
                                                    C6
               ●
               ?	   Check that this is about 1 in 14 million.
                    This example shows a general result, that the number of ways of selecting r
                    objects from n, when the order does not matter, is given by
                                              n
                            n          n!      P
                            Cr =             = r
                                   r!(n − r)! r !
               ●
               ?	   How can you prove this general result?
                    Another common notation for nCr is   . Both notations are used in this book to
                                                         n
                                                        r 
                    help you become familiar with both of them.
                                    n
                 ! 	 The notation   looks exactly like a column vector and so there is the possibility
                                   r 
               	     of confusing the two. However, the context should usually make the meaning clear.
EXAMPLE 5.9	        A School Governors’ committee of five people is to be chosen from eight
                    applicants. How many different selections are possible?
                    SOLUTION
                                            8     8! = 8 × 7 × 6 = 56
                    Number of selections =   =
                                            5  5! × 3! 3 × 2 × 1                                         131
S1 
                                 EXAMPLE 5.10	    In how many ways can a committee of four people be selected from four applicants?
                                                  SOLUTION
 5
                                                  Common sense tells us that there is only one way to make the committee, that is
 Permutations and combinations
                                             ●
                                             ?	   Use the convention 0! = 1 to show that nC0 = nCn = 1 for all values of n.
                                                   r               0         1      2          3        4          5       6           7
                                                   n=6             1         6      15        20       15          6       1           –
                                                   n=7             1         7      21        35       35        21        7           1
                If you are choosing 11 players from a pool of 15 possible players you can either
                                                                                                             S1 
                name the 11 you have selected or name the 4 you have rejected. Similarly, every              5
                choice of r objects included in a selection from n distinct objects corresponds to a
                choice of (n − r) objects which are excluded. Therefore nCr = nCn–r.
                Look at the entry 15 in the bottom row of Pascal’s triangle, towards the right.
                The two entries above and either side of it are 10 and 5,
                					                   …		         10		    5		      …
                                5C
                						            3
                                             …		      15		      …		      5C
                                                                           4
                                              6C
                                                4
                and 15 = 10 + 5. In this case 6C4 = 5C3 + 5C4. This is an example of the general
                result that n+1Cr+1 = n Cr + n Cr+1. Check that all the entries in Pascal’s triangle
                (except the 1s) are found in this way.
                This can be used to build up a table of values of n Cr without much calculation. If
                you know all the values of n Cr for any particular value of n you can add pairs of
                values to obtain all the values of n+1Cr , i.e. the next row, except the first and last,
                which always equal 1.
SOLUTION
                                 Is RChowdhry right? How many routes are there from Amli to Dhar? Start by
                                 looking at the first two legs, Amli to Bawal and Bawal to Chatra.
                                 There are three roads from Amli to Bawal and two roads from Bawal to Chatra.
                                 How many routes are there from Amli to Chatra passing through Bawal on
                                 the way?
Figure 5.2
                                 The answer is 3 × 2 = 6 because there are three ways of doing the first leg,
                                 followed by two for the second leg. The six routes are
                                        x − u     y − u     z − u
                                        x − v     y − v     z − v.
 134
                                                                                                                                                    S1 
                 There are also four roads from Chatra to Dhar. So each of the six routes from
                 Amli to Chatral has four possible ways of going on to Dhar. There are now
                 6 × 4 = 24 routes. See figure 5.3.
                                                                                                                                                    5
                                         x                                                                                 p
                     Amli                                        Bawal               u              Chatra                                 Dhar
Figure 5.3
                            x − u − p	       y − u − p	          z − u − p	              x − v − p	          y − v − p	          z −v−p
                            x − u − q	       ................	   ................	       ................	   ................	   ................
                            x − u − r	       ................	   ................	       ................	   ................	   ................
                            x − u − s	       ................	   ................	       ................	   ................	   z−v−s
            ●
            ?	   1	If  GoByBus chooses its route at random, what is the probability that it will be
                      the one RChowdhry wants? Is the comment justified?
            	    2	In  this example the probability was worked out by finding the number of
                      possible routes. How else could it have been worked out?
SOLUTION
                 	                                                =    9! × 7 ! × 2!
                                                                    3! × 6! 3! × 4 ! 1! × 1!
                 	                                                =9×8×7×7×6×5×2
                                                                    3× 2×1 3× 2×1
                 	                                                = 5880
                                                                                                                                                    135
S1 
                                 EXAMPLE 5.13	   In a dance competition, the panel of ten judges sit on the same side of a long
                                                 table. There are three female judges.
 5                                               (i)	    How many different arrangements are there for seating the ten judges?
                                                 (ii)	    ow many different arrangements are there if the three female judges all
                                                         H
 Permutations and combinations
                                                 (iii)	 Ifthe seating is at random, find the probability that the three female judges
                                                         will not all sit together.
                                                 (iv)	    our of the judges are selected at random to judge the final round of the
                                                         F
                                                         competition. Find the probability that this final judging panel consists of two
                                                         men and two women.
SOLUTION
                                                 (i)	    There are 10! = 3 628 800 ways of arranging the judges in a line.
                                                 (ii)	   I f the three female judges sit together then you can treat them as a single
                                                          judge.
                                                 	So there are eight judges and there are 8! = 40 320 ways of arranging the
                                                   judges in a line.
                                                 	So there are 3! × 8! = 241 920 ways of arranging the judges so that all the
                                                   female judges are together.
                                                 (iii)	 There are 3 628 800 − 241 920 = 3 386 880 ways of arranging the judges so that
                                                         the female judges do not all sit together.
                                                 	       So the probability that the female judges do not all sit together is
                                                              3 386 880
                                                                        = 0.933 (to 3 s.f.).
                                                              3 628 800
                                                 (iv)	   The probability of selecting two men and two women on the panel of four is
                                                                   2×
                                                              3C         7C
                                                                              2
                                                                                  =    3! × 7 ! ÷ 10!
                                                                   10C
                                                                         4
                                                                                    1! × 2! 5! × 2! 6! × 4 !
                                                 	                                = 3 × 21 ÷ 210
                                                 	                                = 0.3
 136
                            Find the values of	 (a)	 6P2	    (b)	 8P4	      (c)	 10P4.
                                                                                                           S1 
EXERCISE 5B	   1	 (i)	
                                                                                                           Exercise 5B
                              r       r!
               2	   There are 15 runners in a camel race. What is the probability of correctly
                    guessing the first three finishers in their finishing order?
               3	   To win the jackpot in a lottery a contestant must correctly select six numbers
                    from the numbers 1 to 30 inclusive. What is the probability that a contestant
                    wins the jackpot with one selection of six numbers?
               5	   My brother Mark decides to put together a rock band from amongst his year at
                    school. He wants a lead singer, a guitarist, a keyboard player and a drummer.
                    He invites applications and gets 7 singers, 5 guitarists, 4 keyboard players and
                    2 drummers. Assuming each person applies only once, in how many ways can
                    Mark put the group together?
                    (i)	    How many different selections of 11 players can be made for a team?
                    (ii)	   In one match, it is decided to have 3 players from each of India, Pakistan
                            and Sri Lanka and 2 from Bangladesh. How many different team selections
                            can now be made?
               7	   A committee of four is to be selected from ten candidates, six men and four
                    women.
               8	    committee of four is to be selected from five boys and four girls. The
                    A
                    members are selected at random.
                                                                                                           137
S1 
                                  9	    Baby Imran has a set of alphabet blocks. His mother often uses the blocks
                                        I, M, R, A and N to spell Imran’s name.
 5                                      (i) 	  One day she leaves him playing with these five blocks. When she comes
                                               back into the room Imran has placed them in the correct order to spell
 Permutations and combinations
                                               his name. What is the probability of Imran placing the blocks in this
                                               order? (He is only 18 months old so he certainly cannot spell!)
                                        (ii) 	 A couple of days later she leaves Imran playing with all 26 of the alphabet
                                               blocks. When she comes back into the room she again sees that he has
                                               placed the five blocks I, M, R, A and N in the correct order to spell his
                                               name. What is the probability of him choosing the five correct blocks
                                               and placing them in this order?
                                 10	 (i)	       A football team consists of 3 players who play in a defence position,
                                                3 players who play in a midfield position and 5 players who play in a
                                                forward position. Three players are chosen to collect a gold medal for the
                                                team. Find in how many ways this can be done
                                                (a)	 if the captain, who is a midfield player, must be included, together
                                                     with one defence and one forward player.
                                                (b)	 if exactly one forward player must be included, together with any two
                                                     others.
                                        (ii)	   Find how many different arrangements there are of the nine letters in the
                                                words GOLD MEDAL
                                                (a)	 if there are no restrictions on the order of the letters,
                                                (b)	 if the two letters D come first and the two letters L come last.
                                    	                    [Cambridge International AS and A Level Mathematics 9709, Paper 6 Q7 June 2005]
                                 11	    The diagram shows the seating plan for passengers in a minibus, which has
                                        17 seats arranged in 4 rows. The back row has 5 seats and the other 3 rows
                                        have 2 seats on each side. 11 passengers get on the minibus.
Back Front
                                        (i)	    How many possible seating arrangements are there for the 11 passengers?
                                        (ii)	   How many possible seating arrangements are there if 5 particular people
                                                sit in the back row?
                                        Of the 11 passengers, 5 are unmarried and the other 6 consist of 3 married
                                        couples.
                                        (iii)	 In  how many ways can 5 of the 11 passengers on the bus be chosen if
                                                there must be 2 married couples and 1 other person, who may or may
 138                                            not be married?
                                    	                    [Cambridge International AS and A Level Mathematics 9709, Paper 6 Q4 June 2006]
                                                                                                         S1 
12	   Issam has 11 different CDs, of which 6 are pop music, 3 are jazz and 2 are
      classical.
              How many different arrangements of all 11 CDs on a shelf are there if the
                                                                                                         5
      (i)	
              jazz CDs are all next to each other?
      (ii)	   Issam makes a selection of 2 pop music CDs, 2 jazz CDs and 1 classical
                                                                                                         Exercise 5B
              CD. How many different possible selections can be made?
  	                    [Cambridge International AS and A Level Mathematics 9709, Paper 6 Q3 June 2008]
14	   A staff car park at a school has 13 parking spaces in a row. There are 9 cars to
      be parked.
      (i)	   How many different arrangements are there for parking the 9 cars and
             leaving 4 empty spaces?
      (ii)	 How many different arrangements are there if the 4 empty spaces are
             next to each other?
      (iii)	 If the parking is random, find the probability that there will not be 4
             empty spaces next to each other.
  	               [Cambridge International AS and A Level Mathematics 9709, Paper 6 Q3 November 2005]
      	      The 12 houses will be in two groups of 6 (see diagram). Find the number
             of possible arrangements if all the houses in styles A and D are in the first
             group and all the houses in styles B, C and E are in the second group.
      (iii)	 Four of the 12 houses will be selected for a survey. Exactly one house
             must be in style B and exactly one house in style C. Find the number of
             ways in which these four houses can be selected.
                                                                                                         139
  	               [Cambridge International AS and A Level Mathematics 9709, Paper 6 Q4 November 2008]
S1 
                                              16	 (i)	         Find how many numbers between 5000 and 6000 can be formed from
                                                               the digits 1, 2, 3, 4, 5 and 6
                                                               (a)	 if no digits are repeated,
 5                                                             (b)	 if repeated digits are allowed.
                                                       (ii)	   Find the number of ways of choosing a school team of 5 pupils from
 Permutations and combinations
                                 KEY POINTS
                                              1	   The number of ways of arranging n unlike objects in a line is n!
                                              2	   n! = n × (n – 1) × (n – 2) × (n – 3) × ... × 3 × 2 × 1.
140