1 chapter 3 probability 3-1 fundamentals 3-2 addition rule 3-3 multiplication rule: basics 3-4...

71
1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability 3-5 Counting Techniques

Upload: marcia-walsh

Post on 12-Jan-2016

235 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

1

Chapter 3Probability

3-1 Fundamentals

3-2 Addition Rule

3-3 Multiplication Rule: Basics

3-4 Multiplication Rule: Complements and Conditional Probability

3-5 Counting Techniques

Page 2: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

2

Objectives develop sound understanding of

probability values used in subsequent chapters

develop basic skills necessary to solve simple probability problems

Page 3: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

3

General CommentsThis chapter tends to be the most difficult one encountered in the course

Homework note:Show setup of problem even if using calculator

Page 4: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

4

Experiment – Action being performed (book uses the word procedure)

Event (E) – A particular observation within the experiment

Sample space (S) - all possible events within the experiment

3-1 Fundamentals Definitions

Page 5: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

5

Notation

P - denotes a probability

A, B, ... - denote specific events

P (A) - denotes the probability of event A occurring

Page 6: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

6

Basic Rules for Computing Probability

Let A equal an Event

P(A) =number of outcomes favorable to

event “A”total possible experimental outcomes(sample space)

Page 7: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

7

Probability Limits

The probability of an impossible event is 0.

The probability of an event that is certain to occur is 1.

0 P(A) 1

Impossibleto occur

Certainto occur

Page 8: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

8

Possible Values for ProbabilitiesCertain

Likely

50-50 Chance

Unlikely

Impossible

1

0.5

0

Page 9: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

9

Unlikely Probabilities

Examples:• Winning the lottery• Being struck by lightning• 0.0000035892• 1 / 727,235

Typically any probability less than 0.05 is considered unlikely.

Page 10: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

10

Example: Roll a die and observe a 4? Find the probability.

What is the experiment? Roll a die

What is the event A? Observe a 4

What is the sample space? 1,2,3,4,5,6

Number of outcomes favorable to A is 1.

Number of total outcomes is 6.

What is P(A)? P(A) = 1 / 6 = 0.167

Similar to #4 on hw

Page 11: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

11

Example: Toss a coin 3 times and observe exactly 2 heads?

Experiment:

toss a coin 3 times

Event (A):

observe exactly 2 heads

Sample Space:

HHH, HHT, HTH, HTT, THH, THT, TTH, TTT

Note there are 3 outcomes favorable to the event and 8 total outcomes

P(A) = 3 / 8 = 0.375

Test problem

Similar to #6 on HW

Page 12: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

12

Law of Large Numbers

As a procedure is repeated again and again, the probability of an event tends to approach the actual probability.

This is the reason to quit while your ahead when gambling!

Page 13: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

13

P(A)

Complementary Events

The complement of event A, denoted by A, consists of all outcomes in which event A does not occur.

P(A)(read “not A”)

or P(Ac)

Page 14: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

14

P(A) = 1 – P(Ac)

Complementary Events

Property of complementary events

Example: If the probability of something occurring is 1/6 what is the probability that it won’t occur?

Page 15: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

15

Example: A study of randomly selected American Airlines flights showed that 344 arrived on time and 56 arrived late, What is the probability of a flight arriving late?

Let A = late flight Ac = on time flight

P(Ac) = 344 /(344 + 56) = 344/400 = .86

P(A) = 1 – P(Ac) = 1 - .86 = 0.14 Similar to number 11 & 12 on hw

Page 16: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

16

Rounding Off Probabilities

give the exact fraction or decimal

orround off the final result to three significant digits

Examples:

•1/3 is exact and could be left as a fraction or rounded to .333

•0.00038795 would be rounded to 0.000388

Page 17: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

17

Compound Event – Any event combining 2 or more events

Notation – P(A or B) = P (event A occurs or event B occurs or they both occur)

General Rule – add the total ways A can occur and the total way B can occur but don’t double count

3-2 Addition Rule Definitions

Page 18: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

18

• Formal Addition Rule• P(A or B) = P(A) + P(B) - P(A and B)

where P(A and B) denotes the probability that A and B both occur at the same time.

• Alternate form

P(A B) = P(A) + P(B) – P(A B)

Compound Event

U

Page 19: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

19

Definition

Events A and B are mutually exclusive if they cannot occur

simultaneously.

Page 20: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

20

Definition

Total Area = 1 Total Area = 1

P(A) P(B) P(A) P(B)

P(A and B)

Non-overlapping EventsOverlapping Events

Not Mutually Exclusive

P(A or B) = P(A) + P(B) – P(A and B)

Mutually Exclusive

P(A or B) = P(A) + P(B)

Page 21: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

21

Applying the Addition Rule

P(A or B)

Addition Rule

