HOME/NOTES/CONCEPT

Conditional Probability, Total Probability and Bayes' Theorem

Ritesh Raj · 17 Aug 2026
Aa
28 min read15 sectionsConcept

Every probability question hands you a sample space. Some questions then hand you something extra: a piece of information that has already come true. "Given that the ball drawn is white." "It is known that the candidate reached late." "Three balls are drawn and all are found to be black." The moment those words appear, the sample space you started with is no longer the sample space you must count in.

Conditional probability is the machinery for that shrinking. Total probability and Bayes' theorem are the two directions you can run it in. Between them they carried six of the nineteen JEE Main 2026 shifts, and they are the single most reliable place in the syllabus to pick up four marks in ninety seconds.

Fundamental concept of conditioning

Unconditional P(A)P(A)Conditional P(AB)P(A\mid B)
1. Definitionfraction of SS occupied by AAfraction of BB occupied by ABA\cap B
2. Venn readingcompare AA with the whole rectanglecompare ABA\cap B with the circle BB
3. FormulaP(A)=n(A)n(S)P(A)=\dfrac{n(A)}{n(S)}P(AB)=P(AB)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}, P(B)0P(B)\neq 0
4. What plays the role of "everything"the sample space SSthe given event BB
5. What plays the role of "favourable"AAABA\cap B, never AA

Row 5 is where marks are lost. Students write P(AB)=P(A)P(B)P(A\mid B)=\dfrac{P(A)}{P(B)}. The numerator is the overlap, not the whole of AA. If you can only remember one line from this post, remember that the numerator and the denominator must both live inside BB.

Venn diagram of two overlapping circles A and B inside a rectangle S, with the lens-shaped intersection shaded gold and labelled as the favourable part, and B labelled as the new sample space

The sample space really does shrink

Here is the same pair of events drawn twice. On the left nothing is known, so the rectangle SS is the universe and P(A)P(A) is the share of the rectangle that AA covers. On the right you have been told BB happened, so everything outside BB is dead. The circle BB is now the universe, and the only part of AA that survives is ABA\cap B.

Two panels side by side. Left panel shows sample space S with circles A and B overlapping. Right panel greys out everything except B, which is outlined in gold, with A shown dashed and only the overlap shaded

Two consequences follow immediately, and both get asked.

Conditional probability is itself a probability. Fix BB and let AA vary. Then P(B)P(\cdot\mid B) satisfies every axiom that P()P(\cdot) does. In particular

P(AB)+P(AB)=1P(A\mid B)+P(A'\mid B)=1

Proof in one line: ABA\cap B and ABA'\cap B are disjoint and their union is BB, so P(AB)+P(AB)=P(B)P(A\cap B)+P(A'\cap B)=P(B). Divide by P(B)P(B).

The addition rule survives conditioning. For any events AA, BB and any EE with P(E)0P(E)\neq 0,

P ⁣(ABE)=P ⁣(AE)+P ⁣(BE)P ⁣(ABE)P\!\left(\frac{A\cup B}{E}\right)=P\!\left(\frac{A}{E}\right)+P\!\left(\frac{B}{E}\right)-P\!\left(\frac{A\cap B}{E}\right)

Proof: (AB)E=(AE)(BE)(A\cup B)\cap E=(A\cap E)\cup(B\cap E), apply the ordinary addition rule to those two sets, note that (AE)(BE)=ABE(A\cap E)\cap(B\cap E)=A\cap B\cap E, then divide throughout by P(E)P(E).

Two panels. Left shows B outlined in gold split into the parts A cap B and A-complement cap B. Right shows a large gold circle E containing two smaller overlapping circles A and B, illustrating the conditional addition rule
Three sanity checks worth memorising

P(SB)=1P(S\mid B)=1 and P(BB)=1P(B\mid B)=1, because SB=BS\cap B=B and BB=BB\cap B=B.

P(φB)=0P(\varphi\mid B)=0.

0P(AB)10\le P(A\mid B)\le 1 always, because ABBA\cap B\subseteq B forces P(AB)P(B)P(A\cap B)\le P(B). If your answer exceeds 11 you divided by the wrong thing.

The multiplication theorem: reading the formula backwards

The definition P(AB)=P(AB)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)} is usually taught as a way to compute a conditional probability. In JEE it is used far more often in the other direction, cleared of its denominator:

P(AB)=P(B)P(AB)=P(A)P(BA)P(A\cap B)=P(B)\,P(A\mid B)=P(A)\,P(B\mid A)

That is the multiplication theorem. It says: to make two things happen, make the first happen, then make the second happen given the first. Drawn as a tree, it says multiply along a path.

Two-stage probability tree from a start node splitting into A and A-complement, with A splitting further into B and B-complement, and the product of the two edge probabilities labelled as P of A intersect B

For three events, condition on more and more history:

P(ABC)=P(A)P(BA)P(CAB)P(A\cap B\cap C)=P(A)\,P(B\mid A)\,P(C\mid A\cap B)

and in general

P(A1A2An)=P(A1)P(A2A1)P(A3A1A2)P(AnA1An1)P(A_1\cap A_2\cap\cdots\cap A_n)=P(A_1)\,P(A_2\mid A_1)\,P(A_3\mid A_1\cap A_2)\cdots P(A_n\mid A_1\cap\cdots\cap A_{n-1})

This is the whole theory of "drawing without replacement". Second draw depends on the first, third depends on the first two, and the chain rule is exactly the bookkeeping for that dependence.

Example 1. (JEE Main 2026, 6 Apr Shift 2) A bag contains 66 blue and 66 green balls. Pairs of balls are drawn without replacement until the bag is empty. Find the probability that every drawn pair has one blue and one green ball.

SHOW SOLUTION

Think of the twelve balls being pulled out in order, positions 11 to 1212, all 12!12! orders equally likely. The pairs are positions (1,2)(1,2), (3,4)(3,4), ..., (11,12)(11,12).

Do it as a chain, pair by pair. Before the first pair there are 66 blue and 66 green. Pick any ball; whatever colour it is, 66 of the remaining 1111 balls have the other colour, so

P(first pair is mixed)=611P(\text{first pair is mixed})=\frac{6}{11}

Now 55 blue and 55 green remain. By the same argument P(second pair mixedfirst mixed)=59P(\text{second pair mixed}\mid\text{first mixed})=\dfrac{5}{9}, then 47\dfrac{4}{7}, then 35\dfrac{3}{5}, then 23\dfrac{2}{3}, and the last pair is forced, probability 11.

Multiply along the path:

P=611594735231=72010395=16231P=\frac{6}{11}\cdot\frac{5}{9}\cdot\frac{4}{7}\cdot\frac{3}{5}\cdot\frac{2}{3}\cdot 1=\frac{720}{10395}=\frac{16}{231}

