Quant Interview Guide

Similar documents
Ex 1: A coin is flipped. Heads, you win $1. Tails, you lose $1. What is the expected value of this game?

Due Friday February 17th before noon in the TA drop box, basement, AP&M. HOMEWORK 3 : HAND IN ONLY QUESTIONS: 2, 4, 8, 11, 13, 15, 21, 24, 27

Probability (Devore Chapter Two)

18.S34 (FALL, 2007) PROBLEMS ON PROBABILITY

CSC/MTH 231 Discrete Structures II Spring, Homework 5

Probability of Independent and Dependent Events

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

Here are two situations involving chance:

Diamond ( ) (Black coloured) (Black coloured) (Red coloured) ILLUSTRATIVE EXAMPLES

EECS 203 Spring 2016 Lecture 15 Page 1 of 6

Page 1 of 22. Website: Mobile:

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

4 One ticket costs What will four tickets cost? 17.50

4.1 Sample Spaces and Events

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Unit 9: Probability Assignments

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

Intermediate Math Circles November 1, 2017 Probability I

CHAPTER 7 Probability

Week 1: Probability models and counting

RANDOM EXPERIMENTS AND EVENTS

Class XII Chapter 13 Probability Maths. Exercise 13.1

CIS 2033 Lecture 6, Spring 2017

6. a) Determine the probability distribution. b) Determine the expected sum of two dice. c) Repeat parts a) and b) for the sum of

Raise your hand if you rode a bus within the past month. Record the number of raised hands.

7.1 Chance Surprises, 7.2 Predicting the Future in an Uncertain World, 7.4 Down for the Count

PROBABILITY. 1. Introduction. Candidates should able to:

Compound Probability. Set Theory. Basic Definitions

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

1. A factory makes calculators. Over a long period, 2 % of them are found to be faulty. A random sample of 100 calculators is tested.

The point value of each problem is in the left-hand margin. You must show your work to receive any credit, except on problems 1 & 2. Work neatly.

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

3 The multiplication rule/miscellaneous counting problems

Discrete Random Variables Day 1

Theory of Probability - Brett Bernstein

= = 0.1%. On the other hand, if there are three winning tickets, then the probability of winning one of these winning tickets must be 3 (1)

Part 1: I can express probability as a fraction, decimal, and percent

CS 361: Probability & Statistics

Use a tree diagram to find the number of possible outcomes. 2. How many outcomes are there altogether? 2.

Chapter 8: Probability: The Mathematics of Chance

If a regular six-sided die is rolled, the possible outcomes can be listed as {1, 2, 3, 4, 5, 6} there are 6 outcomes.

A. 15 B. 24 C. 45 D. 54

Probability Exercise 2

Section The Multiplication Principle and Permutations

Introduction to Counting and Probability

PROBABILITY TOPIC TEST MU ALPHA THETA 2007

EE 126 Fall 2006 Midterm #1 Thursday October 6, 7 8:30pm DO NOT TURN THIS PAGE OVER UNTIL YOU ARE TOLD TO DO SO

Probability and Counting Techniques

1. Eighty percent of eighty percent of a number is 144. What is the 1. number? 2. How many diagonals does a regular pentagon have? 2.

Statistics 1040 Summer 2009 Exam III

Grade 6 Math Circles Fall Oct 14/15 Probability

Fdaytalk.com. Outcomes is probable results related to an experiment

Find the probability of an event by using the definition of probability

Lesson 10: Using Simulation to Estimate a Probability

4.3 Rules of Probability

Name Date. Sample Spaces and Probability For use with Exploration 12.1

Math Steven Noble. November 24th. Steven Noble Math 3790

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building?

Math 4610, Problems to be Worked in Class

Probability. Dr. Zhang Fordham Univ.

LAMC Junior Circle February 3, Oleg Gleizer. Warm-up

Probability Rules. 2) The probability, P, of any event ranges from which of the following?

Probability is often written as a simplified fraction, but it can also be written as a decimal or percent.

1 2-step and other basic conditional probability problems

Combinatorics: The Fine Art of Counting

Math 106 Lecture 3 Probability - Basic Terms Combinatorics and Probability - 1 Odds, Payoffs Rolling a die (virtually)

LC OL Probability. ARNMaths.weebly.com. As part of Leaving Certificate Ordinary Level Math you should be able to complete the following.

Foundations of Computing Discrete Mathematics Solutions to exercises for week 12

Before giving a formal definition of probability, we explain some terms related to probability.

Dependence. Math Circle. October 15, 2016

Probability Warm-Up 2

1. The chance of getting a flush in a 5-card poker hand is about 2 in 1000.

MTH 103 H Final Exam. 1. I study and I pass the course is an example of a. (a) conjunction (b) disjunction. (c) conditional (d) connective