AreA and Bmutuallyexclusive

?

P(A or B) = P(A)+ P(B) - P(A and B)

P(A or B) = P(A) + P(B)Yes

No

Page 22: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

22

Mutually Exclusive

Example: P(A) = 2/7 and P(B) = 3/7 , P(A or B) = 5/7, are A and B mutually exclusive? Why?

Test question

Page 23: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

23

Example: You have an URN with 2 green marbles, 3 red marbles and 4 white marbles

Let A = choose red marble and B = choose white marble

1. What is the probability of choosing a red marble? P(A) = 3/9

2. What is the probability of choosing a white marble? P(B) = 4/9

3. What is the probability of choosing a red or a white? P(B or A) = 3/9 + 4/9 = 7/9

Test Questions

Why are event A and B mutually exclusive events?

Page 24: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

24

Example:

A card is drawn from a deck of cards.

1. What is the probability that the card is an ace or jack?

P(ace) + P(jack) = 4/52 + 4/52 = 8/52

2. What is the probability that the card is an ace or heart?

P(ace) + P(heart) – P(ace of hearts) = 4/52 + 13/52 – 1/52 = 16/52

Page 25: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

25

Example: Toss a coin 3 times and observe all possibilities of the number of heads

Experiment: toss a coin 3 times

Events (A): observe exactly 0 heads

(B): observe exactly 1 head

(C): observe exactly 2 heads

(D): observe exactly 3 heads

Sample Space:

HHH, HHT, HTH, HTT, THH, THT, TTH, TTT

Find the P(A) + P(B) + P(C) + P(D)

Page 26: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

26

Example: Toss a coin 3 times and observe all possibilities of the number of heads

Event P(event)

A = 0 heads 1/8

B = 1 head 3/8

C = 2 heads 3/8

D = 3 heads 1/8

Total 1

Probability distribution: Table of all possible events along with the probability of each event. The sum of all probabilities must sum to ONE.

Note: Events are mutually exclusive

Page 27: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

27

Example: Roll 2 dice and observe the sum

Experiment: roll 2 dice

Event (F): observe sum of 5

Sample Space: 36 elements

One 2 Two 3’s Three 4’s Four 5’s Five 6’s, One 12 Two 11’s Three 10’s Four 9’s Five 8’s

Six 7’s

Find the P(F)

Page 28: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

28

Example: Roll 2 dice and observe the sum

Event P(event)

A: Sum = 2 1/36

B: Sum = 3 2/36

And so on…….

Construct a probability distribution

Let’s Try #8 From the HW

Page 29: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

29

• Let A = select a man • Let B = select a girl

• P(A or B) = + = = 0.781

Men Women Boys Girls Totals

Survived 332 318 29 27 706

Died 1360 104 35 18 1517

Total 1692 422 64 45 2223

Contingency Table (Titanic Mortality)

* Mutually Exclusive *

16922223

452223

17372223

Page 30: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

30

• Let A = select a woman• Let B = select someone who died.

P(A or B) = (422 + 1517 - 104) / 2223 = 1835 / 2223 = 0.825

Men Women Boys Girls Totals

Survived 332 318 29 27 706

Died 1360 104 35 18 1517

Total 1692 422 64 45 2223

Contingency Table(Titanic Mortality)

* NOT Mutually Exclusive * Very similar to test problem

Page 31: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

31

• How could you define a probability distribution for this data?

Men Women Boys Girls Totals

Survived 332 318 29 27 706

Died 1360 104 35 18 1517

Total 1692 422 64 45 2223

Contingency Table (Titanic Mortality)

Page 32: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

32

Complementary EventsP(A) & P(Ac)

P(A) and P(Ac) are mutually exclusive

P(A) + P(Ac) = 1 (this has to be true)

P(A) = 1 - P(Ac)

P(Ac) = 1 – P(A)

Page 33: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

33

Venn Diagram for the Complement of Event A

Total Area = 1

P (A)

P (A) = 1 - P (A)

Page 34: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

34

Notation: P(A and B) = P(event A occurs in a first trial and event B occurs in a second trial)

Formal Rule

P(A and B) = P(A) • P(B) if independent (with replacement)

P(A and B) = P(A) • P(B A) if dependent (without replacement)

3-3 Multiplication Rule Definitions

will define later

Page 35: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

35

Definitions Independent Events

Two events A and B are independent if the occurrence of one does not affect the probability of the occurrence of the other.

Dependent EventsIf A and B are not independent, they are said to be dependent.

Page 36: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

36

TaTbTcTdTeFaFbFcFdFe

a

b

c

d

e

a

b

c

d

e

T

F

P(T) = P(c) = P(T and c) =

Tree Diagram of Test Answers

12

15

110

Page 37: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

37

P (both correct) = P (T and c) 1

