DOC PREVIEW
MIT 6 042J - Notes for Recitation 17

This preview shows page 1-2 out of 5 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 5 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Problem 1(a)(b)(c)Problem 2(a)(b)Problem 36.042/18.062J Mathematics for Computer Science April 15, 2005 Srini Devadas and Eric Lehman Notes for Recitation 17 The Four-Step Method This is a good approach to questions of the form, “What is the probability that ——-?” Intuition will mislead you, but this formal approach gives the right answer every time. 1. Find the sample space. (Use a tree diagram.) 2. Define events of interest. (Mark leaves corresponding to these events.) 3. Determine outcome probabilities: (a) Assign edge probabilities. (b) Compute outcome probabilities. (Multiply along root-to-leaf paths.) 4. Compute event probabilities. (Sum the probabilities of all outcomes in the event.)2 Recitation 17 A Baseball Series Problem 1. The New York Yankees and the Boston Red Sox are playing a two-out-of-three series. (In other words, they play until one team has won two games. Then that team is declared the overall winner and the series ends.) Assume that the Red Sox win each game with probability 3/5, regardless of the outcomes of previous games. Answer the questions below using the four-step method. You can use the same tree diagram for all three problems. (a) What is the probability that a total of 3 games are played? (b) What is the probability that the winner of the series loses the first game? (c) What is the probability that the correct team wins the series? Solution. A tree diagram is worked out below. 1st gamewinner2nd gamewinner3rd gamewinner3 gamesplayed?winner lostfirst game?correctteamwins?YR3/52/52/53/5R3/5Y2/5B3/5Y2/5YR3/5RY2/5outcomeYYYRYYRRRYYRYRRRProbabilityXXXXXX12/12518/125X 9/25X X12/1254/2518/125From the tree diagram, we get: 12 18 12 18 12 Pr (3 games played) = + + + = 125 125 125 125 25 18 12 6 Pr (winner lost first game) = + = 125 125 25 18 18 9 81 Pr (correct team wins) = + + = 125 125 25 1253 Recitation 17 The Four-Door Deal Problem 2. Suppose that Let’s Make a Deal is played according to different rules. Now there are four doors, with a prize hidden behind one of them. The contestant is allowed to pick a door. The host must then reveal a different door that has no prize behind it. The contestant is allowed to stay with his or her original door or to pick one of the other two that are still closed. If the contestant chooses the door concealing the prize in this second stage, then he or she wins. (a) Contestant Stu, a sanitation engineer from Trenton, New Jersey, stays with his original door. What is the probability that he wins the prize? The tree diagram is awkwardly large. This often happens; in fact, sometimes you’ll encounter infinite tree diagrams! Try to draw enough of the diagram so that you understand the structure of the remainder. Solution. Let’s make the same assumptions as in the original problem: 1. The prize is equally likely to be behind each door. 2. The contestant is equally likely to pick each door initially, regardless of the prize’s location. 3. The host is equally likely to reveal each door that does not conceal the prize and was not selected by the player. A partial tree diagram is shown below. The remaining subtrees are symmetric to the full-expanded subtree. locationof prizeplayer’sinitialguessBCDAABCDBCDCDBDCB1/41/41/41/41/41/41/41/41/31/31/31/21/21/21/21/21/2door revealedoutcomeAABAACAADABCABDACBACDADBADCStu wins?XXXprobability1/481/481/481/321/321/321/321/321/32� � Recitation 17 4 The probability that Stu wins the prize is: � � Pr (Stu wins) = 4 · 1 48 + 1 48 + 1 48 = 1 4 We multiply by 4 to account for the four subtrees of which we’ve only drawn one. (b) Contestant Zelda, an alien abduction researcher from Helena, Montana, switches to one of the remaining two doors with equal probability. What is the probability that she wins the prize? Solution. A partial tree diagram is worked out below. locationof prizeplayer’sinitialguessplayer’sfinal guessBCDAABCDBCDCDBDCB1/41/41/41/41/41/41/41/41/31/31/31/21/21/21/21/21/2door revealed1/21/21/21/21/21/21/21/21/21/21/21/21/21/21/21/21/21/2ABACABDACADACBDBDCZelda wins?XXXXprobability1/641/961/961/961/961/961/641/64XX1/961/641/641/641/641/641/641/641/641/64The probability that Zelda wins the prize is: 1 1 1 1 1 1 3 Pr (Zelda wins) = 4 + + + + + = · 64 64 64 64 64 64 85 Recitation 17 Mergatroid the Engineering student Problem 3. Let’s consider another variation of the four-doors problem. Suppose that Carol always opens the lowest-numbered door possible with the restriction that she can neither reveal the prize nor open the door that the player picked. This gives contestant Mergatroid— an engineering student from Cambridge, MA— just a little more information about the location of the prize. Suppose that Mergatroid always switches to the lowest-numbered door, excluding his initial pick and the one Carol opened. What is the probability that he wins the prize? (Interestingly, in the three-door problem, the contestant gains no advantage if Carol always opens the lowest-numbered door available.) Solution. A tree diagram is worked out below. prizelocationplayer'sinitial guessdooropenedMergatroidwins?ABCDAAAABBBBCCCDDDCD1/41/41/41/41/41/41/41/4probabilityBCCBBAAABBAAAAAA1/161/161/161/161/161/161/161/161/161/161/161/161/161/161/161/16XXXXXXXXThe probability that Mergatroid wins is: 1 1 Pr (win) = 8 = · 16


View Full Document

MIT 6 042J - Notes for Recitation 17

Documents in this Course
Counting

Counting

55 pages

Graphs

Graphs

19 pages

Proofs

Proofs

14 pages

Proofs

Proofs

18 pages

Proofs

Proofs

18 pages

Quiz 1

Quiz 1

9 pages

Quiz 2

Quiz 2

11 pages

Load more
Download Notes for Recitation 17
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Notes for Recitation 17 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Notes for Recitation 17 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?