Year 9 mathematics: holiday revision. 2 How many nines are there in fifty-four?

Date. Probability. Chapter

Random Variables. A Random Variable is a rule that assigns a number to each outcome of an experiment.

Games for Drill and Practice

Section : Combinations and Permutations

Targets - Year 3. By the end of this year most children should be able to

Week in Review #5 ( , 3.1)

Name Class Date. Introducing Probability Distributions

Combinatorics: The Fine Art of Counting

Ask a Scientist Pi Day Puzzle Party askascientistsf.com. Ask a Scientist Pi Day Puzzle Party askascientistsf.com

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Math is Cool Masters

Review. Natural Numbers: Whole Numbers: Integers: Rational Numbers: Outline Sec Comparing Rational Numbers

November 11, Chapter 8: Probability: The Mathematics of Chance

Probability Essential Math 12 Mr. Morin

Name: Class: Date: 6. An event occurs, on average, every 6 out of 17 times during a simulation. The experimental probability of this event is 11

Random Variables. Outcome X (1, 1) 2 (2, 1) 3 (3, 1) 4 (4, 1) 5. (6, 1) (6, 2) (6, 3) (6, 4) (6, 5) (6, 6) }

LISTING THE WAYS. getting a total of 7 spots? possible ways for 2 dice to fall: then you win. But if you roll. 1 q 1 w 1 e 1 r 1 t 1 y

Combinatorics and Intuitive Probability

MAT 17: Introduction to Mathematics Final Exam Review Packet. B. Use the following definitions to write the indicated set for each exercise below:

Independent Events B R Y

Exercise Class XI Chapter 16 Probability Maths

I. WHAT IS PROBABILITY?

CSE 312 Midterm Exam May 7, 2014

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 13

1. For which of the following sets does the mean equal the median?

Probability --QUESTIONS-- Principles of Math 12 - Probability Practice Exam 1

Transcription:

Quant Interview Guide

This guide is the property of CanaryWharfian.co.uk, and any replication or reselling of this guide without the consent of the owners of the aforementioned site is strictly prohibited.

Question 4. You are given a six sided die. What is the expected value of the difference between the two dice rolls? Denote by X 1 the first throw and by X 2 the second one. Denote D = X 1 X 2. Then E(D) = E(X 1 X 2 ) = E(X 1 ) E(X 2 ) = 0. Question 5. You roll two dice and then multiply the outcome. What is the probability of getting a product which is a perfect square? We only need to find the probability that the second throw is equal to the first one. No matter what the first throw gives, this is always 1/6. Question 6. You roll three dice. What is the probability of getting a sum of ten? We could solve this as a cobinatorics problem (see e.g. prob. 7 below), but here s another way: denote the three throws as X 1, X 2 and X 3 and the sum of n throws as S n. Then P (S 3 = 10) = 1 6 {P (S 2 = 9) + P (S 2 = 8) +... + P (S 2 = 4)}. This means that to reach 10 at the third throw means that we have either gotten 9 at the second throw and then have probability 1/6 to throw 1 or that we got an eight at second throw and have probability 1/6 to get two etc. Then we have P (S 2 = 9) = 1 6 {P (S 1 = 6) +... + P (S 1 = 3)} = 4 6 2 and similarly P (S 2 = 8) = 5/6 2, P (S 2 = 7) = 1/6, P (S 2 = 6) = 5/6 2, P (S 2 = 5) = 4/6 2, P (S 2 = 4) = 3/6 2 and we get P (S 3 = 10) = 1 6 3 (4 + 5 + 6 + 5 + 4 + 3) = 1 8. Question 7. Given a twelve sided die, you roll the die repeatedly until the cumulative sum is odd. What is the number of the cumulative sum you can have with the highest probability? Suppose we throw N times. We must find the probability that the N 1 throws are even and the last one is odd. Denote the cumulative sum by S N N 1. = 2 X n + 2X N 1 = 2 N X n 1, 2