10 1 2

1 5

= •

MultiplicationRule

INDEPENDENT EVENTS

Page 38: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

38

Choose 2 marbles from an URN with 3 red marbles and 3 white marbles

Dependent – choose the 1st marble then choose the 2nd marble

Independent – choose the 1st marble, replace it, then choose the 2nd marble

Independence vs. Dependence

Page 39: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

39

P(B A) represents the probability of event B occurring after it is assumed that event A has already occurred (read B A as “B given A”).

= given

Notation for Conditional Probability

Page 40: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

40

Example: You have an URN with 3 red marbles and 4 white marbles

Let A = choose red marble and B = choose white marble

1. What is the probability of choosing a red marble? P(A)

2. What is the probability of choosing a white marble? P(B)

3. If two are chosen find the probability of choosing a white on the a second trial given a red marble was chosen 1st. P(B A)

a) Assume the 1st marble is replaced {independent}

b) Assume the 1st marble is not replaced {dependent}

Test Questions

Page 41: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

41

Example: You have an URN with 3 red marbles and 4 white marbles

Let’s change things a bit….

If two are chosen and we want to find the probability of choosing a white then choosing a red marble.

So if we let: A = choose red 1st and B = choose white 2nd then we need to find P(A and B)P(A and B)

The problem here is that calculating this probability depends on what happens on the first draw. We need a rule that helps us with this.

Page 42: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

42

Formal Multiplication Rule

P(A and B) = P(A) • P(B A)

If A and B are independent events, P(B A) is really the same as P(B). Will see this in the next section.

Page 43: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

43

Applying the Multiplication Rule

P(A and B)

Multiplication Rule

AreA and B

independent?

P(A and B) = P(A) • P(B A)

P(A and B) = P(A) • P(B)Yes

No

Page 44: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

44

Example: You have an URN with 3 red marbles and 4 white marbles

Let A = choose red marble and B = choose white marble

If two are chosen find the probability of choosing a red then choosing a white marble. In other words find P(A and B)

a) Assume the 1st marble is replaced {independent}P(A and B) = P(A) • P(B)

b) Assume the 1st marble is not replaced {dependent}P(A and B) = P(A) • P(B A)

Use as an example for #6

Test Questions

Page 45: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

45

Class Assignment – Part IYou have an URN with 3 red marbles, 7 white marbles,

and 1 green marbleLet A = choose red

B = choose whiteC = choose green

Find the following:

1. P(Ac), that is find P(not red)2. P(A or B)3. If two marbles chosen what is the probability that you

choose a white marble 2nd when a red marble was chosen first. This is, find P(B A)

4. If two marbles are chosen, find P(A and C) with replacement5. If two marbles are chosen, find P(A and C) without

replacement

Very Similar to test question #1

Page 46: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

46

Class Assignment – Part II

Page 47: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

47

Mutually Exclusive vs. Independent Events

Mutually Exclusive EventsP(A or B) = P(A) + P(B)

Independent Events P(A and B) = P(A) • P(B)

Example: if P(A) = .3, P(B)=.4, P(A or B)=.7, and P(A and B) = .12, what can you say about A and B?

Note: Test Question

Page 48: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

48

• Select two– Find P(2 women) = 422/2223 x 421/2222– Find P(2 that died) = 1517/2223 x 1516/2222

• Select one– Find P(woman and died) = 104/2223– Find P(Boy and survived) = 29 / 2223

Men Women Boys Girls Totals

Survived 332 318 29 27 706

Died 1360 104 35 18 1517

Total 1692 422 64 45 2223

Contingency Table(Titanic Mortality)

Page 49: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

49

3-4 Topics

Probability of “at least one”

More on conditional probability

Test for independence

Page 50: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

50

Probability of ‘At Least One’

‘At least one’ is equivalent to ‘one or more’.

The complement of getting at least one item of a particular type is that you get

no items of that type.

If P(A) = P(getting at least one), then

P(A) = 1 - P(Ac)

where P(Ac) = P(getting none)

Page 51: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

51

Probability of ‘At Least One’

Find the probability of a getting at least 1 head if you toss a coin 4 times.

P(A) = 1 - P(Ac)

where P(A) is P(no heads)

P(Ac) = (0.5)(0.5)(0.5 )(0.5) = 0.0625

P(A) = 1 - 0.0625 = 0.9375

Page 52: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

52

Conditional Probability

P(A and B) = P(A) • P(B|A)Divide both sides by P(A)

Formal definition for conditional probability

P(B|A) =P(A and B)

P(A)

Page 53: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

53

If P(B|A) = P(B)

then the occurrence of A has no effect on the probability of event B; that is, A and B are independent events.

or

If P(A and B) = P(A) • P(B)

then A and B are independent events. (with replacement)

Testing for Independence

