এই বইটি এখনো বাংলা ভাষায় পাওয়া যায় না। সংস্করণ: English, Français।
Interviews I: Maths, Probability and Speed · ক্যারিয়ার
33Timed Test 10
Take it in one sitting, without notes or a calculator.
Section A — 6 questions, 40 minutes
Question 33.1
, and are independent and uniform on . What is the probability that lies between 1 and 2?
Answer
Answer to Question 33.1.
The probability is .
The sum falls below 1 inside the corner simplex of the cube, which has volume . By the symmetry for all three, the sum exceeds 2 with the same chance. So the middle has .
A simulation returns . Here, the mean is and the standard deviation is , so the interval runs one standard deviation either side, and is close to the normal rule of thumb of .
Classic wrong answer. Treating the sum as uniform on , which gives . Sums bunch towards the middle.
Question 33.2
Five different balls are thrown independently and at random into 3 bins. What is the probability that no bin is empty?
Answer
Answer to Question 33.2.
The probability is .
There are outcomes. Use inclusion–exclusion on the empty bins. With a given bin empty, there are outcomes, and with two given bins empty, there is 1. So the outcomes with no empty bin are
That gives .
A second count uses the sizes: has outcomes, and has . The total is 150. An enumeration agrees.
Classic wrong answer. Forgetting the last term and getting . The outcomes with two empty bins are subtracted twice each in the single-bin count, so they must be added back.
Question 33.3
A return has mean 10 and variance 4. Bound the probability of a deviation of at least 5 from the mean using Chebyshev’s inequality. What is the probability if the return is normal, given that ?
Answer
Answer to Question 33.3.
Chebyshev gives at most , and the normal value is about .
Chebyshev says that , which is .
For a normal, the deviation is standard deviations. Both tails count: . A simulation agrees.
The gap, of a factor of 13, is the cost of assuming nothing about the shape. And Chebyshev’s bound is attained by a three-point distribution, which puts all the deviation exactly at . So it cannot be improved without an assumption.
Both are correct: only the first holds for any distribution with this variance, and this matters when a tail is fat.
Classic wrong answer. Using only one tail for the normal, . The question asks for a deviation in either direction.
Question 33.4
Three dice have these faces: A is (2, 2, 4, 4, 9, 9), B is (1, 1, 6, 6, 8, 8) and C is (3, 3, 5, 5, 7, 7). Each has the same total. What are the probabilities that A beats B, that B beats C, and that C beats A in a single roll against each other?
Answer
Answer to Question 33.4.
Each probability is .
Each die has three values, each with chance . So there are nine equally likely pairs.
A against B: 2 beats 1, 4 beats 1, and 9 beats all three. That is pairs out of 9.
B against C: 6 beats 3 and 5, and 8 beats all three. That is .
C against A: 3 beats 2, 5 beats 2 and 4, and 7 beats 2 and 4. That is .
So A beats B, B beats C and C beats A. An enumeration gives the same. The relation “beats” is not transitive, although each die has the same mean of 5. So a choice made second always has the edge.
Classic wrong answer. Assuming that one die must be best, because a ranking looks natural. Ranking by one-on-one chance need not give an order.
Question 33.5
Two bus lines arrive as independent Poisson processes, with mean gaps of 10 and 20 minutes. You arrive at a random time and take the first bus. What is the probability of taking the first line? What is your expected wait?
Answer
Answer to Question 33.5.
The probability is , and the expected wait is minutes.
The rates are and . By the memoryless property, the wait for each is exponential, whatever has happened before you arrive. The first bus is on line A with chance .
The first arrival has rate , so its mean is . A simulation agrees.
Limit check: if line B is removed, its rate is 0, the chance is 1, and the wait is 10. So the wait is below the shorter gap, which makes sense.
The choice between lines and the waiting time are independent. So the wait is whichever line you end up on.
Classic wrong answer. Taking half of each gap as the wait, which is right only for regular buses. A Poisson line has a mean wait equal to its whole mean gap.
Question 33.6
A year on another planet has 20 days, and birthdays are independent and uniform. What is the smallest group size for which the chance of a shared birthday exceeds ?
Answer
Answer to Question 33.6.
The smallest group has 6 people.
The chance that all birthdays differ is . At , this is . At , it is . So the chance of a match goes from to , and it crosses at 6.
The rule of thumb is : with , it is , which rounds up to 6. An exact loop confirms it. The same rule gives for 365 days, near the true 23.
Classic wrong answer. Answering 10, half the days, because half seems natural. Pairs grow as , so the answer scales with the square root.
Section B — 6 questions, 60 minutes
Question 33.7
is uniform on . Given , is uniform on . What is ? You may use .
Answer
Answer to Question 33.7.
The expected value is .
The joint density is for . So given , the density of is proportional to on . The constant is . Then
At , this is .
Check: it lies between and 1, as it must. As , the formula tends to 1. As , it tends to 0, which is correct, as a small points to a small . A simulation in a thin window around agrees.
Classic wrong answer. Answering , the midpoint of the allowed range. The factor favours small , because a small puts more density at any given .
Question 33.8
Five fair dice are rolled. What is the probability that their total is at least 18? With six fair dice, what is the probability of a total of at least 21, given that of the outcomes total exactly 21?
Answer
Answer to Question 33.8.
With five dice the probability is exactly , and with six dice it is about .
Replace each face by , which leaves every die’s law unchanged. With five dice, the total becomes , so and have the same law. Now is the same event as . So , and these two events cover everything, with no overlap. Each therefore has chance .
With six dice, and have the same law, and the centre, 21, is a possible total. So , and
Classic wrong answer. Giving for six dice as well. Five dice have a centre of , which no total can equal, but six dice have a centre they can hit, and “at least” counts it.
Question 33.9
A stream has an unknown number of items. You keep one item in memory: the first at the start, and then you replace it by the -th item with probability . What is the chance that the third of 5 items is the one kept at the end? How do you change this to keep 2 items, and what is the chance for each item then?
Answer
Answer to Question 33.9.
The third item is kept with probability . For a sample of 2, keep each new item with chance , replacing one of the two at random, and each item then has chance .
The third item enters with chance . It survives the fourth with and the fifth with . The product is .
The product telescopes for any and , so every item ends up with chance . You never need to know in advance.
For a sample of , item enters with chance . Each later item removes it with chance , so it survives with . The product is . A simulation confirms the uniform shares.
Classic wrong answer. Using a fixed chance per item, say . It needs the length, and it gives later items a better share.
Question 33.10
A five-card hand is dealt from a standard 52-card deck, for which there are possible hands. What is the probability of exactly three of a kind, meaning three cards of one rank and two other cards of two different other ranks?
Answer
Answer to Question 33.10.
The probability is about .
Choose the rank: 13. Choose its three suits: . Choose the two other ranks: . Choose a suit for each: . The count is
out of the total, so .
An independent simulation returns the same value. Note that the two ranks must differ, and if they did not, the hand would be a full house.
Classic wrong answer. Using 49 choices for the fourth card and 48 for the fifth. This counts full houses, and it gives each hand twice.
Follow-up. What is the chance of a full house? hands, or . It is rarer, even though the description is similar.
Question 33.11
In 100 flips of a fair coin, what is the probability that the number of heads differs from 50 by at least 10? Use the normal approximation with a continuity correction, given that .
Answer
Answer to Question 33.11.
The probability is about .
The count has mean 50 and standard deviation 5. We want or . The correction puts the edges at and , each standard deviations from the mean. Two tails give .
An exact binomial sum gives , so the correction is very close. Without the correction, , and the answer would be . This is off by a fifth, a large error for such a simple step.
A check against a known figure: two standard deviations hold about , so about lie beyond. A count that can fall exactly on the edge adds a little more.
Classic wrong answer. Using one tail only, which gives , half of the answer. The question asks for a deviation either way.
Question 33.12
A stock is at 100. A European call with strike 105 and one year to expiry costs 10, and the interest rate is zero. What should a European put with the same strike and expiry cost? If it is quoted at 14, what trade locks in a profit, and how much?
Answer
Answer to Question 33.12.
The put should cost 15. At 14, buy the put and the stock, and sell the call, for a certain profit of 1.
Put–call parity says that at a zero rate. So .
At 14, the put is too cheap. Buy the put, buy the stock and sell the call. The cost is . At expiry, the stock plus the put minus the call is worth exactly in every case: if , the call is exercised against you at 105, and if , you exercise the put at 105. So the profit is 1, with no risk.
A check: at and at , the position is worth 105.
Classic wrong answer. Selling the put, because it looks like a poor asset at 14. The rule is to buy what is cheap against its replication.