where the X n corresponds to the n:th throw but with X n [1,..., 6] (since 2X n is even). Then { } { N N } P (S N = q) = 12 N # 2 X n 1 = q = 12 N # X n = z, where #{} denotes the number of cases inside the brackets and z = q+1 Z 2 +. Then the probability that we get the odd number q is { p(q) =. N } P (S N = q) = 12 N # X n = z. N=1 N=1 Now we need to count the number of ways to get N X n = z for X n [1,..., 6] and ( z Z +. For X n 1 this would be a fairly simple combinatorics problem with the solution z 1 N 1). For Xn 7 we can just map to the previous problem by X n X n + 6, which corresponds to z z 6N, which results in ( ) z 6N 1 N 1. To get the solution for 1 Xn 6, we just subtract the latter from the first, which results in ( ) z 1 ( ) z 6N 1 p(q) = 12 N 12 N (1) N 1 N 1 N=1 N=1 = 1 ( ) z 13 ( ) z 6N 1 (z 1)! 12 N. (2) 13 12 N 1 Note that the first term grows fast and the second term only kicks in at z > 6 (although the binomial coefficient is formally defined for negative values, here we assume it to be zero for negatives). We can already guess here that the maximum probably occurs at z = 6, i.e. q = 11, since at z = 7 the second term is 1/12. Indeed, p(11) 0.124 and p(13) 0.135 0.083 0.052 and the probability decays rapidly for larger values. Therefore 11 is the most likely outcome. Question 8. Given a thirty-sided die, you roll the die repeatedly until the cumulative sum is greater than or equal to 300. What is the most likely result of the sum? Suppose that at the last throw I got 300. Then the previous throw could have been 270, 271,..., 299, which is total 30 possibilities. Suppose I got 301. Then the previous throw could have been 271,..., 299, a total of 29 possibilities and so on. So 300 is the most likely outcome. Question 9. You have a thirty-sided and I have a twenty-sided die. We roll both of them and whoever gets the higher roll wins. If we roll the same amount I win. The loser pays the dollar amount of the winning roll. 3 N=1

A) What is the probability that I win? B) What is the expected value of this game for you? C) How does this value change if I have the option to re-roll once? D) What is a fair price for me to get such an option? E) If such an option would cost zero dollars, how many of them would I need to in order to be in favor of the game? A) Denote by X a roll of the thirty-sided die and by Y the twenty-sided die. Then P (Y X) = 1 20 30 where 1 is the indicator function. 30 20 m=1 B) We can define the payout function for us as and just take the expectation: 1{m n} = 1 20 30 30 F (X, Y ). = X 1{X > Y } Y 1{X Y } m = 7 20 0.35, E (F (X, Y )) = 1 20 30 = 1 20 30 = 51 5 30 20 m=1 20 30 m=1 n=m+1 [n 1{n > m} m 1{n m}] (3) n 1 20 30 20 m=1 m m (4) 10.2 (5) C) Now we can roll up to two times, so define the Z = max{y 1, Y 2 } as the opponent s result, where the Y i are the throws of the 20 sided die. The probability distribution for Z can be defined as 4

Then the payoff function is P (Z = z). = E (1{max(Y 1, Y 2 ) = z}) (6) = 1 20 2 = 1 400 20 n,m=1 20 m=1 1{max(n, m) = z} (7) n δ n,z + 1 400 20 20 m=n+1 δ m,z (8) = 2z 1 400. (9) F (X, Z). = X 1{X > Z} Z 1{X Z} and the expectation is computed similarly as in B: E (F (X, Z)) = 1 30 = 1381 300 30 20 m=1 2m 1 400 [n 1{n > m} m 1{n m}] (10) 4.6 (11) D) The fair price is now just the difference with the expected result without a re-roll and with re-roll, i.e. 10.2 4.6 = 5.6. E) For N rerolls, my expected winnings are 10.2 4.6N. The smallest integer for which this is negative is N = 3, so three such options would be needed for the opponent to be in favor of the game. Question 10. I give you a twelve-sided die and will pay you whatever the die lands on. If you are unhappy with the roll, you can choose to roll another two six-sided dice and I will pay you the sum of the two dice. How much are you willing to pay to play this game? Denote A as the single throw of the twelve-sided die and by B the throw of the two six side dice. The expectations of the two types of throws are and E (A) = 1 12 12 n = 6.5 E (B) = 2 3.5 = 7. 5

