Download Chapter 3 - Math Department

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

Approximations of π wikipedia , lookup

Law of large numbers wikipedia , lookup

Ethnomathematics wikipedia , lookup

Location arithmetic wikipedia , lookup

Proofs of Fermat's little theorem wikipedia , lookup

Arithmetic wikipedia , lookup

Large numbers wikipedia , lookup

Positional notation wikipedia , lookup

Addition wikipedia , lookup

Elementary mathematics wikipedia , lookup

Transcript
Chapter 4
Lecture 4
Section: 4.7
Counting
Fundamental Rule of Counting:
If an event occurs m ways and if a different event occurs n ways,
then the events together occur a total of m·n ways.
Example #1:
You have 3 shirts, 5 neck ties and 6 pair of pants. How many
different combinations of shirts, neck ties and pants can be
made?
3·5·6=90
1. An ATM code consists of only 4 digits. How many different
codes are possible?
2. At CSU-Long Beach, the password to log into www.my.csulb.edu consists of 2
letters and then 4 digits. For example, ab1234 is a password. How many different
passwords are possible.
Let us recall our example of rolling 2 dice. How many possible outcomes are
possible. We know that one die has six sides and since we have two of them, then
by the fundamental rule of counting we get 6×6=36.
Also recall a husband and wife that want to have 3 children. Since at each birth
there are two possible outcomes (boy, girl), then the number of different
combinations of births is 2×2×2=8
3. How many different combinations of heads and tails can be made if you flip a
coin 4 times?
4. What if we had a 5 digit home security code that had an additional property that
digits could not repeat. How many different codes are possible?
In this case we would have to use the Factorial Rule. n!
Where n is the number of items that can be arranged.
n! n(n  1)( n  2)( n  3) 3  2 1
5. A UPS man has 7 locations to make deliveries. How many different routes are
possible to make all of his deliveries?
Example: In a state lottery, a player wins or shares in the jackpot
by selecting the correct 6-number combination when 6 different
numbers from 1 through 42 are drawn. If a player selects one
particular 6-number combination, how many arrangements of 6
numbers out of 42 total numbers are possible.
To start, say we have a combination of 123456. This combination is the
same as 654321 when playing this lottery. In this case we will use
the method called the Combination Rule.
We must have a total of n different items available. (42)
We must select r of the n items (6 of 42).
We must consider rearrangements of the same items to be the same.
As stated above with 123456 = 654321 and so on.
This case tells us that the order of the outcome does not matter.
Combination Rule Formula. ( Order is not taken into consideration)
n!
n Cr 
(n  r )! r!
So the answer to our question n=42 and r=6.
42!
 5245786
42 C6 
(42  6)!6!
6. What is the probability of winning the lottery if to win you
pick 6 numbers out of 42.
What if the order of the numbers does matter? Better said, what if
the order of the numbers is taken into consideration? We saw in the
previous example that the six numbers 123456 was the same as
654321. However, if we take into consideration the order of the
numbers, then 123456 is not the same as 654321 because the way
the numbers are ordered are totally different.
Permutation Rule: (Order is taken into consideration)
n!
n Pr 
(n  r )!
So if we take into consideration the order that the numbers are
drawn, then
42!
 3776965920
42 P6 
(42  6)!
7. In a horse race involving 10 horses, how many ways can first,
second, and third place be decided?
8. A manager must select 4 employees for promotion. 12 employees
are eligible for promotion. In how many ways can 4 employees be
chosen to be placed in 4 different jobs?
9. A certain department consists of 10 males and 8 females. How
many different ways can this department form a committee of
members consisting of:
a. 5 people.
b. 3 male and 2 female.
9. The classic example of the permutation rule is in how many
different ways can the word Mississippi be arranged?
This Permutation is a little different. We will need to find the
number of permutations when some of the items are identical to
others. So in the word Mississippi, M=1, i=4, s=4, p=2. Thus we
will use the following formula.
n!
n1!n2 !n3! nk !