Build the sample space, count with consistent outcomes, and update probabilities when the information changes.
JEE Main · JEE Advanced90 min study guide12 indexed sections
BY THE END, YOU CAN
Translate event language into unions, intersections and complements.
Use counting ratios only for equally likely elementary outcomes.
Distinguish independence, disjointness and conditional probability.
Apply total probability and Bayes’ theorem with an explicit partition and evidence event.
Handle sampling without replacement and sequential evidence without silently changing the experiment.
BEFORE YOU START
Sets, fractions, combinations and permutations.
Basic multiplication and addition counting principles.
Finite sums and elementary algebra.
Original educational lesson. Work through the examples before revealing the practice answers. Check the current official syllabus separately; historical question frequency does not establish eligibility or predict future questions.
CONNECT THE CONCEPT TO THE EXAM
Selected exam questions & worked solutions
These selected examples are separate from the original practice below. Each identifies its exam, year and wording. They do not represent every paper or every selected year.
Available in this lesson: JEE Advanced 2020. This is a limited lesson sample, not a complete exam-question bank.
1 sourced sample question available across the listed exams and years.
Matched topics: Conditional Probability and Bayes Theorem.
JEE Advanced · 2020 · Paper 2 · Mathematics · Q15
Paraphrased exam question
Independently derived and checked solution. Archived key finality is unverified; this is not presented as an official final answer.
Roll two fair six-sided dice repeatedly, stopping when their sum is prime or a perfect square. Given that the stopping sum is a square, let p be the probability it is odd. Find 14p.
Reveal answer & worked solution
Answer: 14p=8 (independently derived).
The only square sums are4 and9, occurring in3 and4 of the36 equally likely ordered outcomes. Only9 is odd.
Prime sums occur in15 outcomes; the other14 outcomes cause another roll. Summing repeated nonterminal rolls gives P(stop at9)=(4/36)/(1−14/36)=4/22.
Similarly P(stop at a square)=7/22. Conditioning gives p=(4/22)/(7/22)=4/7, hence14p=8.
Source: JEE (Advanced) 2020, Paper 2, Mathematics Q15; independently derived solution; key finality unverified. Solution written for this lesson.
01 / UNDERSTAND & APPLY
1. Probability belongs to a specified experiment
A probability model begins with an experiment, a sample space Ω of possible outcomes, and probabilities assigned to events. A statement such as “choose randomly” is incomplete unless the selection rule is understood. Uniformly choosing a box and then an item is generally different from uniformly choosing an item from all boxes combined, especially when the box sizes differ.
An event is a subset of outcomes. For a finite equally likely sample space, P(A) = |A|/|Ω|. Equal likelihood is a condition, not a consequence of having listed some possibilities. For two fair independent dice, the 36 ordered face pairs are equally likely; the eleven possible sums from 2 through 12 are not, because different sums have different numbers of underlying pairs.
Probabilities satisfy P(Ω) = 1, P(A) ≥ 0, and additivity for disjoint events. These rules imply 0 ≤ P(A) ≤ 1 and P(Aᶜ) = 1 − P(A). In the finite equally likely models used for the counting examples here, a probability-zero event contains no outcomes. In more general continuous models, probability zero need not mean logically impossible, so avoid extending that finite intuition without qualification.
Before calculating, write the event in words and symbols, state the selection mechanism, and decide whether order matters in the elementary outcomes. A technically correct fraction formed from the wrong experiment answers a different question. Clear modelling is the main safeguard against this kind of error.
02 / UNDERSTAND & APPLY
2. Event algebra: “or” includes the overlap
The union A∪B means A or B or both. The intersection A∩B means both. The complement Aᶜ means not A. The addition rule is P(A∪B) = P(A) + P(B) − P(A∩B), because adding the two individual probabilities counts the overlap twice. If A and B are disjoint, the overlap is empty and the subtraction term is zero.
Exactly one of A,B is the event (A∩Bᶜ)∪(Aᶜ∩B). Its probability is P(A) + P(B) − 2P(A∩B). At least one is the union, while neither is its complement. Translating these phrases correctly often matters more than any later arithmetic.
For three events, inclusion-exclusion adds the three single probabilities, subtracts the three pairwise intersections, and adds the triple intersection back. The alternating corrections account for how many times each type of outcome was counted. Use a Venn-region partition to understand the signs rather than memorizing them in isolation.
Probability bounds provide a useful audit. The intersection lies between max(0,P(A)+P(B)−1) and min(P(A),P(B)). The union lies between max(P(A),P(B)) and min(1,P(A)+P(B)). If supplied or computed values violate these bounds, no probability model can realize them as stated.
ORIGINAL WORKED EXAMPLE
A union with a real overlap
One card is drawn uniformly from a standard 52-card deck. Find the probability that it is an ace or a heart.
There are 4 aces and 13 hearts. The ace of hearts belongs to both events.
The union therefore has 4 + 13 − 1 = 16 cards, not 17.
All 52 individual cards are equally likely, so the probability is 16/52 = 4/13.
The event includes the ace of hearts once. An exclusive “ace or heart but not both” question would instead remove that overlap twice and give a different answer.
Answer 4/13.
03 / UNDERSTAND & APPLY
3. Choose one consistent level of outcomes
If r distinct objects are selected without replacement in an order that matters, the number of equally likely ordered samples is n(n−1)⋯(n−r+1). If only the selected set matters and every r-subset is equally likely, the count is C(n,r). Either model can give the same probability, but the numerator and denominator must use the same convention.
In an urn with colored balls, the balls are distinct elementary objects even if only their colors are reported. Different color patterns need not be equally likely. Labeling the balls mentally prevents treating “two red,” “one of each,” and “two blue” as three equally likely outcomes when their underlying counts differ.
For a sample of size r from R red and B blue balls without replacement, the probability of exactly k red is C(R,k)C(B,r−k)/C(R+B,r), with feasible integers k satisfying 0 ≤ k ≤ R and 0 ≤ r−k ≤ B. The numerator chooses the required red and blue subsets independently from disjoint groups; the denominator counts all uniformly chosen r-subsets.
With replacement, the same physical ball may be drawn again and category probabilities remain fixed when draws are independently randomized. Without replacement, later probabilities depend on earlier draws. These experiments have different sample spaces and different denominators, so state the replacement rule before using a formula.
ORIGINAL WORKED EXAMPLE
A fixed composition without replacement
An urn has 5 red and 3 blue distinct balls. Three are selected uniformly without replacement. Find the probability of exactly two red.
Use unordered three-ball subsets. There are C(8,3) = 56 equally likely samples.
A favorable sample chooses 2 of the 5 red balls and 1 of the 3 blue balls, giving C(5,2)C(3,1) = 10·3 = 30.
The probability is 30/56 = 15/28.
As an ordered check, one color order RRB has probability (5/8)(4/7)(3/6) = 5/28. There are three distinct placements of the blue draw, giving 3·5/28 = 15/28.
Answer 15/28.
04 / UNDERSTAND & APPLY
4. Count the complement when the event has many cases
At least one is often easier as one minus none. For a uniformly chosen hand, count hands containing no target object and subtract from the total. This avoids adding many disjoint cases, such as exactly one, exactly two, and so on. The complement must be taken within the same sample space and under the same selection mechanism.
Arrangement probabilities use equally likely permutations. To count arrangements where two specified objects are adjacent, temporarily treat them as a block and multiply by the internal orders of the block. To require separation, gaps or complement counting may be more convenient. If objects repeat, first determine whether the experiment makes distinct labelled arrangements or distinct visible arrangements equally likely.
A conditional restriction can sometimes be incorporated by changing the denominator to the admissible outcomes, but only after it is clear what information has been given. “Choose uniformly among arrangements with property B” and “make a uniform arrangement, then learn that B occurred” produce the same conditional distribution in a finite uniform model. Other reporting mechanisms may not.
Independent verification can compare ordered and unordered counts, enumerate a small sample space, or sum probabilities over all feasible compositions to check that the total is one. These checks test the modelling as well as the arithmetic.
ORIGINAL WORKED EXAMPLE
Adjacency in a random permutation
Five distinct books, including A and B, are arranged uniformly at random on a shelf. Find the probability that A and B are adjacent.
There are 5! = 120 equally likely arrangements of the five labelled books.
Treat A and B as one block. Along with the other three books, there are four objects to arrange, giving 4! possibilities.
The block can be AB or BA, so favorable arrangements number 2·4! = 48.
The probability is 48/120 = 2/5. Counting only the AB internal order would omit half the favorable arrangements.
Answer 2/5.
05 / UNDERSTAND & APPLY
5. Conditioning renormalizes the world you are considering
For P(B) > 0, define P(A|B) = P(A∩B)/P(B). We restrict attention to outcomes in B and rescale their total probability to one. The numerator must represent both the target A and the evidence B, while the denominator represents all outcomes compatible with the evidence.
Conditional probability does not require B to occur earlier in time. It can describe information about a simultaneous measurement or a later observation used to infer an earlier source. The vertical bar means “given this information,” not necessarily “caused by.” Probability alone does not establish a causal relationship.
In a finite uniform model, conditioning on an event B leaves the elementary outcomes in B equally likely. Then P(A|B) can be found by counting |A∩B|/|B| directly. If the original elementary outcomes have unequal probabilities, count-based renormalization is invalid; use their probability weights.
Reversing the condition changes the denominator. In general P(A|B) is not P(B|A). The first measures the fraction of B-compatible outcomes also in A; the second measures the fraction of A-compatible outcomes also in B. Bayes’ theorem will relate these two directions using the prior probabilities.
ORIGINAL WORKED EXAMPLE
A restricted dice sample space
Two fair independent dice are rolled. Given that at least one shows 6, find the probability that their sum is 8.
The original elementary outcomes are 36 equally likely ordered pairs. The evidence event B contains 6 pairs with first die 6 and 6 with second die 6, minus the double-counted pair (6,6), giving 11.
Within those 11 outcomes, sum 8 occurs only at (2,6) and (6,2).
Therefore P(sum 8 | at least one 6) = 2/11.
The ordinary unconditional probability of sum 8 is 5/36, which answers a different question. The evidence changes the denominator and removes three of the five sum-8 outcomes.
Answer 2/11.
06 / UNDERSTAND & APPLY
6. Multiplication always uses the appropriate conditional rate
Rearranging the conditional definition gives P(A∩B) = P(A)P(B|A) when P(A) > 0, and also P(B)P(A|B) when P(B) > 0. For sequential events, extend the chain: P(A∩B∩C) = P(A)P(B|A)P(C|A∩B), when the needed conditioning probabilities are defined.
Events A and B are independent when P(A∩B) = P(A)P(B). If P(B) > 0, this is equivalent to P(A|B) = P(A). Independence means learning B does not change the probability of A under this model. It is a mathematical property to be given, derived from the experiment, or checked; it should not be assumed because events sound unrelated.
Disjointness is different. If A and B are disjoint with positive probabilities, then P(A∩B) = 0 while P(A)P(B) > 0, so they are not independent. Learning that one occurred makes the other impossible. Independence of A and B implies independence of their complements, but conditioning on a third event can destroy that independence.
For three or more events, pairwise independence is weaker than mutual independence. With two fair coin tosses, let A be first toss H, B second toss H, and C the tosses matching. Each pair is independent, but P(A∩B∩C) = 1/4 while P(A)P(B)P(C) = 1/8. A triple-product shortcut therefore needs the stronger appropriate independence assumption.
ORIGINAL WORKED EXAMPLE
Conditioning creates dependence
Two fair independent coins are tossed. Given that at least one is heads, are the events A = first coin heads and B = second coin heads still independent?
The conditioned sample space is {HH,HT,TH}, each with conditional probability 1/3.
Within this space, P(A|at least one H) = 2/3 and P(B|at least one H) = 2/3.
The probability that both occur under the same condition is 1/3, not (2/3)(2/3) = 4/9.
Thus A and B are not independent after conditioning, although they were independent in the original four-outcome experiment.
Answer No; conditional joint probability 1/3 differs from 4/9.
07 / UNDERSTAND & APPLY
7. Add complete paths through a partition
A partition H₁,…,Hₖ consists of mutually exclusive events whose union is the whole sample space. If their probabilities are positive, an event E can occur through each disjoint path Hᵢ∩E. Therefore P(E) = ΣP(Hᵢ)P(E|Hᵢ), the law of total probability.
In a tree diagram, the first branches represent the possible source events Hᵢ. The next branches represent E or its complement conditional on that source. Multiply along a path to obtain a joint probability, then add disjoint paths that lead to the same final event. Branch probabilities leaving one node should sum to one.
The total probability is a weighted average of the conditional probabilities, with weights P(Hᵢ). It must lie between the smallest and largest conditional probabilities. An unweighted arithmetic average is correct only when the source probabilities are equal. Larger sources contribute more outcomes to the total.
If the proposed source cases overlap, they are not a partition and simply summing their joint contributions double-counts outcomes. Refine the cases into disjoint pieces or use a suitable inclusion-exclusion argument. Naming the partition explicitly makes this condition easy to inspect.
ORIGINAL WORKED EXAMPLE
Two production sources
Machine A supplies 60% of a batch and has defect probability 2%. Machine B supplies 40% and has defect probability 5%. An item is selected uniformly from the batch. Find its defect probability.
The source events A and B form a partition, with probabilities 0.6 and 0.4.
The joint probability of source A and defect is 0.6·0.02 = 0.012. For source B and defect it is 0.4·0.05 = 0.020.
The result 3.2% lies between 2% and 5%. The simple average 3.5% would incorrectly give the two machines equal source weights.
Answer P(D) = 0.032 = 3.2%.
08 / UNDERSTAND & APPLY
8. Bayes’ theorem reverses the direction of conditioning
Bayes’ theorem follows by writing the same joint probability two ways. For P(E) > 0, P(Hⱼ|E) = P(Hⱼ)P(E|Hⱼ)/P(E). With a partition, substitute the total-probability denominator ΣP(Hᵢ)P(E|Hᵢ). The numerator is the contribution of the desired source to the evidence; the denominator is the contribution of all sources.
The prior P(Hⱼ) describes the source before observing E. The likelihood P(E|Hⱼ) describes how probable the evidence would be under that source. The posterior P(Hⱼ|E) describes the source after the evidence. A large likelihood alone does not guarantee a large posterior if the source was very rare. The prior weight remains part of the calculation.
A frequency table can make the denominator tangible. In the machine example, imagine 1000 selected items: 600 from A and 400 from B. The expected defect counts are 12 and 20, respectively. Among the 32 expected defective items, 20 came from B. This gives the same conditional ratio as the probability calculation without mistaking a defect rate for a source probability.
Always state the evidence precisely. “A selected item is defective” differs from “a source was selected uniformly and then a defective item was deliberately chosen from it.” The latter involves an additional selection mechanism. Bayes’ theorem updates the model you actually specified; it cannot repair an ambiguous experiment by guessing.
Full-size scientific diagram. Swipe or scroll horizontally; keyboard users can focus the diagram and use arrow keys.
Two-source model; expected counts per 1000 illustrate prior-weighted likelihoods. Branch labels are conditional probabilities.
ORIGINAL WORKED EXAMPLE
Update the source after seeing a defect
Using the two-machine model above, find the probability that a defective selected item came from B.
The prior for B is 0.4, and the defect likelihood under B is 0.05. Their product is the joint probability 0.020.
The total defect probability is 0.032 from the complete partition calculation.
Bayes gives P(B|D) = 0.020/0.032 = 20/32 = 5/8.
The posterior 62.5% exceeds B’s prior 40%, because B has a higher defect rate. It is not equal to B’s defect rate 5%; those probabilities condition in opposite directions.
Answer P(B|D) = 5/8 = 62.5%.
09 / UNDERSTAND & APPLY
9. More observations require the correct joint likelihood
If several observations arise from one chosen source, their joint likelihood may or may not factor into identical independent probabilities. Drawing without replacement from an urn changes its composition, so the probability of two red draws is not generally the square of its original red fraction. Compute the conditional second-draw probability or use combinations.
Bayes can be applied once using the joint evidence, or sequentially by updating after the first observation and then updating again with the correct next-observation likelihood. Both routes agree when the model is consistent. Reusing the original prior after the first observation or assuming independence without replacement breaks that agreement.
An impossible evidence path contributes zero to the denominator. It does not make the whole posterior undefined unless the total evidence probability is zero. If every source gives likelihood zero, the observation is incompatible with the stated model and the elementary conditional formula cannot be applied.
A useful diagram draws each source first and then the two color draws as conditional branches. Mark the changed urn count on the second branch. This makes the dependence explicit and prevents a visually identical pair of “red” labels from being mistaken for two identical probabilities.
ORIGINAL WORKED EXAMPLE
Two draws from one unknown urn
One of three urns is chosen uniformly. Urn I has 2 red and 1 blue ball; II has 1 red and 3 blue; III has 3 red and 2 blue. Two balls are drawn without replacement from the chosen urn and both are red. Find the posterior probability of urn III.
The prior for each urn is 1/3. The two-red likelihoods are (2/3)(1/2) = 1/3 for I, zero for II, and (3/5)(2/4) = 3/10 for III.
The total probability of two red is (1/3)(1/3) + (1/3)(0) + (1/3)(3/10) = 1/9 + 1/10 = 19/90.
The joint contribution from III is 1/10. Therefore P(III|two red) = (1/10)/(19/90) = 9/19.
The two-red likelihood for III can also be checked as C(3,2)/C(5,2) = 3/10. Squaring 3/5 would describe independent draws with replacement and would give a different posterior.
Answer 9/19.
10 / UNDERSTAND & APPLY
10. Original practice: events and counting
Use a consistent equally likely sample space in each count. Where only event probabilities are supplied, use the probability identities directly instead of inventing a count model.
ORIGINAL PRACTICE · 1
Given P(A)=0.6, P(B)=0.5, P(A∩B)=0.2, find P(A∪B) and the probability of neither.
Reveal answer & reasoning
0.9 and 0.1.
The union is 0.6+0.5−0.2=0.9. Neither is its complement, 1−0.9=0.1.
ORIGINAL PRACTICE · 2
With the same data, find the probability of exactly one of A,B.
Reveal answer & reasoning
0.7.
Exactly one has probability P(A)+P(B)−2P(A∩B)=0.6+0.5−0.4=0.7.
ORIGINAL PRACTICE · 3
Two fair independent dice are rolled. Find the probability their sum is 9.
Reveal answer & reasoning
1/9.
The favorable ordered pairs are (3,6),(4,5),(5,4),(6,3), four among 36 equally likely pairs. The possible sum labels are not equally likely.
ORIGINAL PRACTICE · 4
Choose two numbers uniformly without replacement from {1,2,3,4,5,6}. Find the probability their sum is odd.
Reveal answer & reasoning
3/5.
An odd sum requires one of the three odd numbers and one of the three even numbers, giving 3·3=9 unordered pairs. There are C(6,2)=15 total pairs, so the ratio is 9/15.
ORIGINAL PRACTICE · 5
A 5-card hand is uniformly chosen from 52 distinct cards. Express the probability of at least one ace.
Reveal answer & reasoning
1 − C(48,5)/C(52,5).
The complement contains no ace, so all five cards come from the 48 non-aces. Subtract that hand count from the full uniform-hand probability.
ORIGINAL PRACTICE · 6
Four distinct books are arranged uniformly. Find the probability that specified A and B are not adjacent.
Reveal answer & reasoning
1/2.
The adjacent probability is 2·3!/4!=1/2 by the block method. Its complement is also 1/2.
ORIGINAL PRACTICE · 7
An urn has 4 red and 2 blue balls. Two are drawn without replacement. Find the probability of one of each color.
For each conditional question, say what the evidence event includes. For each Bayes question, list the prior-weighted evidence paths before dividing.
ORIGINAL PRACTICE · 1
Given P(A)=0.4, P(B)=0.5 and P(A∩B)=0.2, are A and B independent?
Reveal answer & reasoning
Yes.
Their intersection probability equals 0.4·0.5=0.2. Equivalently P(A|B)=0.2/0.5=0.4, unchanged from P(A).
ORIGINAL PRACTICE · 2
If A and B are disjoint with probabilities 0.3 and 0.2, are they independent?
Reveal answer & reasoning
No.
Their intersection probability is zero, while their probability product is 0.06. Positive-probability disjoint events cannot be independent.
ORIGINAL PRACTICE · 3
A fair die is rolled. Given an even result, find the probability the result exceeds 3.
Reveal answer & reasoning
2/3.
The conditioned equally likely outcomes are {2,4,6}. Two, namely 4 and 6, exceed 3.
ORIGINAL PRACTICE · 4
Given P(A∩B)=0.12 and P(B)=0.3, find P(A|B).
Reveal answer & reasoning
0.4.
Divide the joint probability by the evidence probability: 0.12/0.3. The denominator is B because B is given.
ORIGINAL PRACTICE · 5
A source is A with probability 1/4 and B with probability 3/4. Event E has likelihoods 1/2 under A and 1/6 under B. Find P(E) and P(A|E).
Reveal answer & reasoning
P(E)=1/4; P(A|E)=1/2.
The weighted paths are (1/4)(1/2)=1/8 and (3/4)(1/6)=1/8. They sum to 1/4, and A supplies half the evidence probability.
ORIGINAL PRACTICE · 6
A bag is chosen uniformly from bag I with 3 red,1 blue and bag II with 1 red,3 blue. One red ball is observed. Find the posterior probability of bag I.
Reveal answer & reasoning
3/4.
The joint red paths are (1/2)(3/4)=3/8 and (1/2)(1/4)=1/8. Total red probability is 1/2, so the posterior is (3/8)/(1/2)=3/4.
ORIGINAL PRACTICE · 7
In the same two-bag experiment, two balls are drawn without replacement and both are red. What is the posterior probability of bag I?
Reveal answer & reasoning
1.
Bag II contains only one red ball, so its two-red likelihood is zero. Bag I has positive likelihood (3/4)(2/3)=1/2, leaving it as the only evidence-compatible source.
ORIGINAL PRACTICE · 8
Can P(A|B) be computed by the elementary ratio if P(B)=0?
Reveal answer & reasoning
No.
The ratio P(A∩B)/P(B) has zero denominator. In this finite-event framework, the conditional probability is not defined by that formula; a different model or additional structure would be needed.
12 / UNDERSTAND & APPLY
12. A probability audit is a modelling audit
Check that every probability lies in [0,1], all branches from a tree node sum to one, disjoint source paths cover the evidence event, and the posterior probabilities across the source partition sum to one. For total probability, the weighted average should lie between the smallest and largest likelihoods. These checks often reveal a missing path or an incorrect denominator.
The recurring mistakes are treating nonuniform outcome categories as equally likely, mixing ordered and unordered counts, assuming replacement when none is given, confusing independent with disjoint, reversing a conditional without the prior weights, and updating on an imprecisely described report. Each mistake changes the model rather than merely the arithmetic.
A concise complete solution names the sample space or partition, defines the target and evidence events, computes the relevant joint probability, and normalizes by the correct total. For Bayes, the numerator should visibly be one term of the denominator’s sum. This makes the result transparent to someone checking the work.
Finally, interpret the answer in the direction asked. A defect probability given a source is not a source probability given a defect. A posterior can be higher than its prior without being close to one. Evidence changes probabilities through likelihood ratios and base rates, not through the emotional strength of the wording.
KEEP THE BIG IDEAS
Quick revision
Counting ratios need equally likely elementary outcomes and consistent ordering.
Union, exactly one, and neither are different events.
Conditioning restricts and renormalizes; it does not automatically imply causation.
Independence is not disjointness and can disappear after conditioning.
Bayes divides one prior-weighted evidence path by all evidence paths.
The teaching notes, worked explanations and original practice are written for this lesson. Separately labeled selected exam questions identify their exam, year, source and whether wording is paraphrased or an exact excerpt. Educational references do not certify current exam coverage.
Reference inspected for finite sample spaces and conditional probability. The lesson explicitly distinguishes finite probability-zero impossibility from continuous-model possibilities.