Since the latter expectation is 7, my strategy is such that every time I roll a six or less with the twelve-sided die, I choose to roll the two dice. Otherwise I will stick with what I ve got. Then the expected result of the game is E(Game) = P (A 6) E (B) + P (A > 6) E (A A > 6) = 1 2 7 + 1 7 + 8 + 9 + 10 + 11 + 12 = 8.25, 2 6 which is the fair price of the game. Question 11. You are given a hundred-sided die. Every time you roll you can choose to either get paid the dollar amount of that roll or pay one dollar for one more roll. What is the expected value of the game? Denote the roll of the die as X. The expected value of a single throw of the die is E(X) = 1 100 100 n = 101 2 = 50.5 so the expected value of a throw with a reroll is 49.5. The strategy is therefore such that if I get 49 or lower, I will choose to pay the dollar and roll again. Otherwise I will stick to what I ve got. Then the expected value of the game is E(game) = P (X 49) (E(X) 1) + P (X 50) E (X X 50) = 49 49.5 100 + 51 1 100 100 100 n=50 n = 62.5. Question 12. You and I play a game with two dice, one ten-sided and one six-sided. You guess the sum of the numbers after we roll them. If your guess is correct, you get the sum of the numbers in dollars, else you get nothing. How would you make the best guess? Denote a roll of the ten sided and six sided dice respectively as X and Y. The probability P (X +Y = n) is just the number of possible combinations of X +Y = n divided by the total number of combinations, which is 60. From 1 to 7 the number of combinations is the same as with two six-sided dice, but to get 8, the possible pairs are (X, Y ) = (7, 1), (6, 2),..., (2, 6), i.e. total 6 combinations. Similarly, to get 9 we have pairs (8, 1), (7, 2),..., (3, 6), which gives 6 combinations etc. up to total sum of 11. To get 12, we have pairs (10, 2), (9, 3),..., (6, 6), which is total 5 pairings, and the number just decreases for totals higher than this. So the total number of combinations is (0, 1, 2, 3, 4, 5, 6, 6, 6, 6, 6, 5, 4, 3, 2, 1) for a total sum of (1, 2,...). The highest probabilities occur for 7,8,9,10 and 11, so we should choose 11 to maximize our winnings. 6

Question 13. Is it possible to change the numbers on two six-sided dice to other positive numbers so that the probability distribution of their sum remains unchanged? Question 14. If you toss three coins, what is the probability of getting at least two heads? Number of all possible head, tail combinations is 2 3 = 8. The number of ways of choosing two heads and one tail is ( 3 2) = 3 and then we have the case of three heads, which gives the final probability P = 3 + 1 8 = 1 2. Question 15. If you toss a coin six times, what is the expected number of heads? 1 (brute force) This is a nice exercise in combinatorics, although not as clever as the second method below... The total number of possibilities is 2 6. The number of ways of choosing n heads is ( 6 n), which gives the probability distribution for the number of heads, ( ). 6 p n = 2 6 n and the expected number of heads can be computed by reorganizing the sum over the binomial coefficients as follows: E = 6 np n = 6 ( ) 6 n 2 6 = 2 6 6! n 6 = 2 6 1 6! (6 n)!(n 1)! = 2 6 6! 5 ( ) 5 = 3 n 2 5 = 3 n 2 (symmetry) 6 n (6 n)!n! 5 k=0 1 (5 k)!k! = 6 2 5 k=0 5! (5 k)!k! 2 5 Suppose the expected number of heads is E H = X. Because it s equally likely to get a tail than a head, we have E T = E H. On the other hand, the expected number of heads plus tails must be six, i.e. E H + E T = 2E H = 6, so E H = 3. 7

Question 16. If you drop four coins on the table, given that one is heads, what is the probability that the rest are tails? Question 17. You flip four coins and I give you a dollar for each heads. How much would you pay to play this game? B) What if I give you the option to re-flip one of the coins? C) What if I have the option to re-flip one of the coins? Denote by X the number of heads. Denote p n = P (X = n) = ( 4 n) 2 4. Expected payoff for this game is then B) E(game) = 4 ( ) 4 2 4 = 2 n Now my strategy is such that if there s at least one tails, toss that again and if I have all heads, do nothing. The expected payoff of this strategy is then E. = P (X = 4) 4 + P (X = 3)E(X X 3)+... + P (X = 2)E(X X 2) + P (X = 1)E(X X 1) + P (X = 0)E(X X 0). Now E(X X n) = n + 1/2, and the expression is just C) E = 4 16 + 1 1 16 2 + 4 16 3 2 + 6 5 16 2 + 4 7 16 2 2.47. By symmetry, my expected payoff is now instead reduced by the amount it increased in part B), i.e. E 2 0.47 = 1.53. Question 18. You flip a coin as many times as needed until either a pattern of HHT or HTT occurs. What is the probability that HHT occurs before HTT? Suppose we first get H. If on the second flip we get a T, then on a third flip the game ends with another T or is essentially reset with another H, i.e. a sequence HTH, since TH is 8

