Download - Unit2 - Lesson7

Transcript
  • MDM4U-B

    Combinations

    7

  • Mathematics of Data Management MDM4U-B Lesson 7 1

    Introduction In Lesson 6, you learned about permutations and how to solve counting problems where the order of selection matters. In this lesson, you will learn to solve counting problems where order does not matter. There are many situations in which youre not interested in the order of choosing the itemsyoure only interested in selecting a certain number of them. Here are some examples:

    Thenumberofcombinationsoftoppingsyoucanhaveonyourfavouritefast-foodmeal

    Thenumberofcombinationsinsomelotterygameswhereyouchoosesixorsevennumbers out of 49

    Thenumberofcombinationsofoptionsincellphoneplans

    Thenumberofsix-personweddingpartiesthatcanbechosenfrom20friends

    For fun, you can use the formulas in this lesson to calculate your chances of winning first prize in the lottery!

    Planning Your Study You may find this time grid helpful in planning when and how you will work through this lesson.

    Suggested Timing for This Lesson (Hours)Combinations Counting Combinations 1Combination Problems 1Solving Equations with Combinations Key Questions 1

    What You Will LearnAfter completing this lesson, you will be able to

    recognizesituationsinvolvingcombinations

    solvecountingproblemsinvolvingcombinations

    solvecombinationequations

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved.www.ilc.org

  • Lesson 7 Mathematics of Data Management MDM4U-B2

    Combinations In the previous lesson, you looked at permutations, which were defined as arrangements of objects where order is important (for example, where A,B,C was considered to be different from A,C,B). In the current lesson, you will concentrate on combinations of objects where order is not important.

    Just as with the counting problems in Lesson 6, if you have a problem involving a small number of choices, then its easy to answer the problem by making an exhaustive list of all the possibilities. However, once the numbers start to get a little bigger, it becomes very time-consumingtomakeacompletelistanditseasiertouseformulas.

    Here is an example of a combination problem using small numbers that shows you how the general formula is derived from the complete list of outcomes.

    Example:

    Suppose that you want to know how many ordered pairs can be formed by selecting two of the letters A,B,C,D, where you can use a letter only once. In other words, you want to count the number of permutations of two of those four letters.

    Solution:

    In the previous lesson, you already saw that the number of such permutations is:

    P(4,2) = 4!

    (4 2)!=

    4 3 2121

    = 4 3 = 12

    The numbers in this example are small enough for you to list all of the possible permutations in a table:

    AB BA CA DAAC BC CB DBAD BD CD DC

    Now, suppose youre not interested in counting permutations, but want to count combinations instead. In other words, youre now saying that order doesnt matter, so A,B is the same as B,A; A,C is the same as C,A; and so on.

    This example is small enough to allow you to list all of the possible combinations in this case:

    A,B (which is the same as B,A)

    A,C (which is the same as C,A)

    A,D (which is the same as D,A)

    B,C (which is the same as C,B)

    B,D (which is the same as D,B)

    C,D (which is the same as D,C)

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved. www.ilc.org

  • Mathematics of Data Management MDM4U-B Lesson 7 3

    In this example, the number of combinations is equal to 6. This is equal to the number ofpermutationsdividedby2.Anotherwaytolookatthisexampleisthatthenumberofcombinationsisequaltothenumberofpermutationsdividedby2!.

    What happens if you compare the number of permutations and combinations of three letters chosen from A,B,C,D? You know the total number of permutations of three letters from A,B,C,D is P(4,3)=432=24.Thatsstillsmallenoughforyoutobeabletolistall of the permutations in a table:

    ABC BAC CAB DABABD BAD CAD DACACB BCA CBA DBAACD BCD CBD DBCADB BDA CDA DCAADC BDC CDB DCB

    The number of possible combinations will be less than the number of possible permutations, since several permutations will correspond to the same combination.

    It is possible to list all of the possible combinations of three of the letters A,B,C,D:

    A,B,C (which is the same as A,C,B or B,A,C or B,C,A or C,A,B or C,B,A)

    A,B,D (which is the same as A,D,B or B,A,D or B,D,A or D,A,B or D,B,A)

    A,C,D (which is the same as A,D,C or C,A,D or C,D,A or D,A,C or D,C,A)

    B,C,D (which is the same as B,D,C or C,B,D or C,D,B or D,B,C or D,C,B)

    In this example, the number of combinations is equal to 4. This is equal to the number of permutations divided by 6. Another way to look at this example is that the number of combinations is equal to the number of permutations divided by 3! since 6 is equal to 3!. The reason for using the factorial notation will become clear in the explanation that follows.

    In the first example given above, you should notice:

    (Number of combinations of two letters from A,B,C,D) = (number of permutations of two lettersfromA,B,C,D)2!

    and in the second example:

    (Number of combinations of three letters from A,B,C,D) = (number of permutations of three letters from A,B,C,D) 3!

    Do you recognize a pattern illustrated by the above examples? The general rule is that the number of combinations is equal to the number of permutations divided by the factorial of the number of choices.

    Forexample,inthecaseofhavingthreechoices,thereareatotalof432=24different permutations of three letters from A,B,C,D. But if its combinations you care about, then you gather the various permutations into groups, where each group consists of 3! = 6 permutations. The permutations in a group all correspond to the same

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved.www.ilc.org

  • Lesson 7 Mathematics of Data Management MDM4U-B4

    combination. The reason why each group has 3! = 6 permutations in this example is that a set of three elements can be arranged in 3! = 6 different ways.

    In Lesson 6, you were introduced to the notation P(n,r), which stands for the number of possible permutations of r elements chosen from a set of n elements. Its also useful to have a notation for the number of possible combinations of r elements chosen from a set of n elements. That number is denoted as C(n,r).

    Counting Combinations Combinations are a selection of items where order does not matter. The number of combinations of r items from a set of n objects is given by the formula:

    C(n,r) = P(n,r)

    r !Recall from the previous lesson that you learned that

    P(n,r) = n!

    (n r)!

    This means that our above formula for C(n,r) can also be written as:

    C(n,r) = n!

    (n r)!r!This is called the factorial form.

    There are other ways to write the symbol for a combination problem. Instead of C(n,r),

    sometimes you might see it written as nCr or

    nr

    . You will mainly use the common

    notation C(n,r) throughout this unit, but its helpful to be able to recognize the other forms. You pronounce all of these expressions as n choose r, since it stands for the number of ways of choosing an (unordered) set of r elements from a set of n elements.

    When it comes to computing C(n,r) for specific values of n and r, its usually simpler to

    use the formula P(n,r)

    r ! since the numerator and denominator are both products of r

    positive integers. Here are two examples using this formula:

    C(7,3) = P(7,3)

    3!=

    7 653 21

    = 35

    C(23,5) = P(23,5)

    5!=

    23 22 21 20 195 4 3 2 1 = 33 649

    For small numbers of n and r, its easy to work out the factorials and come up with a numerical answer. However, when the numbers start to get bigger, it can be awkward to calculate large factorials without a computer. For this reason, its often easier to leave the answer in factorial form, as in the following example:

    C(42,13) = 42!

    (42 13)!13!

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved. www.ilc.org

  • Mathematics of Data Management MDM4U-B Lesson 7 5

    Example:

    Thereare10membersintheMiltondebateclub.Thecoachwantstoselectthreemembers from the debate club to form a team to attend the national championships in Ottawa. How many ways can the coach make her choice?

    Solution:

    Youwanttoselectthreemembersfrom10whereorderisunimportant,soyouaretalkingabout combinations here. The number of possible combinations of three elements chosen fromasetof10is:

    C(10,3) = P(10,3)

    3!

    =

    10 9 83 21

    =720

    6= 120

    So,thecoachcanselecttheteamin120ways.

    Example:

    From a selection of six playing cards, how many ways can you choose

    a) three cards?

    b) six cards?

    Solution:

    a) If you want to choose three cards from the six cards, then you are making an unordered choice of three items from six items. In other words, you want to count the number of possible combinations of three of the six items.

    The number of such combinations is:

    C(6,3) = P(6,3)

    3!=

    65 43 21

    = 20

    So,thereare20waystoselectthreecardsoutofthesix.

    b) The number of possible combinations of six of the six cards is:

    C(6,6) = 6!

    6!(6 6)!=

    6!6! 0!

    = 1

    This makes sense, since there is only one possible way to select six cards out of six.

    Example:

    Show that:

    103

    +

    104

    =

    114

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved.www.ilc.org

  • Lesson 7 Mathematics of Data Management MDM4U-B6

    Solution:

    Aswithmanyproblemsofthistype,yousolveitbyexpandingtheleft-handsideoftheequationandsimplifying.Then,dothesamewiththeright-handsideandshowthattheanswers to the two sides are the same.

    Step 1: Left-hand side

    Remember that the tall brackets are just another way to say C(n,r), so:

    103

    +

    104

    = C(10,3) +C(10,4)

    =

    10 9 83 21

    +10 9 8 74 3 21

    = 120 + 210 = 330

    Step 2: Right-hand side

    114

    = C(11,4)

    =

    1110 9 84 3 21

    =7920

    24= 330

    Thus:

    103

    +

    104

    =

    114

    S u p p o r t Q u e s t i o n s

    Do not send your answers in for evaluation.

    16. Evaluate each of the following.

    a) C(20,5)

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    b) 15C3 _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved. www.ilc.org

  • Mathematics of Data Management MDM4U-B Lesson 7 7

    c) C(6,6)

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    d) C(4,0)

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    17. Show that:

    a) C(10,3)=C(10,7)

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    b)

    152

    +

    153

    =

    163

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    18. How many ways can a committee of six people be chosen from a group of nine people?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved.www.ilc.org

  • Lesson 7 Mathematics of Data Management MDM4U-B8

    19. How many different hands of three cards can be selected from10differentplayingcards?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    There are Suggested Answers to Support Questions at the end of this unit.

    Combination Problems Now that you have learned the basic idea behind combinations, you will learn how to solve more complicated questions involving the multiplicative counting principle that you learned in Lesson 6. Recall that the multiplicative counting principle says that the number ofoutcomesofamulti-taskexerciseistheproductoftheoutcomesofeachtask.

    Example:

    From a group of six women and four men, determine how many ways a committee of four people can be selected with

    a) three women and one man.

    b) two women and two men.

    c) four men.

    Solution:

    a) You can choose the three women in C(6,3) ways, since there are six women to choose from, and the man can be chosen in C(4,1) ways. Thus, the total number of ways a committee can be chosen is:

    C(6,3)C(4,1) = 65 4

    3 21 4

    1!= 20 4 = 80 ways

    b) You can choose the women in C(6,2)waysandthemencanbechoseninC(4,2)ways.Thus, the total number of ways a committee can be chosen is:

    C(6,2)C(4,2)= 6521

    4 321

    = 15 6 =90ways

    c) You can choose the men in the committee in C(4,4) ways. Thus, there is only one way to choose a committee consisting only of men.

    Example:

    Adeckofplayingcardshas52cardsdividedintofoursuits(hearts,clubs,diamonds,andspades).Eachsuitcontains13cards.Thesecardsarethe2,3,4,5,6,7,8,9,10,jack,queen, king, and ace. How many ways can five cards be chosen if the hand must contain three kings?

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved. www.ilc.org

  • Mathematics of Data Management MDM4U-B Lesson 7 9

    Solution:

    A deck of cards has four kings, so you can choose the three kings in C(4,3) ways. The remainingtwocardscanbechosenfromthe48remainingcards,sothereareC(48,2)ways to choose them.

    Thus, the total number of ways to choose the five cards that must contain three kings is:

    C(4,3)C(48,2) = 4 3 2

    3 21 48 47

    21= 4512

    S u p p o r t Q u e s t i o n s

    Do not send your answers in for evaluation.

    20. Howmanydifferentfive-cardhandscanbeformedusinganordinarydeckof52cards? (Note: A hand is just a collection of cards and the order is irrelevant.) Show the answer in factorial form.

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    21. Howmanydifferentfive-cardhandscontainthreeaces?

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    22. A jar contains four red marbles, four yellow ones, and two orange ones.

    a) Determine the number of ways in which any four marbles can be selected.

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved.www.ilc.org

  • Lesson 7 Mathematics of Data Management MDM4U-B10

    b) Determine the number of ways in which five marbles can be selected where one is red, two are yellow, and two are orange.

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    _______________________________________________________________

    Solving Equations with CombinationsNow that youve gained some experience working with the various formulas for C(n,r), you will be able to solve some equations that involve C(n,r).

    Example:

    If C(n,2)=21,findn.

    Solution:

    Remember that you can write:

    C(n,2) = n (n 1)

    21=

    n2 n2

    So, if C(n,2)=21,youhave n2 n

    2= 21

    Hence, n2 n=42

    and n2 n42=0

    This is a quadratic equation, which can be solved either by factoring or by using the quadratic formula that you reviewed in Lesson 6. The quadratic formula will be used here to find the solution.

    The quadratic formula is:

    x = b b

    2 4ac2a

    , with x = n, b = 1, a = 1, and c=42

    So, n = 1 (1)

    2 4(1)(42)2

    n = 1 169

    2=

    1 132

    The two solutions are n=7andn = 6. You can ignore the negative value, since factorials are only defined for positive numbers, so you are left with n=7.

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved. www.ilc.org

  • Mathematics of Data Management MDM4U-B Lesson 7 11

    S u p p o r t Q u e s t i o n

    Do not send your answers in for evaluation.

    23. If C(n,2)=66,findn using the quadratic formula.

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    ___________________________________________________________________

    Key Concepts Combination: a selection of objects where order is unimportant. Calculated using the formula

    C(n,r) = n!

    (n r)!r! or more simply, C(n,r) = P(n,r)

    r !Factorial form: a depiction of the solution to a combination problem that is left in the form of a formula, rather than being fully worked out. This is usually done when the factorial numbers are too large to conveniently multiply out, without access to a

    computer. An example would be: C(22,9) = 22!

    (22 9)!9!

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved.www.ilc.org

  • Lesson 7 Mathematics of Data Management MDM4U-B12

    K e y Q u e s t i o n s

    Save your answers to the Key Questions. When you have completed the unit, submit them to ILC for marking.

    Total: 26 marks

    24. A jar contains six red marbles, four green marbles, and five yellow ones.

    a) Determine the number of ways in which any three marbles can be selected. (3 marks)

    b) Determine the number of ways to select four marbles where two are red and two are yellow. (3 marks)

    c) Determine the number of ways in which six marbles can be selected where two are red, two are green, and two are yellow. (3 marks)

    Show your calculations. (9 marks total)

    25. Inacardgameusinganormaldeckofplayingcardscontaining52cards,13cardsare dealt to a player.

    a) How many different combinations of cards are possible in that players hand? Leave your answer in factorial form. (2 marks)

    b) How many different hands are possible that consist of nine spades and four clubs? Leave your answer in factorial form. (4 marks)

    Show your calculations. (6 marks total)

    26. Use the quadratic formula to solve for n in: C(n,2)=45.Showyourcalculations. (4 marks)

    27. Prove that C(50,3)+C(50,4)= C(51,4).(3 marks)

    28. From a group of six women and five men, determine how many ways a committee of four people can be selected with

    a) two women and two men.

    b) three women and one man.

    Show your calculations. (4 marks: 2 marks for each part)

    Now go on to Lesson 8. Do not submit your coursework to ILC until you have completed Unit 2 (Lessons 6 to 10).

    Copyright 2009 The Ontario Educational Communications Authority. All rights reserved. www.ilc.org


Top Related