0% found this document useful (0 votes)
17 views3 pages

TutorialWeek07 Solutions

The document contains solutions to probability problems related to biased coin tosses, multiple-choice exams, rolling dice, medical tests, and urn selections. It includes calculations of various probabilities using concepts such as independence, Bayes' theorem, and the complement rule. Each section provides detailed explanations and formulas for determining the probabilities of specific events.

Uploaded by

Vibhas Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views3 pages

TutorialWeek07 Solutions

The document contains solutions to probability problems related to biased coin tosses, multiple-choice exams, rolling dice, medical tests, and urn selections. It includes calculations of various probabilities using concepts such as independence, Bayes' theorem, and the complement rule. Each section provides detailed explanations and formulas for determining the probabilities of specific events.

Uploaded by

Vibhas Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

T HE U NIVERSITY OF S YDNEY

S CHOOL OF M ATHEMATICS AND S TATISTICS

Solutions to Probaility – Week 7 Tutorials

1. A coin is biased so that the probability of heads is 0.7 and the probability of tails is 0.3.
Suppose that the coin is tossed ten times and that the results are mutually independent.
(a) What is the probabilty of obtaining exactly seven heads?
Solution: Let E7 be the event that exactly seven heads are obtained. Seven heads
can be obtained in 120 different ways in ten tosses (why?). Hence

p(E7 ) = 120 · (0.7)7 · (0.3)3 ∼


= 0.267 = 26.7%.

(b) What is the probability of obtaining exactly ten heads?


Solution: Let E10 be the event that exactly ten heads are obtained. Ten heads
can be obtained in only one way in ten tosses. Hence

p(E10 ) = (0.7)10 ∼
= 0.028 = 2.8%.

In contrast, with a fair coin the probability of this event is less than 0.01%.
(c) What is the probability of obtaining no heads?
Solution: Let E0 be the event that no heads are obtained. This is the same as the
event that only tails are obtained. Hence

p(E0 ) = (0.3)10 ∼
= 0.000006.

(d) What is the probability of obtaining at least one head?


Solution: The event of obtaining at least one head is the complement of the
previous event. Hence its probability is 1 − p(E0 ) ∼
= 99.999994.

2. A student taking a multiple-choice exam does not know the answer to two questions. All
have five choices for the answer. For one of the two questions, the student can eliminate
two answer choices as incorrect but has no idea about the other answer choices. For
the other question, the student has no clue about the correct answer at all. Assume that
whether the student chooses the correct answer on one of the questions does not affect
whether the student chooses the correct answer on the other question.
Solution: Let E be the event that the student answers the first question correctly and F
be the event that the student answers the second question correctly. Because two choices
can be eliminated on the first question, p(E) = 31 and we have p(B) = 15 . So p(E) = 23
and p(F) = 45 .
(a) What is the probability that the student answers both questions correctly?
Solution: p(E ∩ F) = p(E)p(F) = 31 · 51 = 1
15
(b) What is the probability that the student answers exactly one question correctly?

Copyright © 2024 The University of Sydney


Solution: We are interested in the probability of the event (E ∩ F) ∪ (E ∩ F).
We have:

p((E ∩ F) ∪ (E ∩ F)) = p(E ∩ F) + p(E ∩ F)


1 4 2 1 2
= p(E)p(F) + p(E)p(∩F) = · + · = .
3 5 3 5 5
(c) What is the probability that the student answers neither question correctly?
Solution: This is the complement of the previous parts, so
1
p(E ∩ F) = 1 − ( 15 + 52 ) = 15
8

Alternatively, this can be computed directly as in the previous parts.

3. A pair of fair dice, one red and the other one green, are rolled. Let E be the event that
the number face up on the red die is 2, and let F be the event that the number face up on
the green die is 4 or 5. Show that the events E and F are independent.
Solution: We record the outcomes of rolling the dice as kn, where the red die shows k
and the green die shows n. The sample space S is the set of all 36 outcomes. Let E be
the event that the red die shows 2 and let F be the event that the green die shows 4 or 5.
Then
E = {21, 22, 23, 24, 25, 26},
F = {14, 15, 24, 25, 34, 35, 44, 45, 54, 55, 64, 65}
6
It follows that E ∩ F = {24, 25}. Since the dice are fair, we have p(E) = 36 = 61 , p(F) =
12 1 2 1
36 = 3 and p(E ∩ F) = 36 = 18 . Now

1 1 1
p(E)p(F) = · = = p(E ∩ F)
6 3 18
and so the events are independent.

4. Consider a medical test that screens for a disease found in 5 people in 1,000. Suppose
that the false positive rate is 3% and the false negative rate is 1%. Then 99% of the time
a person who has the condition tests positive for it, and 97% of the time person who
does not have the condition tests negative for it.
Solution: Let A be the event that a person tests positive for the disease, E be the
event that a person has the disease; F be the event that a person does not have the
disease. Then p(A | E) = 0.99, p(A | E) = 0.01, p(A | F) = 0.03, p(A | F) = 0.97. Also,
5
p(E) = 1000 = 0.005 and so p(F) = 0.995.
(a) What is the probability that a randomly chosen person who tests positive for the
disease actually has the disease?
p(A|E)p(E)
Solution: So by Bayes’ theorem p(E | A) = p(A|E)p(E)+p(A|F)p(F) = 0.1422... so
about 14.4%.
(b) What is the probability that a randomly chosen person who tests negative for the
disease does not indeed have the disease?
p(A|F)p(F)
Solution: By Bayes’ theorem p(F | A) = p(A|E)p(E)+p(A|F)p(F)
= 0.999948... so
about 99.995%.
5. Suppose E and F are events in a sample space S and that p(E), p(F) and p(E | F) are
known. Derive a formula for p(E | F) in terms of these.
Solution: Hint: use E = (E ∩ F) ∪ (E ∩ F).
p(E)−p(E|F)p(F)
The answer is p(E | F) = 1−p(F) .

6. One urn contains 12 blue balls and 7 white balls, and a second urn contains 8 blue balls
and 19 white balls. An urn is selected at random, and a ball is chosen from the urn.
(a) What is the probability that the chosen ball is blue?
Solution: Let U1 be the event that the first urn is chosen, U2 be the event that
the second urn is chosen, and B be the event that the chosen ball is blue. Then
p(B | U1 ) = 12 8
19 and p(B | U2 ) = 27 . We have

12 1 6
p(B ∩U1 ) = p(B | U1 )p(U1 ) = · =
19 2 19
8 1 4
p(B ∩U2 ) = p(B | U2 )p(U2 ) = · =
27 2 27
Now B = (B ∩U1 ) ∪ (B ∩U2 ) and (B ∩U1 ) ∩ (B ∩U2 ) = 0,
/ so

6 4 ∼
p(B) = p(B ∩U1 ) + p(B ∩U2 ) = + = 46.4%.
19 27
(b) If the chosen ball is blue, what is the probability that it came from the first urn?
Solution: Given that the ball is blue, the probability that it came from the first
urn is p(U1 | B). Applying Bayes’ theorem gives:

p(B | U1 )p(U1 ) (6/19) ∼


p(U1 | B) = = = 68.1%.
p(B | U1 )p(U1 ) + p(B | U2 )p(U2 ) 6/19 + 4/27

You might also like