not the start of an either one of the sequences. Suppose now that the second flip is H, then on a third flip the game ends with a T, but does not reset if we get a H, i.e. HHH, since there s no way to get to HTH from this sequence before a HHT occurs! So we can conlude that HHT is more likely to occur first. To find the probability, denote by A the event that HHT occurs before HTT. Then by the total probability formula, we can decompose P (A) = P (A H)P (H) + P (A T )P (T ) = 1 2 P (A H) + 1 P (A T ), 2 where P (A H) denotes the sequence HHT given that the first flip was H. Now starting with a T is same as starting all over, so P (A T ) = P (A) and therefore P (A) = P (A H). We can again decompose P (A H) = 1 2 P (A HT ) + 1 2 P (A HH). Note that P (A HH) = 1, because there s no way to get to HTT first starting with a HH. Then Again decompose: 1 2 + 1 P (A HT ) = P (A H) = P (A). 2 P (A HT ) = 1 2 P (A HT H) + 1 2 P (A HT T ) = 1 2 P (A H) = 1 2 P (A), since HTT is obviously already the other sequence and HTH is equivalent to starting with a H. Then we have 1 2 + 1 2 P (A HT ) = 1 2 + 1 P (A) P (A), 4 which has a solution P (A) = 2/3. Question 19. How many ways can you get three heads on five coins? B) Two heads in a row? Question 20. You flip a coin. You stop flipping after three heads in a row occur. What is the expected number of flips? Denote the single flip by X and by E n the expected number of flips until we get n heads in a row. We can calculate E 1 as follows: we have a probability 1/2 that we get a head and 1/2 that we don t. If we don t get a head, we need to flip again, which adds 1 to the expectation. Formally, 9

E 1 = P (X = H) + P (X = T )(E 1 + 1) = 1 2 + 1 2 (E 1 + 1), which gives E 1 = 2. To get E 2, we have first flipped on average E 1 times, so E 2 = E 1 + 1 2 + 1 2 (E 2 + 1), which gives E 2 = 6 and finally, to get E 3 we have which gives E 3 = 14. E 3 = E 2 + 1 2 + 1 2 (E 3 + 1), Question 21. You flip a coin thirteen times. What is the expected product of number of heads and number of tails? Denote the number of heads and tails respectively by N h and N t. Flipping 13 times, we have N t = 13 N h. The probability that we get n heads is P (N h = n) = ( ) 13 n 2 13. Then by a direct computation, 13 ( ) 13 E(N h N t ) = 2 13 (13n n 2 ). n Here is a general formula for calculating moments of the binomial distribution, which will come handy in later problems: N ( ) 2 N n! N = 2 N N! (n K)! n because 2 N N ( N n N n=k 1 (N n)!(n K)! N K = 2 N 1 N! (N K n)!n! N K = 2 K N! ( ) N K (N K)! 2 (N K) n = 2 K N! (N K)!, ) = 1 for all N. We can now write 13n n 2 = 12n n(n 1) = 12n n! and use the above formula to get (n 2)! E(N h N t ) = 12 13 2 12 13 4 = 39. Question 22. I toss N+1 coins. You toss N coins. You win if you have at least as many heads as I do. What is the probability that you win? 10

Consider one of the other guy s coin. If it is a head, then he wins if he gets at least as many heads in the remaining coins as you do. If it is a tail, then you win if you have at least as many heads as he does. This is a symmetrical situation, so the probability that you win is 1/2 Question 23. You start out with X amount of money and we play a game. We toss a coin and you lose twenty percent of your money if a head appears, and gain the same amount if a tail appears. Why do you never get exactly X amount of money in your pocket after playing this game repeatedly? To get back to X after losing 20% n times and winning 20% m times, we need to solve the equation ( ) n ( ) m 4 6 = 1 5 5 for positive integers n, m. Take the natural logarithm on each side, and the equation becomes which simplifies to n log(4/5) + m log(6/5) = 0, n m = log(6/5) log(5/4) =: q. What this says is that there is a solution if q is a rational number, which it is not (q = 0.817059...), so there is no solution. Question 24. You flip a coin four times. If you at first flip a head, you win one dollar. If you flip a consecutive head, you win double your previous winnings. What is the expected value of your winnings? The probability that I will get n consecutive heads is just p n := 2 n. The payoff after n succesfull flips of consecutive heads is f n := 2 n 1. Then the expected winnings are E := 4 f n p n = 4 2 n 1 2 n = 2. Question 25. You throw ninety-nine coins and I throw a hundred. What is the probability that you will have more heads than I do? 11

Denote by A the r.v. of the number of heads for the 99 throws and by B the 100 throws. Then P (A > B) = P (A B) P (A = B). We know from problem 22 that P (A B) = 1/2. On the other hand the probability that you get n heads with 99 throws is the same as the probability that you get 99 n heads because the coin is fair. Then 99 99 P (A = B) = P (A = n B = n) = P (A = 99 n B = n) Therefore P (A > B) 0.444. = P (A + B = 99) = ( ) 199 2 199 0.056. 99 Question 26. You flip four coins. You get one dollar each time a head appears, what is the expected payoff? B) What if you know for sure that at least two heads will appear? C) What if you can choose to either keep all of the flips or re-flip all four coins? Denote by X the number of heads, so that p n = P (X = n) = ( 4 n) 2 4, which is just the number of ways of getting n heads and 4 n tails divided by the total number of possibilities, 2 4. Then the expected payoff is E 1 := E(Payoff) = 4 ( ) 4 n 2 4 = 2 n B) We know there will always be two heads, and the expected winnings for a remaining two-dice game is 1, so E 2 := E(Payoff) = 3. C) Because the regular game s payoff is 2, Our strategy here is such that if we get total 1 head or less, we re-flip all the coins and the re-flip has a payoff equal to E 1. Then the payoff is E 3 := P (X 1)E 1 + P (X 2)E(Payoff X 2). As it happens, E(Payoff X 2) = E 2, so we have E 3 = 1 + 4 16 2 + +6 + 4 + 1 30 16 11 = 5 2 = 2.5. 12

