Docsity

Probability Solutions for Math 218 Midterm 1, Exams of Mathematics

Toggle sidebar
bg1
MIDTERM 1 SOLUTIONS
MATH 218, FEBRUARY 9, 2001
Problem 1. (15%) In a certain school, 80% of the students play in the
soccer league. Of the students who play in the league, 60% are girls.
Of the students who do not play in the league, 52% are boys.
(a) What is the probability that a student randomly chosen from the
school is a boy?
(b) What is the probability that a student randomly chosen from the
school is a girl who plays in the soccer league?
(c) Mary’s daughter attends the school. Knowing nothing else about
her, what is the probability she plays in the soccer league?
Solution. Although this can be solved as a contingency table problem,
most students will probably be more comfortable with the tree solution,
which is the one we’ll give.
We’ll start off with a tree, classifying students as to whether they play
soccer (“Soccer”) or don’t (“Soccer”); then as to whether they are boys
or girls. The information we have can be summarized in our rst tree:
Soccer
Boy
Girl
Girl
Boy
0.80
0.60
0.52
Of course, if 80% of the students play soccer, then 20% don’t; similarly,
that which is not a girl is a boy, and that which is not a boy is a girl;
with such commonplaces we can ll in some more of the tree:
Soccer
Boy
Girl
Girl
Boy
0.80
0.60
0.52
0.20
0.40
0.48
Finally, we complete the tree by multiplying the probabilities of branches:
Soccer
Boy
Girl
Girl
Boy
0.80
0.60
0.52
0.20
0.40
0.48
0.40x0.80 = 0.32
0.80x0.60 = 0.48
0.20x0.52 = 0.104
0.20x0.48 = 0.096
Now we’re ready to answer the questions.
(a) The probability a student is a boy is 0.32 + 0.104=0.424. That
means the probability the student is a girl is 0.576 (which we’ll
need in part (c)).
(b) The probability a randomly chosen student is a girl who plays in
the soccer league is 0.48. That’s P(Sand G).
(c) We’re asking for P(S|G), the probability that a student plays
soccer given that she’s a girl. (“Mary” has nothing to do with it;
it’s the gender of her daughter which is the important datum.)
Now
P(Soccer|G)= P(Soccer and G)
P(G)=0.48
0.576 =0.83333.
Problem 2. (20%) Almost every child gets Turkey Pox at one time
or another. Suppose that at any given time, 3% of the children in the
United States have Turkey Pox. Your biotechnology company devises a
new diagnostic test with the following characteristics:
pf3
pf4

Partial preview of the text

Download Probability Solutions for Math 218 Midterm 1 and more Exams Mathematics in PDF only on Docsity!

MIDTERM 1 SOLUTIONS

MATH 218, FEBRUARY 9, 2001

Problem 1.

(15%) In a certain school, 80% of the students play in the

soccer league.

Of the students who play in the league, 60% are girls.

Of the students who do not play in the league, 52% are boys.

(a)

What is the probability that a student randomly chosen from theschool is a boy?

(b)

What is the probability that a student randomly chosen from theschool is a girl who plays in the soccer league?

(c)

Mary’s daughter attends the school. Knowing nothing else abouther, what is the probability she plays in the soccer league?

Solution.

Although this can be solved as a contingency table problem,

most students will probably be more comfortable with the

tree

solution,

which is the one we’ll give.We’ll start off with a tree, classifying students as to whether they playsoccer (“Soccer”) or don’t (“Soccer”); then as to whether they are boysor girls. The information we have can be summarized in our first tree:

Soccer

Boy GirlBoy Girl

0.600.

Of course, if 80% of the students play soccer, then 20% don’t; similarly,that which is not a girl is a boy, and that which is not a boy is a girl;with such commonplaces we can fill in some more of the tree:

Soccer

Boy GirlBoy Girl

0.600.

0.40 0.

Finally, we complete the tree by multiplying the probabilities of branches:

Soccer

Boy GirlBoy Girl

0.600.

0.40 0.

0.40x0.

=

0.80x0.

=

0.20x0.

=

0.20x0.

=

Now

we’re ready to answer the questions.

(a) The probability a student is a boy is 0

  1. That

means the probability the student is a girl is 0

576 (which we’ll

need in part (c)).

(b) The probability a randomly chosen student is a girl who plays in

the soccer league is 0

  1. That’s

P

S

and

G

(c) We’re asking for

P

S

G

), the probability that a student plays

soccer given that she’s a girl. (“Mary” has nothing to do with it;it’s the gender of her daughter which is the important datum.)Now

P

