Question

In: Statistics and Probability

16. Jar A has 4 red and 5 black candies. Jar B has 6 red and...

16. Jar A has 4 red and 5 black candies. Jar B has 6 red and 2 black candies. A fair die is rolled, and jar A is selected if a number divisible by 3 comes up, otherwise, Jar B is selected. One candy is drawn from the jar.
a) What is the probability you selected Jar A and got a red candy?
b) What is the probability you selected Jar B and got a red candy?
c) What is the probability you got a red candy?
d) Suppose a red candy is drawn, what is the probability it came from jar A?
e) What is the probability Jar B was selected if a black candy is drawn?

Solutions

Expert Solution

16.

Number of red candies in Jar A = 4

Number of black candies in Jar A = 5

Total number of candies in Jar A =4+5 =9

Number of red candies in Jar B = 6

Number of black candies in Jar B = 2

Total number of candies in Jar B =6+2 =8

A : Event of selecting Jar A

B : Event of selecting Jar B

Jar A is selected if a number divisible by 3 come up when a die is rolled:

Numbers (in 1 to 6) divisible by 3 are : 3 and 6;

P(A) = Probability of selecting Jar A = Probability of a number divisible by 3 comes up = 2/6 =1/3

P(B) = 1-P(A) = 1-2/6 = 4/6 =2/3

a)

R : Event of getting a red candy

Probability you selected Jar A and got a red candy = P(A and R)

By multiplication theorem of probability

P(A and R)= P(A)P(R|A)

P(R|A) = Probability of getting a red candy given that Jar A is selected = Number of red candies in Jar A/Total number of candies in Jar A = 4/9

P(A) = 1/3

P(A and R)= P(A)P(R|A) = (1/3) x (4/9) = 4/27

Probability you selected Jar A and got a red candy = 4/27

b)

Probability you selected Jar B and got a red candy = P(B and R)

By multiplication theorem of probability

P(B and R)= P(B)P(R|B)

P(R|B) = Probability of getting a red candy given that Jar B is selected = Number of red candies in Jar B/Total number of candies in Jar B = 6/8 = 3/4

P(B) = 2/3

P(B and R)= P(B)P(R|B) = (2/3) x (3/4) = 1/2

Probability you selected Jar B and got a red candy = 1/2

c)

Probability you got a red candy = Probability (that you selected Jar A and got red candy OR that you selected Jar Band got red candy) = Probability you selected Jar A and got a red candy + Probability you selected Jar B and got a red candy = (4/27)+(1/2) = (8+27)54 = 35/54

Probability you got a red candy = 35/54

d)

Suppose red candy is drawn, Probability that it came from Jar A = P(A|R)

By Bayes theorem,

From (a): P(A)P(R|A) =  4/27

From (b): P(B)P(R|B) =  1/2

P(A)P(R|A)+P(B)P(R|B) = (4/27)+(1/2) = (8+27)54 = 35/54 (which was obtained in (c))

Suppose red candy is drawn, Probability that it came from Jar A = P(A|R) = 8/35

e)

Event of black candy is drawn= X

Probability Jar B was selected if Black candy is drawn = P(B|X)

By Bayes theorem

P(B) = 2/3

P(X|B) = Probability of getting a black candy given that Jar B is selected = Number of black candies in Jar B/ total number candies in Jar B = 2/8

P(B)P(X|B) = (2/3)(2/8) = 4/24 =1/6

P(A) = 1/3

P(X|A) = Probability of getting a black candy given that Jar A is selected = Number of black candies in Jar A/ total number candies in Jar A = 5/9

P(A)P(X|A) = (1/3)(5/9) = 5/27

P(A)P(X|A)+P(B)P(X|B) =(5/27) + (1/6) = 19/54

Probability Jar B was selected if Black candy is drawn = P(B|X) = 9/19

Probability Jar B was selected if Black candy is drawn = 9/19


Related Solutions

2. A jar contains 5 balls, 4 of which are blue and one red. (a) If...
2. A jar contains 5 balls, 4 of which are blue and one red. (a) If you draw balls one at a time and replace them, what is the expected draw at which you will see the red ball? (b) If you draw balls one at a time, but without replacing them, what is the expected time to see the red ball? 3. A jar contains 1 red ball and an unknown number of blue balls. You make 20 draws...
Assume jar has four red marbles and two black marbles. Draw out two marbles with and...
Assume jar has four red marbles and two black marbles. Draw out two marbles with and without replacement. Find the requested probabilities (enter the probabilities as fractions.) a.) p(two red marbles) with replacement = without replacement = b.) p(two black marbles) with replacement = without replacement = c.) p(one red and one black marble) with replacement = without replacement = d.) p(red on the first draw and black on the second draw) with replacement = without replacement =
A car dealership has 6 red, 11 silver and 5 black cars on the lot. Ten...
A car dealership has 6 red, 11 silver and 5 black cars on the lot. Ten cars are randomly chosen to be displayed in front of the dealership. Complete parts (a) through (c) below. Please write clearly. Thank you! A: find the probability that 4 cars are red and the rest are silver. (round to four decimal places as needed) B: Find the probability that 5 cars are red and 5 are black. (round to six decimal places as needed)...
There are 8 black balls and 6 red balls in an urn. If 4 balls are...
There are 8 black balls and 6 red balls in an urn. If 4 balls are drawn without replacement, what is the probability that at least 3 black balls are drawn? Express your answer as a fraction or a decimal number rounded to four decimal places.
13 Balls are in an urn. 4 are blue, 3 are black, 6 are red. If...
13 Balls are in an urn. 4 are blue, 3 are black, 6 are red. If two balls are taken out of the urn at the same time, what is the probability that the balls are of different color? What is the probability that the balls would be different colors if you took one ball and put it back before drawing the second?
There are 5 black balls and 9 red balls in an urn. If 4 balls are...
There are 5 black balls and 9 red balls in an urn. If 4 balls are drawn without replacement, what is the probability that exactly 3 black balls are drawn? Express your answer as a fraction or a decimal number rounded to four decimal places.
what is the probability? A jar contains 4 red marbles, numbered 1 to 4, and 12...
what is the probability? A jar contains 4 red marbles, numbered 1 to 4, and 12 blue marbles numbered 1 to 12. a) A marble is chosen at random. If you’re told the marble is blue, what is the probability that it has the number 2 on it? b) The first marble is replaced, and another marble is chosen at random. If you’re told the marble has the number 1 on it, what is the probability the marble is blue?
In an urn, there are 5 red balls, 5 green balls, 4 yellow balls, and 6...
In an urn, there are 5 red balls, 5 green balls, 4 yellow balls, and 6 white balls. You are drawing balls without replacement. a. When you draw the first ball, what is the probability that the ball will be white? b. Let us assume that you have drawn two balls and both of them are green. What is the probability that the next ball drawn will be green? c. Let us assume that the third ball drawn is also...
A jar contains 6 blue and 8 red marbles. What is the probability of drawing two...
A jar contains 6 blue and 8 red marbles. What is the probability of drawing two consecutive red marbles if the drawing is done without replacement? Group of answer choices 32/91 2/7 4/13 101/91
A jar contains 2 red, 3 green, and 6 blue marbles. In a game player closes...
A jar contains 2 red, 3 green, and 6 blue marbles. In a game player closes their eyes, reaches into the jar and randomly chooses two marbles. The player wins the game if at least one of their marbles is red. Suppose it cost $1 to play the game and the winning prize is $3. Mathematically analyze this game and determine if it is in your financial interest to play the game.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT