Independence and Expected Waiting Time Notes for Gate Da
Independence and Expected Waiting Time notes for GATE DA: 10 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions
Independence and Expected Waiting Time notes
Chapter Roadmap: Independence and Expected Waiting Time
Your journey through this chapter
1
Independent Trials — the foundation
What "no memory" really means, and why it matters.
2
Waiting for a single event
The geometric distribution and the clean formula E[T]=1/p.
3
Why patterns break the simple formula
Two consecutive successes is not the same as two independent successes.
4
The state method — your main weapon
Define states by progress, write equations, solve.
5
Exam-ready patterns and traps
Recognising the question type, avoiding the memoryless trap, and the HH vs HT surprise.
End goal: given any "repeat until you see pattern X" question, you will set up the states and solve for the expected time in under two minutes.
The Big Question: How Long Do I Wait?
The setup
An experiment is repeated, independently, forever.
Each trial has a success probability p (constant across trials).
You are waiting for some target: a single success, two successes in a row, a specific sequence, etc.
The question
Let T be the number of trials until the target is first achieved. What is E[T]?
Two worlds
Waiting for...
Tool
Typical answer shape
A single success
Geometric distribution
E[T]=p1
A pattern (e.g. two in a row)
State equations
E[T]=p21+p
The first world is one line. The second world is where the real exam questions live.
Independent Trials: Every Throw Is Fresh
Definition
Trials X1,X2,X3,… are independent if for every k,
P(Xk=x∣X1,…,Xk−1)=P(Xk=x).
What this buys you
The success probability is p on every trial, no exceptions.
The process has no memory: the past does not bend the future.
You can multiply probabilities across trials freely: P(A and B)=P(A)P(B).
A clean mental pictureImagine a die. You throw it. You write down the result. You throw again. Each throw is a brand-new roll of a fair die. The universe has not changed. This is the world we work in.
If a problem says "thrown repeatedly" or "tossed until", assume independence unless told otherwise.
7 more cards in this chapter
Try a question
Answer it here to see how it works. Nothing is recorded until you sign in.
Question 1
Level 1: Warm-up
A student incorrectly calculates the probability of the first success in the first two trials as p+p=2p=0.4 by overcounting. Using the correct geometric distribution with p=0.2, what is the minimum number of trials k required for the cumulative probability P(T≤k) to be at least $0.36$?
Question 2
Level 1: Warm-up
A student incorrectly calculates the probability of getting at least one success in k trials as k⋅p. For p=0.2, what is the minimum number of trials k required for the TRUE probability of getting at least one success to be strictly greater than $0.5$?
Question 3
Level 1: Warm-up
The expected waiting time for two consecutive successes is E=(1+p)/p2, valid for p∈(0,1]. A student ignores this constraint and asks: what is the minimum positive real value of p for which E=3/4?
Question 4
Level 1: Warm-up
For independent trials with success probability p=1/4, what is the expected number of trials until two consecutive successes occur?
Question 5
Level 1: Warm-up
Independent trials are conducted with success probability p=1/3. Let T be the number of trials until the first success. What is the probability that T is an even number?
Question 6
Level 1: Warm-up
For a geometric distribution with success probability p, the variance is Var(T)=p21−p. A student makes a sign error and uses Var(T)=p21+p instead. If the correct variance is 6, what is the value of p?
Question 7
Level 1: Warm-up
In repeated independent trials with success probability p, where 0<p≤1, the expected number of trials until two consecutive successes is p21+p, whereas the value p21 is not correct. Suppose the incorrect value falls short of the correct value by at least $4$. Which of the following values of p are possible?
Question 8
Level 1: Warm-up
A coin shows Head with probability p, where 0<p≤1, and is tossed repeatedly and independently. Let T be the number of tosses until two consecutive Heads appear, for which
E[T]=p21+p.
Which of the following numbers can be the value of E[T] for some admissible value of p?
Question 9
Level 1: Warm-up
For independent trials with success probability p, the expected waiting time for two consecutive successes is given by the correct formula. Which of the following pairs (p,E) are correct?
Question 10
Level 1: Warm-up
A process involves independent trials with success probability p. The expected time to the first success is derived by conditioning on the first trial. If the first trial is a success (prob p), the time is 1. If it is a failure (prob 1−p), the time is 1+E. Solving E=p(1)+(1−p)(1+E) for p=1/3 yields what value?
Free preview ends here
Login to view the complete notes
Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.
Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.
Built around you, not around a syllabus PDF
Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.
Revision that hits your weak spots
We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.
Questions calibrated to the real exam
Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.
Notes written for recall, not for volume
Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.
One place for everything
Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.
Honest progress
No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.
Unlock the whole course
Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.
Independence and Expected Waiting Time Notes for GATE DA
Independence and Expected Waiting Time notes for GATE DA: 10 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.
Chapter Roadmap: Independence and Expected Waiting Time
Your journey through this chapter
1
Independent Trials — the foundation
What "no memory" really means, and why it matters.
2
Waiting for a single event
The geometric distribution and the clean formula E[T]=1/p.
3
Why patterns break the simple formula
Two consecutive successes is not the same as two independent successes.
4
The state method — your main weapon
Define states by progress, write equations, solve.
5
Exam-ready patterns and traps
Recognising the question type, avoiding the memoryless trap, and the HH vs HT surprise.
End goal: given any "repeat until you see pattern X" question, you will set up the states and solve for the expected time in under two minutes.
The Big Question: How Long Do I Wait?
The setup
An experiment is repeated, independently, forever.
Each trial has a success probability p (constant across trials).
You are waiting for some target: a single success, two successes in a row, a specific sequence, etc.
The question
Let T be the number of trials until the target is first achieved. What is E[T]?
Two worlds
Waiting for...
Tool
Typical answer shape
A single success
Geometric distribution
E[T]=p1
A pattern (e.g. two in a row)
State equations
E[T]=p21+p
The first world is one line. The second world is where the real exam questions live.
Independent Trials: Every Throw Is Fresh
Definition
Trials X1,X2,X3,… are independent if for every k,
P(Xk=x∣X1,…,Xk−1)=P(Xk=x).
What this buys you
The success probability is p on every trial, no exceptions.
The process has no memory: the past does not bend the future.
You can multiply probabilities across trials freely: P(A and B)=P(A)P(B).
A clean mental pictureImagine a die. You throw it. You write down the result. You throw again. Each throw is a brand-new roll of a fair die. The universe has not changed. This is the world we work in.
If a problem says "thrown repeatedly" or "tossed until", assume independence unless told otherwise.
Waiting for the First Success: Geometric Distribution
The random variable
T= number of trials until the first success.
Probability mass function
P(T=k)=(1−p)k−1p,k=1,2,3,…
Read this as: (k−1) failures, then one success.
The key expectation
E[T]=p1
Sanity checks
If p=1 (success is certain), E[T]=1. You wait one trial. Correct.
If p=1/2 (fair coin, waiting for a head), E[T]=2. Makes sense.
If p=0.01 (rare event), E[T]=100. You wait a long time. Correct.
When does this formula apply?
Only when you are waiting for a single success on independent trials with constant p. The moment the target becomes a pattern, this formula no longer gives the answer directly.
Independence and Expected Waiting Time: Solved Questions with Step-by-Step Explanations (10 Problems)
Question 1 · Probability and StatisticsMCQ
A student incorrectly calculates the probability of the first success in the first two trials as p+p=2p=0.4 by overcounting. Using the correct geometric distribution with p=0.2, what is the minimum number of trials k required for the cumulative probability P(T≤k) to be at least $0.36$?
A.
2
B.
1
C.
3
D.
4
Correct Answer:
A
Step-by-Step Solution
Key idea: The cumulative distribution function (CDF) for a geometric distribution is P(T≤k)=1−(1−p)k.
Step 1: Identify the target cumulative probability: P(T≤k)≥0.36.
Step 2: Substitute the CDF formula: 1−(1−p)k≥0.36.
Step 3: Plug in p=0.2: 1−(0.8)k≥0.36.
Step 4: Rearrange: (0.8)k≤1−0.36=0.64.
Step 5: Test integer values for k:
For k=1: 0.81=0.8 (Not ≤0.64)
For k=2: 0.82=0.64 (Satisfies ≤0.64)
Answer: The minimum number of trials k is 2.
Question 2 · Probability and StatisticsMCQ
A student incorrectly calculates the probability of getting at least one success in k trials as k⋅p. For p=0.2, what is the minimum number of trials k required for the TRUE probability of getting at least one success to be strictly greater than $0.5$?
A.
3
B.
4
C.
5
D.
2
Correct Answer:
B
Step-by-Step Solution
Key idea: The true probability of at least one success in k independent trials is given by the complement rule. We must solve an inequality for k.
Step 1: Write the true probability using the complement rule:
P(at least one)=1−P(none)=1−(1−p)k.
Step 2: Set up the inequality with p=0.2:
1−(1−0.2)k>0.5
1−0.8k>0.5
Step 3: Isolate the exponential term:
0.8k<0.5
Step 4: Test integer values for k:
For k=2: 0.82=0.64 (Not <0.5)
For k=3: 0.83=0.512 (Not <0.5)
For k=4: 0.84=0.4096 (Strictly <0.5)
Answer: The minimum number of trials k is 4.
Question 3 · Probability and StatisticsMCQ
The expected waiting time for two consecutive successes is E=(1+p)/p2, valid for p∈(0,1]. A student ignores this constraint and asks: what is the minimum positive real value of p for which E=3/4?
A.
1/2
B.
1
C.
2
D.
4
Correct Answer:
C
Step-by-Step Solution
Key idea: This is a construction question where we need to solve an equation for p, then find the minimum positive solution. The trap is ignoring the constraint that p must be a valid probability.
Step 1: Set up the equation:
p21+p=43
Step 2: Cross-multiply to clear fractions:
4(1+p)=3p2
4+4p=3p2
Step 3: Rearrange into standard quadratic form:
3p2−4p−4=0
Step 4: Solve using the quadratic formula:
p=64±16+48=64±64=64±8
This gives two solutions:
p=612=2orp=6−4=−32
Step 5: The problem asks for the minimum positive real value. The only positive solution is p=2.
Note: p=2 is not a valid probability (violates p∈(0,1]), but the student ignored this constraint.
Answer: The minimum positive real value of p is 2.
Question 4 · Probability and StatisticsNAT
For independent trials with success probability p=1/4, what is the expected number of trials until two consecutive successes occur?
Correct Answer:
20.00
Step-by-Step Solution
Key idea: This is a direct substitution question using the closed-form formula for two consecutive successes.
Step 1: Identify the correct formula. For two consecutive successes with success probability p, the expected waiting time is:
E=p21+p
Step 2: Substitute p=1/4:
E=(1/4)21+1/4
Step 3: Calculate the numerator:
1+41=45
Step 4: Calculate the denominator:
(41)2=161
Step 5: Divide:
E=1/165/4=45×116=45×16=480=20
Answer: The expected number of trials is 20.00.
Common trap: Using the wrong formula E=1/p2 gives E=1/(1/16)=16, which is incorrect because it ignores the overlap structure of consecutive successes.
Question 5 · Probability and StatisticsNAT
Independent trials are conducted with success probability p=1/3. Let T be the number of trials until the first success. What is the probability that T is an even number?
Correct Answer:
0.40
Step-by-Step Solution
Key idea: This is a geometric distribution question asking for the probability that the first success occurs on an even-numbered trial.
Step 1: Write the probability mass function for geometric distribution:
P(T=k)=(1−p)k−1p,k=1,2,3,…
Step 2: We want P(T is even)=P(T=2)+P(T=4)+P(T=6)+…
P(T is even)=n=1∑∞P(T=2n)=n=1∑∞(1−p)2n−1p
Step 3: Factor out common terms:
P(T is even)=p(1−p)n=1∑∞(1−p)2(n−1)=p(1−p)n=0∑∞[(1−p)2]n
Step 4: This is a geometric series with ratio r=(1−p)2:
P(T is even)=p(1−p)⋅1−(1−p)21
Step 5: Simplify the denominator:
1−(1−p)2=1−(1−2p+p2)=2p−p2=p(2−p)
Step 6: Substitute back:
P(T is even)=p(2−p)p(1−p)=2−p1−p
Step 7: For p=1/3:
P(T is even)=2−1/31−1/3=5/32/3=52=0.40
Answer: The probability is 0.40.
Common trap: Students might try to use the wrong formula or forget that this requires summing an infinite series.
Question 6 · Probability and StatisticsNAT
For a geometric distribution with success probability p, the variance is Var(T)=p21−p. A student makes a sign error and uses Var(T)=p21+p instead. If the correct variance is 6, what is the value of p?
Correct Answer:
0.33
Step-by-Step Solution
Key idea: This is a reverse-engineering question where you solve for p given the correct variance formula.
Step 1: Write the correct variance formula and set it equal to 6:
Var(T)=p21−p=6
Step 2: Multiply both sides by p2:
1−p=6p2
Step 3: Rearrange into standard quadratic form:
6p2+p−1=0
Step 4: Solve using the quadratic formula with a=6,b=1,c=−1:
Step 6: Since p must be a valid probability (0<p≤1), we reject p=−1/2 and accept p=1/3.
Verification: For p=1/3:
Var(T)=(1/3)21−1/3=1/92/3=32×9=6✓
Note: The student's wrong formula would give a different answer. Using p21+p=6 leads to 6p2−p−1=0, which gives p=1/2 (the other root is negative).
Answer: The value of p is 0.33.
Question 7 · Probability and StatisticsMSQ
In repeated independent trials with success probability p, where 0<p≤1, the expected number of trials until two consecutive successes is p21+p, whereas the value p21 is not correct. Suppose the incorrect value falls short of the correct value by at least $4$. Which of the following values of p are possible?
A.
1/8
B.
1/5
C.
1/4
D.
1/2
Correct Answer:
["A","B","C"]
Step-by-Step Solution
Insight: the size of the error is p21+p−p21=p2p=p1. So the whole condition is just a statement about 1/p.
This is a reverse-engineering question on the classic wrong formula for two consecutive successes. The give-away is that both the correct expression and the incorrect expression are supplied, and a condition is placed on the gap between them. So we must work backwards from the gap to p.
Exam route (fast):
shortfall=p21+p−p21=p1.
The condition "falls short by at least $4$" means
p1≥4⟹1≥4p⟹p≤41,
where multiplying by p>0 keeps the inequality direction unchanged. So the largest admissible p is 1/4, and every smaller positive p also works.
Test the options: p=1/8⇒ shortfall $8$; p=1/5⇒5; p=1/4⇒4; p=1/2⇒2. The first three meet the requirement, the last does not.
Learning route (full justification):
Step 1: Both expressions have the same denominator p2, so subtract numerators:
p2(1+p)−1=p2p.
Step 2: Cancel one factor p (allowed since p>0): p2p=p1. Notice this is positive, as a shortfall must be.
Step 3: Impose the condition: p1≥4. Multiply both sides by the positive number p: 1≥4p. Divide by $4$: p≤41.
Step 4: Combine with p>0: the admissible set is 0<p≤41. Its maximum is p=1/4.
Step 5: Read off the options. 1/8=0.125 and 1/5=0.2 are below 1/4; 1/4 is the endpoint (shortfall exactly $4$, and "at least" includes equality); 1/2=0.5 exceeds 1/4 and fails.
The tempting wrong path: subtract in the wrong order, writing the gap as p21−p21+p=−p1, then push the minus sign through carelessly: −p1≥4⇒−1≥4p⇒p≥41 (the division by a negative number was done without flipping the sign). That flipped condition accepts p=1/2, i.e. option D. The line where it breaks is the subtraction order: a shortfall is correct value minus incorrect value, which is +1/p, never −1/p.
Answer: options A, B and C (p=1/8,1/5,1/4).
Generalization: the error committed by using 1/p2 for two consecutive successes is exactly 1/p — the expected wait for a single success — so it blows up for rare successes and shrinks to $1$ when p=1.
Verification: at p=1/4, correct =1/161.25=20 and incorrect =16, gap =4, so the boundary is included. At p=1/2, correct =6 and incorrect =4, gap =2<4, so option D is genuinely excluded.
Question 8 · Probability and StatisticsMSQ
A coin shows Head with probability p, where 0<p≤1, and is tossed repeatedly and independently. Let T be the number of tosses until two consecutive Heads appear, for which
E[T]=p21+p.
Which of the following numbers can be the value of E[T] for some admissible value of p?
A.
1
B.
1.5
C.
2
D.
3
Correct Answer:
["C","D"]
Step-by-Step Solution
Insight: write the given expression as E[T]=p1+p21. Since p≤1, each of these two terms is at least $1$, so E[T] can never drop below $2$.
This is a "which values are attainable" question on the closed form for two consecutive successes. The trigger is the phrase "for some admissible value of p" together with the restriction 0<p≤1: we are not computing one waiting time, we are checking which numbers lie in the range of the formula.
Exam route (fast):
Put x=p1. Because 0<p≤1, we get x≥1, and
E[T]=x+x2.
Both x and x2 increase with x, so E[T] increases with x and is smallest at x=1:
E[T]min=1+1=2.
As x→∞ (that is, p→0), E[T]→∞. So the attainable set is exactly [2,∞).
Now scan the options: 1<2 (no), 1.5<2 (no), $2$ (yes, at p=1), 3≥2 (yes).
Learning route (full justification):
Step 1: Split the fraction, which is legal because the denominator is common:
p21+p=p21+p2p=p21+p1.
Step 2: Use the constraint. From 0<p≤1 we get p1≥1 and p21≥1. Adding, E[T]≥2, with equality only when p=1.
Step 3: Check that $2$ really occurs. At p=1 every toss is a Head, so two consecutive Heads arrive on toss $2$. The formula agrees: 121+1=2. So option C is attainable.
Step 4: Check that $3$ really occurs. Solve x+x2=3, i.e. x2+x−3=0:
x=2−1+13≈1.303⟹p=x1≈0.767,
which lies in (0,1]. So option D is attainable.
Step 5: Options A and B are both below the floor $2$, so no admissible p produces them.
The tempting wrong path: use the "pattern probability" shortcut E[T]=1/p2. Then the smallest value is $1$ at p=1, and 1/p2=1.5 gives p=2/3≈0.816, an apparently legal probability. That path makes both A and B look attainable. The line where it breaks is the very first one: 1/p2 is not the expected waiting time for two consecutive successes, because attempts at the pattern overlap and a failed attempt does not always erase all progress.
Answer: options C and D ($2$ and $3$).
Generalization: for a waiting-time formula, always convert the probability constraint into a bound on the answer — here p≤1 forces E[T]≥2.
Verification: p=1⇒11+1=2 (option C reproduced), and p≈0.767⇒0.5881.767≈3.00 (option D reproduced). No p∈(0,1] gives $1$ or $1.5$, since both terms of p1+p21 are at least $1$.
Question 9 · Probability and StatisticsMSQ
For independent trials with success probability p, the expected waiting time for two consecutive successes is given by the correct formula. Which of the following pairs (p,E) are correct?
A.
(p=1/2,E=6)
B.
(p=1/3,E=12)
C.
(p=1/4,E=16)
D.
(p=2/3,E=15/4)
Correct Answer:
["A","B","D"]
Step-by-Step Solution
Key idea: This is an elimination question testing the correct formula for expected waiting time for two consecutive successes.
Step 1: Recall the correct formula. For two consecutive successes with success probability p:
E=p21+p
Step 2: Check option A with p=1/2:
E=(1/2)21+1/2=1/43/2=23×4=6
This matches. Option A is correct.
Step 3: Check option B with p=1/3:
E=(1/3)21+1/3=1/94/3=34×9=12
This matches. Option B is correct.
Step 4: Check option C with p=1/4:
E=(1/4)21+1/4=1/165/4=45×16=20
The given value is E=16, which does not match. Option C is incorrect.
The error in option C: This uses the wrong formula E=1/p2=1/(1/16)=16, which ignores the overlap structure.
Step 5: Check option D with p=2/3:
E=(2/3)21+2/3=4/95/3=35×49=1245=415
This matches. Option D is correct.
Answer: The correct pairs are A, B, and D.
Question 10 · Probability and StatisticsMCQ
A process involves independent trials with success probability p. The expected time to the first success is derived by conditioning on the first trial. If the first trial is a success (prob p), the time is 1. If it is a failure (prob 1−p), the time is 1+E. Solving E=p(1)+(1−p)(1+E) for p=1/3 yields what value?
A.
1
B.
1.5
C.
9
D.
3
Correct Answer:
D
Step-by-Step Solution
Key idea: The recursive definition of expected waiting time conditions on the outcome of the very first trial.
Step 1: Write down the given recursive equation: E=p(1)+(1−p)(1+E).