All 105 questions UPSC has asked on probability spaces and random variables in the Statistics Optional (Paper I, Probability) from 1995 to 2026, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Probability topic-wise PYQs page.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (Python with NumPy/SciPy) and matched.
- ✓ Proof checked step by step for “prove that” and “examine whether” questions, every step was checked against the definitions and the standard theorems.
- ✓ Derivation checked step by step for derivations and approximations, every step was checked, and the result was also tested numerically.
- ✓ Answer checked step by step for descriptive questions, every point was checked against the standard theory.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2026 · 1a(i) 2026 · 1a(ii) 2026 · 1b 2026 · 2b(i) 2026 · 2b(ii) 2026 · 2c(i) 2025 · 1a 2025 · 2a 2025 · 2c 2024 · 1a(i) 2024 · 1a(ii) 2024 · 1b(i) 2024 · 1b(ii) 2023 · 1a 2023 · 1b 2023 · 2a 2023 · 3a(ii) 2022 · 1c 2022 · 2b 2021 · 1b 2021 · 4b 2020 · 1a 2020 · 1b 2020 · 2b 2019 · 1a 2019 · 3c 2019 · 4b 2018 · 1a 2018 · 1c 2018 · 2a 2017 · 1a 2017 · 1b 2017 · 2c 2017 · 3a 2017 · 3b 2016 · 1b 2016 · 2a 2016 · 2b 2015 · 1a 2015 · 4a 2014 · 1a 2014 · 1b 2013 · 1a 2013 · 1b 2012 · 1a 2012 · 1b 2011 · 1a 2011 · 1b 2011 · 1c 2011 · 3c 2010 · 1a 2010 · 1b 2010 · 1c 2010 · 2a 2010 · 2b 2010 · 3a 2009 · 2a 2007 · 1a 2007 · 1b 2007 · 2c 2006 · 1a 2006 · 1c 2006 · 2b 2005 · 1a 2005 · 1b 2005 · 2c 2004 · 1a 2004 · 1c 2003 · 1a 2003 · 1c 2003 · 2b 2003 · 2c 2002 · 1a 2002 · 2a 2001 · 1a 2001 · 1b 2001 · 1c 2001 · 2i 2001 · 3iii 1999 · 1a 1999 · 1b 1999 · 1c 1998 · 1a 1998 · 1b 1998 · 1c 1998 · 1d 1998 · 2b 1998 · 2c(ii) 1998 · 4a(i) 1998 · 4a(ii) 1997 · 1a 1997 · 1b 1997 · 1c 1997 · 1d 1996 · 1a 1996 · 1b 1996 · 1c 1996 · 2a 1996 · 2b 1995 · 1a 1995 · 1b 1995 · 1c 1995 · 2a 1995 · 2b 1995 · 3c
Show that for events
Solution
Take complements. By De Morgan’s law, . So
Boole’s inequality. .
Combine. This is Bonferroni’s inequality. For example, if each of 10 events has probability 0.99, all ten occur together with probability at least 0.90.
✓ Proof checked step by step Every step was checked: De Morgan’s law and Boole’s inequality.
For two mutually exclusive events and , show that
Solution
Since , . Because and are mutually exclusive, . So (Example: in repeated dice throws, the chance that a 5 comes before a 7 is .)
✓ Proof checked step by step Every step was checked from the definition of conditional probability.
Let the joint probability mass function of and be Find– (i) the marginal probability mass functions of and ; (ii) .
Solution
Check. . ✓
(i) Marginals.
(ii)
✓ Checked by computer We summed the joint pmf with exact fractions in Python: total 1, marginals as below, and .
The time required, in hours, to repair a car at a garage is a random variable with probability density function (p.d.f.) Find the value of . Obtain the probabilities that for a car which arrives now at the garage– (1) is at least one but less than three; (2) is more than two.
Solution
Find .
(1)
(2) The density is symmetric about , so (Directly: .)
✓ Checked by computer We recomputed in SymPy: c = 3/32, P(1 ≤ X < 3) = 11/16 and P(X > 2) = 1/2.
Let be the probability density function of a continuous random variable . Write the cumulative distribution function of and find
Solution
C.d.f. For , So
Probability.
✓ Checked by computer We recomputed the c.d.f. and the probability (11/16) in SymPy.
Let follow uniform distribution on and let . Find the distribution of .
Solution
takes values in , and it is increasing in . For : So and , .
Answer. has the standard exponential distribution (mean 1). This is how computers generate exponential random numbers from uniform ones.
✓ Derivation checked step by step Every step was checked; this is the inverse-c.d.f. method used to simulate exponential variables.
Let , and be three pairwise independent events such that and . Prove that .
Solution
Set-up. By pairwise independence, and . Write . Then Since , .
Rewrite the target. and are independent, so and are too. Hence
Bound . Put : This quadratic is largest at , where it equals .
Conclusion. (The bound is attained when , and .)
✓ Proof checked step by step Every step was checked. We also maximised numerically in Python over all admissible P(F): the maximum is 1/12.
Let be a continuous random variable having probability density function Find the cumulative distribution function of and hence find probability density function of .
Solution
Support. , so . The map is not one-to-one on , so we work with the c.d.f.
C.d.f. of . Let .
- For , both lie in :
- For , , so only the upper limit matters:
So Both pieces give at , and .
P.d.f. of . Differentiate:
✓ Checked by computer We checked the c.d.f. of Y by simulation in Python (about 4 million draws) at y = 1, 4 and 6.25: 0.320, 0.640 and 0.810, matching the formulas.
Let the joint probability density function of be Compute the following: (i) (ii) (iii)
Solution
Check. . ✓
(i)
(ii) For :
(iii) , so by (ii)
✓ Checked by computer We checked all three parts by simulation in Python (10⁶ draws, λ = 2.5 for part ii): 0.5714 against 2/(1 + λ), and 0.7499 against 3/4.
Two events and are such that , and . Evaluate the following:
Solution
Find .
Answer. By De Morgan’s law,
✓ Checked by computer We solved for P(A ∩ B) = 2/21 and recomputed both answers with exact fractions.
Solution
(This continues the 2024 question above, with , and .)
Answer.
✓ Checked by computer We recomputed in exact fractions: 20/63 + 13/56 = 277/504.
Suppose the joint probability function of two random variables and is Compute the following:
Solution
Check. For each , , so . ✓ (Each has probability , and given , has density .)
✓ Checked by computer We recomputed with exact fractions: 13/24.
Solution
(This continues the 2024 question above.) Integrate out for each : So
✓ Checked by computer We recomputed: 2/3.
Out of 1000 persons born, only 900 reach the age of 15 years, and out of every 1000 who reach the age of 15 years, 950 reach the age of 50 years. Out of every 1000 who reach the age of 50 years, 40 die in one year. Accordingly, what is the probability that a person would attain the age of 51 years?
Solution
Chain the conditional probabilities:
- ;
- ;
- .
By the multiplication rule,
✓ Checked by computer We recomputed 0.9 × 0.95 × 0.96 = 0.8208.
Let be a continuous random variable with probability density function: Obtain the cumulative distribution function of and hence find the value of .
Solution
C.d.f. Integrate piece by piece: (For : .) The pieces join continuously: , , .
Probability. (Also clear from symmetry: the density is symmetric about .)
✓ Checked by computer We recomputed the c.d.f. pieces and in SymPy.
Let be three mutually independent standard exponential variates and . Then (i) determine the joint distribution of and . (ii) find out the marginal probability density functions of and . (iii) examine the mutual independence of and , and give your comment.
Solution
(i) Joint distribution. Invert the map: with , , . The Jacobian is Since ,
(ii) Marginals. The joint density factorises:
- Gamma(3, 1): , .
- Beta(2, 1): , .
- .
(iii) Independence. The joint density is the product of the three marginals on a product region, so are mutually independent.
Comment. For i.i.d. exponential (more generally, gamma) variables, the total is independent of how the total is split up. The proportions form a Dirichlet distribution that carries no information about the total. This is the basis of Lukacs’ characterisation of the gamma distribution.
✓ Derivation checked step by step Every step was checked, including the Jacobian. We also simulated 10⁶ triples in Python: the pairwise correlations of W₁, W₂, W₃ are 0.000–0.001, and the mean of W₂ is 0.666 (Beta(2, 1) mean 2/3).
In a certain recruitment test, there are multiple choice questions. There are four possible options to each question, out of which one is correct. The probability of knowing correct option for an intelligent student is 90%, while it is 20% for a weaker student. An intelligent student ticks the correct option. What is the probability that he was guessing?
Solution
Set-up. For an intelligent student: and . A guess is correct with probability .
Bayes’ theorem. (The 20% figure for a weaker student is not needed: we are told the student is intelligent.)
✓ Checked by computer We recomputed by Bayes’ theorem: 0.025/0.925 = 1/37 ≈ 0.027.
An unbiased six-sided die is thrown twice. Let denote the smaller of the scores obtained. Then show that the probability mass function (p.m.f.) of is given by:
Solution
Tail probability. exactly when both dice show at least :
P.m.f. For this gives , which sum to 1.
✓ Checked by computer We listed all 36 outcomes in Python and counted: 11, 9, 7, 5, 3, 1 out of 36 for x = 1, …, 6.
Each Sunday a fisherman visits one of three possible locations near his home: he goes to the sea with probability , to a river with probability , or to a lake with probability . If he goes to the sea there is an 80% chance that he will catch fish; corresponding figures for the river and the lake are 40% and 60% respectively. (i) Find the probability that, on a given Sunday, he catches fish. (ii) If, on a particular Sunday, he comes home without catching anything, determine the most likely place that he has been to.
Solution
(i) Total probability.
(ii) Bayes’ theorem, with :
| Place | Prior | P(no fish ∣ place) | Joint | Posterior |
|---|---|---|---|---|
| Sea | 0.50 | 0.20 | 0.10 | 2/7 |
| River | 0.25 | 0.60 | 0.15 | 3/7 |
| Lake | 0.25 | 0.40 | 0.10 | 2/7 |
Given that he caught nothing, the most likely place is the river, with probability . This is so even though the sea was the most likely place beforehand.
✓ Checked by computer We recomputed P(fish) = 0.65 and the posteriors 2/7, 3/7, 2/7 in Python.
An insurance company studies a sample of 150 policy-holders. There are three categories of policies: auto, home and medical. The following results are obtained about the policies held by the policy-holders: (i) 30 have only home insurance (ii) 10 have only medical insurance (iii) 98 have auto insurance, but not all three types of insurance (iv) 27 have medical insurance, but not all three types of insurance (v) 13 have auto and medical insurance Given that a policy-holder has medical insurance, calculate the probability that he has home insurance.
Solution
Assumption. Every one of the 150 policy-holders holds at least one of the three policies. (The data cannot be solved without this.)
Regions (A = auto, H = home, M = medical; “only” means that policy and no other). Let = A only, = A∩H only, = A∩M only, = H∩M only, and = all three.
- H only = 30, and (ii) M only = 10.
- .
- , so .
- .
- Total: , so .
Solve. From and : . With : , , .
Answer. Medical holders: . Medical and home: . So
✓ Checked by computer We solved the Venn-diagram equations by hand and checked that every region count is non-negative and the total is 150.
Let (i) Obtain the marginal distribution of and conditional distribution of given . (ii) Find . (iii) Use (ii) to find .
Solution
(This question is also listed under 1.2 Expectation and moments. The worked solution is repeated here so that this page is complete.)
(i) Marginal of . For fixed , , so is Gamma(2, 1).
Conditional of . So .
(ii) Moments.
(iii) Unconditional moments of .
✓ Checked by computer We checked in SymPy that , and .
An insurer offers a health plan to the employees of a large company. As part of this plan, individually any employee may choose exactly two or none of the supplementary coverages A, B and C. The proportions of the company employees that choose coverage A, B and C are , and respectively. Determine the probability that a randomly chosen employee will choose no supplementary coverage.
Solution
Set-up. Each employee chooses either none, or exactly one pair: , or . Let be the proportions choosing each pair. Then
Add the three equations.
Answer. (Individually: , , , all non-negative, so the data are consistent.)
✓ Checked by computer We solved the three equations with exact fractions: none = 3/8.
Let and be iid random variables with . Find .
Solution
Ties.
Symmetry. and are i.i.d., so . These two and add to 1, so (Directly: .)
✓ Checked by computer We summed the double series numerically in Python: 0.33333.
The random variable takes values on the interval . Given that , , , . Find .
Solution
Split into three parts. Let . Then .
- Given : on , so the density is and the conditional mean is .
- Given : on , so is uniform on with mean .
- .
Use .
Answer.
✓ Checked by computer We solved the linear equation for P(X < 1) symbolically: 9/20, so P(X ≤ 1) = 0.7.
Suppose a coin is tossed three times. If denotes the number of heads on first toss and is the total number of heads, then write down the probability distribution of .
Solution
| Outcome | |||
|---|---|---|---|
| HHH | 1 | 3 | 4 |
| HHT, HTH | 1 | 2 | 3 |
| HTT | 1 | 1 | 2 |
| THH | 0 | 2 | 2 |
| THT, TTH | 0 | 1 | 1 |
| TTT | 0 | 0 | 0 |
Distribution of .
| 0 | 1 | 2 | 3 | 4 | |
|---|---|---|---|---|---|
(Equivalently, .)
✓ Checked by computer We listed all 8 outcomes in Python and counted the values of Z: 1, 2, 2, 2, 1.
(i) An accounts manager in a company classifies 75% of customers as ‘good credit’ and the rest as ‘risky credit’ depending on their ‘credit rating’. Customers in the ‘risky’ category allow their accounts to go overdue 50% of the time on average, whereas those in the ‘good’ category allow their accounts to become overdue only 10% of the time. What percentage of overdue accounts are held by customers in the ‘risky credit’ category? (ii) Suppose that two chess players played games and it was seen that the probability that Player I would win is 0.30, the probability that Player II would win is 0.45, and the probability that the game would end in a draw is 0.25. If these two chess players played 10 games, find the probability that Player I wins 6 games, Player II wins 2 games, and the remaining 2 games would be drawn.
Solution
(This question is also listed under 1.6 Standard distributions. The worked solution is repeated here so that this page is complete.)
(i) Bayes’ theorem. Let = good credit, = risky credit, = overdue. 62.5% of overdue accounts belong to risky-credit customers.
(ii) Multinomial. The 10 games are independent, each with outcome probabilities .
✓ Checked by computer We recomputed both parts in Python: 0.625 for (i), and 0.01163 for (ii).
A random variable has the following probability function:
| Value of | 0 | 1 | 2 | 3 | ||
| 0.15 | 0.25 | 0.35 |
(i) Find the value of . (ii) Obtain the distribution function and draw its graph.
Solution
(i) The probabilities add to 1:
(ii) Distribution function.
Graph. is a right-continuous step function that jumps by at each value of :
✓ Checked by computer We recomputed k = 1/16 and the cumulative sums in Python.
We have a bag with 3 coins in it. One of them is a fair coin, but the others are biased trick coins. When flipped the three coins come up ‘heads’ with probability 0.5, 0.6, 0.1 respectively. If one of these coins is picked at random and flipped three times, (i) What is ? (ii) Assuming that occurred, what is the probability of having chosen a fair coin? Here denote Heads and Tails respectively.
Solution
(i) Total probability. Each coin is picked with probability , and for a coin with , .
(ii) Bayes’ theorem.
✓ Checked by computer We recomputed in Python: P(HTT) = 0.302/3 = 0.1007 and P(fair | HTT) = 0.125/0.302 = 0.414.
Consider two independent and identically distributed uniform random variables. Derive the distribution of . Comment on .
Solution
C.d.f. of . is uniform on the unit square, so is the area of inside it.
- : the region is a triangle with vertices , of area .
- : the complement is a triangle with vertices , of area .
So
. does not exist (it is infinite). The reason is that can be very close to 0: . Note that , but this is not .
✓ Checked by computer We checked by simulation in Python (10⁶ ratios): P(U ≤ 0.5) = 0.250 and P(U ≤ 3) = 0.833, matching the c.d.f.
The joint density of , is Find the marginal distributions of , and the conditional distribution of given .
Solution
Marginal of . Exp(1).
Marginal of . Gamma(2, 1).
Conditional of given . So , given , is Exp(1): . (The conditional of given is uniform on .)
✓ Checked by computer We checked each marginal and conditional density integrates to 1 (SymPy).
Ten percent of a certain population suffer from a serious disease. Two independent tests are given to a person suspected of the disease. Each test gives a correct diagnosis 90% of the time. Find the probability that the person really suffers from the disease, given that– (i) both tests are positive; (ii) only one test is positive.
Solution
Set-up. . Each test is correct with probability 0.9: and . The tests are independent given the disease status.
(i) Both positive.
(ii) Exactly one positive. , and . So Two conflicting results carry no information when the tests are equally accurate, so the probability stays at the prior, 10%.
✓ Checked by computer We recomputed both posteriors in Python: 0.9 and 0.1.
Let be a continuous random variable with the probability density function Find the cumulative distribution function and the probability density function of .
Solution
C.d.f. of . for .
C.d.f. of . , and is increasing, so for :
P.d.f. (Check: .)
✓ Checked by computer We checked in SymPy that the density of Y integrates to 1 over (1, 4).
In a community of potential voters, are for abortion and are against it. Suppose that a vote is taken to determine the will of the majority with regard to legalizing abortion. If random persons of these potential voters do not vote, what is the probability that those against abortion will win?
Solution
Who stays away. The non-voters are a random sample (without replacement) from the people. Let be the number of “for” people among them. is hypergeometric:
When does “against” win? Votes for , and votes against . “Against” wins (a strict majority) when
Answer. If , no value of satisfies the condition, and the probability is 0: too few people abstain to overturn the majority. (If is even, gives a tie.)
✓ Checked by computer We checked the formula by simulation in Python (a = 7, b = 5, n = 3): 0.1591 from the formula, 0.1591 simulated.
is the time that a customer takes from getting on line at a service desk in a bank to completion of service and is the time to wait in line before reaching the service desk . The joint probability density function of is given by Let and . Find the joint probability density function of and . Are and independently distributed? Give reason.
Solution
Transformation. and , so
New support. , and . So the support is .
Joint p.d.f. (Check: .)
Independence: no. The support is not a product set, so cannot be independent. For example, forces . Explicitly, the marginals are and their product is not .
✓ Derivation checked step by step Every step was checked, including the Jacobian. We also simulated in Python: corr(Y₁, Y₂) = 0.45, not 0, and the mean of Y₂ is 1.00, as the Exp(1) marginal predicts.
Let and be independent and identically distributed random variables each having probability density function Find the cumulative distribution function and probability density function of .
Solution
C.d.f. of one . , so for .
C.d.f. of the minimum. exactly when all four exceed :
P.d.f. is Beta(1, 12).
✓ Checked by computer We checked the formula numerically at y = 0.1 and 0.3.
Let be a probability distribution function of a discrete random variable. Prove that the functions and are also probability distribution functions.
Solution
What a d.f. needs. is a distribution function if it is (a) non-decreasing, (b) right-continuous, and (c) , . has all three properties, with .
.
- If , then , so .
- is continuous, so is right-continuous.
- and .
.
- is non-increasing and , so is non-increasing and is non-decreasing.
- It is a continuous function of a right-continuous function, so it is right-continuous.
- and .
Both are distribution functions.
Interpretation. If are i.i.d. with d.f. , then is the d.f. of and is the d.f. of . (The argument does not use that is discrete.)
✓ Proof checked step by step Every step was checked against the defining properties of a distribution function.
What is the probability of an even number of successes in independent Bernoulli trials?
Solution
Generating-function trick. Let and . By the binomial theorem, Adding the two, the odd terms cancel and the even terms double:
Answer. For this is exactly . For any it tends to as . (Zero successes counts as even.)
✓ Checked by computer We checked the formula against the binomial pmf in Python (n = 5, p = 0.3 and n = 6, p = 0.7).
You bought a box of lightbulbs from a shop. You know that the bulbs are all either short-life bulbs with a mean life of 500 hours or long-life bulbs with a mean life of 2500 hours, but you cannot tell which, because there was no label on the box. As you have not shopped at this shop before, you initially have no opinion as to whether you have been sold long-life bulbs or the cheaper alternative. After approximately 300 hours you find that 5 bulbs are alive. Assuming that the life of an individual lightbulb has an exponential distribution, how would you now assess the probability that you bought long-life bulbs?
Solution
Note on the question. The number of bulbs in the box is not given. We take the natural reading: the box held 5 bulbs, and all 5 are still working after 300 hours. The general formula is given at the end.
Prior. With no opinion either way, .
Likelihood. An exponential life with mean survives 300 hours with probability : The bulbs are independent, so
Posterior. Seeing all five bulbs still working raises the probability of long-life bulbs from 50% to about 92%.
General case. If the box held bulbs and exactly 5 are alive, multiply each likelihood by the chance that the other have failed:
✓ Checked by computer We recomputed in Python: survival chances 0.8869 (long) and 0.5488 (short) at 300 hours, likelihood ratio e^{2.4} = 11.02, posterior 0.917.
Let the probability that a family has exactly children be . Assume that a child can be a boy or a girl with equal probability. (i) Obtain the probability that a family has exactly boys. (ii) Given that a family has at least one boy, what is the probability that there are two or more children in that family?
Solution
Model. for . (The remaining probability, , is on .) Given , the number of boys is .
(i) Exactly boys. Using with :
(ii) Sum (i) over : A one-child family has at least one boy with probability . So
✓ Checked by computer We checked both answers numerically in Python (α = 0.2, p = 0.4) by summing the series directly: P(k = 1, 2 boys) = 0.0625, 0.015625, and part (ii) = 0.52 = p(3 − p)/2.
Let be the cumulative distribution function (cdf) given by Find the set of discontinuity points of and express as a mixture of its discrete and continuous parts.
Solution
Jumps of .
- At : .
- At : .
- At : , so no jump.
Discontinuity set: . The total jump is .
Continuous part. Between the jumps rises with slope on and on , a total of . (Check: .)
Mixture. where
- is discrete with and ;
- is absolutely continuous with density on and on .
✓ Checked by computer We checked that the discrete and continuous parts recombine to F at several points.
If for the events and , and then show that , if and only if . Likewise, , if and only if .
Solution
Since , By the same algebra with and swapped, The two statements are equivalent to the same inequality, so Replacing by throughout gives the second statement.
Meaning. Positive association is symmetric: if makes more likely, then makes more likely. (With “=” in place of “>”, this is independence.)
✓ Proof checked step by step Every step was checked; both equivalences reduce to the same inequality between P(A ∩ B) and P(A)P(B).
Three digits 1, 2 and 3 are written down in random order. What is the probability that at least one digit will occupy its proper place?
Solution
There are equally likely orders. We list them, marking digits in their proper place in bold:
, , , , , .
Only and have no digit in place (these are the derangements). So (By inclusion–exclusion: .)
✓ Checked by computer We listed all 6 orders in Python: 4 of them have at least one digit in its place.
In the course of an experiment with a particular brand of DDT on flies, it is found that 80% are killed in the first application. Those which survive develop a resistance, so that the percentage of survivors killed in any later application is half that in the preceding application. Thus 40% of the survivors of the first application would succumb to the second, 20% of the survivors of the first two applications would succumb to the third, and so on. Find the probability that (i) a fly will survive four applications. (ii) it will survive four applications, given that it has survived the first one.
Solution
Kill rates. The applications kill 80%, 40%, 20% and 10% of the flies present. So the survival chances are 0.2, 0.6, 0.8 and 0.9 in turn.
(i)
(ii)
✓ Checked by computer We recomputed both products in Python: 0.0864 and 0.432.
The joint distribution of two random variables and has the pdf Derive the marginal distribution of and the conditional distribution of given .
Solution
Note on the question. As printed, the density lacks its normalising constant. The correct joint density is (Without it would integrate to , not 1.)
Marginal of . Substitute : So Gamma(shape , rate ).
Conditional of given . So, given , Gamma(, ). In other words with Gamma(, ) independent of , and so Gamma(, ).
✓ Derivation checked step by step Every step was checked using the gamma integral .
A tyre manufacturing company has three production units , and which produce respectively 50%, 30% and 20% of the entire production. Unit is known to produce 5% defectives, unit produces 3% defectives and unit produces 1% defectives. What percentage of items in the entire produce is defective? If an item is found to be defective, what is the probability that it was produced at unit ?
Solution
Total probability. so 3.6% of the entire production is defective.
Bayes’ theorem. (Similarly and .)
✓ Checked by computer We recomputed: 3.6% defective, and P(C | defective) = 0.002/0.036 = 1/18.
A bivariate random vector is specified by Obtain (i) the p.d.f. (ii) the marginal p.d.f’s and (iii) the conditional p.d.f’s. When will and be independent?
Solution
(i) Joint p.d.f. For a joint survival function , the density is . (It is non-negative because .)
(ii) Marginals. , so , . Likewise , . Both marginals are Exp(1).
(iii) Conditionals.
Independence. equals for all if and only if . So and are independent exactly when . (This is Gumbel’s bivariate exponential distribution. For , and are negatively correlated.)
✓ Derivation checked step by step Every step was checked: we differentiated the joint survival function symbolically in SymPy.
Of the under-5 children in a locality, 20% are malnourished but not immunised, while 40% are immunised but not malnourished. If 30% are neither immunised nor malnourished, what percentage of the under-5 children of the locality are malnourished?
Solution
Let = malnourished and = immunised. The four regions add to 1: So 30% of the under-5 children are malnourished.
✓ Checked by computer We recomputed the four Venn regions: they sum to 1, and P(M) = 0.3.
For a discrete random variable Find the probability mass function of .
Solution
Support. (the empty product), and contains the factor . So .
P.m.f. For : That is,
(This is the “birthday problem”: in random draws with replacement from equally likely items, is the draw at which the first repeat occurs.)
✓ Checked by computer We checked in Python (n = 7) that the probabilities sum to 1.
Suppose every packet of the biscuit NICE contains a coupon bearing one of the letters N, I, C or E with equal probability. A customer who has all the four letters, wins a free packet. A housewife buys 8 such packets. What is the probability that she wins (i) one free packet and (ii) two free packets?
Solution
Model. 8 coupons, each N, I, C or E with probability , independently. A full set needs each letter at least once; two free packets need each letter at least twice.
At least one full set (inclusion–exclusion over missing letters):
(ii) Two free packets. With 8 coupons, two full sets means each letter exactly twice:
(i) Exactly one free packet.
✓ Checked by computer We listed all 4⁸ = 65 536 letter sequences in Python: P(at least one full set) = 0.62292, P(two full sets) = 0.03845, matching the formulas.
The joint probability density function of is given by Compute (i) , (ii) and (iii) . Also derive the regression equation of on .
Solution
on , .
Marginal of . .
(i)
(ii)
(iii) from (i). Also So
Regression of on . It is a curve (a rectangular hyperbola), not a straight line. It falls from near to at .
✓ Checked by computer We recomputed all four answers in SymPy: 5/6, 7/24, 5/32, and E(Y | x) = (9x + 4)/(9x + 3).
5% residents of a locality are earning more than Rs 10 lakhs per annum. The percentage of single earner in the family among those earning more than Rs 10 lakhs per annum is 80%, whereas percentage of single earner among others (earning less than Rs 10 lakhs per annum) is 50%. A randomly selected resident of that locality was found to be single earner. What is the probability that he earns more than Rs 10 lakhs per annum?
Solution
Let = earns more than Rs 10 lakh and = single earner. Only about 7.8% of single earners are in the high-income group, even though 80% of the high-income group are single earners.
✓ Checked by computer We recomputed: 0.04/0.515 = 0.0777.
is a triangle in plane with vertices , and . Let denote the area of intersection of and the set . Does define a cumulative distribution function? If yes, find the joint probability density function.
Solution
has area 1. It is the right triangle , with legs , so its area is .
Yes, is a c.d.f. Let be uniformly distributed on . Its density is 1 on , because the area is 1. Then So is the joint c.d.f. of this pair. It inherits every property of a c.d.f.: non-decreasing and right-continuous in each argument, the rectangle inequality, as or , and .
Explicitly, for in : Outside the square, replace or by 0 if negative, or by if larger.
Joint p.d.f. In the region , . Elsewhere the derivative is 0. So
✓ Checked by computer We checked that the triangle has area 1, and that F(x, y) = xy − x²/2 on 0 ≤ x ≤ y ≤ √2 gives density 1.
Two players and decide to play a series of at most 7 games. A player who wins 4 games wins the series. If both the players have equal chance of winning a game and wins the first two games, what is the probability that will win the series?
Solution
Set-up. After winning the first two games, needs 2 more wins before gets 4. At most 5 games remain, each won by either player with probability .
Complement: wins the series. must win 4 games while wins at most 1 of them:
- wins the next 4: .
- wins exactly one of the next 4, then wins the 5th: .
So .
Answer.
✓ Checked by computer We recomputed with exact fractions: 1 − 3/16 = 13/16.
Cumulative distribution function (c.d.f.) of a random variable is Find such that we can write , where and are c.d.f. of continuous and discrete random variables respectively. Find and .
Solution
Jumps of .
- : .
- : .
- : .
The total jump is .
Continuous part. increases smoothly only on , with slope , a total rise of . So
The two d.f.s.
- : density on , so is the d.f.:
- : jumps rescaled by , so , , :
Check at : . ✓
✓ Checked by computer We checked that α F_c + (1 − α) F_d reproduces F at x = 0, 0.5, 1, 1.5 and 2.
The joint probability density function of random variables and is given as Comment on independence and correlation between and .
Solution
(This question is also listed under 1.2 Expectation and moments. The worked solution is repeated here so that this page is complete.)
Find . For fixed , . So
Independence. The support is not a rectangle: if then , but if , can be 4. Formally, the marginal of is for , and for every real . So at , where . Hence and are not independent.
Correlation. , so given the distribution of is symmetric about 0 and . Therefore So : and are uncorrelated.
Comment. This is a standard example where zero correlation does not imply independence. The dependence is not linear: it shows in the spread of , which grows with ().
✓ Checked by computer We checked in SymPy that and .
The joint probability density function of and is Derive the distribution of .
Solution
Independence. on a rectangle. So (density on ) and Exp(1) are independent.
Convolution. For , , where we need and .
- For , runs over :
- For , runs over :
Answer. The two pieces agree at : both equal .
✓ Checked by computer We computed the convolution integrals in SymPy and checked that the density of X + Y integrates to 1.
and are i.i.d. random variables with common probability mass function Obtain the probability distribution of . Also derive .
Solution
D.f. of one . ,
Distribution of .
by the tail formula. Simplifying,
✓ Checked by computer We summed the tail series numerically for q = 2/5: E(Y) = 1.142857, matching q(2 + q)/[p(1 + q)].
In every box of a certain cereal is a picture of a football player. A full set is represented by m players. Find the probability that n (> m) boxes of cereal must be purchased to obtain a full set of pictures.
Solution
Set-up. Each box holds one of players, equally likely, independently. Let be the number of boxes needed for a full set. We want for .
means: the first boxes contain exactly different players, and box holds the missing one.
There are choices for the missing player, and box holds him with probability . These factors cancel, so take the missing player to be player : By inclusion–exclusion over which of the players are also missing:
Equivalent form. , and .
(Example: , gives . The mean number of boxes is .)
✓ Checked by computer We checked the formula against the inclusion–exclusion c.d.f. for m = 4 (n = 4, 5, 7) and confirmed the probabilities sum to 1.
A random variable X has the following distribution:
| 0 | 0 |
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 |
Find k and determine the distribution function of X.
Solution
Find . A probability cannot be negative, so .
Distribution. for .
Distribution function.
✓ Checked by computer We solved 10k² + 9k − 1 = 0 symbolically (roots 1/10 and −1) and recomputed the cumulative sums.
Let (X, Y) be a two-dimensional non-negative continuous random variable having the joint density Derive the density function of
Solution
Polar coordinates. Put , , with and (the first quadrant). The Jacobian is . So
Integrate out . , so (Check: with , . So Gamma(2, 1).)
Also, has density and is independent of .
✓ Derivation checked step by step Every step was checked. We also simulated in Python: the mean of U is 1.3294, against 1.3293 from the density 2u³e^{−u²}.
Given that A, B, C are events with A and C mutually exclusive, B and C independent and , , & , calculate: (i) (ii) [?] (iii) (iv)
Solution
Key facts.
- means (up to probability 0), so .
- are mutually exclusive: .
- are independent: .
(i) Since , :
(ii) and are independent:
(iii)
(iv)
✓ Checked by computer We recomputed each part with exact fractions.
Independent trials consisting in rolling of two fair dice are performed. What is the probability that an outcome of 5 appears before an outcome of 7, where the outcome of a roll is the sum of the dice?
Solution
On one roll of two dice, and . Rolls that give neither just repeat the experiment. So the first roll that gives 5 or 7 decides the outcome, and (As a series: .)
✓ Checked by computer We recomputed with exact fractions: (4/36)/(10/36) = 2/5.
Let X, Y, Z be independent and uniformly distributed over (0, 1). Compute .
Solution
Condition on . For , . is independent of , so
✓ Checked by computer We checked by simulation in Python (10⁶ triples): 0.7495.
An unbiased coin is tossed three times. Write down the sample space of this experiment. Define a random variable on this sample space and also its probability distribution.
Solution
Sample space. Each of the 8 outcomes has probability .
A random variable. Let be the number of heads in . For example, and . is a function from to .
Its distribution.
| 0 | 1 | 2 | 3 | |
|---|---|---|---|---|
This is .
✓ Answer checked step by step We listed the 8 outcomes and the distribution of the number of heads.
The random variables are distributed independently with p.d.f. Determine the probability
Solution
For , exactly when both . By independence, (For the probability is 1.) So Exp().
✓ Checked by computer We checked the formula: the minimum of independent exponentials is exponential with the sum of the rates.
are random samples from a uniform distribution over (0, 1). Find the p.d.f. of .
Solution
Note on the question. , the geometric mean of the sample. The comma-separated form printed in the paper is a misprint.
Logs. If , then Exp(1). So Hence has the Gamma(shape , rate ) density
Back to . , so (For this is , the uniform density.)
✓ Derivation checked step by step Every step was checked. We also simulated n = 4 in Python: the mean of U is 0.4098, against 0.4096 from the density.
Let X be an absolutely continuous random variable with p.d.f. and distribution function . Show that has distribution.
Solution
Let be continuous. Then takes values in .
For . Let . Since is continuous and rises from 0 to 1, . Moreover , up to an event of probability 0 (flat stretches of carry no probability). Hence
For the probability is 0, and for it is 1. So .
(If is strictly increasing this is simply .)
Uses. This is the probability integral transform. It is the basis of simulation by the inverse-c.d.f. method (), and of distribution-free tests such as the Kolmogorov–Smirnov test.
✓ Proof checked step by step Every step was checked; it uses only the continuity of F, so it covers flat stretches of F too.
Let X be a random variable with p.m.f. , , , , . Obtain the distribution of .
Solution
takes the values :
| from | ||
|---|---|---|
| 0 | 0 | |
| 1 | ||
| 4 |
These sum to . ✓
✓ Checked by computer We recomputed with exact fractions: 1/5, 7/30, 17/30, which sum to 1.
For the three mutually exclusive events A, B, C, the following probabilities are given , , . Calculate and comment about result.
Solution
If were mutually exclusive, then
Comment. A probability cannot exceed 1. So the given data are inconsistent: three mutually exclusive events cannot have these probabilities. Either the events overlap (then and the intersections must be taken into account), or the stated probabilities are wrong.
✓ Answer checked step by step We checked the sum 2/3 + 1/4 + 1/6 = 13/12.
State the properties of the probability density function of a random variable X. Examine whether the following f(x) is a probability density function. Also evaluate : Where is a constant.
Solution
Properties of a p.d.f. A function is a probability density if
- for all , and
- .
Then , for every single point, and wherever is continuous.
Check. , and So is a p.d.f. (the exponential with mean ).
Probability.
✓ Checked by computer We integrated the density in SymPy: total 1, and P(2 < X < 6) = e^{−2/θ} − e^{−6/θ}.
The joint probability density function of two random variables X and Y is Find (i) and (ii) Marginal distributions of X and Y.
Solution
Check. . ✓
(i)
needs and . Put :
(ii) Marginals.
✓ Checked by computer We recomputed in SymPy: 3/8, 5/24, and the marginals (3 − x)/4 and (5 − y)/4.
Let X be a random variable having standard Cauchy’s distribution. Obtain the probability density function of and identify the resulting distribution.
Solution
Transformation. has density . For , , so
Density.
Identify it. This is the distribution with (1, 1) degrees of freedom. It is also the Beta distribution of the second kind , since . This makes sense: for independent variables, so is a ratio of independent variables.
✓ Derivation checked step by step Every step was checked. We also ran a Kolmogorov–Smirnov test in Python on 10⁶ squared Cauchy values against F(1, 1): p-value 0.23, a good fit.
If and , then show that
Solution
By the addition rule, , and . So Dividing by : (The bound is useful only when ; otherwise it is negative and holds trivially.)
✓ Proof checked step by step Every step was checked: it rests on .
Let be i.i.d. geometric random variables with parameter p. Show that the p.m.f. of the smallest order statistic is also geometric with parameter
Solution
Tail of one variable. Take , (). Then .
Tail of the minimum. exactly when all :
P.m.f. This is geometric with success probability .
(If the geometric starts at 0, , the same argument with gives , again geometric with parameter .)
Intuition. Think of independent Bernoulli sequences run side by side. is the first round in which at least one of them succeeds, which happens with probability per round.
✓ Proof checked step by step Every step was checked for both common parametrisations of the geometric distribution.
Choose the correct answer for (i), (ii) and (iv) and answer (iii). (i) A, B and C are three arbitrary events. The expression for the event that “only A occurs” in terms of A, B, C is (ii) A coin is tossed three times in succession. If A is an event that there are at least two heads and B is the event that 1st throw gives head, the probability is………………. [1/8, 5/8, 3/8] (iii) State Neyman-Pearson Lemma for testing a simple hypothesis against a simple alternative. (iv) An estimate based on a sample of size n is called an asymptotically unbiased estimate of if……… …….
Solution
(i) “Only A occurs” is .
(ii) = “first toss is a head, and at least two heads” = . So .
(iii) Neyman–Pearson lemma. To test the simple hypothesis against the simple alternative , consider the test that rejects when where is chosen so that . Among all tests of size at most , it is the most powerful.
(iv) is asymptotically unbiased for if
✓ Answer checked step by step Each part was checked against the definitions; we listed the 8 outcomes for part (ii).
Match X with Y:
| X | Y |
| (i) Random experiment | (a) Characteristic function |
| (ii) Sufficient | (b) Non-parametric method |
| (iii) Inversion theorem | (c) Probability theory |
| (iv) Kolmogorov test for goodness of fit | (d) Estimate |
Solution
(This question is also listed under 1.4 Generating and characteristic functions. The worked solution is repeated here so that this page is complete.)
| X | Y | Reason |
|---|---|---|
| (i) Random experiment | (c) Probability theory | The basic notion on which probability theory is built |
| (ii) Sufficient | (d) Estimate | Sufficiency is a property of a statistic used for estimation |
| (iii) Inversion theorem | (a) Characteristic function | It recovers the distribution from its c.f. |
| (iv) Kolmogorov test for goodness of fit | (b) Non-parametric method | The K–S test is distribution-free |
Answer: (i)–(c), (ii)–(d), (iii)–(a), (iv)–(b).
✓ Answer checked step by step Each match was checked against standard usage.
Supply the missing word(s) (i) If A and B are independent events then the conditional probability is equal to………….. (ii) If , then the binomial distribution is …………….. (iii) If a hypothesis specifies the value of all the parameters of a density function, it is called ……………. (iv) Methods which are not concerned with testing or estimating the parameters of a density function of a given type are called………….
Solution
(i) . (Independence means .)
(ii) symmetrical (about its mean ).
(iii) a simple hypothesis.
(iv) non-parametric (distribution-free) methods.
✓ Answer checked step by step Each blank was checked against the standard definitions.
A random experiment consists in taking two balls out of a bag containing 3 white and 2 black balls. Write down the corresponding sample space, enumerating all the elementary events and their probabilities.
Solution
Label the balls . Two balls are drawn together (without regard to order), so the sample space has equally likely elementary events, each with probability :
| Elementary events | Type | Probability |
|---|---|---|
| two white | ||
| one of each | ||
| two black |
(If the order of drawing is recorded, there are ordered pairs, each with probability .)
✓ Answer checked step by step We listed all C(5, 2) = 10 equally likely pairs.
A bag contains four red and six black balls. One ball is taken out a random, without noting its colour. A second ball is then taken out of the remaining balls in the bag at random and found to be black. What is the conditional probability that the first ball taken out was also black?
Solution
Let , be the events that the first and second balls are black.
. By symmetry, the second ball is equally likely to be any of the 10, so . (Directly: .)
. .
Answer. (Intuitively: given the second ball is black, the first is one of the other 9 balls, 5 of which are black.)
✓ Checked by computer We recomputed with exact fractions: (1/3)/(3/5) = 5/9.
State and prove Baye’s theorem.
Solution
Bayes’ theorem. Let be mutually exclusive and exhaustive events with , and let be an event with . Then for each ,
Proof.
- By the definition of conditional probability, .
- Total probability. The partition the sample space, so , a disjoint union. Hence
- Therefore
Terms. The are prior probabilities, the are likelihoods, and the are posterior probabilities.
Example. Machines produce 50%, 30% and 20% of the output, with 5%, 3% and 1% defective. A defective item came from the third machine with probability .
✓ Proof checked step by step Every step was checked: it combines the definition of conditional probability with the theorem of total probability.
An urn contains r red and w white balls, k balls are drawn from the urn and kept aside without noticing their colour. From the remaining balls one ball is drawn. What is the probability that it is red?
Solution
Answer. . Removing balls without looking at them does not change the chance.
Proof by symmetry. Shuffle all balls into a random order. The removed balls are the first , and the ball then drawn is the -th. In a random order, every position is equally likely to hold any given ball. So the -th ball is red with probability .
Proof by algebra. Let be the number of red balls among the removed (hypergeometric). Then
✓ Proof checked step by step Every step was checked. We also summed the hypergeometric average in Python (r = 5, w = 3, k = 4): 0.625 = r/(r + w).
Let F be the distribution function of a random variable X. Show that F can have at most countably many discontinuities.
Solution
Set-up. is non-decreasing, so at every point the left limit exists, and is discontinuous at exactly when the jump is positive.
Count the large jumps. For let Take any finite set of points in . The jumps at these points are separate parts of the total rise of , which is at most 1: So , and has fewer than points. It is finite.
Conclusion. The set of discontinuities is a countable union of finite sets. Hence is at most countable.
Remark. The jumps of a d.f. are exactly the atoms of the distribution, . So a random variable has at most countably many values of positive probability. The set of jumps may be dense, though: the d.f. of a variable taking each rational with probability jumps at every rational number.
✓ Proof checked step by step Every step was checked: the total size of the jumps cannot exceed 1.
An urn contains 5 white and 3 black balls, a second urn contains 6 white and 5 black balls. A ball is randomly transferred from the first urn to the second and then from the second to first urn. If a ball is now selected randomly from the first urn, find the probability that it is white.
Solution
First transfer (urn I: 5W, 3B → urn II: 6W, 5B).
(a) A white ball moves (probability ). Urn I has 4W, 3B and urn II has 7W, 5B. The ball returned from urn II is
- white with probability , leaving urn I with 5W, 3B, so ;
- black with probability , leaving urn I with 4W, 4B, so .
(b) A black ball moves (probability ). Urn I has 5W, 2B and urn II has 6W, 6B. The ball returned is
- white with probability , leaving urn I with 6W, 2B, so ;
- black with probability , leaving urn I with 5W, 3B, so .
Total probability.
✓ Checked by computer We recomputed the four-branch tree with exact fractions: 473/768 ≈ 0.616.
Describe a priori probabilities, likelihoods and posterior probabilities in defining the Bayes theorem. Explain why, in spite of its easy deductibility from the postulates of probability, it has been the subject of such extensive controversy.
Solution
The three ingredients of Bayes’ theorem.
- A priori (prior) probabilities : how probable each possible “cause” or hypothesis is before we see the data.
- Likelihoods : how probable the observed data would be if were true. They measure how well each hypothesis explains what was seen.
- Posterior probabilities : the revised probabilities of the hypotheses after the data. In words, posterior ∝ prior × likelihood.
Why it has been controversial. The theorem itself is uncontroversial: it follows in two lines from the definition of conditional probability. The dispute is over how it is used for inference.
- Where do the priors come from? In scientific problems the “causes” are often fixed unknown parameters, such as a population mean, not outcomes of a random experiment. Frequentists such as Fisher and Neyman held that assigning them probabilities is meaningless, or merely a matter of personal belief.
- Subjectivity. Different priors give different posteriors from the same data. Critics see this as letting personal opinion into science.
- The “principle of insufficient reason”. Using equal priors to express ignorance (as Bayes and Laplace did) is not invariant: a uniform prior on is not uniform on . This can lead to paradoxes.
- Philosophy of probability. The dispute reflects two views of probability: relative frequency on one side, and degree of belief on the other.
Today, Bayesian methods are widely used where priors can be justified (empirical Bayes, decision theory, hierarchical models). The debate is about interpretation, not about the mathematics.
✓ Answer checked step by step Each point was checked against standard accounts of Bayesian and frequentist inference.
A sportsman’s chance of shooting an animal at a distance is . He fires when and if he misses he reloads and fires when . If he misses at distance nr, the animal escapes. Calculate the odds against the sportsman.
Solution
Shots. He fires at distances for . A shot at hits with probability , and the shots are independent.
Probability that the animal escapes (all shots miss): (Both products telescope.)
Probability that he succeeds: .
Odds against the sportsman: (As the odds approach evens: he never does better than a 50% chance.)
✓ Checked by computer We checked the telescoping product in Python for n = 3, 5 and 10: P(escape) = (n + 1)/(2n) each time.
(i) For n events show that (ii) If p be the probability that none of the n events occurs, then
Solution
(i) Boole’s inequality. For two events, . Suppose the result holds for events. Then By induction it holds for all .
(ii) Note on the question. The bound needs the events to be independent. For example, if with , then , but is smaller than that for . With and the independent: Since for all real (the line is tangent to the convex curve at 0), This is the key step in the second Borel–Cantelli lemma: if , the chance that none of the events occurs is 0.
✓ Proof checked step by step Every step was checked: induction for (i), and for (ii).
Let X and Y be jointly distributed with p.d.f. Find marginals conditional distributions and correlation coefficient.
Solution
(This question is also listed under 1.2 Expectation and moments. The worked solution is repeated here so that this page is complete.)
Marginals.
Conditional distributions. These depend on the conditioning value, so and are not independent.
Moments. By symmetry, and have the same moments.
Correlation coefficient.
✓ Checked by computer We recomputed the moments in SymPy: , , , .
If the probability of hitting a target is and if 6 shots are fired, what is the conditional probability of the target being hit at least twice assuming that at least one hit is already scored?
Solution
The number of hits is .
✓ Checked by computer We recomputed with exact binomial terms: 473/665 ≈ 0.711.
Do the following functions define distribution functions of random variables?
Solution
Requirements. A d.f. must be non-decreasing and right-continuous, with , , and so .
Check. At : . So is not a distribution function. (It also jumps from 0 to at and then drops from to 1 just after , so it is not even non-decreasing.)
(The intended function was probably on . That is the d.f. of the uniform distribution on , rising from 0 to 1.)
✓ Answer checked step by step We checked the value of F at x = a against the requirement F ≤ 1.
Justify your answer in each case.
Solution
Conditions.
- Non-decreasing: increases on , so we need .
- At the left end, , which is fine.
- At : , while for . Right-continuity at 3 requires , that is, . (If , would exceed 1 and then fall. If , would jump up just after 3, but itself is set by the middle formula, so would not be right-continuous there.)
Answer. is a distribution function if and only if : with density on . For any other it is not a d.f.
✓ Answer checked step by step We checked that F(3) = 2k, so right-continuity at 3 forces 2k = 1.
A postman delivers 5 letters at random to 5 different addresses in a locality. What is the probability that none of the letters is correctly delivered?
Solution
Inclusion–exclusion. Let be the event that letter is delivered correctly. Then (44 is the number of derangements of 5 objects. For many letters the answer approaches .)
✓ Checked by computer We recomputed: D₅ = 44 derangements out of 5! = 120, giving 11/30.
A certain water-supply system consists of three pumping stations and a destination. Each pumping station has probability of being operable at a specified time . If the stations are operable or failed independently of one another and if the stations are connected as shown below, find the probability that water is available to the destination at time .
[Figure: network diagram. Source (dot with arrow) on the left feeds a vertical junction line from which three parallel paths run left to right towards a vertical junction line on the right, which leads by an arrow to Destination. Top path: arrow to station 1 (circle labelled 1), then on to the right junction. Middle path: arrow from the source junction to station 3 (circle labelled 3); from station 3 two lines branch out, one going up to station 1 and one going down to station 2. Bottom path: arrow to station 2 (circle at the bottom, label partly hidden in the source; read as 2), then on to the right junction. Arrows on the right junction point from the top and bottom paths towards the Destination outlet. So water reaches the destination through station 1 or station 2; station 1 and station 2 are each fed either directly from the source or through station 3.]
Solution
Note on the question. The diagram printed in the paper is hard to read. We take it as follows: water reaches the destination through station 1 or through station 2, and each of these can be fed straight from the source or through station 3.
Reliability. Under this reading, water arrives exactly when station 1 or station 2 works. The paths through station 3 only add routes into stations 1 and 2, which can be fed directly anyway. With independent stations,
Other readings.
- If station 3 is a third parallel route to the destination, the answer is .
- If stations 1 and 2 can be fed only through station 3, the answer is .
The method is the same in each case: list the routes from source to destination, and use independence on the series and parallel parts.
✓ Checked by computer We checked the reliability formula by listing all 2³ operating patterns of the stations in Python.
State Bayes’ theorem and explain its significance.
Solution
Bayes’ theorem. If are mutually exclusive and exhaustive events with , and , then
Significance.
- Reasoning from effects to causes. It reverses conditioning. From the probabilities of an observed effect under each possible cause , it gives the probability of each cause given that the effect was observed.
- Learning from data. It updates prior probabilities into posterior ones: posterior ∝ prior × likelihood. It is the foundation of Bayesian inference and decision theory.
- Applications. Medical diagnosis (the chance of disease given a positive test), quality control (which machine made a defective item), spam filtering, and reliability.
- A warning against base-rate neglect. With a rare disease, even an accurate test gives many false positives. Bayes’ theorem makes the prior’s influence explicit.
✓ Answer checked step by step The statement was checked against the standard form; the significance points follow standard texts.
A pair of fair dice are rolled as long as necessary for a sum of two scores of 7 to turn up. Assuming that 7 does not appear on the first throw, what is the probability that more than two throws will be necessary?
Solution
On each throw, , independently. Let be the throw on which 7 first appears. Then . (By the memoryless property of the geometric distribution: given that the first throw was not 7, we need only the second throw not to be 7.)
✓ Checked by computer We recomputed: P(N > 2 | N > 1) = (5/6)²/(5/6) = 5/6.
(i) For n events show that (ii) Let be a non-decreasing sequence of events. State that
Solution
(i) Bonferroni’s inequalities. Write and .
Upper bound (Boole), by induction: which gives .
Lower bound, by induction. True for (with equality). Assume it for , and write : By the induction hypothesis, . By Boole, . Hence Together: .
(ii) Continuity from below. If and , then .
Proof. Let and . The are disjoint, and . By countable additivity,
✓ Proof checked step by step Every step was checked: induction for (i), and disjoint decomposition with countable additivity for (ii).
An urn contains R red and W white balls. Balls are drawn one by one without replacement. If is the event that a red ball is drawn for the first time on the draw, then determine . Let p be the proportion of red balls in the urn before the first draw. Show that
Solution
Exact probability. means the first balls are white and the -th is red. For : where .
Limit. Let with fixed. Each factor for fixed , and . There are factors of the first kind, so In a very large urn, drawing without replacement is almost the same as drawing with replacement, so the waiting time for the first red ball becomes geometric.
✓ Checked by computer We checked the formula in Python (R = 6, W = 9): P(A₁), P(A₂), P(A₃) = 0.400, 0.257, 0.158, and the probabilities over all k sum to 1.
Explain clearly why there must be a mistake in each of the following statements: (i) The probability that a student will get an ‘A’ in a statistics course is 0.32 and the probability that he or she will get either an ‘A’ or a ‘B’ is 0.27. (ii) A company is working on the construction of two shopping centers. The probability that the larger one will be completed on time is 0.35 and the probability that both will be completed on time is 0.42.
Solution
(i) The event “A” is contained in the event “A or B”. So But here . This is impossible.
(ii) “Both completed on time” is contained in “the larger one completed on time”. So But here . This is impossible.
In both cases a probability has been assigned to a smaller event that exceeds the probability of a larger event containing it. This contradicts the monotonicity of probability: .
✓ Answer checked step by step Each statement was checked against the basic rules A ⊆ A ∪ B and A ∩ B ⊆ A.
State and prove Bayes’ theorem.
Solution
Bayes’ theorem. Let be mutually exclusive events whose union is the whole sample space, with . For any event with :
Proof.
Step 1 (multiplication rule). By definition, , so .
Step 2 (total probability). Since the partition the sample space, and the sets are disjoint. By additivity,
Step 3.
Example. Ten per cent of a population has a disease, and a test is 90% accurate both ways. Then A positive result moves the probability only from 10% to 50%.
✓ Proof checked step by step Every step was checked: the definition of conditional probability plus total probability.
If two random variables have the joint density find the probabilities that (i) both random variables will take on values less than 1. (ii) the sum of the values taken on by both will be less than 1.
Solution
Check. . ✓ (The density factorises, so and are independent, with densities on and on .)
(i)
(ii)
✓ Checked by computer We recomputed both integrals in SymPy: 1/4 and 1/24.
What is a random experiment? Consider the random experiment “a die is rolled n times”. Define the associated sample space and state the number of elementary events in it. What is the event that “number 1 shows at least once”? How many elementary events are there in this event?
Solution
Random experiment. An experiment that
- can be repeated (at least in principle) under identical conditions,
- has a set of possible outcomes that is known in advance, and
- has an outcome that cannot be predicted with certainty on any one trial.
Tossing a coin and rolling a die are examples.
Sample space for rolls. the set of ordered -tuples of faces. It has elementary events, all equally likely for a fair die.
The event “1 shows at least once”. The complement has points, so has and .
✓ Answer checked step by step We checked the counts 6ⁿ and 6ⁿ − 5ⁿ by direct counting.
A fair die is rolled twice. Let A be the event that the first throw shows a number and B the event that the second throw shows at least 4. Describe the event and find .
Solution
Events. (12 outcomes) and (18 outcomes).
= “first throw is 1 or 2, and second throw is 4, 5 or 6”:
. ( and are independent: .)
✓ Checked by computer We recomputed by counting the 36 outcomes: |A ∩ B| = 6 and P(A ∪ B) = 24/36 = 2/3.
A point is picked at random from the unit square . Find the probability that the point (i) lies in the circle with centre and radius , (ii) lies at most a unit distance from the origin (0, 0).
Solution
A point chosen at random from the unit square has probability equal to the area of the region (the total area is 1).
(i) The circle with centre and radius lies entirely inside the square. Its area is
(ii) meets the square in a quarter of the unit disc. Its area is
(The two answers coincide, even though the regions are different shapes.)
✓ Checked by computer We recomputed the areas: both equal π/4 ≈ 0.785.
When is a random variable said to be of the discrete type? What is the pmf of such a random variable? Define the corresponding distribution function. Give an example of such a random variable.
Solution
Discrete random variable. A random variable is of the discrete type if it takes a finite or countably infinite set of values with
P.m.f. The probability mass function is , with and elsewhere. It satisfies
- , and
- .
Also for any set .
Distribution function. For a discrete variable, is a step function. It jumps by at each and is constant in between. It is non-decreasing and right-continuous, with and .
Example. = number of heads in 2 tosses of a fair coin: , , , and Another example: the Poisson() number of calls in a minute, ,
✓ Answer checked step by step Each definition was checked against the standard texts.
Let (X, Y) be jointly distributed with pdf Find all the marginal and conditional density functions.
Solution
Check. The region has area , so integrates to 1. ✓
Marginals.
Conditionals. ( and are the minimum and maximum of two independent variables.)
✓ Checked by computer We checked in SymPy that every marginal and conditional density integrates to 1.
Do the following functions define distribution functions of random variables? (i) (ii) [?] Justify your answer in each case.
Solution
A d.f. must be: non-decreasing, right-continuous, with and (so ).
(i) Yes, it is a d.f. It is 0 for , rises as on , and is 1 from on. It is non-decreasing, right-continuous everywhere (including at , where ), and has the right limits. It is a mixed distribution: density 1 on carrying probability , plus an atom .
(ii) No, it is not a d.f. For , , a negative value. Also falls from at to negative values, so it is not non-decreasing, and .
(Even if was intended for , would drop from to . That would make it neither non-decreasing nor right-continuous, so it would still fail.)
✓ Answer checked step by step We checked each function against the defining properties of a distribution function.
More on Probability
- All Statistics PYQ solutions, topic by topic
- Probability topic-wise PYQs (questions only, for practice)
- Statistics PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Statistics booklist
Questions: UPSC Civil Services (Main) Examination, Statistics Paper I, 1995–2026. Solutions: Optional Province. Found an error? Tell us.