Question 27. You have five coins, and one of them is double-headed. You pick one coin at random without looking and flip it five times. Suppose that the outcome is five heads. What is the probability that the coin picked is the double-headed one? Denote by D the event of picking the double headed coin and by 5H the event of getting 5 heads with 5 flips. Then by the Bayes theorem, P (D 5H) = P (5H D) P (D) P (5H) = P (5H D)P (D) P (5H D)P (D) + P (5H D)P (D), where D is the complement of D, i.e. the probability of not picking D. We have P (5H D) = 1, P (D) = 1/5, P (D) = 4/5 and P (5H D) = 2 5. Therefore P (D 5H) = 1/5 1/5 + 2 5 4/5 = 8 9 0.89. Question 28. You and I play a game where we start at zero and flip a coin until someone wins. Every heads that are flipped add plus one to the number and every tails add minus one. If the number reaches minus ten I win, although if it reaches twenty then you win. What is the probability I will win? Suppose we are at position x. Denote the probability that the game will end up at 10 before 20 when starting at x by p x. We know that one flip before being at x, we must have been at either x 1 or at x + 1 with equal probability, so p x = 1 2 p x 1 + 1 2 p x+1. We also know that p 10 = 1 and p 20 = 0. The problem is therefore to solve the above linear difference equation with the aforementioned boundary conditions (you can compare this to solving a linear differential equation). It s easy to check that there is a linear solution of the form p x = a + bx. Solving for the boundary conditions gives the equations a 10b = 1 and a + 20b = 0 which give the solutions a = 2/3 and b = 1/30 and therefore so p 0 = 2/3, which is the desired answer. p x = 2 3 x 30, Question 29. You and I play with two decks of cards: one has thirteen reds and thirteen blacks in it, the other has twenty-six reds and twenty-six blacks. You select one of the two decks, and then draw two cards from it. If both cards are black, you win. Which pack will you choose? 13

Suppose I draw from the 26 card pack. The probability of getting two blacks with two draws is 13 12 = 1 12 26 25. Drawing from the 52 card pack gives the probability = 1 25. Since 26 25 2 25 52 51 2 51 25/51 > 12/25, we conclude that it s best to choose the 52 card pack. Question 30. You are sitting in front of a roulette table with a six-sided die and a standard deck of playing cards. What is the probability that you play all three games and receive the same number in all three? We can get numbers 0... 36 in the roulette, numbers 1... 6 in the die game and numbers 1... 13 when drawing the cards, all with uniform distributions. The order in which this game is played, so we can assume we start withe die. Suppose then we get any number between 1... 6. The probability that all the numbers are same is then just the probability that both the roulette and cards give the number obtained from the die game, i.e. p = 1 1 0.002. 13 37 Question 31. You have a deck of cards in which aces are excluded. What is the probability of taking the first two cards and both of them being six? In the first draw I can draw any of the four sixes out of total 48 cards, and on the second draw there are only three sixes out of the remaining 47 cards, so the probability is 4 3 0.005. 48 47 Question 32. You have a deck of cards. What is the expected number of cards you have to draw to get cards of all four suites? Question 33. If you have a deck of cards and start putting them in another stack, how many cards do you have to put down to guarantee a Three of a Kind? Before drawing the card that will guarantee a Three of a Kind, the deck must include all the numbers from 1 to 13 exactly twice, which is total 26 cards. Therefore we will necessarily have a Three of a Kind in a deck of 27 cards. Question 34. You are playing Russian Roulette. In the chamber there are four blanks and two bullets. If someone shoots a blank next to you, would you spin or take another shot? 14

