Professional Documents
Culture Documents
Peluang
Peluang
jeff.bivin@lz95.org
Last
Jeff Updated:
Bivin -- LZHS
April 20, 2009
Fundamental Counting Principal
How many different meals can be made if 2 main courses,
3 vegetables, and 2 desserts are available?
Let’s choose a
main course
M1 M2
Now choose a
vegetable
V1 V2 V3 V1 V2 V3
Finally choose
A dessert D1 D2 D1 D2 D1 D2 D1 D2 D1 D2 D1 D2
1 2 3 4 5 6 7 8 9 10 11 12
P
30 4
Jeff Bivin -- LZHS
Permutation Formula
n!
n Pr
(n r )!
30! 30!
30 P4
(30 4)! 26!
30 29 28 27 26!
30 29 28 27
26!
Jeff Bivin -- LZHS
Linear Permutations
There are 25 students in a classroom with 25 seats in the
room, how many different seating charts are possible?
1.5511 x 10 25
1.5511 x 10 25
P
25 25
Jeff Bivin -- LZHS
Permutation Formula
n!
n Pr
(n r )!
25! 25!
25 P25
(25 25)! 0!
25!
25! 1.5511 x 10 25
1
Jeff Bivin -- LZHS
More Permutations
There are 5 people sitting at a round
straighttable,
line how many
different seating arrangements are possible?
5! 120
Divide by 5 24
5 5
NOTE:
4! 24
How many ways can you arrange the letters ABCDEF ?
6! 720
4! 24 24
Divide by 3! 4
3! 6
Let’s look at the possibilities:
20!
99,768,240
5! 7! 8!
If all were different, how may ways could we arrange
20 items?
17!
5,145,940,800
2! 2! 4! 6!
If all were different, how may ways could we arrange
17 items?
26 ∙ 25 ∙ 10 ∙ 9 ∙ 8
A straight line? lette letter number number number
r
Is it circular?
No 468,000
Can it be turned over?
No
26 ∙ 26 ∙ 10 ∙ 10 ∙ 10
A straight line? lette letter number number number
r
Is it circular?
No 676,000
Can it be turned over?
No
n 8n 5 0
n 8 0 or n 5 0 {8}
n8 or n 5
Jeff Bivin -- LZHS
NO order Use the
Combinations NO replacement nCr formula
n!
n Cr
(n r )! r!
30! 30!
30 C4
(30 4)! 4! 26! 4!
n!
n Cr
(n r )! r!
12! 12!
12 C3
(12 3)! 3! 9! 3!
n!
n Cr
(n r )! r!
9! 9!
9 C3
(9 3)! 3! 6! 3!
n!
n Cr
(n r )! r!
5! 5!
5 C3
(5 3)! 3! 2! 3!
OR ADD
9! 5!
9 C3 5 C3
(9 3)! 3! (5 3)! 3!
84 10 94
Jeff Bivin -- LZHS
The AND factor.
An jar contains 20 marbles – 5 red, 6 white and 9 blue.
If three are selected at random, how many ways can you
select 2 blue marbles and 1 red marble?
AND MULTIPLY
9! 5!
9 C 2 5 C1
(9 2)! 2! (5 1)!1!
36 5 180
Jeff Bivin -- LZHS
At least
An jar contains 20 marbles – 5 red, 6 white and 9 blue.
If five marbles are selected at random, how many ways
can you select at least 3 blue marbles?
3 or 4 or 5 blue
3B2NB or 4B1NB or 5B
9 C3 11 C2 9 C4 11 C1 9 C5
84 55 126 11 126
6132
Jeff Bivin -- LZHS
At most
An jar contains 20 marbles – 5 red, 6 white and 9 blue.
If five marbles are selected at random, how many ways
can you select at most 1 red marbles?
0 or 1 red
0R5Nr or 1R4NR
5 C0 15 C5 5 C1 15 C4
1 3003 5 1365
9828
Jeff Bivin -- LZHS
Evaluate each of the following:
15! 15!
15 C9 5005
(15 9)! 9! 6! 9!
23! 23!
23 C10 1144066
(23 10)! 10! 13! 10!
15! 15!
15 C6 5005
(15 6)! 6! 9! 6!
23! 23!
23 C13 1144066
(23 13)! 13! 10! 13!
Jeff Bivin -- LZHS
SO……..
n! n!
n Cr Cn r
(n r )! r!
n
n (n r ) ! (n r )!
n!
Cn r
n
n n r ! (n r )!
n!
n Cn r
r ! (n r )!
n Cr n Cn r
Jeff Bivin -- LZHS
PROBABILITY
Definition:
number of success
The ratio
total number of outcomes
number of success 1
Pr(H) = = 2
total number of outcomes
number of success 2 1
Pr(>4) = = 6
= 3
total number of outcomes
have want
10 5
5 red 3 red
8 blue 286 143
Total: 13 3
Jeff Bivin -- LZHS
Probability
A jar contains 5 red and 8 blue marbles. If 3
marbles are selected at random, what is the
probability that all three are blue?
number of success 8C3
Pr(3 ) = B
=
total number of outcomes 13C3
have want
56 28
5 red
8 blue 3 blue 286 143
Total: 13 3
Jeff Bivin -- LZHS
Probability – “and”
multiply
have want
5 28 140 70
5 red 1 red
8 blue 2 blue 286 286 143
Total: 13 3
Jeff Bivin -- LZHS
A jar contains 5 red, 8 blue and 7 white
marbles. If 3 marbles are selected at
random, what is the probability that
1 red, one& 1ofwhite
1 blue,
each color is selected?
# of success 5 C1●8C1●7C1
Pr(1R,1B,1W) = = C3
total # of outcomes 20
have want
5 8 7 280 14
5 red
8 blue
1 red
1 blue
7 white 1 white 1140 1140 57
Total: 20 3
Jeff Bivin -- LZHS
A jar contains 7 red, 5 blue and 3 white
marbles. If 4 marbles are selected at
random, what is the probability that 2 red and
2 white marbles are selected?
# of success 7 C2 ● 3C2
Pr(2R,2W) = =
total # of outcomes 15C4
have want
21 3 63 3
7 red
5 blue
2 red
3 white 2 white 1365 1365 65
Total: 15 4
Jeff Bivin -- LZHS
Five cards are dealt from a standard deck of
cards. What is the probability that 3 hearts
and 2 clubs are obtained?
# of success 13 C3 ● 13C2
Pr(3 ,2 ) =
H C
=
total # of outcomes 52C5
have want
13 diamonds
286 78 22308 5577
13 hearts 3 hearts
13 clubs 2 clubs 2598960 2598960 649740
13 spades
Total: 52 5
Jeff Bivin -- LZHS
Probability – “or”
A jar contains 5 red and 8 blue marbles. If 3 marbles
are selected at random, what is the probability that all
three are red or all three are blue?
# of success C3 + 8C3
5
Pr(3 or 3 ) =
R B
=
total # of outcomes 13C3
20C3
total # of outcomes
10 56 35 101
1140 1140
have want want want
5 red 3 red
8 blue OR 3 blueOR
7 yellow 3 yellow
5 28 10 8 10
have want want want
5 red 1 red 2 red 3 red
286
OR OR
8 blue 2 blue 1 blue 230 115
Jeff Bivin13
Total: -- LZHS 3
286 143
Probability – “at least”
A jar contains 5 red and 8 blue marbles. If 3 marbles
are selected at random, what is the probability that
NO red marbles are selected?
C3 56 28
Pr(0R3B) =
8
13 C3 286 143
In the previous example we found
have want
5 red
Pr 1 red
115
143
8 blue 3 blue
Pr(success) + Pr(failure) = 1
Total:13
Jeff Bivin -- LZHS 3
Probability – “at least”
A jar contains 5 red and 8 blue marbles. If 3 marbles
are selected at random, what is the probability that
at least one red marble is selected?
Pr(success) + Pr(failure) = 1
Pr(success) = 1 - Pr(failure)
C
Pr(at least 1 ) = 1 - Pr(0 7 ) =
Red R B 1 7 9
36 4853 17 C 7
1
Jeff Bivin -- LZHS 19448 4862
Probability – “at least”
A jar contains 8 red, 9 blue and 3 white marbles. If 7
marbles are selected at random, what is the probability
that at least three red marbles are selected?
FASTEST
success Pr(> 3Red) Pr(3-7 red)
failure Pr(< 3Red) Pr(0-2 red)
393
1 - Pr(0R7NR or 1R6NR or 2R5NR) 646
C7 8 C1 12 C6 8 C2 12 C5 30360
1 12 1
77520
20 C7