Q.Two natural numbers r, s are drawn one at a time, without replacement from the set S={1,2,3,…,n}. Find P[r≤p∣s≤p], where p∈S.
🔒You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
🔒 Start your 14-day free trial to unlock the full solution →Concept understanding — Conditional Probability
Conditional Probability
Roll a die and ask "what is the chance of an even number?" — that is 3/6. But suppose someone tells you the result is greater than 3. Now you are no longer looking at all six faces, only at {4,5,6}, and two of those (4 and 6) are even, so the probability becomes 2/3. That change — from the probability of A to the probability of A given that B has already occurred — is conditional probability.
The Idea: Shrink the Sample Space
Conditioning on B throws away every outcome where B is false and treats B as the new "whole world." You measure A only against what is still possible.
Think of filtering a table of data: unconditional probability uses every row; conditional probability keeps only the rows where the condition is true.
The Definition
For events A and B with P(B)>0,
P(A∣B)=P(B)P(A∩B).
We divide by P(B) to rescale so that B itself has probability 1; the surviving part of A is the overlap A∩B. Checking the die: P(A∩B)=P({4,6})=62 and P(B)=63, so P(A∣B)=3/62/6=32, matching the intuition.
Rearranging gives the multiplication rule P(A∩B)=P(A∣B)P(B), which is usually the easier way to compute a joint probability when a problem says "given that."
Two Cautions
- P(A∣B) and P(B∣A) are generally not equal; swapping them is the classic mistake. They are linked by Bayes' theorem, P(A∣B)=P(B)P(B∣A)P(A). …
Concept: Conditional Probability — we need P(r≤p∣s≤p), which is the probability that the first draw is at most p, given that the second draw is at most p.
Step 1 – Interpret the event.
Since draws are without replacement, the pair (r,s) is equally likely among all n(n−1) ordered pairs of distinct numbers from S.
Step 2 – Find the numerator.
We want P(r≤p and s≤p). Both numbers must be from {1,…,p} and distinct. Number of ordered pairs: p(p−1).
Step 3 – Find the denominator. …
The key idea is to use conditional probability: P(r≤p∣s≤p)=P(s≤p)P(r≤p∩s≤p). Since draws are without replacement, the numerator counts ordered pairs where both numbers are at most p, and the denominator counts ordered pairs where the second number is at most p. The final result is n−1p−1.
We are drawing two natural numbers r and s one at a time, without replacement from {1,2,…,n}. The event we want is: given that the second draw s is at most p, what is the probability that the first draw r is also at most p?
This is a classic conditional probability problem. The phrase "without replacement" is crucial — it means the two draws are dependent. If we had replacement, the answer would simply be p/n, but here the dependence changes things.
1. Set up the conditional probability
We want P(r≤p∣s≤p). By definition:
P(r≤p∣s≤p)=P(s≤p)P(r≤p and s≤p)
Both numerator and denominator are probabilities over the ordered pair (r,s) drawn without replacement.
2. Count the total number of outcomes
Since draws are without replacement and order matters, the total number of equally likely outcomes is:
n×(n−1)
That is, n choices for r, then n−1 remaining choices for s.
3. Find P(s≤p)
The event s≤p means the second draw is one of {1,2,…,p}. How many ordered pairs (r,s) satisfy this?
- s can be any of the p numbers ≤p.
- r can be any of the remaining n−1 numbers (since r=s).
So the number of favorable outcomes is:
p×(n−1)
Thus:
P(s≤p)=n(n−1)p(n−1)=np
Interestingly, P(s≤p)=p/n is the same as if we drew with replacement. The marginal distribution of the second draw is uniform over {1,…,n} — a symmetry property of sampling without replacement.
4. Find P(r≤p and s≤p)
Here both draws are at most p. Since draws are without replacement, we need ordered pairs (r,s) with r=s and both ≤p.
- Choose r from {1,…,p}: p choices.
- Then choose s from the same set, but s=r: p−1 choices.
So the number of favorable ordered pairs is:
p×(p−1)
Therefore:
P(r≤p and s≤p)=n(n−1)p(p−1)
5. Compute the conditional probability
Now plug into the formula: …
Method: Conditional Probability by Counting Equally-Likely Ordered Pairs
Use the definition of conditional probability with careful counting when items are drawn without replacement.
Steps
Step 1: Fix the sample space of ordered draws.
Two items drawn one at a time without replacement give n(n−1) equally likely ordered pairs (r,s) with r=s.
Step 2: Count the numerator and denominator events.
P(A∣B)=P(B)P(A∩B)=#B#(A∩B). …
Common Mistakes
Mistake 1: Writing P(r≤p∩s≤p)=(p/n)2.
Why it's wrong: the two draws are without replacement (dependent), so they cannot both be squared as if independent; the correct joint count is p(p−1) ordered pairs, giving n(n−1)p(p−1). Correct approach: count distinct ordered pairs, not a product of marginals.
Mistake 2: Cancelling the wrong way and losing the −1 shifts. …
Showing the 12 most recent of 69 on this concept.
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.Two dice are rolled. If A denote the event that the same number shows on each die and B denote the event that the sum of the numbers on both dice is greater than 7, then P(A∣B) and P(B∣A) respectively are (A) 52,41 (B) 51,21 (C) 51,41 (D) 21,53
›Reveal solutionSolution
Counting the 36 equally likely dice outcomes directly gives P(A∣B)=51 and P(B∣A)=21.
Concept and Intuition
With two fair dice there are 36 equally likely outcomes, so every probability here reduces to simple counting: enumerate the outcomes in A, in B, and in A∩B, then apply the conditional probability formula P(X∣Y)=P(Y)P(X∩Y) directly as a ratio of counts.
Step-by-Step Solution
- A = "same number on each die": outcomes (1,1),(2,2),(3,3),(4,4),(5,5),(6,6) — 6 outcomes, so P(A)=366.
- B = "sum >7", i.e. sum ∈{8,9,10,11,12}. Counting pairs per sum: sum 8 has 5 pairs, 9 has 4, 10 has 3, 11 has 2, 12 has 1 — total 5+4+3+2+1=15 outcomes, so P(B)=3615.
- A∩B: doubles with sum >7 — check each double: (4,4) sum 8 ✓, (5,5) sum 10 ✓, (6,6) sum 12 ✓; (1,1),(2,2),(3,3) have sums 2,4,6, all ≤7 — excluded. So A∩B has 3 outcomes, P(A∩B)=363. …
- AP EAPCET 2022Set eng-2022-07-06-FN1 markMCQQ.Two persons P and Q are considering to apply for a job. The probability that P applies for the job is 1/4, the probability that P applies for the job given that Q applies for the job is 1/2, and the probability that Q applies for the job given that P applies for the job is 1/3. Then the probability that P does not apply for the job given that Q does not apply for the job is (A) 4/5 (B) 5/6 (C) 7/8 (D) 11/12
›Reveal solutionSolution
Chain the given conditional probabilities to find P(Q) and P(P∩Q), then use the complement rule — the answer is (A) 4/5.
Concept and Intuition
Conditional probability definitions let us cross-multiply to recover the joint probability P(P∩Q) from either conditional. Once P(P),P(Q),P(P∩Q) are all known, De Morgan's law converts "neither event" into the complement of the union.
Step-by-Step Solution
- Given: P(P)=41, P(P∣Q)=21, P(Q∣P)=31.
- P(P∩Q)=P(Q∣P)⋅P(P)=31×41=121.
- Also P(P∩Q)=P(P∣Q)⋅P(Q)⇒121=21⋅P(Q)⇒P(Q)=61.
- P(P∪Q)=P(P)+P(Q)−P(P∩Q)=41+61−121=123+122−121=124=31.
- By De Morgan's law, "neither P nor Q applies" is the complement of P∪Q: P(P∩Q)=1−31=32.
- P(Q)=1−P(Q)=1−61=65. …
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.Two balls are drawn at random from a box containing 4 white, 6 black balls one after the other without replacement. If it is known that second ball drawn is black, then the probability that the first ball drawn is also black is (A) 115 (B) 95 (C) 125 (D) 135
›Reveal solutionSolution
Conditional probability with sampling without replacement, solved with Bayes' theorem; answer is 95.
Concept and Intuition
When balls are drawn one after another without replacement, the marginal probability that any particular draw (say the 2nd) is black equals the overall proportion of black balls, 106 — position doesn't matter for the marginal event by symmetry. To find the conditional probability of the first draw given information about the second, we use Bayes' theorem: we need the joint probability of both events and divide by the marginal probability of the conditioning event.
Step-by-Step Solution
- Total balls: 4 white (W) + 6 black (B) = 10.
- P(2nd is black)=P(1st B, 2nd B)+P(1st W, 2nd B) =106⋅95+104⋅96=9030+9024=9054=53.
- P(1st black and 2nd black)=106⋅95=9030=31. …
- AP EAPCET 2024Set eng-2024-05-20-FN1 markMCQQ.P(A∣A∩B)+P(B∣A∩B)= (A) 1 (B) P(A∪B) (C) P(A∩B) (D) 2
›Reveal solutionSolution
Both conditional probabilities equal 1 because A∩B is a subset of both A and B, so their sum is 2.
Concept and Intuition
Conditioning an event on its own subset (or superset relationship) often collapses to a probability of exactly 1: if E⊆F, then P(F∣E)=1, since knowing E occurred guarantees F occurred too.
Step-by-Step Solution
- P(A∣A∩B)=P(A∩B)P(A∩(A∩B)).
- Since A∩(A∩B)=A∩B (intersecting with A again changes nothing, as A∩B⊆A), this is P(A∩B)P(A∩B)=1.
- Similarly, P(B∣A∩B)=P(A∩B)P(B∩(A∩B))=P(A∩B)P(A∩B)=1.
- Sum =1+1=2. …
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.If it is known that a woman has two children and she has at least one girl child, the probability that the woman has both girl children is (A) 41 (B) 31 (C) 32 (D) 21
›Reveal solutionSolution
This is a classic conditional-probability trap: conditioning on "at least one girl" (not "the elder/first child is a girl") leaves 3 equally likely outcomes, of which 1 is both-girls, giving 31.
Concept and Intuition
With two children, birth order matters for counting equally likely outcomes: BB,BG,GB,GG, each with probability 1/4. The event "at least one girl" is a set of outcomes, not a statement about a specific (e.g. first) child, so it correctly removes only BB and keeps three outcomes, not two. This distinguishes it from the simpler (and different) question "given the elder child is a girl," which would leave only {GB,GG} and give probability 1/2.
Step-by-Step Solution
- Sample space (ordered by birth, say elder-younger): {BB,BG,GB,GG}, each with probability 41.
- Event E = "at least one girl" = {BG,GB,GG}, so P(E)=43. …
- AP EAPCET 2025Set eng-2025-05-23-AN1 markMCQQ.A die is thrown twice. Let A be the event of getting a prime number when the die is thrown first time and B be the event of getting an even number when the die is thrown second time. Then P(A/Bˉ)= (A) 21 (B) 32 (C) 51 (D) 53
›Reveal solutionSolution
Since A and B (hence Bˉ) come from two independent throws of the die, conditioning on Bˉ does not change P(A); the answer is 1/2.
Concept and Intuition
When two events are determined by physically independent trials (first throw vs second throw of a die), any conditional probability between them collapses to the unconditional probability — conditioning on an independent event changes nothing.
Step-by-Step Solution
- A: prime number on the first throw, i.e. outcome in {2,3,5}, so P(A)=63=21.
- B: even number on the second throw, i.e. outcome in {2,4,6}, so P(B)=21, and P(Bˉ)=21 (odd on the second throw). …
- AP EAPCET 2023Set eng-2023-05-18-AN1 markMCQQ.If A,B are any two events of a random experiment and P(B)=1, then P(A∣Bc)= (A) 1−P(B)P(A)+P(A∩B) (B) 1−P(B)P(A)−P(A∩B) (C) 1+P(B)P(A)+P(A∩B) (D) 1+P(B)P(A)
›Reveal solutionSolution
Direct application of the conditional-probability definition to the complement event gives P(A∣Bc)=1−P(B)P(A)−P(A∩B).
Concept and Intuition
A∩Bc is exactly the part of A that does not overlap with B, so its probability is P(A) minus the overlapping piece P(A∩B). Dividing by P(Bc)=1−P(B) (valid since P(B)=1) gives the conditional probability.
Step-by-Step Solution
- P(A∣Bc)=P(Bc)P(A∩Bc) by definition (needs P(Bc)=0, i.e. P(B)=1, as given).
- A=(A∩B)∪(A∩Bc), a disjoint union, so P(A)=P(A∩B)+P(A∩Bc)⇒P(A∩Bc)=P(A)−P(A∩B).
- P(Bc)=1−P(B). …
- AP EAPCET 2023Set eng-2023-05-17-AN1 markMCQQ.Three boxes B1, B2 and B3 contain balls with different colors as follows:A die is thrown. Box B1 is chosen if either 1 or 2 turns up. Box B2 is chosen if 3 or 4 turns up and box B3 is chosen if 5 or 6 turns up. Having chosen a box in this way, a ball is drawn at random from that box. If the ball drawn is found to be Red, then the probability that it is drawn from box B2 is (A) 127 (B) 125 (C) 121 (D) 263
White Black Red B1 2 1 2 B2 3 2 4 B3 4 3 2 ›Reveal solutionSolution
A Bayes'-theorem problem: reverse the conditional probability "ball is Red, which box?" using the total-probability formula.
Concept and Intuition
Bayes' theorem lets us "invert" a conditional probability. We know P(Red∣Bi) for each box and the prior P(Bi) (each 1/3 since the die is fair and each box corresponds to two faces); we want the posterior P(B2∣Red).
Step-by-Step Solution
- Totals in each box: B1: 2+1+2=5; B2: 3+2+4=9; B3: 4+3+2=9.
- P(Red∣B1)=52, P(Red∣B2)=94, P(Red∣B3)=92.
- Each box has prior probability 31 (each box corresponds to two die faces out of six).
- Total probability: P(Red)=31(52+94+92)=31(52+32)=31⋅1516=4516. …
- AP EAPCET 2021Set eng-2021-08-23-FN1 markMCQQ.Let A and B be two events with P(A)=71, P(A/B)=52 and P(B)=72. Then the value P(B/A) is (A) 51 (B) 495 (C) 54 (D) 53
›Reveal solutionSolution
Chain the conditional-probability definition twice: first get P(A∩B) from P(A/B), then get P(B/A) from that.
Concept and Intuition
Conditional probability is defined as P(E/F)=P(F)P(E∩F). Given one conditional probability, we can back out the joint probability P(A∩B), and then use it (with the definition again, but conditioning the other way) to find the other conditional probability.
Step-by-Step Solution
- P(A/B)=P(B)P(A∩B)⇒P(A∩B)=P(A/B)⋅P(B)=52×72=354.
- Now use P(B/A)=P(A)P(A∩B)=1/74/35. …
- AP EAPCET 2021Set eng-2021-08-25-FN1 markMCQQ.One ticket is selected at random from 50 tickets numbered 00,01,02,…49. The probability that sum of the digits is 10, given that product of the digits is 9 is (A) 109 (B) 41 (C) 21 (D) 252
›Reveal solutionSolution
Only two tickets (19 and 33) have digit-product 9, and only one of them (19) also has digit-sum 10, giving conditional probability 1/2.
Concept and Intuition
Conditional probability P(sum=10∣product=9) restricts attention entirely to the tickets satisfying the "given" condition (product =9), then asks what fraction of those also satisfy the target condition (sum =10).
Step-by-Step Solution
- List all two-digit combinations (d1,d2) with d1∈{0,1,2,3,4} (tens digit, since tickets run 00–49) and d2∈{0,…,9} (units digit) whose product is 9:
- d1=1,d2=9: ticket 19.
- d1=3,d2=3: ticket 33.
- No other integer pairs with d1≤4 give product 9.
- So the "product = 9" event has exactly 2 tickets: {19,33}.
- Check digit sums: 19→1+9=10 ✓; 33→3+3=6 ✗.
- Only 1 out of these 2 tickets also has digit-sum 10. …
- List all two-digit combinations (d1,d2) with d1∈{0,1,2,3,4} (tens digit, since tickets run 00–49) and d2∈{0,…,9} (units digit) whose product is 9:
- AP EAPCET 2024Set eng-2024-05-22-FN1 markMCQQ.A bag contains 6 balls. If three balls are drawn at a time and all of them are found to be green, then the probability that exactly 5 of the balls in the bag are green is: (A) 354 (B) 355 (C) 72 (D) 71
›Reveal solutionSolution
This is a Bayes'-theorem problem: given a uniform prior on the unknown number of green balls in the bag, update the belief after observing 3 green balls drawn. Answer: 2/7.
Concept and Intuition
Before drawing, any number of green balls from 0 to 6 is equally likely (7 equally likely hypotheses). Observing "all 3 drawn balls are green" is much more likely under hypotheses with more green balls, so Bayes' theorem reweights the prior toward higher k. We want the posterior probability that k=5.
Step-by-Step Solution
- Prior: P(k green balls)=71 for k=0,1,…,6.
- Likelihood of drawing 3 balls, all green, given k green balls out of 6: P(all green∣k)=(36)(3k)=20(3k) (zero for k<3).
- Compute: k=3:(33)=1⇒1/20; k=4:(34)=4⇒4/20; k=5:(35)=10⇒10/20; k=6:(36)=20⇒20/20=1. …
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.There are three families F1,F2,F3. F1 has 2 boys and 1 girl; F2 has 1 boy and 2 girls; F3 has 1 boy and 1 girl. A family is randomly chosen and a child is chosen from that family randomly. If it is known that the child thus selected is a girl, then the probability that she is from F2 is (A) 94 (B) 92 (C) 73 (D) 75
›Reveal solutionSolution
Applying Bayes' theorem across the three equally-likely families gives P(F2∣girl)=94.
Concept and Intuition
This is a textbook application of Bayes' theorem: we're given the reverse conditional probabilities (family → probability of picking a girl) and asked for the forward one (girl picked → probability she's from a specific family).
Step-by-Step Solution
- Prior: P(F1)=P(F2)=P(F3)=31.
- P(girl∣F1)=31 (1 girl out of 3 children), P(girl∣F2)=32, P(girl∣F3)=21.
- Total probability: P(girl)=31⋅31+31⋅32+31⋅21=31(31+32+21)=31⋅62+4+3=31⋅69=21
- P(F2∩girl)=31⋅32=92. …
🎓Unlock everything free for 14 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.