After one blank shot, there are two bullets left and three blank positions, if the revolver is not spun again. Therefore the probability that the next shot results in a brainstorm is 2/5. Spinning again, the probability is just 1/3, so it s definitely a good idea to spin again. Question 35. You have a square, and place three dots along the four edges at random. What is the probability that the dots, when connected, do not form a triangle? B) What is the probability that the dots lie on distinct edges? The only way a triange cannot be formed is if all the dots lie on the same edge. The probability of this occurring is P (all 3 on the same edge) = 1 1 1 4 4 = 1 16, since the first dot can be on any edge. B) The first dot can be on any edge, so the second one can be only on the remaining three edges and the last one at the remaining two edges. The probability is thus 1 4 2 = 3/8. 4 4 Question 36. You have three pancakes. One is with both sides burned, one is with one side burned, the last one with no sides burned. You combined them in a plate, and the top side is burned. What is the probability of the other side is burned? We can denote the pancakes as A = (1, 1), B = (1, 0) and C = (0, 0) where 1 denotes a burned side and 0 a non-burned side. Also denote by tsb that the top side is burned. We are asking for the probability of choosing A given that the other side is observed to be burned. By the Bayes theorem, P (A tsb) = P (tsb A) P (A) P (tsb) = P (tsb A)P (A) P (tsb A)P (A) + P (tsb A)P (A). We have P (tsb A) = 1, since both sides of A are burned, P (A) = 1/3 = 1 P (A), since there are three pancakes to choose from, and P (tsb A) = 1/4, since that is the probability we pick B and that it is placed burned side up. Therefore, P (A tsb) = 1/3 1 + 1 2 3 4 3 = 2 3. Question 37. If there is a thirty percent chance of rain on Monday and a thirty percent chance of rain on Tuesday, what is the probability that it rains at least once during the first two days of the week? 15

The probability that it will rain at least once is equal to one minus the probability that it will not rain on either day, so the total probability is 1 ( 7 10 )2 = 51 100. Question 38. A survey is given to all passengers on a number of different planes. The survey asks each person how full their plane was. If fifty percent of people claim that their plane was eighty percent full, while the other fifty percent claim that their plane was twenty percent full, how full was the average plane? Note that the solution is not (80% + 20%)2 = 50%, since the planes that are 80% and 20% full have different numbers of passengers in them. Suppose then that there are two kinds of planes with 100 seats. If a person says that his plane was 80% full, then that plane had 80 passengers in it. If a person says that her plane was 20% full, then that plane had 20 passengers in it. To get a 50/50 response rate of 80% and 20%, we need to compare an equal number of people, i.e. one plane of 80 passengers and four planes of 20 passengers and compute the average out of the five planes, which is so the average plane was 32% full. (80 + 4 20)/5 = 32, Question 39. You know you have an eighty percent chance of seeing at least one shooting star over the next hour. What is your chance of seeing a shooting star over the next half hour? Denote by p the probability of observing a shooting star over a half an hour period. The probability of not observing a shooting star over the one hour period is then (1 p) 2, which must be equal to 0.2, so we must solve the equation (1 p) 2 = 1/5, which gives p = 1 1/ 5 0.55. Question 40. If the probability of seeing at least one car in an hour is 544/625, what s the probability of seeing no cars in a fifteen minute interval? Denote by p the probability of observing a car over a fifteen minute interval. The probability of not observing a car over a fifteen minute interval is then (1 p) 4, which must be equal to 1 544/652 = 81/652, so we must solve the equation (1 p) 4 = 81/652 = (3/5) 4, which gives p = 1 3/5 = 2/5. 16

Question 41. There are fifty noodles in a bowl. You can tie two ends of either one noodle or two different noodles, forming a nod. After fifty nods are tied, what is the expected value of number of circles in the bowl? Question 42. You dip a cube into paint and pull it out. Then you cut it into twenty-seven sub-cubes and put them in a bag. If you randomly pick a sub-cube out the bag and roll it on the table, what is the probability that no paint is visible? Question 43. I have one red and ten white balls. I have to put all the balls into two jars. Then I pick one jar in random and pick a ball random. How should I put the balls into two jars so that I have the highest chance of picking the red ball? Question 44. How much would you pay for a one in a thousand chance to win one million dollars? Question 45. A dealer is selling you a car whose value is uniformly distributed between zero and a thousand, but you do not know the real value and you need to bid for the car. If your bid price is higher than the value of the car, the deal will be done at your bid price and you can afterwards resell the car elsewhere for 1.5 times its real value. Otherwise, the deal will not be done. You can only bid once. What will be your optimal bid price? Question 46. There is a box that contains two hundred coins and X of them are heads. You get paid X if you own the box. The only other person in the market has the advantage of getting to see the first 20 coins before you both end up bidding on the box. How much do you bid? Question 47. You have a lottery ticket with ten slots. Behind each slot there is an equally distributed number between zero and one and your payout is the maximum number between any of these slots. How much are you prepared to pay for the lottery ticket? Question 48. You play a game where you roll a hundred-sided die. You can either get paid the amount rolled in dollars or pay a dollar to roll again. You can always choose to pay another dollar to roll again, until you are finally satisfied with your current roll and get paid out based on that. What is the optimal strategy for this game and what is your expected winnings given this strategy? Question 49. I give you a hundred blank cards, and you can write a single positive integer on each card. I look at the cards when you are done, then I shuffle the deck. I guess the top card of the deck, and if I am right, I make the dollar which is written on the card. What numbers should you write on the cards to minimize the expected return of mine? Question 50. You have two functions. The first returns an integer between zero and ten, while the second returns any real value between zero and ten. If you get paid based on whatever value is returned, which payoff function would you rather have? 17

