In review — free for everyone. While a book is in review you are one of its reviewers: read it, use it, and tell us what is wrong. When the reports settle, the Class 12 pass is ₹999 for the year and this book’s PDF is ₹299.
From certainty to likelihood
Every chapter before this one asked what is true, given the rules. This chapter asks a different question: what is likely, given only part of the picture. That question keeps mattering long after the exam ends.
A doctor reads a test result. A bank scores a loan application. A spam filter reads an email. Each one starts with a prior belief, folds in new evidence, and lands on a sharper estimate. Conditional probability, Bayes’ theorem, and the random-variable machinery ahead are three instances of exactly that one move.
This is the book’s closing chapter because updating a belief on partial evidence is the most-used move in the world outside the exam hall. First comes conditional probability itself, restricting attention to what is now known. Then come the theorems that push that update through a whole partition of cases. Last comes the machinery that turns updated uncertainty into a single number worth acting on.
Probability, once you know something
For events $A$ and $B$ with $P(B) > 0$, the conditional probability of $A$ given $B$ is $P(A | B) = P(A \cap B)/P(B)$.
Read it as a restriction, not a new rule. $B$’s own probability becomes the new whole; $P(A | B)$ asks what fraction of that whole also lies in $A$. Nothing about $A$ or $B$ separately changes — only the ground being measured against shrinks to $B$.
*The condition $P(B) > 0$ is not a technicality.* “Given $B$” presumes $B$ can actually happen. Dividing by $P(B) = 0$ is undefined, not zero — a definition that ignored this would be asking a question with no event behind it.
Conditioning on a fixed event $B$ still behaves like an ordinary probability measure, once $P(B) > 0$ is assumed. Three properties follow directly from the definition, not as new assumptions but as consequences already sitting inside it.
$P(S | B) = 1$: once $B$ has happened, the whole sample space is certain relative to it. $0 \leq P(A | B) \leq 1$ for any event $A$, because $A \cap B$ can never carry more probability than $B$ itself carries. And the complement rule reads exactly as it did before conditioning: $P(A' | B) = 1 - P(A | B)$, where $A'$ is the complement of $A$ inside $S$.
None of these three needed a separate proof from scratch. Each one drops straight out of treating “conditioned on $B$” as an ordinary probability measure on its own — restricted to the smaller sample space $B$.
Find $P(A|B)$ directly and by the formula, for a fair die
- $A = {2, 4, 6}$ (“the number is even”), $B = {3, 6}$ (“the number is a multiple of 3”)
Given events on a single fair-die roll; find $P(A|B)$ two ways. - Restrict attention to $B$’s two outcomes, ${3, 6}$
Conditioning on $B$ means treating $B$ as the whole sample space. - Exactly one of $B$’s two outcomes, $6$, is also in $A$
Direct counting inside the restricted space. - $P(A|B) = 1/2$ by counting alone
One favourable outcome out of two, once attention is restricted to $B$. - $P(B) = 2/6 = 1/3$, $A \cap B = {6}$ so $P(A \cap B) = 1/6$
Compute the same two probabilities directly from the full sample space. - *$P(A|B) = P(A \cap B)/P(B) = (1/6)/(1/3) = 1/2$*
The formula reproduces the same answer, because conditioning on $B$ is exactly this shrink-the-sample-space-then-count move.
Turning the definition around
Multiply both sides of $P(A | B) = P(A \cap B)/P(B)$ by $P(B)$. The definition turns into a working tool. The result is the multiplication theorem: $P(A \cap B) = P(B) \cdot P(A | B) = P(A) \cdot P(B | A)$ — valid whichever event is conditioned on.
The same idea extends to three events: $P(A \cap B \cap C) = P(A) \cdot P(B | A) \cdot P(C | (A \cap B))$. Each new event conditions on everything already assumed to have happened before it.
This is the tool for “first this, then that” probabilities. Picture a sequence of draws or trials where the second event’s chances depend on the first having already occurred, and the third’s depend on both.
Independent events
Events $A$ and $B$ are independent if $P(A \cap B) = P(A) \cdot P(B)$. That is the defining test. It is checked directly from the probabilities involved, never assumed from how the events happen to be described.
When both $P(A) > 0$ and $P(B) > 0$, this is equivalent to $P(A | B) = P(A)$ and $P(B | A) = P(B)$. Conditioning on one event leaves the other’s probability completely unchanged.
Independence is a property of the probabilities involved, not of the words used to describe the events. Two events described in unrelated language can still fail this test. Two events that sound connected can still pass it — the product rule is the only check that counts.
Mutually exclusive means $A \cap B = \emptyset$ — the two events cannot both happen. Independent means $P(A \cap B) = P(A) \cdot P(B)$ — knowing one happened tells you nothing about the other’s chances. The two words sound like they might describe the same kind of separateness; they do not.
For events with $P(A) > 0$ and $P(B) > 0$, they are actually opposites. Mutually exclusive forces $P(A \cap B) = 0$, which cannot equal $P(A) \cdot P(B)$ when both factors are positive — so such events are never independent.
*If $A$ happens, a mutually exclusive $B$ becomes impossible.* That is the most one event can possibly tell you about another — the far end of dependence, not the middle ground of independence.
For independent events $A_1, A_2, \ldots, A_n$, the product rule chains straight through: $P(A_1 \cap A_2 \cap \ldots \cap A_n) = P(A_1) \cdot P(A_2) \cdot \ldots \cdot P(A_n)$.
No conditioning term appears anywhere in that product. Each event is independent of every other, so the individual probabilities multiply directly and the chain is complete. This is the working rule behind “the probability that all $n$ trials succeed”.
Pairwise independence is weaker than this full chain, and the two should not be confused. Checking that every pair of events satisfies the product rule does not by itself guarantee the full $n$-way product holds. The chain rule above assumes independence across the whole set, not just two at a time.
Test two dice events for independence
- $A$ = “first die shows an even number”, $B$ = “the sum of the two dice is 7”
Two events on a pair of fair dice; test the product rule directly. - $P(A) = 18/36 = 1/2$
18 of the 36 equally likely outcomes have an even first die. - $P(B) = 6/36 = 1/6$
Six pairs sum to 7 — $(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)$. - $A \cap B = {(2,5), (4,3), (6,1)}$, $P(A \cap B) = 3/36 = 1/12$
Count the outcomes common to both events. - $P(A) \cdot P(B) = (1/2)(1/6) = 1/12$
Compute the product of the two separate probabilities. - *$P(A) \cdot P(B) = 1/12 = P(A \cap B)$ — the product rule holds, so $A$ and $B$ are independent*
Even though “sum is 7” sounds like it should depend on the first die, every first-die value pairs with exactly one second-die value making the sum 7, which keeps the count proportional.
Splitting the sample space into cases
A partition of the sample space $S$ is a set of events $E_1, E_2, \ldots, E_n$ that between them cover every case exactly once. Three conditions make this precise: pairwise disjoint ($E_i \cap E_j = \emptyset$ for $i \neq j$), union equal to all of $S$, and each with $P(E_i) > 0$.
Every outcome in $S$ then belongs to exactly one $E_i$ — mutually exclusive, collectively exhaustive cases, with nothing left over and nothing counted twice.
This is the structure the next two theorems both build on. Break a hard problem into cases, solve each case, recombine. Neither the theorem of total probability nor Bayes’ theorem works without a genuine partition sitting underneath it.
$E_1, E_2, \ldots, E_n$ partition the sample space $S$, and $A$ is any event. The theorem of total probability says $P(A) = \sum_i P(E_i) \cdot P(A | E_i)$.
Each term in that sum is “the chance of being in case $E_i$” multiplied by “the chance $A$ happens, given case $E_i$”. Summing that product over every case recombines the case-by-case pieces into the plain, unconditional probability of $A$.
The theorem follows from the multiplication theorem, applied to each case in turn, then added. The cases are disjoint, so their separate contributions to $P(A)$ never overlap. Nothing here needs a new proof technique — only the partition and the tool already in hand.
Reversing the condition: from evidence back to cause
$E_1, E_2, \ldots, E_n$ partition $S$, and $A$ is any event with $P(A) > 0$. Bayes’ theorem reverses the condition: $P(E_i | A) = (P(E_i) \cdot P(A | E_i)) / (\sum_j P(E_j) \cdot P(A | E_j))$.
The numerator is the multiplication theorem applied to case $E_i$ alone. The denominator is the theorem of total probability — $P(A)$ written out as a sum over every case, not just case $i$. What comes out is the posterior probability of case $E_i$, now that $A$ is known to have happened.
*Read it as: start from the prior $P(E_i)$, weight it by how well case $E_i$ explains the evidence.* That weight is the likelihood, $P(A | E_i)$. Then rescale so the posteriors across every case sum to 1 — every number inside the theorem was already available from the partition.
The numerator of Bayes’ theorem already measures how likely a case is — prior times likelihood, for that one case. It is tempting to reuse that same number in the denominator too, since it already captures the case being asked about.
That shortcut drops something Bayes’ theorem needs. The denominator is $\sum_j P(E_j) \cdot P(A | E_j)$, summed over every partition element. It is the theorem of total probability computing the plain $P(A)$ — a number that does not care which hypothesis a student happens to be asking about.
Two urns are chosen with $P = 1/2$ each; let $R$ be “a red ball is drawn”, with $P(R | A) = 2/3$ and $P(R | B) = 1/3$. Correctly, $P(A | R) = (1/2 \cdot 2/3) / [(1/2 \cdot 2/3) + (1/2 \cdot 1/3)] = (1/3)/(1/2) = 2/3$. Dropping urn $B$’s term from the denominator gives $(1/3)/(1/3) = 1$ — a posterior of certainty, even though urn $B$ could plainly have produced a red ball too.
A denominator missing even one partition term is not a rounding error. It silently promotes one hypothesis to certainty. Every case in the partition has to appear in the sum, whether or not it is the case the question happens to be about.
Did the die actually show a six?
- A man speaks the truth $3$ out of $4$ times; he rolls a die once and reports a six
Partition the sample space by the truth of the report; find the posterior that a six actually occurred. - $E_1$ = “a six actually occurs”, $P(E_1) = 1/6$; $E_2$ = “a six does not occur”, $P(E_2) = 5/6$
The partition, taken directly from the die itself. - $A$ = “he reports a six”; $P(A|E_1) = 3/4$
If $E_1$ is true he is telling the truth, so he reports a six with probability $3/4$. - $P(A|E_2) = 1/4$
If $E_2$ is true he must be lying to report a six, so this is his lying rate. - $P(E_1|A) = (P(E_1) \cdot P(A|E_1)) / (P(E_1) \cdot P(A|E_1) + P(E_2) \cdot P(A|E_2))$
Bayes’ theorem, denominator summed over both partition elements. - $= ((1/6)(3/4)) / ((1/6)(3/4) + (5/6)(1/4)) = (3/24)/(3/24 + 5/24) = 3/8$
Substitute the four numbers already found and simplify. - *Even though he is truthful three times out of four, the probability a six was actually rolled is only $3/8$*
A six is rare to begin with ($P(E_1) = 1/6$), and that low prior pulls the posterior well below the $3/4$ his personal truthfulness rate alone might suggest.
Turning outcomes into numbers
A random variable $X$ is a function that assigns a real number to every outcome of a random experiment. Rolling two dice and recording their sum, counting heads in three tosses, timing how long a bulb lasts — each turns an outcome into a number, and that number is what $X$ names.
Its probability distribution lists every value $X$ can take, $x_1, x_2, \ldots, x_n$, alongside the probability of each, $p_1, p_2, \ldots, p_n$ — usually shown as a two-row table, values on top, probabilities below.
*Two conditions make a distribution valid: every $p_i$ satisfies $0 \leq p_i \leq 1$, and $\sum_i p_i = 1$.* The probabilities of all possible values have to exhaust the whole sample space exactly once — nothing left over, nothing counted twice.
The mean, or expectation, of a discrete random variable $X$ is $E(X) = \sum_i x_i \cdot p_i$. Each value is weighted by its own probability, then added up across every value $X$ can take.
The variance, $op(\text{Var})(X) = E(X^2) - [E(X)]^2$, measures spread around that mean, where $E(X^2) = \sum_i x_i^2 \cdot p_i$ is the mean of the squared values rather than of $X$ itself.
*A small variance means $X$’s outcomes cluster near $E(X)$; a large one means they scatter widely, even when the mean is identical.* Two random variables can share the exact same mean and still behave very differently — variance is the number that tells them apart.
Compute mean and variance for the number of heads in two coin tosses
- $X$ = number of heads in two tosses of a fair coin, so $X \in {0, 1, 2}$
Given random variable; find its distribution, then mean and variance. - Outcomes HH, HT, TH, TT, each equally likely
List the four equally likely outcomes of two tosses. - $P(X=0) = 1/4$, $P(X=1) = 1/2$, $P(X=2) = 1/4$
TT gives $X=0$; HT and TH give $X=1$; HH gives $X=2$. - $E(X) = 0 \cdot 1/4 + 1 \cdot 1/2 + 2 \cdot 1/4 = 1$
Weight each value by its own probability and add. - $E(X^2) = 0^2 \cdot 1/4 + 1^2 \cdot 1/2 + 2^2 \cdot 1/4 = 3/2$
The mean of the squared values, computed the same way. - *$op(\text{Var})(X) = E(X^2) - [E(X)]^2 = 3/2 - 1^2 = 1/2$*
On average one head shows up, with a moderate spread of $1/2$ around that average.
The book’s last move: update, don’t guess
Every technique in this chapter is the same move wearing different clothes: start with what you know, fold in new evidence, land on a sharper answer.
Conditional probability narrows the sample space to what is now known. The multiplication theorem chains events in sequence. Total probability and Bayes’ theorem push that update through an entire partition of cases, turning a prior into a posterior. The random-variable machinery — distribution, mean, variance — turns that updated uncertainty into a single number worth acting on.
Chapters 1 through 12 asked what is true, given fixed rules, and every answer was exact. This closing chapter asked what is likely, given partial information, and every answer came with a margin. That is the harder, more honest question. It keeps being asked long after the exam is over: a diagnosis read off a test result, a spam filter’s next guess, a weather forecast revised as clouds gather. All of them are this chapter’s Bayes’ theorem, run again.
Practice set
Exercise 13.1 practises computing conditional probabilities directly from the definition. Problems range from a described sample space, counted directly, to given probability values plugged straight into the conditional-probability formula. *They apply the complement rule and the bound $P(A|B) \leq 1$ along the way*.
- practice Events $A$ and $B$ satisfy $P(A) = 0.5$, $P(B) = 0.4$ and $P(A \cap B) = 0.2$. Find $P(A|B)$.
- practice Events $E$ and $F$ satisfy $P(E) = 0.7$ and $P(E \cap F) = 0.35$. Find $P(F|E)$.
- practice Events $A$ and $B$ satisfy $P(A) = 0.6$, $P(B) = 0.5$ and $P(A \cap B) = 0.3$. Find $P(B|A)$.
- practice Events $E$ and $F$ satisfy $P(E) = 0.4$ and $P(E \cap F) = 0.15$. Find $P(F|E)$.
- practice A fair die is rolled once. Let $A$ = the number is greater than $4$, and $B$ = the number is even. Find $P(A|B)$ by direct counting.
- practice Two fair coins are tossed once. Let $E$ = at least one head appears, and $F$ = both coins show the same face. Find $P(E|F)$ by direct counting.
- practice If $P(A|B) = 0.4$, find $P(A'|B)$.
- practice If $P(A|B) = 5/8$, find $P(A'|B)$.
- practice Which of these is always true for an event $B$ with $P(B) > 0$?
- practice A card is drawn from a well-shuffled deck of $52$ playing cards. Let $A$ = the card is a king, and $B$ = the card is a face card. Find $P(A|B)$.
- practice In a class of $60$ students, $25$ study Sanskrit and $20$ study French, with $10$ studying both. A student is picked at random and is known to study Sanskrit. Let $S$ = studies Sanskrit and $F$ = studies French. Find $P(F|S)$.
- practice Events $A$ and $B$ satisfy $P(A) = 0.8$ and $P(B|A) = 0.4$. Find $P(A \cap B)$.
- practice A family has two children, each equally likely to be a boy or a girl. Let $G$ = the older child is a girl, and $B$ = both children are girls. Find $P(B|G)$.
- practice If $P(A) = 1/3$ and $P(B) = 0$, then $P(A|B)$ is
- practice A box has $4$ red and $6$ black balls. Two balls are drawn one after another without replacement. Let $R_1$ = the first ball drawn is red, and $R_2$ = the second ball drawn is red. Find $P(R_2|R_1)$.
- practice A box has $3$ red, $4$ white and $5$ blue balls. A ball is drawn at random. Let $R$ = the ball is red, and $N$ = the ball is not blue. Find $P(R|N)$.
- practice A pair of fair dice is rolled. Let $A$ = the sum is $8$, and $B$ = the first die shows a number greater than $4$. Find $P(A|B)$.
- practice Events $A$ and $B$ satisfy $P(A) = 0.5$, $P(B) = 0.65$ and $P(A \cup B) = 0.85$. Find $P(A|B)$.
Answers
- $0.5$
- $0.5$
- $0.5$
- $3/8$
- $1/3$
- $1/2$
- $0.6$
- $3/8$
- B — $P(S|B) = 1$.
- $1/3$
- $2/5$
- $0.32$
- $1/2$
- C — not defined.
- $1/3$
- $3/7$
- $1/6$
- $6/13$
Exercise 13.2 practises the multiplication theorem and tests given pairs of events for independence. Problems chain two- and three-event sequences, contrast independent events with mutually exclusive ones, and apply the chain rule where several trials are all independent.
- practice Events $A$ and $B$ satisfy $P(A) = 0.5$ and $P(B|A) = 0.6$. Find $P(A \cap B)$.
- practice Events $A$ and $B$ satisfy $P(B) = 0.4$ and $P(A|B) = 0.75$. Find $P(A \cap B)$.
- practice A box has $6$ red and $4$ blue balls. Two balls are drawn one after another without replacement. Let $R_1$ = first ball red, and $B_2$ = second ball blue. Find $P(R_1 \cap B_2)$.
- practice Let $A_1$ = the first card drawn is an ace, and $A_2$ = the second card drawn is an ace. Two cards are drawn one after another without replacement from a well-shuffled pack of $52$ cards. Find $P(A_1 \cap A_2)$.
- practice If $P(A) = 0.4$, $P(B) = 0.5$ and $P(A \cap B) = 0.2$, determine whether $A$ and $B$ are independent.
- practice If $P(E) = 0.3$, $P(F) = 0.4$ and $P(E \cap F) = 0.2$, determine whether $E$ and $F$ are independent.
- practice A fair coin is tossed and a fair die is rolled together. Let $A$ = the coin shows heads, and $B$ = the die shows a number greater than $4$. Determine whether $A$ and $B$ are independent.
- practice If $A$ and $B$ are mutually exclusive events with $P(A) > 0$ and $P(B) > 0$, then $A$ and $B$ are
- practice Three independent switches close with probabilities $0.9$, $0.8$ and $0.95$ respectively. Find the probability that all three switches close.
- practice Two independent events $A$ and $B$ have $P(A) = 0.3$ and $P(B) = 0.5$. Find the probability that at least one of $A$, $B$ occurs.
- practice If $A$ and $B$ are independent events with $P(A) = 0.4$ and $P(B) = 0.5$, can $A$ and $B$ also be mutually exclusive? Justify your answer.
- practice Let $S_1$, $S_2$, $S_3$ be the events that the first, second and third cards drawn are spades. Three cards are drawn one by one without replacement from a well-shuffled pack of $52$ cards. Find $P(S_1 \cap S_2 \cap S_3)$.
- practice The probability that student $A$ solves a problem is $2/3$, and the probability that student $B$ solves the same problem independently is $3/5$. If both attempt it, find the probability that at least one of them solves the problem.
- practice A shop’s three delivery trucks operate independently, with breakdown probabilities $0.05$, $0.1$ and $0.08$ on a given day. Find the probability that none of the three trucks breaks down.
- practice Two cards are drawn with replacement from a well-shuffled pack of $52$ cards. Find the probability that both cards are red.
- practice A bag has $5$ red and $3$ green balls. Two balls are drawn one after another without replacement. Let $G_1$ = first ball green, and $R_2$ = second ball red. Find $P(G_1 \cap R_2)$.
- practice For events $E$ and $F$ with $P(F) > 0$, the multiplication theorem states that $P(E \cap F)$ equals
- practice In a class, three independent students $A$, $B$ and $C$ pass an exam with probabilities $0.9$, $0.85$ and $0.8$ respectively. Find the probability that at least one of them fails.
Answers
- $0.3$
- $0.3$
- $4/15$
- $1/221$
- Yes — $0.4 \cdot 0.5 = 0.2$, which equals $P(A \cap B)$.
- No — $0.3 \cdot 0.4 = 0.12$, which is not equal to $P(E \cap F) = 0.2$.
- Yes — $1/2 \cdot 1/3 = 1/6$, which equals $P(A \cap B)$ found by direct counting.
- B — never independent.
- $0.684$
- $0.65$
- No — mutually exclusive would force $P(A \cap B) = 0$, but independence gives $P(A \cap B) = 0.4 \cdot 0.5 = 0.2$, which is not $0$.
- $11/850$
- $13/15$
- $0.7866$
- $1/4$
- $15/56$
- B — $P(F) \cdot P(E|F)$.
- $0.388$
Exercise 13.3 practises the theorem of total probability and Bayes’ theorem together. Problems set up a partition, compute $P(A)$ by summing over every case, then reverse the condition with Bayes’ theorem to find a posterior. Always sum prior-times-likelihood over the full partition in the denominator — never just the matching term.
- practice A factory has two machines, $A$ and $B$. Machine $A$ produces 60% of the items and machine $B$ produces 40%. Among machine $A$'s items, 2% are defective; among machine $B$'s items, 3% are defective. Find the probability that a randomly chosen item is defective.
- practice Bag I has $4$ red and $6$ black balls; Bag II has $5$ red and $5$ black balls. Let $E_1$ = Bag I is chosen, and $E_2$ = Bag II is chosen. A bag is chosen at random and a ball is drawn from it. Find $P(R)$, the probability that the ball drawn is red.
- practice In the same situation as the previous item (Bag I: $4$ red, $6$ black; Bag II: $5$ red, $5$ black; a bag chosen at random, with $E_1$, $E_2$, $R$ as before), the ball drawn is red. Find $P(E_1|R)$.
- practice A box of bulbs is supplied by three machines $X$, $Y$, $Z$ in the ratio $3 : 3 : 4$. The defective rates are $1%$ for $X$, $2%$ for $Y$ and $3%$ for $Z$. Find the probability that a bulb chosen at random from the box is defective.
- practice In the same bulb factory as the previous item, a bulb chosen at random is found defective. Find the probability that it was manufactured by machine $Z$.
- practice An urn contains $3$ white and $2$ black balls. One ball is drawn and, without noting its colour, is placed into a second urn that already holds $4$ white and $3$ black balls. A ball is then drawn from the second urn. Let $W_1$ = the ball transferred from the first urn is white, and $W_2$ = the ball drawn from the second urn is white. Find $P(W_2)$.
- practice A village clinic’s rapid test for a certain infection correctly identifies $95%$ of infected patients as positive, and correctly identifies $90%$ of healthy patients as negative. In the local population, $2%$ of people are infected. Let $E_1$ = infected, $E_2$ = healthy, and $T$ = tests positive. Find $P(T)$.
- practice In the same village clinic as the previous item, a person tests positive. Find the probability that the person is actually infected.
- practice A cricket team’s probability of winning the toss is $1/2$. If it wins the toss, it wins the match with probability $0.7$; if it loses the toss, it wins the match with probability $0.4$. Let $E_1$ = wins the toss, $E_2$ = loses the toss, and $W$ = wins the match. Find $P(W)$.
- practice In the same tournament as the previous item, the team won the match. Find the probability that it had won the toss.
- practice Three bags contain balls as follows: Bag $1$ has $2$ red and $3$ black; Bag $2$ has $4$ red and $1$ black; Bag $3$ has $3$ red and $2$ black. Let $E_1$, $E_2$, $E_3$ be the events that Bag $1$, $2$, $3$ is selected, and $R$ = the ball drawn is red. A bag is selected at random and a ball is drawn from it. Find $P(R)$.
- practice In the same three-bag situation as the previous item, the ball drawn is red. Find the probability that it came from Bag $2$.
- practice A bank classifies loan applicants as low-risk, with probability $0.6$, or high-risk, with probability $0.4$. $5%$ of low-risk applicants default and $20%$ of high-risk applicants default. Let $E_1$ = low-risk, $E_2$ = high-risk, and $D$ = defaults. Find $P(D)$.
- practice In the same bank as the previous item, an applicant defaults. Find the probability that the applicant was low-risk.
- practice Two urns, $A$ and $B$, are equally likely to be chosen. Urn $A$ yields a red ball with probability $2/3$, and Urn $B$ yields a red ball with probability $1/3$. An urn is chosen and a red ball is drawn; let $R$ = a red ball is drawn. Find $P(A|R)$.
Answers
- $0.024$
- $9/20$
- $4/9$
- $0.021$
- $4/7$
- $23/40$
- $0.117$
- $19/117$
- $0.55$
- $7/11$
- $3/5$
- $4/9$
- $0.11$
- $3/11$
- $2/3$
Exercise 13.4 practises building a probability distribution table for a random variable. Problems check the two validity conditions — each probability in $[0, 1]$, all of them summing to $1$ — then *compute the mean $E(X)$ and the variance*.
- practice A random variable $X$ takes the values $0$, $1$, $2$ with probabilities $0.3$, $0.5$, $0.2$. Determine whether this is a valid probability distribution.
- practice A random variable $X$ has $P(X=0) = k$, $P(X=1) = 2 k$, $P(X=2) = 3 k$. Find $k$.
- practice A random variable $X$ takes the values $1$, $2$, $3$ with probabilities $0.2$, $0.5$, $0.3$. Find $E(X)$.
- practice For the random variable in the previous item ($X = 1, 2, 3$ with probabilities $0.2$, $0.5$, $0.3$), find $op(\text{Var})(X)$.
- practice A bag has $3$ red and $2$ white balls. Two balls are drawn together at random, and $X$ denotes the number of red balls drawn. There are $10$ equally likely ways to choose $2$ balls from the $5$, of which $1$ way gives $0$ red, $6$ ways give $1$ red and $3$ ways give $2$ red. Find $E(X)$.
- practice For the random variable in the previous item ($X$ = number of red balls when $2$ balls are drawn from a bag of $3$ red and $2$ white), find $op(\text{Var})(X)$.
- practice A random variable $X$ has $P(X=-1) = k$, $P(X=0) = 2 k$, $P(X=1) = 3 k$, $P(X=2) = 4 k$. Find $k$, and hence find $E(X)$.
- practice A game show has two spinners, each numbered $1$ to $3$. Let $Y$ denote the difference — larger number minus smaller number — between the two spins. There are $9$ equally likely outcomes: $Y = 0$ occurs $3$ times, $Y = 1$ occurs $4$ times, $Y = 2$ occurs $2$ times. Find $E(Y)$.
Answers
- Yes — $0.3 + 0.5 + 0.2 = 1$, and every probability lies between $0$ and $1$.
- $1/6$
- $2.1$
- $0.49$
- $6/5$
- $9/25$
- $1$
- $8/9$
The miscellaneous exercise mixes every technique in the chapter without labelling which one applies. Problems draw on conditional probability, the multiplication and total-probability theorems, and Bayes’ theorem — recognising the right tool is itself part of the exercise.
- practice A pair of fair dice is thrown. Let $A$ = the sum is even, and $B$ = the sum is a multiple of $3$. Determine whether $A$ and $B$ are independent.
- practice A student appears for two independent scholarship tests, $X$ and $Y$. The probability of qualifying test $X$ is $0.4$ and of qualifying test $Y$ is $0.5$. Find the probability that the student qualifies exactly one of the two tests.
- practice A card is drawn from a well-shuffled pack of $52$ cards. Given that the card drawn is not a heart, find the probability that it is a face card.
- practice A factory has two production lines, $M$ and $N$. Line $M$ produces $70%$ of the output and Line $N$ produces $30%$. Among Line $M$'s items, $4%$ are defective; among Line $N$'s items, $8%$ are defective. Let $E_1$ = from Line $M$, $E_2$ = from Line $N$, and $D$ = the item is defective. An item is chosen at random and found defective. Find the probability that it came from Line $N$.
- practice A random variable $X$ has the distribution $P(X=1) = 0.3$, $P(X=2) = 0.4$, $P(X=3) = 0.3$. Find $op(\text{Var})(X)$.
- practice A cricket team wins a match with probability $0.6$ if it bats first, and with probability $0.45$ if it bowls first. The toss is fair, so each option is equally likely. Let $E_1$ = bats first, $E_2$ = bowls first, and $W$ = wins the match. Given that the team won the match, find the probability that it batted first.
- practice An electronic item is assembled from two independent components, $A$ and $B$. The probability that component $A$ works is $0.9$ and that component $B$ works is $0.8$; the item functions only if both components work. Let $N$ = the item does not function, and $X$ = exactly one component fails. Given that the item is found not functioning, find $P(X|N)$.
Answers
- Yes — $1/2 \cdot 1/3 = 1/6$, which equals $P(A \cap B)$ (the sums $6$ and $12$ are the only outcomes that are both even and a multiple of $3$).
- $0.5$
- $3/13$
- $6/13$
- $0.6$
- $4/7$
- $13/14$