Sign In
| 10 Theory slides |
| 8 Exercises - Grade E - A |
| Each lesson is meant to take 1-2 classroom sessions |
Here are a few recommended readings before getting started with this lesson.
Consider the following two events.
Event A | The DNA from a crime scene is concluded to be the DNA of the defendant. |
---|---|
Event B | The defendant is not guilty. |
If the defendant is not guilty — event B occurs — then the probability that their DNA was found on the crime scene is very small. Therefore, the conditional probability P(A|B) is small. Often, based on this information, the prosecutor claims that the probability that the defendant is not guilty given that A occurs is also small. P(A|B) is small ? ⇒ P(B|A) is small
This reasoning is based on the assumption that P(A|B) is equal to P(B|A). Is this assumption, and therefore the reasoning for it, correct or incorrect? Why?The probability of being infected with a certain disease is 0.0001. There is a test used to detect this disease. If someone is infected, the test comes back positive 97 times out of 100 cases. If someone is not infected, the test comes back positive 1 time out of 10 000 cases. P(infected)&=0.0001 P(positive|infected)&=0.97 P(positive|not infected)&=0.0001 Express the answers as decimal numbers approximated to one significant figure.
Conversely, if A and B are dependent events, a rearrangement of the Conditional Probability Formula can be used to find the probability of the intersection of the events.
P(AandB)=P(A)* P(B|A) or P(AandB)=P(B)* P(A|B)
Consider two dependent events A and B. The conditional probability of A given B is the ratio of the probability of the intersection of A and B to the probability of B. P(A|B)=P(A⋂ B)/P(B) The Multiplication Rule of Probability is obtained by multiplying both sides of the above formula by P(B) and using the Symmetric Property of Equality. P(A⋂ B)=P(A|B)* P(B) Following similar reasoning, an equivalent form of the rule can be obtained. P(A⋂ B)=P(B|A)* P(A)
Outcomes that should be included in the tree diagram are a∈ C, a∈ D, a>0, and a<0.
A tree diagram will be made to answer the questions. The root node of the tree represents the event of choosing a number a from C⋃ D. The chosen number can be either from C or from D.
The probability of each outcome should be written on the corresponding branch. Set C has 6 elements, D has 4 elements, and the sets do not have any elements in common. With this information the probability that a is an element of C and that a is an element of D can be calculated. P(a∈ C)&=6/6+ 4=6/10 [1em] P(a∈ D)&=4/6+ 4=4/10 Now the probabilities will be added to the diagram.
The other outcomes that need to be considered to answer the questions are that a can be positive or negative.
Set C has 6 elements. 3 of them are positive and 3 of them are negative. Therefore, knowing that a is an element of C, the probability that it is positive is 3 6 and the probability it is negative is also 3 6.
Likewise, D has 4 elements: 3 of them positive and 1 of them negative. Knowing that a is from D, the probability it is positive is 3 4 and the probability it is negative is 1 4.
The probability that a is an element of C and positive can be calculated by multiplying the probabilities along the corresponding branch of the tree diagram.
Similarly, the probability that a is an element of D and negative can be found.
For the following questions, approximate the answers to two decimal places.
Dylan participates in a school lottery that consists of two stages. He starts by drawing a ticket from a hat. This ticket tells Dylan from which of three boxes he will be drawing a second ticket. There are 30 tickets in the hat: 12 for box A, 10 for box B, and 8 for box C.
Use a tree diagram to represent the given information.
First make a tree diagram. The root node of the tree represents the event of drawing a ticket from the hat. There are 30 tickets in the hat. From those, 12 correspond to box A, 10 correspond to box B, and 8 correspond to box C. With this information, the probabilities for the first three branches of the tree can be written.
A ticket drawn from any of the boxes can be a winning or a loosing ticket. Each box contains 5 tickets. Box A has 1 winning ticket, box B has 2, and box C 3. With this information, the probabilities of drawing a winning ticket from each box can be written.
The sum of the probabilities of the branches that come out of the same node is equal to 1. Knowing this, the probabilities of not drawing a winning ticket from each box can be calculated.
There are three possible outcomes in which Dylan draws a winning ticket.
Substitute values
a/b=.a /6./.b /6.
a/b=.a /10./.b /10.
a/b=.a /2./.b /2.
Multiply fractions
a/b=a * 3/b * 3
a/b=a * 5/b * 5
Add fractions
a/b=a÷ b
Convert to percent
Round to nearest integer
How can the probability that the marble is from box A and it is orange be calculated using the given information?
marble from box Aand
orange marble,it can be rewritten using the Multiplication Rule of Probability. P(box A and orange) = P(orange|box A)* P(box A) The above expression can be substituted into the formula for the probability that the marble is from box A knowing it is orange. P(box A|orange) = P(box A and orange)/P(orange) ⇕ P(box A|orange)= P(orange|box A) * P(box A)/P(orange) The conditional probability has been expressed in terms of the known probabilities. Now, the values of the known probabilities can be substituted into the formula.
Substitute values
Multiply fractions
Cancel out common factors
Simplify quotient
.a /12./.b /12.=a/b
Calculate quotient
For the following questions, approximate the answers to two decimal places.
First, the given information will be represented in a tree diagram.
The sum of the probabilities of branches coming out of the same node is always 1. Using this fact, the tree diagram can be completed.
The tree diagram gathers all of the known information. Now, the desired unknown probabilities will be calculated one by one.
By the definition of conditional probability, the conditional probability that a person is infected given their test result is negative can be written as a ratio. P(infected|negative) = P(infected ⋂ negative)/P(negative) The probability of the intersection of two events can be rewritten using the Multiplication Rule of Probability. P(infected|negative) = P(negative|infected)* P(infected)/P(negative) Both probabilities in the numerator are represented in the tree diagram.
The probability that the test comes back negative can be found using the tree diagram as well. To do so, the probabilities of all outcomes that include receiving a negative test result should be added. There are two such outcomes. These are infected with a negative test result
and not infected with a negative test result
.
Substitute values
Multiply
Use a calculator
Round to 1 significant digit(s)
P(negative)= 0.99980301
Subtract term
Substitute values
Multiply
Use a calculator
Round to 1 significant digit(s)
The probability that a person is not infected given the test result is positive can be found by reversing the conditional probability. P(not infected|positive) = P(positive|not infected)* P(not infected)/P(positive) It is known that P(positive)=0.00019699. The remaining two probabilities in the above expression are represented on the tree diagram.
Substitute values
Multiply
Use a calculator
Round to 1 significant digit(s)
The two given conditional probabilities have been reversed. Based on that, the example values of P(A|B) and P(B|A) can be compared.
P(positive|infected) | P(infected|positive) |
---|---|
0.97 | 0.5 |
P(positive|not infected) | P(not infected|positive) |
0.0001 | 0.5 |
It is seen that P(A|B) and P(B|A) are not equal.
Ali loves Russian authors. He has bought five books by Anton Chekhov and three books by Fyodor Dostoevsky. When going on vacation he randomly selects three books and throws them into his luggage. What is the probability that all three books are written by the same author? Round your answer to the nearest percent.
Let's represent books by Anton Chekhov with red covers, and represent books by Fyodor Dostoevsky with blue covers.
Ali has bought a total of 5+3=8 books. Since 5 of them are by Chekhov and 3 are by Dostoevsky, we get the following probabilities when Ali is choosing the first book. P(📕)=5/8 and P(📘)=3/8 When the first book is selected, there is one less book on the shelf. Depending on what book was selected, the probability of the second book Ali selects is affected. Let's mark the probabilities along the paths where three books by the same author, Chekhov or Dostoevsky, are selected.
To calculate the probability of either event occurring, we will use the Multiplication Rule of Probability. P(📕,📕,📕)=5/8* 4/7* 3/6=60/336 [1em] P(📘,📘,📘)=3/8* 2/7* 1/6=6/336 If we add these probabilities, we get the combined probability of selecting three books by the same author.
Ignacio was window shopping online when he found a shirt he really liked on sale. He hurried to order it and complete the purchase but forgot to specify the color. Because the color was not specified, the supplier will select the shirt color randomly. Here is a list of the two colors of shirts in stock for each supplier at the time of the purchase.
Supplier A | Supplier B |
---|---|
30 Blue | 40 Blue |
10 Red | 60 Red |
If Supplier A is currently taking 40% of the orders, what is the probability that Ignacio gets a blue shirt? Make a tree diagram to find this probability and write the answer as a fraction in its simplest form.
To answer the question it will be helpful to make a tree diagram. The root node of the tree diagram represents the event of choosing a supplier. It can either be Supplier A or Supplier B. We also know that the probability that Supplier A has taken the orders is 40 %= 25. Let's start making the tree diagram using this information.
Recall that the sum of the probabilities of branches originating from one node is always 1. Using this fact, this part of tree diagram can be completed.
The next outcomes correspond to shirt colors.
Recall that Supplier A has 30 blue shirts and 10 red shirts. With this information, the probability that the shirt is of a given color can be calculated. P(Blue shirt|Supplier A)& = 30/30 + 10 = 30/40 = 3/4 [1em] P(Red shirt|Supplier A)& = 10/30 + 10 = 10/40 = 1/4 On the other hand, Supplier B has 40 blue shirts and 60 red shirts. With this information the probability that the shirt is of a given color can be calculated. P(Blue shirt|Supplier B)& = 40/40 + 60 = 40/100 = 2/5 [1em] P(Red shirt|Supplier B)& = 60/40 + 60 = 60/100 = 3/5 Let's add these probabilities to the diagram.
Finally, notice that we need to consider both the probability of getting a blue shirt from Supplier A P(Blue⋂A) or from Supplier B P(Blue⋂B).
Therefore, the probability that Ignacio receives a blue shirt is the sum of the probabilities that he receives the blue shirt from Supplier A or from Supplier B.
Therefore, the probability of receiving a blue shirt is 2750.
Jordan is getting ready for a party and wants to wear one of her dresses for the occasion. However, she does not want to worry about which one to pick, so she chooses one randomly. Consider the list of colors she has for the following articles of clothing.
Dresses | Pairs of Shoes |
---|---|
2 Blue | 1 Black |
3 Red | 1 white |
To answer the question, a tree diagram will be made. The root node of the tree diagram represents the event of choosing a dress. It can either be blue or red.
The probability of each outcome should be written on the corresponding branch. Jordan has 2 blue dresses and 3 red dresses. With this information the probability that the dress is of a given color can be calculated. P(blue dress)&=2/2+ 3=2/5 [1em] P(red dress)&=3/2+ 3=3/5 Now, these probabilities will be added to the diagram.
The next outcomes correspond to the colors of shoes.
We know that the probability that Jordan wears white shoes with a blue dress is 45. The probability that Jordan wears white shoes with a red dress is 25. Let's add these probabilities to the diagram.
Recall that the sum of the probabilities of branches coming out of the same node is always 1. Using this fact, the tree diagram can be completed.
The probability that Jordan is wearing a blue dress and white shoes, can be calculated by multiplying the probabilities along the corresponding branches of the tree diagram.
Therefore, the probability that Jordan wears a blue dress and white shoes can be calculated as follows. 2/5*4/5 = 8/25
Jordan doesn't want to worry about what she will wear to go out. She picks a shirt, a pair of trousers, and a pair of shoes randomly. Consider the list of colors she has for each article of clothing.
Shirts | Trousers | Pair of shoes |
---|---|---|
2 Blue | 4 Blue | 1 Black |
3 Red | 2 Red | 2 Violet |
2 Pink | 1 Black |
To answer the questions, a tree diagram will be made. The root node of the tree represents the event of choosing a shirt of a given color. It can either be blue, red, or pink.
The probability of each outcome should be written on the corresponding branch. Jordan has 2 blue shirts, 3 red ones, and 2 orange ones. With this information the probability that the shirt is of a given color can be calculated. P(Blue shirt)&=2/2+ 3+ 2=2/7 [1em] P(Red shirt)&=3/2+ 3+ 2=3/7 [1em] P(Pink shirt)&=2/2+ 3+ 2=2/7 Now, the probabilities will be added to the diagram.
The next outcomes is the color choice for the trousers.
Jordan has 3 blue trousers, 2 red trousers, and 1 black trouser ones. With this information the probability that the trouser is of a given color can be calculated. P(Blue trousers)&=3/3+ 2+1=3/6=1/2 [1em] P(Red trousers)&=2/3+ 2+1=2/6=1/3 [1em] P(Black trousers)&=1/3+ 2+1=1/6 Now, the probabilities will be added to the diagram.
Finally, it is left to consider the possible outcomes for the color choice of the pair of shoes.
Jordan has 1 pair of black shoes and 2 pairs of violet shoes. With this information the probability that the pair of shoes chosen is of a given color can be calculated. P(Black shoes)&=1/1+ 2=1/3 [1em] P(Violet shoes)&=2/1+ 2=2/3 Now, the probabilities will be added to the diagram.
The probability that Jordan is wearing a blue shirt, black trousers, and violet shoes can be calculated by multiplying the probabilities along the corresponding branch of the tree diagram.
Therefore, the probability that Jordan wears a blue shirt, black trousers, and violet shoes is P = 2/7*1/3*2/3 = 4/63
How a conditional probability can be reversed was taught during the lesson, arriving at the formula shown below. P(A|B) = P(B|A)* P(A)/P(B) This result is known as Bayes' Theorem, and it is very useful when working with conditional probabilities problems. Consider the following situation. Kriz wants to travel to visit their family. They find two options from two different airlines that offer affordable prices. However, according to customers reviews, they both have high chances of being delayed.
Airline A | Airline B |
---|---|
On time 30 % | On time 20 % |
Delayed 70 % | Delayed 80 % |
Since we know that Kriz used 4 pieces of paper reading Airline A and 6 reading Airline B to make their decision, we can calculate the probability that they have flown with a given airline. P(airline A) &= 4/4+ 6 = 4/10 = 2/5 [1em] P(airline B) &= 6/4+ 6 = 6/10 = 3/5 Let's summarize all the known probabilities so far.
Flying with Airline A | Arriving late given that they traveled with Airline A | Arriving on time given that they traveled with Airline A |
---|---|---|
P(airline A) = 2/5 | P(late |airline A) = 70 % = 7/10 | P(on time |airline A) = 30 % = 3/10 |
Flying with Airline B | Arriving late given that they traveled with Airline B | Arriving on time given that they traveled with Airline B |
P(airline B) = 2/5 | P(late |airline B) = 80 % = 4/5 | P(on time |airline B) = 20 % = 1/5 |
We are interested in finding the probability that Kriz traveled with Airline B, given that they arrived on time. Notice that the probability that Kriz arrived on time provided that they flew with Airline B is known. cc Desired & Given P(airline B|on time) & P(on time|airline B) To reverse the given conditional probability we can use Bayes' Theorem, as mentioned at the beginning of the exercise. P(airline B|& on time) & = P(on time | airline B)* P(airline B)/P(on time) All the probabilities on the right-hand side of the equation are known, except for P(on time). To calculate it, let's represent the situation using a tree diagram.
We need to consider both the probability of arriving on time given that the flight was with Airline A and the probability of arriving on time given that the flight was with Airline B. These can be obtained by multiplying the probabilities along the corresponding branches.
Therefore, the probability that the flight arrives on time P(on time) is the sum of the probability that it arrives on time given that the flight was with Airline A and the probability that it arrives on time given that the flight was with Airline B.
Now, we can go back to the expression for P(airline B | on time) and find the required probability.
Therefore, the probability that Kriz had used Airline B given that they arrived on time is 13.