(Soccer

G

P

(Soccer and

G

P

G

Problem 2.

(20%) Almost every child gets Turkey Pox at one time

or another. Suppose that at any given time, 3% of the children in theUnited States have Turkey Pox. Your biotechnology company devises anew diagnostic test with the following characteristics:

SOLUTIONS

Of children who have Turkey Pox, 98% test positive and 2% testnegative;

Of children who do not have Turkey Pox, 10% test positive and90% test negative.

If a child is picked from the population at random and tests positive,what is the probability that he/she has Turkey Pox?Solution.

Again, we’ll do this by a tree. Here’s the picture:

Pox

0.020.

0.98 0.

0.030.98=0.02940.030.02=0.00060.970.10=0.0970.970.90=0.

From this we see that

P

(pox

P

(pox and +)

P

Only about a 23% chance, more than might be comfortable for a child’smother, but not really so bad. Problem 3.

(15%) A game of craps is played by rolling a pair of fair

dice. On the first roll, a total of seven or eleven wins instantly; a rollof 2, 3 or 12 loses instantly. Anything else requires additional roll(s).What is the probability:

(a)

Of winning the game on the first roll.

(b)

Of losing the game on the first roll.

Solution.

(a) The game is won by rolling a 7 or 11. 11 can be rolled in two ways,

6 or 6

5, while 7 can be rolled in six ways, 1

6 or 2

5 or 3

4 or

3 or 5

2 or 6

  1. There are thus eight distinct outcomes which

result in an outright win, and each has probability 1

36; thus the

probability of winning on the first roll is 8

(b) A 2 can be rolled in only one way: 1

A three can be rolled

in two ways:

2 or 2

And a twelve can be rolled in only

one way, a 6

Thus there are exactly four distinct outcomes

which result in an outright loss on the first roll, each of which hasprobability 1

36; therefore the probability of losing on the first

roll is 4

At this point it seems worthwhile to present a full analysis of the gameof craps. (You didn’t have to do this on the final, fortunately!)This involves a further analysis of the other 2

3 of the possible cases,

where the first roll is a 4, 5, 6, 8, 9, or 10. For example, suppose thefirst roll is a 6; the question then becomes, ‘What’s the probabilitythat we’ll roll a six

before

we roll a 7?’ In theory, the game could go on

forever (with neither a six nor a seven ever being rolled); as a practicalmatter, one or the other

will

eventually be rolled. Nothing else counts;

only a six or a seven.

As there are five ways of rolling a six, and six

ways of rolling a seven, there are only eleven possible outcomes whichwill lead to a conclusion, all equally likely, and in five of them we’ll winthe game.

So if our ‘point’ is six, we have a 5/11 chance of winning

the game.

Similarly, if our ‘point’ is five, we have a 4/10 probability

of winning the game (the four ways we could roll a five, out of the tenways we could roll a five

or

a seven).

The complete analysis of how we can win the game is therefore:

A 2

9 probability of winning on the first roll.

A 3

12 probability of rolling a ‘point’ of four.

This is

followed by a 3

3 probability of rolling a four

before

rolling

a seven; our probability of winning this way is therefore 1

×

A 4

9 probability of rolling a ‘point’ of five.

This is

followed by a 4

5 probability of rolling the point before

rolling a seven; probability of winning this way, 1

×

A 5

36 probability of rolling a point of six, followed by a 5

probability of rolling the point before rolling a seven; probabilityof winning this way is 5

×

A 5

36 probability of rolling a point of eight, followed by a 5

probability of rolling the point before rolling a seven; probabilityof winning this way, 5

×

  1. (This is the same as

the probability of making a point of six. Can you explain why?)

A 4

9 probability of rolling a point of nine, followed

by a 4

5 probability of rolling the point before a seven;

probability of winning this way, 2

SOLUTIONS

. I took pity on you and didn’t ask you to compute the revised standarddeviation. In case you’re interested, it’s 0

Problem 5.

(20%) A marble manufacturing company has a machine

which produces one defective marble out of every four. Suppose a bagof ten marbles manufactured by this machine is examined.

(a)

What is the probability that

none

of the marbles is defective?

(b)

What is the probability that

exactly two

of the marbles are defec-

tive?

(c)

What is the probability that

two or more

of the marbles are de-

fective?

Solution.

This is a binomial distribution problem. Each marble has a

fixed probability of being defective; “one out of four” is a key phrasewhich means the probability

p

of being defective is

p

  1. Thus the

answers are

(a)

10

0

0

10

1

You don’t need to

know anything about binomial probabilities to do this; if the prob-ability of a marble being good is 0

75, then the probability that

ten consecutive marbles are good is 0

10

(assuming the events

are independent).

(b)

10

2

2

8

×

×

  1. It’s not

good enough to write

2

8

because while I can be pretty sure you know what (

2

and

8

are, I have know way of knowing that

you

know what

10

2

is. You

must

write the 45 (or else get the 0

281568 correct).

(c) The probability that two or more marbles are defective is the sum

of the probabilities that:

exactly

two are defective, plus:

exactly

three are defective, plus:

exactly

four are defective, plus: etc. etc.

It’s easier to compute the answer as

P

(exactly 0 are defective)

P

(exactly 1 is defective)

especially since we’ve already computed one of these quantities initem (a). So we need the probability that exactly one is defective:(

10

1

1

9

  1. Thus the answer to part (c) is

Problem 6.

(15%) Two cards are dealt from a deck of cards.

(a)

What is the probability that

both

cards are aces?

(b)

Find the probability that

neither

card is an ace.

(c)

Find the probability that

at least

one of the cards is an ace.

Solution.

(a) This is

4 52

×

3 51

1 221

, about 0

(b) This is

4852

×

4751

188221

(c)

At least one

means that either

exactly

one, or

exactly

two, are

aces. We have to compute the probabilities separately (but for-tunately, one of them is already done in part (a)).

How can we draw exactly one ace, and one non-ace? Drawing

them

in that order

has probability

×

but they can also be drawn in the order: non-ace, then ace, whichhas probability

×

Thus the probability of drawing exactly one ace is

32 221

, which

when added to

1 221

, the probability of drawing two aces, yields

33 221

149321 as the answer to this part.