Topic:Counting Rules for Probabilities

From SharedExperienceProject

Jump to: navigation, search

Contents

Topic Highlights

(What you will learn)

  • In this topic, you will learn about the three basic methods for determining the number of outcomes an experiment may have:
    • Filling slots
    • Permutations
    • Combinations
  • You will also learn about the types of problems of this type that you may encounter

Introduction and Motivation

(Why learn it)

Throughout our whole discussion of probabilities, in Introduction to Probability and More on Probability, we assumed that we could determine the number of outcomes an experiment has. (In fact, we depended on it because of defining the probability of an event to be the ratio of the number of outcomes corresponding to the event and the total number of outcomes.)

In reality, it's not always easy to determine the number of outcomes an experiment may have. That is the goal of this topic.

Learning Activities

(How the levels of understanding will be gained)

Learning activities for this topic
Type Name Direction
Reading Self-directed
In-class discussion
Instructor-directed
Practice problems
Self-directed
Personal activities Self-directed

Learning Objectives

(Levels of understanding to be gained)

Learning objectives for this topic
Level of Understanding Objective(s)
Very best
Highly satisfactory
Satisfactory
  • Can I solve Practice Problem 1?
  • Am I familiar with the equations we used in this topic? Are they on my formula sheet?
  • Do I know when to use each of the three counting methods, i.e. as described below under Getting Them Straight?
Maybe just enough to pass

 

Lecture Notes: The Basics of Counting Outcomes

These notes are intended to facilitate a discussion of the basics of counting outcomes.

What's the deal?

Do you remember when we first looked at probabilities (in the topic Introduction to Probability)? There, we defined the basic equation for a probability as follows:

Image:Probability_equation_2.png

where n is the total number of possible outcomes and m is the number of times the event of interest occurs.

Well, this topic on counting is all about determining n for cases where there is a finite number of outcomes.

There are three main ways of doing this:

  1. Through filling slots
  2. Through permutations
  3. Through combinations

You need to know what these are, how to use them, and when to use each.

Let's take a look at them, each in turn.

Filling slots

Filling slots is just a term used to refer to the simplest counting case, where we know the number of outcomes of a series of events and we want the total number of outcomes when taken together. Let's build on some familiar examples.

Example 1

Recall our example of rolling a 4-sided dice. What are the possible outcomes?


Example 2

What are the possible outcomes if we roll two 4-sided dice? How many are there?


Example 3

Now, what if roll one 4-sided dice and one 6-sided dice?


General equation for filling slots

Are you seeing a pattern in the last few examples? You should be.

The general rule is that for k groups of possible outcomes:

   total number of outcomes = n1 • n2 • ... • nk



where n1 is the number of outcomes for the first group, n2 is the number for the second group, and nk is the number for the last (kth) group.

In other words, you just take the product of the number of outcomes for all the groups.

It should make sense to you that the order of the groups does not matter here.

Example 4

If you roll four 4-sided dice and two 6-sided dice, what is the total number of possible outcomes?


Example 5

You are the supplier of Calgary Flames hats to the Saddledome's retail stores. They have asked you to supply 4 different sizes, 3 different logos and 2 different color schemes. How many different variations of hats do you need to be able to produce?


Permutations

The above examples apply when you want to fill all slots and when the order does matter.

But what if the order does matter and the number of outcomes in each group depends on the previous outcome?

Let's look at an example.

Example 6

Imagine you have to elect students from your 30 person class to 3 positions: President, Vice-President and Water Boy. How many ways could you do this?


This is what we refer to as computing the number of permutations.

General equation for permutations

As in the above example, permutations are usually computed by re-sampling the same group (rather than sampling different groups together as we did above).

A general equation for the is:

   total number of outcomes = nPk = n • (n-1) • (n-2) • ... • (n-k+1)

where n is the number of outcomes in the original group and k is the number of experiments (or number of time we sample the group).

Can you use the equation to repeat Example 6?


Example 7

Imagine that you and three friends go go-carting. The four of you race for the top three spots: 1st, 2nd and 3rd.

a) What are the different ways can you place in these positions? Refer to each driver as

