Download Mathematical Ideas - Norfolk State University

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Statistics wikipedia , lookup

History of statistics wikipedia , lookup

Inductive probability wikipedia , lookup

Birthday problem wikipedia , lookup

Ars Conjectandi wikipedia , lookup

Probability interpretations wikipedia , lookup

Probability wikipedia , lookup

Transcript
Chapter 12
Probability
© 2008 Pearson Addison-Wesley.
All rights reserved
Chapter 12: Probability
12.1 Basic Concepts
12.2 Events Involving “Not” and “Or”
12.3 Conditional Probability; Events Involving
“And”
12.4 Binomial Probability
12.5 Expected Value
12-3-2
© 2008 Pearson Addison-Wesley. All rights reserved
Chapter 1
Section 12-3
Conditional Probability; Events
Involving “And”
12-3-3
© 2008 Pearson Addison-Wesley. All rights reserved
Conditional Probability; Events Involving
“And”
• Conditional Probability
• Events Involving “And”
12-3-4
© 2008 Pearson Addison-Wesley. All rights reserved
Conditional Probability
Sometimes the probability of an event must
be computed using the knowledge that some
other event has happened (or is happening, or
will happen – the timing is not important).
This type of probability is called conditional
probability.
12-3-5
© 2008 Pearson Addison-Wesley. All rights reserved
Conditional Probability
The probability of event B, computed on the
assumption that event A has happened, is
called the conditional probability of B,
given A, and is denoted P(B | A).
12-3-6
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Selecting From a Set of
Numbers
From the sample space S = {2, 3, 4, 5, 6, 7, 8, 9}, a
single number is to be selected randomly. Given
the events
A: selected number is odd, and
B selected number is a multiple of 3.
find each probability.
a) P(B)
b) P(A and B)
c) P(B | A)
12-3-7
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Selecting From a Set of
Numbers
Solution
a) B = {3, 6, 9}, so P(B) = 3/8
b) P(A and B) = {3, 5, 7, 9} {3, 6, 9} = {3, 9}, so
P(A and B) = 2/8 = 1/4
c) The given condition A reduces the sample space
to {3, 5, 7, 9}, so P(B | A) = 2/4 = 1/2
12-3-8
© 2008 Pearson Addison-Wesley. All rights reserved
Conditional Probability Formula
The conditional probability of B, given A,
and is given by
P( A B) P( A and B)
P( B | A) 

.
P( A)
P( A)
12-3-9
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Probability in a Family
Given a family with two children, find the
probability that both are boys, given that at least one
is a boy.
Solution
Define S = {gg, gb, bg, bb}, A = {gb, bg, bb}, and
B = {bb}.
P( A B) 1/ 4 1
P( B | A) 

 .
P( A)
3/ 4 3
12-3-10
© 2008 Pearson Addison-Wesley. All rights reserved
Independent Events
Two events A and B are called independent
events if knowledge about the occurrence of
one of them has no effect on the probability
of the other one, that is, if
P(B | A) = P(B), or equivalently
P(A | B) = P(A).
12-3-11
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Checking for Independence
A single card is to be drawn from a standard 52-card
deck. Given the events
A: the selected card is an ace
B: the selected cards is red
a) Find P(B).
b) Find P(B | A).
c) Determine whether events A and B are independent.
12-3-12
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Checking for Independence
Solution
26 1
a. P( B) 
 .
52 2
P( A B) 2 / 52
2
1
b. P( B | A) 


 .
P( A)
26 / 52 26 13
c. Because P(B | A) = P(B), events A and B are
independent.
12-3-13
© 2008 Pearson Addison-Wesley. All rights reserved
Events Involving “And”
If we multiply both sides of the conditional
probability formula by P(A), we obtain an
expression for P(A and B). The calculation of
P(A and B) is simpler when A and B are
independent.
12-3-14
© 2008 Pearson Addison-Wesley. All rights reserved
Multiplication Rule of Probability
If A and B are any two events, then
P( A and B)  P( A)  P( B | A).
If A and B are independent, then
P( A and B)  P( A)  P( B).
12-3-15
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Selecting From an Jar of Balls
Jeff draws balls from the jar below. He draws two
balls without replacement. Find the probability that
he draws a red ball and then a blue ball, in that
order.
4 red
3 blue
2 yellow
12-3-16
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Selecting From an Jar of Balls
Solution
P( R1 and B2 )  P( R1 )  P( B2 | R1 )

4
3

9
8
12 1

  .1667.
72 6
12-3-17
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Selecting From an Jar of Balls
Jeff draws balls from the jar below. He draws two
balls, this time with replacement. Find the
probability that he gets a red and then a blue ball, in
that order.
4 red
3 blue
2 yellow
12-3-18
© 2008 Pearson Addison-Wesley. All rights reserved
Example: Selecting From an Jar of Balls
Solution
Because the ball is replaced, repetitions are allowed.
In this case, event B2 is independent of R1.
P( R1 and B2 )  P( R1 )  P( B2 )
4
3


9
9
12 4


 .148.
81 27
12-3-19
© 2008 Pearson Addison-Wesley. All rights reserved