What is the probability of getting the sequence
Solution
First part:Looking at the sequence pattern we can get out of a six tosses of a coin, we
see that there are a total of
Second part: Now, if we know the first 3 are heads, we can solve this in 2 ways.
The first way: Since the first 3 positions are now known, then the total number of different
sequences we have to look at is reduced from
The second way: Let A be the event of getting 3 heads in the first 3 tosses. Let B be the event of
getting 3 tails in the last 3 tosses. Hence we want to find
But since A and B are independent events,
So
Last part, here we do not know anything about the first 3 tosses. So the first 3 positions in
the sequence of length 6 are unknown. Only the last 3 positions of the sequence are
known which are
What is the probability that a number
Solution
Let A=event that a number is divisible by 6. Hence
Let B=event that a number is divisible by10. Hence
First part: We want
Now to find
So
For the second part:
Here we want to find
3 letters and their envelopes are piled on a desk. If someone puts the letters in the envelopes at random, what is the probability that each letter gets into its own envelop?
Solution
(a) Set up the sample space. Let envelopes be A,B,C, let letters be a,b,c.
Each sample point is one row in the following table.
|
|
|
|
|
|
|
|
|
|
| |
| | |
| | |
|
|
|
From this table, we see that the probability that each letter gets into its own envelop is
Another way to solve this: There is
(b) What is the probability that at least one letter gets into its own envelope?
From looking at the table we see that this probability is
This could be solved using probability calculus as well like this: Let
Hence the probability of at least one letter going to the correct envelop is
(c) Let
Since there are envelopes, then
Similarly for
Now,
To find
from table, this is verified by seeing that only one row out of 6 meets this condition. Hence
To verify 3.6 which says
A player succeeds in making a basket 3 tries out of 4. How many tries are needed to have a
probability of larger than
Solution
Let
Let
Let
To make notations shorts, let me call
Hence
So chance of scoring after 2 tries =
But events
So (1), the chance of scoring after 2 tries,
Similarly, the chance of scoring after 3 tries is
Substitute (2) into (3) we get
Now since each
The above is the probability of at least one score after 3 tries. We can continue this process, getting the probability of at least one score after 4 tries. This will result in the following formula.
So, the pattern is clear, in general, after
Now I need to find
So need to solve the above for
i.e. need to solve
I do not know how to solve the above as is, so I’ll just make trial and error.
Will try
This is still less than
This is still less than
This is larger than
Another way to solve the problem is
Let
So probability of not scoring is
So probability of not scoring after
So need to solve the equation
Hence
Use Baye’s formula 3.8 to repeat these simple problems previously done using reduced sample space method
(a) In a family of children, what is the chance that both are girls if one is girl?
(b) What is the chance of all heads in a 3 tosses of a coin if you know that at least one is head?
Solution
The sample space here is
Let A=event that both are girls
Let B=event that at least one is a girl
(a) We want to find
Now
To find
So substitute into (1)
(b) What is the chance of all heads in a 3 tosses of a coin if you know that at least one is head?
Let A=event of 3 heads.
Let B=event of at least one head.
But
But
Substitute into (1) we get
A long way to solve the above is
The sample space here is
Let A=event that both are girls
Let B=event that at least one is a girl
(a)We want to find
Now
Substitute into (1) we get
(b)What is the chance of all heads in a 3 tosses of a coin if you know that at least one is head?
Let A=event of 3 heads.
Let B=event of at least one head.
so
Substitute into (2) we get
Suppose you have 3 nickels and 4 dimes in your right pocket and 2 nickels and a quarter in your left pocket. You pick a pocket at random and from it select a coin at random. If it is a nickel, what it the probability it came from the right pocket?
Solution
Use Baye’s formula.
Let A = event that the coin picked is a nickel.
Let B = event that the pocket selected was the right pocket.
We want to find
So need to find
Now the probability. of picking a nickel from the left pocket is the probability. of picking the left
pocket and then picking a nickel from the left pocket. This is
Similarly, the probability. of picking a nickel from the right pocket is the probability. of
picking the right pocket and then picking a nickel from the right pocket. This is
Now, need to find
Substitute these values in (1) we get
(a)There are 3 red and 5 black balls in one box and 6 red and 4 white balls in another. If you pick a box at random, and then pick a ball from it at random, what is the probability it is red? black? white? That it is either a red or a white?
Solution
Let E=Event of selecting the first box (one with 3 red and 5 black balls)
Let M=Event of selecting the second box.
Let R=Event of selecting a red ball.
Let B=Event of selecting a black ball.
Let W=Event of selecting a white ball.
(a) The probability of picking a red is the probability of picking the A box and then the probability selecting a red ball from it, OR the probability of picking the B box and then the probability of selecting a red ball from it.
Hence
But
and
Hence (1) becomes
Now to find
Using similar logic as above, we get
But
and
Hence (2) becomes
Now to find
Using similar logic as above, we get
But
and
Hence (3) becomes
Now to find the probability that the ball selected is either a red or a white, we need to find
(b)What is the probability of selecting a red on the second try given that we selected a red on the first try (without placing it back into the box?)
Let A=Event that a red ball was selected on first try
Let B=Event that a red ball was selected on second try.
Then we are asked to find
But by Bayes rule,
Where
Now I need to find
From this I find that
Another method to find
which agrees with the number I obtained from the tree diagram.
Another method to find
Hence, from (1) we finally get the conditional probability
(c) If both balls are red, what is the probability that they both came from the same box?
Let A=Event that both the first and second balls are red
Let B=Event that they both came from the same box
Hence we want to find
Now
Looking at the tree diagram above, I see that the 2 leaves that leads to this have the probability
sum of
Hence (1) becomes
Suppose it is known that
Solution
Let A=Event that a person has cancer
Let B=Event that a test is positive.
We want to find
Using Baye’s rule
Hence
So the chance a person has cancer given the test is positive is only
2 people take turns tossing a pair of coins. The first who gets two tosses alike wins. What is the probability for winning for the first player and for the second player?
Solution
I make a tree diagram. From this I find the needed probability sequence.
From diagram we see that the probability of player one winning after total of 3 tosses (by both
players) is
So the probability of first player winning is
Hence the probability of the second player winning is
(a)There are 10 chairs in a row and 8 people to be seated, in how many way can you choose them?
There are
For each one of these arrangements, there is
Hence by the principle of counting, the final answer is
So
(b)There are 10 questions on a test and you are to do 8 of them, in how many ways can we choose them?
There are
Hence
(c) In part (a) what is the probability that the first 2 chairs in a row are vacant.
Here we want to find number of ways 2 chairs can be empty out of 10 chairs. This is
Hence the probability that the first 2 chairs are the empty pairs is just
(d) In part(b), what is the probability you omit the first 2 problems in the test?
First we find the number of ways not to select 2 questions out of 10. This is given by
(e) Explain why the answers to (a) and (b) are different, but the answers to (c) and (d) are the same.
The answers to (a) and (b) are different, because in (b) we are looking for one set of 8 questions, and the order how the questions are arranged within the set is not important. In (a), the order was important. That is why answer for (a) is much larger than (b).
Answer to (c) and (d) is the same since in both cases the order is not important.
5 cards are dealt from a shuffled deck. What is the probability that they are all of the same suite?
Answer
There are a total of
There are
So probability of selecting this will be
5 cards are dealt from a shuffled deck. What is the probability that they are all diamond?
Answer
This is just
5 cards are dealt from a shuffled deck. What is the probability that they are all face cards?
Answer
There are
The number of ways
Hence the probability they are all face cards is
5 cards are dealt from a shuffled deck. What is the probability that the 5 cards are in sequence in the same suite?
Answer
This is the probability of being in the same suite and then of being in sequence.
Let A=event of being in sequence
Let B=Event of being from same suite
So want to find
To find
so there are 9 ways this could happen. But there
Now
Hence
Another way to solve this: We want to find
In a family of 5 children, what is the probability that there are 2 boys and 3 girls?
Answer
Looking at any sequence of 5 children, such as
So the probability of any one sequence is
Now the number of sequences with only 3 boys in them is
Hence the probability of having only 3 boys (and hence 2 girls) is
In a family of 5 children, what is the probability that the 2 oldest are boys and the others are girls?
Answer
Let A=Event the first 2 born children are boys
Let B=Event that the last 3 born children are girls.
We want to find
Now
Hence from (1)
What is the probability that the 2 and 3 of clubs are next to each others in a shuffled deck?
Answer
Let
Let
Let
Let
So we want to find
But
Similarly,
Now need to find the conditional probabilities.
Similarly,
Now
Now substitute all these values in (1) gives
2 cards are drawn from a shuffled deck. What is the probability that both are aces?
Answer
Let A = event first card is an ace.
Let B = event the second card is an ace.
We want to find
Now, Given the first card is an ace, the probability of the second card is an ace is
Hence
So
2 cards are drawn from a shuffled deck. If you know one is an ace, what is the probability that both are aces?
Answer
Let A = event one of the two cards is an ace.
Let B = event both are an ace
Let C=event first is an ace
Let D=event second is an ace.
We want to find
But
And
Hence
Now
Hence
2 cards are drawn from a shuffled deck. If you know that one is an ace of spades, what is the probability that both are aces?
Answer
Let A = event one of the two cards is an ace of spades.
Let B = event both are an ace
Let C=event first card is an ace of spades
Let D=event second card is an ace of spades
We want to find
Now
Hence (1) becomes
Now we need to find
But
Now
Hence
To find
Hence (2) becomes
What is the probability that you and your friend have different birthdays? (assume year is 365
days). What is the probability that 3 people have different birthdays? show that the probability
that
Estimate
Answer
Let A=event that second person have different birthday from the first
Let B=event that 3rd person have different birthday from the second person.
Let C=event that all 3 have different birthdays
So
But
Hence
So when we add a 4th person we will get the probability that they have different birthdays
Continue this for
Take the log of both sides we get
But
Hence (1) becomes
But
So we get
The above is an estimate of
Now need to Find the smallest
Hence
So
so from (2)
Hence
since
The following game was being played on a busy street: Observe the last 2 digits on each license plate. What is the probability of observing at least 2 cars with the same last 2 digits among the first 5 cars? 10 cars? 15 cars? How many cars must you observe in order for the probability to be greater than 50% of observing 2 cars with the same last 2 digits?
Answer
This is similar to problem 4.10.
Replace the number of days in a year by the number of numbers, which is 100 numbers (2 digits,
Hence I can use the formula obtained in 4.10
and for small
So for
Solution is:
The above is the probability of all 5 cars having different 2 digits numbers. Hence Probability of observing at least 2 cars with same last 2 digits is
Notice that is was based on the approximation formula. To get an exact number, I would write
Hence Probability of observing at least 2 cars with same last 2 digits is
To solve this for
From
Solution is:
Hence Probability of observing at least 2 cars with same last 2 digits is
For
Solution is:
Hence Probability of observing at least 2 cars with same last 2 digits is
To find how many cars one must observe to get a probability of more than
Solution is:
Hence
Find number of ways of putting 2 particles in 4 boxes according to the 3 kinds of statistics.
Answer
Let
For Maxwell-Boltzmann (MB) it is
For Fermi-Dirac (FM), it is
For Bose-Einstein (BE) it is
Find the number or ordered triplets of non-negative integers
Answer
If we imagine the number
For example, the following is an example of 2 different partitions created for
Note that We can also create an empty partition, as follows
When we create an empty partition between the 2 vertical bars, it is as if there is a
Hence the problem becomes a question of how many way can we insert the 2 vertical bar among
To count this, we start by putting the first vertical bar before the first object:
So now the second bar can go before or after the second object, or after the third object, or after
the 4th object, etc... until we get to the nth object, where it can go after it. Hence there are
Now, the first bar can be put after the first object as this:
So now the second bar can go into any of
We continue this way, until we get to the last object, where we can put the first bar after it, as this:
Now the second vertical bar have only one position to go which is after the first vertical bar.
So, the first vertical bar has been placed in
So, for example, for
This is the same as the number of ways to choose
Hence for
So in general, we have
This is, using Gauss summation trick, is the same as
But this is the same as
But note that the Bose-Einstein statistics with the number of boxes being fixed at 3 gives
This is the same as the Bose-Einstein statistics with the number of boxes being fixed at 3.