b) How many ways are there?


Combinations

Example 7 assumes that the order of the outcomes matters (which it does, by nature of placing in a race). But what if the order didn't matter?

Example 8

While you and your friends are go-carting, one of your mothers wants to take pictures of you (so not cool), but can only fit three in the picture. How many groups of three can you form for the photos, assuming that the order in which you stand does not matter?


General equation for combinations

Can we generalize the conclusion reached in Example 8? Actually, we can actually. When order does not matter, the number of outcomes is smaller than the number of outcomes when order does matter, by a factor that depends on the number of samples we are taking, k.

This factor is:

k • (k-1) • (k-2) • ... • 1

which we refer to as k factorial, or k!.

(So, when you see the symbol k! you should just remember that it is:


k! = k • (k-1) • (k-2) • ... • 1)

And the general equation for combinations is:


   total number of outcomes = nCk = nPk / k!

Example 9

Let's make this more concrete by computing the number of possible outcomes for Example 8. Remember n = 4 (you make up four friends), and k = 3 (there are three people per group).


Note

In Kvanli et al., other forms are given of the equations for nPk and nCk. These are standard in statistics, and they are equivalent to the ones given here. It's up to you which you use and write on your equation sheet.

Lecture Notes: Getting Them Straight

How do I know which to use?

The following table summarizes some of the salient points for answering this question:

Getting it straight
Type Logic
Does order matter?
Examples
Permutations
  • Usually sampling from one same group repeatedly to come up with the total number of outcomes
  • There is one less possible outcome each time you sample
yes
  • placing 1st, 2nd, 3rd in a race
  • placing in fixed positions in an election
  • choosing 2 specified videos from among the 400 that Blockbuster carries
  • finishing 1st and 2nd in your class, assuming no ties
  • flipping two coins, where order matters
Filling slots
  • Usually sampling from different groups to come up with the number of outcomes
  • Like a permutation, except that the number of outcomes does not reduce each time
no
  • flipping 2 coins where output does not matter
  • rolling 2 or more dice
Combinations
  • Like a permutation, except that the order does not matter
no
  • selecting groups of 3 from the class
  • selecting a team of deleguates to go to a conference
  • forming a 6-person committee from 100 people on your floor


Lecture Notes: Using the Calculator

This section outlines the steps for using your BA II Plus calculator to compute permutations, combinations and factorials.

Permutations

For example, to compute 8P3:

Press 8
Press [2nd]
Press [nPr]
Press 3
Press [=]

Combinations

For example, to compute 52C5:

Press 52
Press [2nd]
Press [nCr]
Press 5
Press [=]

Factorials

For example, to compute 5!:

Press 5
Press [2nd]
Press [x!]

Practice Problems

We've covered the basics, now build your skills with the following problems. Don't look at the solutions until you've worked the problem through.

Practice Problem 1

Calculate the following:

a) 5!

b) 3P2

c) 7P6

d) 5C3

e) 10C8


Practice Problem 2

Answer the following questions assuming there is a pool of 10 applicants for a job:

a) What is the number of ways of selecting two applicants from the pool of applicants?

b) What is the number of ways of ranking the applicants?

c) What is the number of permutations of four applicants from this pool of applicants?


Practice Problem 3

Identify whether it is a permutation or a combination that needs to be calculated in each of the following statements:

a) The number of ways 1st, 2nd and 3rd place can be selected by a judge in an art contest

b) The number of ways 3 cities can be selected from a group of cities used to test a new product

c) The number of ways of selecting 5 managers from the list of managers in a company to attend a conference being held in Hawaii

d) The number of ways of ordering 4 different pairs of shoes in a display window


Practice Problem 4

A couple is getting married and registers for gifts at Linens and Things. She chooses 7 gifts that would appeal to females. He chooses 4 gifts that would appeal to males. If 3 people have bought gifts after a week, how many combinations are possible if 1 friend of the couple has purchased one of the gifts that appeals to males and 2 friends have each purchased a gift that appeals to females?

Other Practice Problems

See also: Additional problems - Counting and Discrete Random Variables Info_circle.png

Personal tools