Question 51. You and I play a game where a random number between one and twenty is chosen. One of you will pick a number and then the other will pick a different number. The one that guesses the closer number wins X dollars. Should you choose to go first, and what number should you choose? Question 52. I have a hundred slips of paper in a box, with numbers one through a hundred on them. You pay a dollar for the opportunity to pick a slip of paper out of the box. At this point, you can choose to end the game and get paid the amount listed on the slip of paper. If you choose not to end the game, then you put the slip of paper you just drew back into the box, pay another dollar to pick out another slip of paper, and decide once again if you would like to get paid or keep going. Make me a five-point market on the value of this game. Question 53. Suppose you flip a fair coin ten times. Consider the product of the number of heads and the number of tails. Make me as thin of a market as you can on the expected value of this quantity. Question 54. How many ways are there of writing twenty as the sum of odd integers, where the order does not matter? Make a market on the size of the answer. Question 55. Make me a two-point wide market on the chance that a randomly selected number between one and a hundred does not contain a seven. Question 56. What is the expected number of flips of a coin to simulate a six-sided die? Question 57. Simulate a scenario where I can get a fair coin from the unfair ones. Question 58. There are twenty-five horses and each time you can race five horses together. You have to pick the top three horses among them. How many races do you need to conduct in order to do that? Question 59. How many prime numbers are there between one and one hundred one? Question 60. When is the next date that has eight different digits when written in YYYY/MM/DD? Question 61. What is the sum of all of the odd numbers from one to a hundred? Question 62. How many ways are there to partition twenty into prime numbers? Question 63. How many digits are there in seven to the seventh power? B) In two to the sixty-third power? Question 64. If I write down all of the numbers from one to one million on a page, how many times do I write down a two? Question 65. You hold a ball ten meters above the ground. You leave the ball and you are told that each time the ball hits the ground it will bounce up to the half of the height it was left from. So for the first time the ball hits the ground and it would bounce up to five meters, the second time to two and a half meters and so on. What is the total distance the ball will travel? 18

Question 66. You have two identical plates which break when thrown higher than a specific number of stories. You are in a hundred story building. What is the least number of tries you must do to determine the story number after which the plates are broken when thrown off the building? Question 67. You are given ten rocks and you would like to find the heaviest one. With each weighing you randomly select two of the rocks and determine which of the rocks is heavier. What is the expected number of weighing you need in order to tell which rock is the heaviest? Question 68. We have a tricycle and we are going to travel on it for a thousand miles. We also have two spare tires with us. If you want each of them to be worn the same by the end of the journey, how much will each of the tires travel on the ground? B) What is minimum number of stops you have to make in order to achieve this? Question 69. At 12:00 the arms of a clock are completely aligned. Assuming continuous motion, at what point are they aligned again? B) When was the last time the two hands of the clock were aligned? C) What is the angle between the two arms of a clock two and a half hour from now? Question 70. A bus has some number of people initially. At first stop, three quarters of the passenger get off, and seven get on the bus. At the second stop, the same thing happened, three quarters of the passenger get off, and seven get on the bus. At the third stop, exactly the same thing happened as previous two stops. What is the minimum number of passengers to start with? Question 71. What is the minimum amount of people you need to ensure seven of them have the same birthday month? Question 72. On an infinite chessboard, to how many possible positions can a knight move after 10 moves? Make me a ninety percent confidence interval. Question 73. Take a look at this maze I drew. What quantitative characteristics would help you to qualitatively decide on the difficulty of a maze? Question 74. How many gas stations are there in Manhattan? Question 75. How many tons of food does an average person eat during his entire life? Question 76. What is the volume of the Atlantic Ocean? confidence interval. Make me a ninety percent Question 77. How far is the Earth from the Moon? Make me a ninety-five percent confidence interval. 19

Question 78. How many commercial airplanes are sold in the United States each year? Question 79. How heavy is Mt. Everest? Question 80. How many people are born every day? Question 81. How many paintings are there in NYC? Question 82. How long is a pen? Question 83. How many planes are currently flying all around the world? Question 84. Estimate the size of the Sun. Question 85. Tell me the number of cars in Hong Kong. Question 86. How many people have ever lived on Earth? Question 87. How many calories are there in a McDonald s Big Mac? Question 88. How many fish are there in the oceans? Question 89. What is the population of Nigeria? 20