Answer: 16231\dfrac{16}{231}, option (3).

Notice what the chain rule bought you. The counting solution needs 6!6!2612!\dfrac{6!\,6!\,2^6}{12!} and a careful argument about unordered pairs. The conditional chain needs no counting at all.

Example 2. (JEE Main 2026, 24 Jan Shift 1) From a lot of 1010 defective and 9090 non-defective bulbs, 88 bulbs are selected one by one with replacement. Find the probability of getting at least 77 defective bulbs.

SHOW SOLUTION

With replacement means the eight draws are independent, so every conditional probability in the chain collapses to the unconditional one: p=10100=110p=\dfrac{10}{100}=\dfrac1{10} each time.

P(X=7)=8C7(110)7(910)=89108=72108P(X=7)={}^8C_7\left(\frac1{10}\right)^{7}\left(\frac9{10}\right)=8\cdot\frac{9}{10^8}=\frac{72}{10^8}P(X=8)=(110)8=1108P(X=8)=\left(\frac1{10}\right)^{8}=\frac{1}{10^8}P(X7)=72108+1108=73108P(X\ge 7)=\frac{72}{10^8}+\frac{1}{10^8}=\frac{73}{10^8}

Answer: 73108\dfrac{73}{10^{8}}, option (4).

The words "with replacement" are the whole question. Change them to "without replacement" and every factor becomes a genuine conditional probability and the binomial formula dies.

Independence, and the one statement that is false

AA and BB are independent when knowing one changes nothing about the other:

P(AB)=P(A)P(AB)=P(A)P(B)P(A\mid B)=P(A)\quad\Longleftrightarrow\quad P(A\cap B)=P(A)\,P(B)

The product form is the definition worth carrying, because it is symmetric in AA and BB and it stays legal when P(B)=0P(B)=0.

Three facts that follow, each worth proving once:

(i) If AA and BB are independent, so are AA and BB'.

P(AB)=P(A)P(AB)=P(A)P(A)P(B)=P(A)(1P(B))=P(A)P(B)P(A\cap B')=P(A)-P(A\cap B)=P(A)-P(A)P(B)=P(A)\bigl(1-P(B)\bigr)=P(A)P(B')

Apply it twice and AA' and BB' are independent too.

(ii) For independent AA, BB: P(AB)=1P(A)P(B)P(A\cup B)=1-P(A')P(B').

(iii) AA and SS are independent, and AA and φ\varphi are independent, for every AA.

Now the trap.

Mutually exclusive is NOT independent

Mutually exclusive is a statement about sets: AB=φA\cap B=\varphi, the circles do not touch.

Independent is a statement about probabilities: P(AB)=P(A)P(B)P(A\cap B)=P(A)P(B), the overlap has exactly the size chance would predict.

If AA and BB are mutually exclusive and both have positive probability, then P(AB)=0P(A\cap B)=0 but P(A)P(B)>0P(A)P(B)>0, so they are not independent. In fact they are as dependent as two events can be: P(AB)=0P(A\mid B)=0. Knowing BB happened rules AA out completely.

The only way to be both is for one of them to have probability zero.

Two panels. Left shows two disjoint circles A and B labelled mutually exclusive. Right shows two overlapping circles with the lens shaded, labelled independent

Example 3. (JEE Main 2026, 24 Jan Shift 2) SS is a set of 55 elements and P(S)P(S) is its power set. An ordered pair (A,B)(A,B) is chosen at random from P(S)×P(S)P(S)\times P(S). If P(AB=φ)=3p2qP(A\cap B=\varphi)=\dfrac{3^p}{2^q}, find p+qp+q.

SHOW SOLUTION

Handle the five elements independently. That is the whole idea: the pair (A,B)(A,B) is built by making five separate, unrelated decisions.

For one element xx there are four equally likely states: in AA only, in BB only, in both, in neither. So 454^5 ordered pairs in total, which matches P(S)2=(25)2=45|P(S)|^2=(2^5)^2=4^5.

AB=φA\cap B=\varphi fails exactly when some element sits in both. So for each element only 33 of the 44 states are allowed, and the elements are independent:

P(AB=φ)=(34)5=3545=35210P(A\cap B=\varphi)=\left(\frac34\right)^{5}=\frac{3^5}{4^5}=\frac{3^5}{2^{10}}

So p=5p=5, q=10q=10 and p+q=15p+q=15.

Answer: 1515.

Example 4. (JEE Main 2026, 4 Apr Shift 1) A coin is tossed 88 times. If pp is the probability that exactly 44 heads appear in the first six tosses and exactly 33 heads appear in the last five tosses, find 96p96p.

SHOW SOLUTION

The two events are not independent, because tosses 44, 55, 66 belong to both windows. Split on the overlap, which is the standard move.

Let kk be the number of heads among tosses 4,5,64,5,6. Then tosses 1,2,31,2,3 must supply 4k4-k heads and tosses 7,87,8 must supply 3k3-k heads. Feasibility needs 04k30\le 4-k\le 3 and 03k20\le 3-k\le 2, so k{1,2,3}k\in\{1,2,3\}.

Count the favourable strings of length 88:

k=1: 3C33C12C2=131=3k=1:\ {}^3C_3\cdot{}^3C_1\cdot{}^2C_2=1\cdot 3\cdot 1=3k=2: 3C23C22C1=332=18k=2:\ {}^3C_2\cdot{}^3C_2\cdot{}^2C_1=3\cdot 3\cdot 2=18k=3: 3C13C32C0=311=3k=3:\ {}^3C_1\cdot{}^3C_3\cdot{}^2C_0=3\cdot 1\cdot 1=3

Total favourable =3+18+3=24=3+18+3=24, and all 28=2562^8=256 strings are equally likely, so p=24256p=\dfrac{24}{256} and

96p=9624256=996p=96\cdot\frac{24}{256}=9

Answer: 99.

Partition of a sample space

Everything that follows rests on one picture: the sample space chopped into non-overlapping pieces that between them use up all of SS.

E1,E2,,EnE_1,E_2,\ldots,E_n form a partition of SS when all three hold:

EiEj=φ  for ij,E1E2En=S,P(Ei)>0  for every iE_i\cap E_j=\varphi\ \text{ for } i\neq j,\qquad E_1\cup E_2\cup\cdots\cup E_n=S,\qquad P(E_i)>0\ \text{ for every } i

In words: mutually exclusive, exhaustive, and none of them impossible. In a question the partition is almost never called a partition. It is "the three bags", "bus or scooter or car", "the coin is fair or two-headed", "the letter came from KANPUR or from ANANTPUR". Spotting it is the entire skill.

