Beruflich Dokumente
Kultur Dokumente
Probability
In general:
Number of ways it
can happen
Probability of an event
happening =
Total number of
outcomes
Tossing a Coin
When a coin is tossed, there
are two possible outcomes:
heads (H) or
tails (T)
1
So the probability =
Throwing Dice
When a single die is
thrown, there are six
possible outcomes: 1,
2, 3, 4, 5, 6.
The probability of any
one of them is 1/6.
6
Example: there are 5 marbles in a bag: 4 are
blue, and 1 is red. What is the probability
that a blue marble gets picked?
Number of ways it can happen: 4 (there are 4
blues)
Total number of outcomes: 5 (there are 5
marbles in total)
4
So the probability =
= 0.8
5
Probability Line
We can show probability on a Probability
Line :
Impossible is zero
Certain is one.
Probability Line
Probability is the chance that something
will happen. It can be shown on a line.
Between 0 and 1
Fundamental counting
permutation, combination)
Definition
The fundamental counting principle is a mathematical
rule that allows you to find the number of ways that a
combination of events can occur. For example, if the
first event can occur 3 ways, the second event can
occur 4 ways, and the third event can occur 5 ways,
then you can find out the number of unique
combinations by multiplying: 3 * 4 * 5 = 60 unique
combinations.
Imagine that you have a necktie sewing business. You
can make unique ties by changing any of the following
factors: color (5 options) and shape (3 options). How
many unique ties can you make? One way to think
about it is by making a diagram. There are 5 colors.
Definition of n!
>> n factorial is defined as the product
of all the integers from 1 to n (the order of
multiplying does not matter) .
We write "n factorial" with an exclamation
mark as follows: \displaystyle{n}!n!
A Few Examples
Suppose the slots represent courses in a meal you're
going to order. If there are 6 courses, you might have
3 appetizer choices, 2 soup choices, and 4 salad
choices, along with 5 main course choices, 10
beverage choices, and 3 dessert choices. To find out
how many unique 6-course meals you can make, fill in
the blanks with the number of choices and multiply:
3 * 2 * 4 * 5 * 10 * 3 = 3,600 possible unique meals
Another situation might be the creation of license
plates. Again, you have 6 slots to fill. This time, the
first two slots must be letters (26 choices) and the
remaining 4 slots must be numbers (10 choices each).
If you fill in the 6 'slots' with the number of choices
and multiply, you get the number of license plates you
can make:
26 * 26 * 10 * 10 * 10 * 10 = 6,760,000 license plates
\displaystyle\frac{{{10}!}}
{{{5}!}}\ne{2}!5!10!2!
We use factorial notation throughout this
chapter, starting in
the Permutations section.
>>> Permutations
A permutation is an arrangement of
objects, without repetition, and order
being important. Another definition of
permutation is the number of such
arrangements that are possible.
BAC
D
BAD
C
BCA
D
BCD
A
BDA
C
BDC
A
CAB DAB
D
C
CAD DAC
B
B
CBA DBA
D
C
CBD DBC
A
A
CDA DCA
B
B
CDB DCB
A
A
AHN
ANH
AHD
ADH
AND
ADN
NHD
NDH
NAH
NHA
NAD
NDA
DHA
DAH
DAN
DNA
DHN
DNH
Pr = first r factors of n!
A combination is an arrangement of
objects, without repetition, and order not
being important. Another definition of
combination is the number of such
arrangements that are possible.
ABD
ACD
BCD
ABC
ACB
BAC
BCA
CAB
CBA
ABD
ADB
BAD
BDA
DAB
DBA
ACD
ADC
CAD
CDA
DAC
DCA
BCD
BDC
CBD
CDB
DBC
DCB
where n1 + n2 + ... + nk =
N
Basically, the little n's are the frequencies
of each different (distinguishable) letter.
Big N is the total number of letters.
bac
bca
cab
4 3 2 1 = 24
cba
ba
ca
da
ac
bc
cb
db
ad
bd
cd
dc
8 7 6
56 6
(8 3)!
5!
10P4
10!
6!
50 6 + 6 6
336
8 7 6
8!
nPn
n!
n!
n!
=
=
= n!
(n n)!
0!
1
Solution.
8!
7! = 5,040
Problem 5.
a) If the five letters a, b, c, d, e are put into
a hat, in how many different
a) ways could you draw one out? 5
b) When one of them has been drawn, in
how many ways could you
a) draw a second? 4
c) Therefore, in how many ways could you
draw two letters? 5 4 = 20
This number is denoted by 5P2.
d) What is the meaning of the symbol 5P3?
e) Evaluate 5P3.
5 4 3 = 60
Problem 6. Evaluate
a) 6P3 = 120
b) 10P2 =
90
c) 7P5 = 2520