Example: if A and B are independent, find P(A and B) if P(A) = 0.3 and P(B) = 0.6 (test question)

Page 54: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

54

3-5 Countingfundamental counting rule

two events (“mn” rule)

multiple events (nr rule)

permutationsfactorial rule

different items

not all items different

combinations

Page 55: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

55

Fundamental Counting Rule(‘mn” rule)

If one event can occur m ways and the second event can occur n ways, the events together can occur a total of m • n ways.

Example 1:Example 1: How many ways can your order a meal with 3 main course choices and 4 deserts? First list then use rule.

Main Courses

Tacos (T)

Pasta (P)

Liver & Onions (LO)

Deserts

Ice Cream (IC)

Jello (J)

Cake ©

Fruit (F)

Page 56: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

56

Fundamental Counting Rule(nr rule)

If one event that can occur n ways is repeated r times, the events together

can occur a total of nr ways.

Example 2: Example 2: How many outcomes are possible when tossing a coin 3 times? First list then use rule.

Example 3: Example 3: How many outcomes are possible when tossing a coin 20 times? Would you care to list all the outcomes this time?

Page 57: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

57

The factorial symbol ! denotes the product of decreasing positive whole numbers.

n! = n (n-1) (n-2) (n-3) •   •  •  • • (3) (2) (1)

Special Definition: 0! = 1

Find the ! key on your calculator

Notation

Page 58: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

58

A collection of n different items can be arranged in order n! different ways.

Factorial Rule

Example:Example: How many ways can you order the letters A, B, C? List first then use rule.

Note: actually a special type of permutation, will define next

Page 59: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

59

Compare the NR and Factorial Rule

Example:Example: How many ways can you order the letters A, B, C?

a) NR _______ _________ ________ (with replacement)

b) N! _______ _________ ________ (without replacement)

Page 60: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

60

n is the number of available items (without replacement)

r is the number of items to be selected

the number of permutations (or sequences) is

Permutations Rule(when items are all different)

Order matters

Pn r = (n - r)!n!

Page 61: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

61

Example: Eight men enter a race. In how many ways can the first 4 positions be determined?

Permutations Rule(when items are all different)

Page 62: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

62

Permutations Rule( when some items are identical )

If there are n items with n1 alike, n2 alike, . .

     . . nk alike, the number of permutations is

n1! . n2! .. . . . . . . nk! n!

Page 63: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

63

Permutations Rule( when some items are identical )

1. How many ways can you arrange the word statistics? Or Mississippi?

Examples:

2. How many ways can you arrange 3 green marbles and 4 red marbles?

Test Question

Page 64: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

64

Permutations Rule

Factorial rule is special case

n! = n nP

Can you show this is true?

Page 65: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

65

n different items

r items to be selected

different orders of the same items are not counted (order doesn’t matter)

the number of combinations is

(n - r )! r!n!

nCr =

Combinations Rule

Page 66: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

66

TI-83 CalculatorCalculate n! , nPr, nCr

1. Enter the value for n

2. Press Math

3. Cursor over to Prb

4. Choose 2: nPr or 3: nCr or 4: n! as required

5a. Press Enter for the n! case

5b. Enter the value for “r” for the nPr and nCr

cases

Page 67: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

67

Pick five numbers from 1 to 47 and a MEGA number from 1 to 27

Pick five numbers from 1 to 56 and a MEGA number from 1 to 46

Note: game has 2 separate sets of numbers

Page 68: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

68

Example: Find the probability of winning the Pennsylvania Super 6 lotto. Select 6 numbers from 69.

What’s the probably of getting 5 of 6? 4 of 6?, etc. (see lottery handout)

What’s the probability if you have to get all 6 numbers in a specified order?

Combinations Rule

Page 69: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

69

Recall previous example?

Experiment: Toss a coin 3 times

Event (A): Observe 2 heads

Sample Space:

HHH, HHT, HTH, HTT, THH, THT, TTH, TTT

Note there are 3 outcomes favorable to the event and 8 total outcomes

P(A) = 3 / 8 = 0.375

Test problem

Page 70: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

70

Let’s take a different approach

Experiment: Toss a coin 3 times

Event (A): Observe 2 heads

There are 23 possible outcomes

and 3C2 ways to get 2 heads

P(A) = 3C2 / 23 = 3 / 8 = 0.375

Test problem

Page 71: 1 Chapter 3 Probability 3-1 Fundamentals 3-2 Addition Rule 3-3 Multiplication Rule: Basics 3-4 Multiplication Rule: Complements and Conditional Probability

71

Example:

Experiment: Toss a coin 6 times

Event (A): Observe 4 heads

There are 26 possible outcomes

and 6C4 ways to get 4 heads

P(A) = 6C4 / 26 = 15 / 64 = 0.234

Test problem