The smallest partition is {E,E}\{E,E'\} for any event EE with 0<P(E)<10<P(E)<1. That is why so many two-case questions can be done without ever naming a partition.

A rectangle S divided into five vertical bands labelled E1 to E5, with a gold ellipse A lying across all five bands and the band boundaries dashed inside A

Now look at the ellipse AA in that picture. The five dashed cuts break AA into five disjoint pieces:

A=(E1A)(E2A)(EnA)A=(E_1\cap A)\cup(E_2\cap A)\cup\cdots\cup(E_n\cap A)

and the pieces are pairwise disjoint because the EiE_i already are. So probabilities simply add:

P(A)=P(E1A)+P(E2A)++P(EnA)P(A)=P(E_1\cap A)+P(E_2\cap A)+\cdots+P(E_n\cap A)

Law of total probability

Apply the multiplication theorem to each term above, P(EiA)=P(Ei)P(AEi)P(E_i\cap A)=P(E_i)\,P(A\mid E_i), and you have it.

Theorem. If E1,,EnE_1,\ldots,E_n partition SS and AA is any event, then

P(A)=P(E1)P(AE1)+P(E2)P(AE2)++P(En)P(AEn)=i=1nP(Ei)P(AEi)P(A)=P(E_1)P(A\mid E_1)+P(E_2)P(A\mid E_2)+\cdots+P(E_n)P(A\mid E_n)=\sum_{i=1}^{n}P(E_i)\,P(A\mid E_i)

Proof. A=AS=A(E1En)=(AE1)(AEn)A=A\cap S=A\cap(E_1\cup\cdots\cup E_n)=(A\cap E_1)\cup\cdots\cup(A\cap E_n). The sets AEiA\cap E_i are pairwise disjoint, since (AEi)(AEj)EiEj=φ(A\cap E_i)\cap(A\cap E_j)\subseteq E_i\cap E_j=\varphi. By the addition rule for disjoint events, P(A)=iP(AEi)P(A)=\sum_i P(A\cap E_i). Each P(Ei)>0P(E_i)>0, so the multiplication theorem gives P(AEi)=P(Ei)P(AEi)P(A\cap E_i)=P(E_i)P(A\mid E_i). Substitute. \blacksquare

Probability tree with a start node branching to E1, E2, E3 with probabilities P of Ei, each branching to A with probability P of A given Ei, and the three path products braced together into the total probability formula
How it looks on paper

Draw the tree. First level = the causes, and those probabilities must add to 11. Second level = the event AA hanging off each cause. Multiply along each path, then add the paths that end at AA. That is the whole method, and it takes about fifteen seconds once the partition is named.

Bayes' theorem

Total probability runs forward: causes are known, and you want the chance of the effect. Bayes runs backward: the effect has happened, and you want the chance that a particular cause was responsible.

Two panels separated by a dashed line. Left panel has an arrow from cause Ei to effect A labelled P of A given Ei, marked FORWARD. Right panel has the arrow reversed, from effect A back to cause Ei, labelled P of Ei given A, marked REVERSE

Theorem. Let E1,,EnE_1,\ldots,E_n partition SS and let AA be an event with P(A)>0P(A)>0. Then for each ii,

P(EiA)=P(Ei)P(AEi)j=1nP(Ej)P(AEj)P(E_i\mid A)=\frac{P(E_i)\,P(A\mid E_i)}{\displaystyle\sum_{j=1}^{n}P(E_j)\,P(A\mid E_j)}

Proof. Start from the definition and use the multiplication theorem on the numerator, in the form that conditions on EiE_i:

P(EiA)=P(EiA)P(A)=P(Ei)P(AEi)P(A)P(E_i\mid A)=\frac{P(E_i\cap A)}{P(A)}=\frac{P(E_i)\,P(A\mid E_i)}{P(A)}

Now replace P(A)P(A) in the denominator by the law of total probability. \blacksquare

That is all Bayes is: the definition of conditional probability, with the denominator expanded. Nothing new is being assumed.

The one-sentence version. P(EiA)P(E_i\mid A) is your path divided by all the paths that reach AA.

A horizontal stacked bar split into three segments labelled E1, E2, E3, each segment labelled P of Ei times P of A given Ei, with the whole bar labelled P of A and the first segment marked your slice

Vocabulary the paper uses.

TermSymbolMeaning
HypothesesE1,,EnE_1,\ldots,E_nthe partition, the possible causes
Prior (a priori) probabilityP(Ei)P(E_i)what you believed before the evidence
LikelihoodP(AEi)P(A\mid E_i)how well cause ii explains the evidence
Posterior (a posteriori) probabilityP(EiA)P(E_i\mid A)what you believe after the evidence

Two shortcuts that save real time in the exam.

(a) Equal priors. If P(E1)=P(E2)==P(En)P(E_1)=P(E_2)=\cdots=P(E_n), that common value cancels from numerator and denominator, and

P(EkA)=P(AEk)P(AE1)+P(AE2)++P(AEn)P(E_k\mid A)=\frac{P(A\mid E_k)}{P(A\mid E_1)+P(A\mid E_2)+\cdots+P(A\mid E_n)}

(b) Never simplify the fractions. Put every path product over one common denominator and then throw the denominator away. In a Bayes ratio it cancels, so 12/15037/150=1237\dfrac{12/150}{37/150}=\dfrac{12}{37} with no arithmetic at all.

The two mistakes that cost the most marks

Forgetting a hypothesis. The denominator must contain every path that could have produced AA. Miss one branch and the answer is silently too large. Before you divide, check that the priors you wrote down add to exactly 11.

Confusing P(AEi)P(A\mid E_i) with P(EiA)P(E_i\mid A). "Given the candidate was late, the probability the candidate took the bus" is not "given the bus, the probability of being late". The first is the answer, the second is the data. Read which one is given and which one is asked, every single time.

Type 1 — the counting layer underneath

Before a conditional probability can be computed, the plain probabilities in it have to be computed. Every 2026 shift tested that layer, so it is worth clearing first. The three tools are: favourable over total, the complement rule P(A)=1P(A)P(A)=1-P(A'), and the addition rule.

Example 5. (JEE Main 2026, 22 Jan Shift 1) Two distinct numbers aa and bb are chosen at random from 1,2,,501,2,\ldots,50. Find the probability that abab is divisible by 33.

SHOW SOLUTION

Direct counting would need three cases. The complement needs one.

abab is not divisible by 33 exactly when neither aa nor bb is a multiple of 33.

Multiples of 33 in the list: 503=16\left\lfloor \dfrac{50}{3}\right\rfloor =16. Non-multiples: 5016=3450-16=34.

P(not divisible)=34C250C2=34335049=11222450=5611225P(\text{not divisible})=\frac{{}^{34}C_2}{{}^{50}C_2}=\frac{34\cdot 33}{50\cdot 49}=\frac{1122}{2450}=\frac{561}{1225}P(ab divisible by 3)=15611225=6641225P(ab\text{ divisible by }3)=1-\frac{561}{1225}=\frac{664}{1225}

Answer: 6641225\dfrac{664}{1225}, option (2).

Example 6. (JEE Main 2026, 21 Jan Shift 1) The mean and variance of the seven observations 2,4,10,x,12,14,y2,4,10,x,12,14,y (with x>yx>y) are 88 and 1616. Two numbers are then chosen one after another without replacement from {1,2,3,x4,y,5}\{1,2,3,x-4,y,5\}. Find the probability that the smaller of the two is less than 44.

SHOW SOLUTION

First pin down xx and yy. Sum of the five known values is 2+4+10+12+14=422+4+10+12+14=42, so

42+x+y7=8  x+y=14\frac{42+x+y}{7}=8\ \Rightarrow\ x+y=14

Sum of their squares is 4+16+100+144+196=4604+16+100+144+196=460, and variance =x2xˉ2=\overline{x^2}-\bar x^2 gives

460+x2+y2764=16  x2+y2=100\frac{460+x^2+y^2}{7}-64=16\ \Rightarrow\ x^2+y^2=100

Then 2xy=(x+y)2(x2+y2)=196100=962xy=(x+y)^2-(x^2+y^2)=196-100=96, so xy=48xy=48. Hence x,yx,y are roots of t214t+48=0t^2-14t+48=0, that is t=6t=6 or t=8t=8. Since x>yx>y, x=8x=8 and y=6y=6.

So the set is {1,2,3,4,6,5}\{1,2,3,4,6,5\}, six distinct numbers. Two are drawn without replacement, giving 6×5=306\times 5=30 equally likely ordered outcomes.

Complement again: "smaller 4\ge 4" means both chosen numbers are 4\ge 4, that is both come from {4,5,6}\{4,5,6\}, which happens in 3×2=63\times 2=6 ways.

P(smaller<4)=1630=115=45P(\text{smaller}<4)=1-\frac{6}{30}=1-\frac15=\frac45

Answer: 45\dfrac45, option (2).

Example 7. (JEE Main 2026, 23 Jan Shift 1) From the first 100100 natural numbers, aa is chosen and then bb is chosen, without replacement. If P(ab10)=mnP(a-b\ge 10)=\dfrac{m}{n} in lowest terms, find m+nm+n.

SHOW SOLUTION

Order matters here, so the sample space has 100×99=9900100\times 99=9900 ordered pairs.

Fix bb. Then aa must satisfy ab+10a\ge b+10, so aa ranges over b+10,b+11,,100b+10,\,b+11,\,\ldots,\,100, which is 100(b+10)+1=91b100-(b+10)+1=91-b values. This is positive only for b90b\le 90.

favourable=b=190(91b)=k=190k=90912=4095\text{favourable}=\sum_{b=1}^{90}(91-b)=\sum_{k=1}^{90}k=\frac{90\cdot 91}{2}=4095P=40959900=91220P=\frac{4095}{9900}=\frac{91}{220}

Since 91=71391=7\cdot 13 and 220=22511220=2^2\cdot 5\cdot 11 share no factor, m=91m=91, n=220n=220 and m+n=311m+n=311.

Answer: 311311.

Type 2 — probability wearing another chapter's clothes

A large share of 2026 probability questions were really determinant, quadratic or sequence questions with a probability wrapper. The wrapper is always the same: work out which cases succeed, count them, divide by the total.

Example 8. (JEE Main 2026, 22 Jan Shift 2) nn is the number obtained on rolling a fair die. If the probability that the system

xny+z=6,x+(n2)y+(n+1)z=8,(n1)y+z=1x-ny+z=6,\qquad x+(n-2)y+(n+1)z=8,\qquad (n-1)y+z=1

has a unique solution is k6\dfrac{k}{6}, find the sum of kk and all possible values of nn.

SHOW SOLUTION

A linear system has a unique solution exactly when Δ0\Delta\neq 0.

Δ=1n11n2n+10n11\Delta=\begin{vmatrix} 1 & -n & 1\\ 1 & n-2 & n+1\\ 0 & n-1 & 1\end{vmatrix}

Expand along the first column:

Δ=1[(n2)(1)(n+1)(n1)]1[(n)(1)(1)(n1)]\Delta=1\cdot\bigl[(n-2)(1)-(n+1)(n-1)\bigr]-1\cdot\bigl[(-n)(1)-(1)(n-1)\bigr]Δ=(n2n2+1)(2n+1)=n2+3n2\Delta=(n-2-n^2+1)-(-2n+1)=-n^2+3n-2

So Δ0    n23n+20    (n1)(n2)0    n1,2\Delta\neq 0\iff n^2-3n+2\neq 0\iff (n-1)(n-2)\neq 0\iff n\neq 1,2.

A die gives n{1,2,3,4,5,6}n\in\{1,2,3,4,5,6\}, so 44 of the 66 outcomes work and k6=46\dfrac{k}{6}=\dfrac46 gives k=4k=4.

Sum=k+(3+4+5+6)=4+18=22\text{Sum}=k+(3+4+5+6)=4+18=22

Answer: 2222, option (4).

Example 9. (JEE Main 2026, 2 Apr Shift 1) Let a,b,c{1,2,3,4}a,b,c\in\{1,2,3,4\}. If P(ax2+22bx+c>0 for all xR)=mnP\bigl(ax^2+2\sqrt2\,bx+c>0 \text{ for all } x\in\mathbb{R}\bigr)=\dfrac{m}{n} in lowest terms, find m+nm+n.

SHOW SOLUTION

Since a1>0a\ge 1>0 always, the quadratic is positive for every real xx exactly when its discriminant is negative:

(22b)24ac<0  8b24ac<0  2b2<ac(2\sqrt2\,b)^2-4ac<0\ \Rightarrow\ 8b^2-4ac<0\ \Rightarrow\ 2b^2<ac

Count by bb.

b=1b=1, need ac>2ac>2: a=1a=1 gives c{3,4}c\in\{3,4\}; a=2a=2 gives c{2,3,4}c\in\{2,3,4\}; a=3a=3 and a=4a=4 give all four values of cc. Count =2+3+4+4=13=2+3+4+4=13.

b=2b=2, need ac>8ac>8: a=3a=3 gives c{3,4}c\in\{3,4\}; a=4a=4 gives c{3,4}c\in\{3,4\}. Count =4=4.

b=3b=3 needs ac>18ac>18 and b=4b=4 needs ac>32ac>32, but ac16ac\le 16. Count =0=0.

Favourable =17=17 out of 43=644^3=64, and gcd(17,64)=1\gcd(17,64)=1.

m+n=17+64=81m+n=17+64=81

Answer: 8181.

Example 10. (JEE Main 2026, 4 Apr Shift 2) From a month of 3131 days, 33 different dates are chosen at random. If the probability that they are in increasing A.P. is ab\dfrac{a}{b} in lowest terms, find a+ba+b.

SHOW SOLUTION
Total=31C3=3130296=4495\text{Total}={}^{31}C_3=\frac{31\cdot 30\cdot 29}{6}=4495

For a<b<ca<b<c in A.P., b=a+c2b=\dfrac{a+c}{2}, so bb is determined by aa and cc, and the only requirement is that aa and cc have the same parity.

Among 1,,311,\ldots,31 there are 1616 odd and 1515 even numbers, so

favourable=16C2+15C2=120+105=225\text{favourable}={}^{16}C_2+{}^{15}C_2=120+105=225P=2254495=45899P=\frac{225}{4495}=\frac{45}{899}

899=2931899=29\cdot 31 and 45=32545=3^2\cdot 5, so the fraction is in lowest terms and a+b=45+899=944a+b=45+899=944.

Answer: 944944.

Example 11. (JEE Main 2026, 2 Apr Shift 2) A man throws a fair coin repeatedly, scoring 1010 for each head and 55 for each tail. If P(exactly 30 points)=mnP(\text{exactly }30\text{ points})=\dfrac{m}{n} in lowest terms, find m+nm+n.

SHOW SOLUTION

"Exactly 3030 points" means the game is described by the pair (h,t)(h,t) with 10h+5t=3010h+5t=30, that is 2h+t=62h+t=6, with h,t0h,t\ge 0 integers:

(h,t)=(0,6), (1,4), (2,2), (3,0)(h,t)=(0,6),\ (1,4),\ (2,2),\ (3,0)

Each such outcome is a specific string of h+th+t tosses, and the number of arrangements is h+tCh{}^{h+t}C_h, each of probability (12)h+t\left(\tfrac12\right)^{h+t}.

P=6C0(12)6+5C1(12)5+4C2(12)4+3C3(12)3P={}^6C_0\left(\frac12\right)^{6}+{}^5C_1\left(\frac12\right)^{5}+{}^4C_2\left(\frac12\right)^{4}+{}^3C_3\left(\frac12\right)^{3}P=164+532+616+18=1+10+24+864=4364P=\frac{1}{64}+\frac{5}{32}+\frac{6}{16}+\frac{1}{8}=\frac{1+10+24+8}{64}=\frac{43}{64}

gcd(43,64)=1\gcd(43,64)=1, so m+n=43+64=107m+n=43+64=107.

Answer: 107107, option (C).

Type 3 — total probability

Recognition test: the question asks for the plain probability of an event, but that event can arrive by more than one route, and the routes have different chances. No "given that" appears in the question. Draw the tree, multiply along paths, add.

Example 12. (JEE Main 2026, 23 Jan Shift 2) Bag A contains 99 white and 88 black balls; bag B contains 66 white and 44 black balls. One ball is picked at random from bag B and dropped into bag A. A ball is then drawn at random from bag A. If P(white)=pqP(\text{white})=\dfrac{p}{q} in lowest terms, find p+qp+q.

SHOW SOLUTION

The transferred ball is the partition. Two cases, and they are mutually exclusive and exhaustive.

P(white transferred)=610=35,P(black transferred)=410=25P(\text{white transferred})=\frac{6}{10}=\frac35,\qquad P(\text{black transferred})=\frac{4}{10}=\frac25

After the transfer bag A holds 1818 balls in both cases, but the composition differs:

white transferred \Rightarrow 1010 white out of 1818; black transferred \Rightarrow 99 white out of 1818.

P(white drawn)=351018+25918=3090+1890=4890=815P(\text{white drawn})=\frac35\cdot\frac{10}{18}+\frac25\cdot\frac{9}{18}=\frac{30}{90}+\frac{18}{90}=\frac{48}{90}=\frac{8}{15}

So p=8p=8, q=15q=15 and p+q=23p+q=23.

Answer: 2323, option (2).

Two-branch tree. From pick from bag B, the white branch with probability 6 over 10 leads to bag A with 10 white and 8 black, then to white with probability 10 over 18. The black branch with probability 4 over 10 leads to bag A with 9 white and 9 black, then to white with probability 9 over 18

Example 13. (JEE Main 2026, 5 Apr Shift 2) The probabilities that players AA and BB are selected for the captaincy are 0.60.6 and 0.40.4. If AA is selected the team wins with probability 0.80.8; if BB is selected it wins with probability 0.70.7. Find the probability that the team wins.

SHOW SOLUTION

{A captain, B captain}\{A \text{ captain},\ B\text{ captain}\} is a partition: 0.6+0.4=10.6+0.4=1.

P(W)=P(A)P(WA)+P(B)P(WB)=(0.6)(0.8)+(0.4)(0.7)P(W)=P(A)P(W\mid A)+P(B)P(W\mid B)=(0.6)(0.8)+(0.4)(0.7)P(W)=0.48+0.28=0.76P(W)=0.48+0.28=0.76

Answer: 0.760.76, option (2).

Sanity check worth doing in three seconds: the answer must lie between the two conditional values 0.70.7 and 0.80.8, because it is a weighted average of them. It does, and it is closer to 0.80.8 because AA is the more likely captain.

Example 14. (JEE Main 2026, 6 Apr Shift 1) A bag contains (N+1)(N+1) coins: NN fair coins and one coin with heads on both sides. A coin is chosen at random and tossed. If P(Head)=916P(\text{Head})=\dfrac{9}{16}, find NN.

SHOW SOLUTION

The partition is which coin got picked.

P(two-headed)=1N+1,P(fair)=NN+1P(\text{two-headed})=\frac{1}{N+1},\qquad P(\text{fair})=\frac{N}{N+1}P(Htwo-headed)=1,P(Hfair)=12P(H\mid\text{two-headed})=1,\qquad P(H\mid\text{fair})=\frac12P(H)=1N+11+NN+112=2+N2(N+1)P(H)=\frac{1}{N+1}\cdot 1+\frac{N}{N+1}\cdot\frac12=\frac{2+N}{2(N+1)}

Set this equal to 916\dfrac{9}{16}:

16(N+2)=18(N+1)  16N+32=18N+18  2N=14  N=716(N+2)=18(N+1)\ \Rightarrow\ 16N+32=18N+18\ \Rightarrow\ 2N=14\ \Rightarrow\ N=7

Answer: N=7N=7, option (2).

Check: with N=7N=7, P(H)=916=0.5625P(H)=\dfrac{9}{16}=0.5625, a little above 12\tfrac12, which is right because one coin is biased towards heads.

Two-branch tree from pick a coin. The two-headed branch has probability 1 over N plus 1 and then Head with probability 1. The fair branch has probability N over N plus 1 and then Head with probability one half

Type 4 — Bayes' theorem

Recognition test: the question tells you the effect already happened, and asks which cause was behind it. The give-away phrases are "given that", "it is known that", "is found to be", "was observed to be". The tree is exactly the total-probability tree; only the final step changes, from adding all paths to dividing one path by all of them.

Example 15. (JEE Main 2026, 8 Apr Shift 2) A candidate travels to the exam centre by exactly one of bus, scooter or car, with probabilities 25,15,25\dfrac25,\dfrac15,\dfrac25. The probabilities of reaching late are 15,13,14\dfrac15,\dfrac13,\dfrac14 respectively. Given that the candidate reached late, find the probability that the candidate travelled by bus.

SHOW SOLUTION

Priors first, and check they add to 11: 25+15+25=1\dfrac25+\dfrac15+\dfrac25=1. Good.

Path products, all over the common denominator 150150:

bus and late=2515=225=12150\text{bus and late}=\frac25\cdot\frac15=\frac{2}{25}=\frac{12}{150}scooter and late=1513=115=10150\text{scooter and late}=\frac15\cdot\frac13=\frac{1}{15}=\frac{10}{150}car and late=2514=110=15150\text{car and late}=\frac25\cdot\frac14=\frac{1}{10}=\frac{15}{150}P(late)=12+10+15150=37150P(\text{late})=\frac{12+10+15}{150}=\frac{37}{150}P(Buslate)=12/15037/150=1237P(\text{Bus}\mid\text{late})=\frac{12/150}{37/150}=\frac{12}{37}

Answer: 1237\dfrac{12}{37}, option (2).

Once every product sits over 150150, the division is just 1212 against 3737. That is why you never simplify the individual fractions.

Three-branch tree from candidate. Bus with probability 2 over 5 then late with 1 over 5, scooter with 1 over 5 then late with 1 over 3, car with 2 over 5 then late with 1 over 4, and the three path products shown as 12, 10 and 15 over 150

Example 16. (JEE Main 2026, 5 Apr Shift 1) A letter is known to have arrived either from KANPUR or from ANANTPUR. On the envelope just two consecutive letters "AN" are visible. Find the probability that the letter came from ANANTPUR.

SHOW SOLUTION

A word of length LL contains L1L-1 consecutive letter pairs, and the visible pair is one of them chosen at random.

KANPUR has 66 letters, so 55 pairs: KA, AN, NP, PU, UR. "AN" occurs once.

P(ANKANPUR)=15P(\text{AN}\mid\text{KANPUR})=\frac15

ANANTPUR has 88 letters, so 77 pairs: AN, NA, AN, NT, TP, PU, UR. "AN" occurs twice.

P(ANANANTPUR)=27P(\text{AN}\mid\text{ANANTPUR})=\frac27

The two cities are equally likely, so the priors are 12\tfrac12 each and they cancel:

P(ANANTPURAN)=12271215+1227=2715+27P(\text{ANANTPUR}\mid\text{AN})=\frac{\frac12\cdot\frac27}{\frac12\cdot\frac15+\frac12\cdot\frac27}=\frac{\frac27}{\frac15+\frac27}15+27=7+1035=1735  P=273517=1017\frac15+\frac27=\frac{7+10}{35}=\frac{17}{35}\ \Rightarrow\ P=\frac{2}{7}\cdot\frac{35}{17}=\frac{10}{17}

Answer: 1017\dfrac{10}{17}, option (2).

Two-branch tree from envelope. The KANPUR branch lists its five letter pairs and carries probability 1 over 5 for AN. The ANANTPUR branch lists its seven pairs and carries probability 2 over 7 for AN
Why the answer is bigger than one half

Both cities were equally likely before the evidence. After seeing "AN" the posterior moved to 10170.59\dfrac{10}{17}\approx 0.59 in favour of ANANTPUR. That is Bayes doing its job: ANANTPUR explains the evidence better, so the evidence pushes belief towards it. If your posterior moves the wrong way, you have swapped a numerator.

Type 5 — Bayes with many hypotheses

Sometimes the partition has more than three pieces, and occasionally it has infinitely many in principle. The formula does not change. What changes is that you must sum a series in the denominator, which is where the identity rCr+r+1Cr++mCr=m+1Cr+1{}^{r}C_r+{}^{r+1}C_r+\cdots+{}^{m}C_r={}^{m+1}C_{r+1} earns its place.

Example 17. (JEE Main 2026, 28 Jan Shift 1) A bag contains 1010 balls, of which kk are red and (10k)(10-k) are black, where 0k100\le k\le 10. Three balls are drawn at random without replacement and all are found to be black. Find the probability that the bag contains 11 red and 99 black balls.

SHOW SOLUTION

The hypotheses are the eleven possible compositions. Since nothing is said to favour any of them, they are equally likely:

P(Ek)=111,k=0,1,2,,10P(E_k)=\frac{1}{11},\qquad k=0,1,2,\ldots,10

The evidence is AA: all three drawn balls are black. Under EkE_k the bag has 10k10-k black balls, so

P(AEk)=10kC310C3for 10k3,P(AEk)=0  for k=8,9,10P(A\mid E_k)=\frac{{}^{10-k}C_3}{{}^{10}C_3}\quad\text{for } 10-k\ge 3,\qquad P(A\mid E_k)=0\ \text{ for } k=8,9,10

Apply Bayes. Both 111\dfrac{1}{11} and 110C3\dfrac{1}{{}^{10}C_3} appear in every term, so both cancel:

P(E1A)=9C3k=0710kC3=9C33C3+4C3++10C3P(E_1\mid A)=\frac{{}^{9}C_3}{\displaystyle\sum_{k=0}^{7}{}^{10-k}C_3}=\frac{{}^{9}C_3}{{}^{3}C_3+{}^{4}C_3+\cdots+{}^{10}C_3}

The denominator is the hockey-stick sum:

m=310mC3=11C4=11109824=330\sum_{m=3}^{10}{}^{m}C_3={}^{11}C_4=\frac{11\cdot 10\cdot 9\cdot 8}{24}=330

and the numerator is 9C3=9876=84{}^{9}C_3=\dfrac{9\cdot 8\cdot 7}{6}=84. Hence

P(E1A)=84330=1455P(E_1\mid A)=\frac{84}{330}=\frac{14}{55}

Answer: 1455\dfrac{14}{55}, option (4).

Bar chart of the eleven weights, 10 minus k choose 3, against k from 0 to 10. The bar at k equals 1 has height 84 and is highlighted in gold, the bars at k equals 8, 9 and 10 are zero

Two things are worth noticing in that solution, because they generalise.

Equal priors let you throw the priors away. All eleven P(Ek)P(E_k) were 111\dfrac{1}{11}, so the answer became a ratio of pure likelihoods. Whenever a question says "chosen at random" about the hypotheses and gives you no other information, expect this.

The impossible hypotheses drop out on their own. For k=8,9,10k=8,9,10 the bag has fewer than three black balls, so P(AEk)=0P(A\mid E_k)=0 and those branches contribute nothing. You do not need a separate argument to exclude them; the likelihood does it for you. Notice also that the posterior for k=0k=0 is the largest of all, 120330\dfrac{120}{330}, which matches intuition: three black balls in a row is most easily explained by a bag with no red balls at all.

The hockey-stick identity
rCr+r+1Cr+r+2Cr++mCr=m+1Cr+1{}^{r}C_r+{}^{r+1}C_r+{}^{r+2}C_r+\cdots+{}^{m}C_r={}^{m+1}C_{r+1}

Proof by induction, or in one line from nCr+nCr+1=n+1Cr+1{}^{n}C_r+{}^{n}C_{r+1}={}^{n+1}C_{r+1} applied repeatedly. It turns up in almost every Bayes question whose hypotheses are indexed by a count, which in JEE means bags with kk red balls, urns with ii white balls, and coins numbered 11 to nn.

Type 6 — straight from the definition

Not every conditional question needs a tree. When the sample space is small enough to list, or when you are handed P(A)P(A), P(B)P(B) and P(AB)P(A\cup B), the definition alone does the job. These five are IITianForum originals, built to drill the four situations that keep recurring.

Example 18. A fair die is rolled twice. Given that the sum of the two numbers is 88, find the probability that at least one roll showed a 55.

SHOW SOLUTION

Condition first, count second. The given event is BB: sum =8=8. List it:

B={(2,6),(3,5),(4,4),(5,3),(6,2)},n(B)=5B=\{(2,6),(3,5),(4,4),(5,3),(6,2)\},\qquad n(B)=5

Those five ordered pairs are now the entire sample space. Among them, the ones containing a 55 are (3,5)(3,5) and (5,3)(5,3).

P(at least one 5sum=8)=25P(\text{at least one }5\mid \text{sum}=8)=\frac{2}{5}

Answer: 25\dfrac25.

The unconditional answer would have been 1136\dfrac{11}{36}. The condition changed it, which is exactly what a condition is supposed to do.

Example 19. For two events, P(A)=0.4P(A)=0.4, P(B)=0.5P(B)=0.5 and P(AB)=0.7P(A\cup B)=0.7. Find P(AB)P(A\mid B) and P(BA)P(B\mid A'), and decide whether AA and BB are independent.

SHOW SOLUTION

From the addition rule,

P(AB)=P(A)+P(B)P(AB)=0.4+0.50.7=0.2P(A\cap B)=P(A)+P(B)-P(A\cup B)=0.4+0.5-0.7=0.2P(AB)=P(AB)P(B)=0.20.5=0.4P(A\mid B)=\frac{P(A\cap B)}{P(B)}=\frac{0.2}{0.5}=0.4

For the second one, use P(BA)=P(B)P(AB)=0.50.2=0.3P(B\cap A')=P(B)-P(A\cap B)=0.5-0.2=0.3 and P(A)=0.6P(A')=0.6:

P(BA)=0.30.6=0.5P(B\mid A')=\frac{0.3}{0.6}=0.5

Independence check: P(A)P(B)=0.4×0.5=0.2=P(AB)P(A)P(B)=0.4\times 0.5=0.2=P(A\cap B), so yes, independent. Consistently, P(AB)=0.4=P(A)P(A\mid B)=0.4=P(A) and P(BA)=0.5=P(B)P(B\mid A')=0.5=P(B).

Answer: P(AB)=0.4P(A\mid B)=0.4, P(BA)=0.5P(B\mid A')=0.5, and AA, BB are independent.

Example 20. A box holds 44 red and 66 green pens. Three pens are drawn one by one without replacement. Find (i) P(all three green)P(\text{all three green}) and (ii) P(third is redfirst two are green)P(\text{third is red}\mid\text{first two are green}).

SHOW SOLUTION

(i) Chain rule along the path:

P(GGG)=6105948=120720=16P(GGG)=\frac{6}{10}\cdot\frac{5}{9}\cdot\frac{4}{8}=\frac{120}{720}=\frac16

(ii) Do not compute anything. Once two greens are gone the box literally holds 44 red and 44 green, so

P(third redGG)=48=12P(\text{third red}\mid GG)=\frac{4}{8}=\frac12

Answer: (i) 16\dfrac16, (ii) 12\dfrac12.

Part (ii) is the point of conditional probability in one line: after the condition, you are looking at a genuinely different box.

Example 21. Urn I has 33 white and 22 black balls; Urn II has 22 white and 44 black balls. A fair die is thrown. If it shows 11 or 22, a ball is drawn from Urn I; otherwise from Urn II. The ball drawn turns out to be white. Find the probability that it came from Urn I.

SHOW SOLUTION

Priors from the die:

P(I)=26=13,P(II)=46=23P(\text{I})=\frac{2}{6}=\frac13,\qquad P(\text{II})=\frac{4}{6}=\frac23

Likelihoods from the urns:

P(WI)=35,P(WII)=26=13P(W\mid \text{I})=\frac35,\qquad P(W\mid \text{II})=\frac{2}{6}=\frac13

Path products, over a common denominator 4545:

P(I and W)=1335=15=945,P(II and W)=2313=29=1045P(\text{I and }W)=\frac13\cdot\frac35=\frac15=\frac{9}{45},\qquad P(\text{II and }W)=\frac23\cdot\frac13=\frac29=\frac{10}{45}P(IW)=9/459/45+10/45=919P(\text{I}\mid W)=\frac{9/45}{9/45+10/45}=\frac{9}{19}

Answer: 919\dfrac{9}{19}.

The prior favoured Urn II two to one, but the evidence favours Urn I, and the posterior lands just under a half. Bayes weighs the two effects against each other rather than letting either win outright.

Example 22. AA speaks the truth 56\dfrac56 of the time and BB speaks the truth 35\dfrac35 of the time. They independently describe the same incident. Find the probability that they contradict each other.

SHOW SOLUTION

They contradict exactly when one tells the truth and the other does not. The two ways are mutually exclusive, and within each way the two speakers are independent:

P(contradict)=P(A true)P(B false)+P(A false)P(B true)P(\text{contradict})=P(A\text{ true})P(B\text{ false})+P(A\text{ false})P(B\text{ true})=5625+1635=1030+330=1330=\frac56\cdot\frac25+\frac16\cdot\frac35=\frac{10}{30}+\frac{3}{30}=\frac{13}{30}

Answer: 1330\dfrac{13}{30}.

Watch the wording. "Contradict" is this. "Agree" is 5635+1625=1730\dfrac56\cdot\dfrac35+\dfrac16\cdot\dfrac25=\dfrac{17}{30}, and the two add to 11 as they must. "Both are believed" and "the statement is true" are different questions again, and each needs its own sentence read carefully.

Which tool? A thirty-second decision

Almost every mistake in this chapter is a tool-selection mistake made in the first ten seconds. Run the question through this chart before you write anything.

Flow chart. Read the question, then ask whether a condition is given. If NO, break the event over the causes and add, which is total probability. If YES, ask whether the given event is the cause or the effect. Cause given leads to the multiplication theorem, effect given leads to Bayes theorem

In words, and this is worth writing on the inside cover of your notebook.

What the question saysWhat it wantsFormula
No condition, but several routes to the eventTotal probabilityP(A)=iP(Ei)P(AEi)P(A)=\sum_i P(E_i)P(A\mid E_i)
"Given the cause, find the chance of the effect"Multiplication theoremP(AB)=P(B)P(AB)P(A\cap B)=P(B)P(A\mid B)
"Given the effect, find the chance of the cause"Bayes' theoremP(EiA)=P(Ei)P(AEi)jP(Ej)P(AEj)P(E_i\mid A)=\dfrac{P(E_i)P(A\mid E_i)}{\sum_j P(E_j)P(A\mid E_j)}
"Find the chance both happen", with no dependence statedCheck independence firstP(AB)=P(A)P(B)P(A\cap B)=P(A)P(B) only if independent
No condition and one routeOrdinary countingfavourabletotal\dfrac{\text{favourable}}{\text{total}}
What a wrong start costs you

Choosing Bayes when the question wanted total probability produces an answer that is a fraction of the right one, and it will usually match a distractor option. Choosing total probability when the question wanted Bayes produces a number that is too small, and that will match a distractor too. The paper is set so that both errors land on printed options.

The only defence is the chart above. Find the word "given", decide whether what follows it is a cause or an effect, and only then pick up your pen.

Quick recall

#ResultStatement
1Conditional probabilityP(AB)=P(AB)P(B)P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}, P(B)0P(B)\neq 0
2Complement, conditionedP(AB)+P(AB)=1P(A\mid B)+P(A'\mid B)=1
3Addition, conditionedP ⁣(ABE)=P ⁣(AE)+P ⁣(BE)P ⁣(ABE)P\!\left(\dfrac{A\cup B}{E}\right)=P\!\left(\dfrac{A}{E}\right)+P\!\left(\dfrac{B}{E}\right)-P\!\left(\dfrac{A\cap B}{E}\right)
4Multiplication theoremP(AB)=P(A)P(BA)=P(B)P(AB)P(A\cap B)=P(A)P(B\mid A)=P(B)P(A\mid B)
5Chain ruleP(A1An)=P(A1)P(A2A1)P(AnA1An1)P(A_1\cap\cdots\cap A_n)=P(A_1)P(A_2\mid A_1)\cdots P(A_n\mid A_1\cap\cdots\cap A_{n-1})
6IndependenceP(AB)=P(A)P(B)    P(AB)=P(A)P(A\cap B)=P(A)P(B)\iff P(A\mid B)=P(A)
7Independence spreadsA,BA,B independent \Rightarrow A,BA,B' and A,BA',B and A,BA',B' independent
8At least one, independentP(AB)=1P(A)P(B)P(A\cup B)=1-P(A')P(B')
9PartitionEiEj=φE_i\cap E_j=\varphi, Ei=S\bigcup E_i=S, P(Ei)>0P(E_i)>0
10Total probabilityP(A)=iP(Ei)P(AEi)P(A)=\sum\limits_{i}P(E_i)P(A\mid E_i)
11Bayes' theoremP(EiA)=P(Ei)P(AEi)jP(Ej)P(AEj)P(E_i\mid A)=\dfrac{P(E_i)P(A\mid E_i)}{\sum_j P(E_j)P(A\mid E_j)}
12Equal priorspriors equal \Rightarrow P(EkA)=P(AEk)jP(AEj)P(E_k\mid A)=\dfrac{P(A\mid E_k)}{\sum_j P(A\mid E_j)}
13Posteriors add to oneiP(EiA)=1\sum\limits_{i}P(E_i\mid A)=1, always. Use it to check your answer
14Hockey stickrCr+r+1Cr++mCr=m+1Cr+1{}^{r}C_r+{}^{r+1}C_r+\cdots+{}^{m}C_r={}^{m+1}C_{r+1}
The four-line exam routine

1. Name the partition. Write the causes down the left of a tree, and check their probabilities add to exactly 11. If they do not, you have missed a case.

2. Hang the evidence off each cause. One branch per cause, labelled P(AEi)P(A\mid E_i). Every branch, including the ones you expect to be zero.

3. Multiply along paths, over one common denominator. Never simplify a path product; it is about to cancel.

4. Add the paths, or divide one by the sum. Adding gives total probability. Dividing gives Bayes. Which one you need was decided in step 00, when you looked for the word "given".

Three answers that are always wrong

P(AB)=P(A)P(B)P(A\mid B)=\dfrac{P(A)}{P(B)}. The numerator is the overlap.

P(AB)=P(A)P(B)P(A\cap B)=P(A)P(B) when the question never said the events were independent. Without replacement it is essentially never true.

A posterior larger than 11, or a set of posteriors that do not add to 11. Both mean a branch was dropped from the denominator.

Conditional probability rewards a habit rather than a memory. Draw the tree, even when the numbers look easy enough to do in your head, because the tree is what stops you from losing a branch. Six questions across JEE Main 2026 came down to exactly that discipline.

Want the full lecture-notes PDF for this chapter, with every theorem proved, all the Venn and tree diagrams drawn out, and a graded problem bank with complete solutions? It is linked with these notes on IITIANFORUM. Real Study, Genuine Results.

[ SHARE ] WhatsApp
[ practice these chapters ]
Reinforce this post with live problems on doMath.
Permutations & CombinationsProbability
PreviousDifferential Equations for JEE: All Nine Methods, Worked ExamplesNext Complex Numbers in Coordinate Geometry Complete JEE Notes
← Back to all notes