Q.Assume that the chances of a patient having a heart attack is 40%. It is also assumed that a meditation and yoga course reduce the risk of heart attack by 30% and prescription of certain drug reduces its chances by 25%. At a time a patient can choose any one of the two options with equal probabilities. It is given that after going through one of the two options the patient selected at random suffers a heart attack. Find the probability that the patient followed a course of meditation and yoga?
🔒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 (Bayes' Theorem)
Let H be the event of a heart attack, M the event of choosing meditation & yoga, and D the event of choosing the drug.
Step 1: Prior probabilities
P(M)=P(D)=0.5 (equal choice).
Step 2: Conditional risks
Original risk of heart attack = 0.4.
- Meditation reduces risk by 30%, so P(H∣M)=0.4×(1−0.3)=0.28.
- Drug reduces risk by 25%, so P(H∣D)=0.4×(1−0.25)=0.30.
Step 3: Apply Bayes' Theorem
We need P(M∣H): …
A "30% / 25% reduction" is a relative reduction of the 40% baseline, giving heart-attack chances of 0.28 (yoga) and 0.30 (drug). By Bayes' theorem the probability the patient chose meditation and yoga is 2914.
Let A1 = "chose meditation & yoga", A2 = "chose the drug", and H = "suffers a heart attack". The patient picks either option with equal probability:
P(A1)=P(A2)=21.
1. Conditional risks. The baseline chance is 0.40. A reduction of 30% leaves 70% of the risk, and a reduction of 25% leaves 75%:
P(H∣A1)=0.40×(1−0.30)=0.40×0.70=0.28,
P(H∣A2)=0.40×(1−0.25)=0.40×0.75=0.30. …
Method: Bayes' Theorem after adjusting a baseline risk
Use this when each option (treatment) changes a baseline probability by a stated percentage, and you must find, given the outcome occurred, which option was chosen.
Steps
Step 1: Turn each "reduces risk by r%" into an actual conditional probability.
A reduction of r% is relative to the baseline b: it leaves (1−r) of it, so P(E∣option)=b×(1−r). It is not b−r. Do this for every option before touching Bayes' theorem.
Step 2: Record the priors of the options.
P(Hi) — equal, if the patient picks any option with equal probability.
Step 3: Total probability of the outcome. …
Common Mistakes
Mistake 1: Reading "reduces risk by 30%" as an absolute subtraction.
Why it's wrong: it is a relative reduction of the 0.4 baseline, so the risk becomes 0.4×0.7=0.28, not 0.4−0.3=0.1. Correct approach: multiply the baseline by (1−reduction) for each option.
Mistake 2: Applying the reduction to only one option.
Why it's wrong: both the yoga and the drug conditional risks must be recomputed. Correct approach: P(H∣yoga)=0.28 and P(H∣drug)=0.4×0.75=0.30. …
Showing the 12 most recent of 45 on this concept.
- KCET 2025Set A-11 markMCQQ.Meera visits only one of the two temples A and B in her locality. Probability that she visits temple A is 52. If she visits temple A, 31 is the probability that she meets her friend, whereas it is 72 if she visits temple B. Meera met her friend at one of the two temples. The probability that she met her at temple B is (A) 167 (B) 165 (C) 163 (D) 169
›Reveal solutionSolution
The friend has already been met (the effect); we want the probability of the cause (temple B) — that reversal of conditioning is exactly Bayes' theorem.
Step 1 — Name the events.
Let A = "Meera visits temple A", B = "Meera visits temple B", F = "she meets her friend".
She visits only one of the two temples, so A and B are mutually exclusive and exhaustive:
P(A)=52⟹P(B)=1−52=53.
Given: P(F∣A)=31, P(F∣B)=72.
Step 2 — Why Bayes.
We are told the outcome (F happened) and asked for the probability of a cause (B). Bayes' theorem inverts the conditioning:
P(B∣F)=P(A)P(F∣A)+P(B)P(F∣B)P(B)P(F∣B).
The denominator is P(F) by the law of total probability — the friend can be met on either branch.
Step 3 — Compute the two branch probabilities.
P(A∩F)=52×31=152,P(B∩F)=53×72=356.
Step 4 — Total probability of meeting the friend. …
- COMEDK 2025Set 2025-M1 markMCQQ.In an entrance test, there are multiple choice questions. There are four possible answers to each question of which only one is correct. The probability that a student knows the answer to a question is 90%. If he gets the correct answer to a question, then the probability that he was guessing is (A) 3736 (B) 91 (C) 371 (D) 4037
›Reveal solutionSolution
We use Bayes’ theorem to reverse the conditional probability: given that the student answered correctly, we want the probability that he was guessing. The answer is 371, so the correct option is (C).
Concept and intuition
This is a classic Bayes’ theorem problem. We have two ways a student can get a correct answer: either he knows the answer (and thus answers correctly for sure), or he guesses (and has a 1 in 4 chance of being correct). We are told the prior probability that he knows the answer is 90%. The question asks: given that he got it right, what’s the chance he was actually guessing? Bayes’ theorem lets us “flip” the conditional probability, using the known likelihoods.
Step-by-step reasoning
- Define events clearly Let K = “student knows the answer”, and G = “student guesses” (so G is the complement of K). Let C = “student gives the correct answer”. We are given:
P(K)=0.9,P(G)=0.1.
-
Conditional probabilities for answering correctly
- If the student knows the answer, he is certain to be correct: P(C∣K)=1.
- If he guesses, he picks randomly among 4 options, so P(C∣G)=41.
-
Find the total probability of a correct answer
By the law of total probability:
P(C)=P(C∣K)P(K)+P(C∣G)P(G)=(1)(0.9)+(41)(0.1)=0.9+0.025=0.925.
- Apply Bayes’ theorem We want P(G∣C), the probability that he was guessing given that he answered correctly:
- KCET 2021Set A-11 markMCQQ.A car manufacturing factory has two plants X and Y. Plant X manufactures 70% of cars and plant Y manufactures 30% of cars. 80% of cars at plant X and 90% of cars at plant Y are rated as standard quality. A car is chosen at random and is found to be of standard quality. The probability that it has come from plant X is (A) 7356 (B) 8456 (C) 8356 (D) 7956
›Reveal solutionSolution
This is a reverse-probability question (effect → cause), so use Bayes' theorem with the total probability of a standard-quality car in the denominator.
Step 1 — Define the events.
- X: the car came from plant X — P(X)=0.70
- Y: the car came from plant Y — P(Y)=0.30
- S: the car is of standard quality
The conditional (likelihood) data given:
P(S∣X)=0.80,P(S∣Y)=0.90
Note X and Y are mutually exclusive and exhaustive (0.7+0.3=1), which is exactly what Bayes' theorem needs.
Step 2 — Why Bayes and not simple conditioning.
We are told the effect (the chosen car is standard) and asked for the probability of the cause (it came from X). That inversion — P(X∣S) from P(S∣X) — is precisely Bayes' theorem:
P(X∣S)=P(X)P(S∣X)+P(Y)P(S∣Y)P(X)P(S∣X)
Step 3 — Compute the numerator.
P(X)P(S∣X)=0.70×0.80=0.56
Step 4 — Compute the denominator (total probability of a standard car).
P(S)=0.70×0.80+0.30×0.90=0.56+0.27=0.83
Step 5 — Divide. …
- COMEDK 2024Set 2024-A1 markMCQQ.P and Q are considering to apply for a job. The probability that P applies for the job is 41. The probability that P applies for the job given that Q applies for the job is 21, and the probability that Q applies for the job given that P applies for the job is 31. Then the probability that P does not apply for the job given that Q does not apply for the job is (A) 54 (B) 87 (C) 65 (D) 1211
›Reveal solutionSolution
We are given conditional probabilities and need to find P(P∣Q). Using the definitions of conditional probability and the law of total probability, we compute P(Q) and P(Q), then apply Bayes' theorem to get 54, which corresponds to option (A).
Concept and intuition:
This is a classic problem of working backwards from conditional probabilities to find a joint probability table. We know P(P), P(P∣Q), and P(Q∣P). From these, we can find P(P∩Q) in two ways, which lets us solve for P(Q). Then we can compute the desired conditional probability P(P∣Q) using the complement rule and the definition of conditional probability.
Step-by-step solution:
- Write down what is given. Let P = event that P applies, Q = event that Q applies. We have:
P(P)=41,P(P∣Q)=21,P(Q∣P)=31.
- Use the definition of conditional probability to express P(P∩Q) in two ways. From P(P∣Q)=P(Q)P(P∩Q), we get
P(P∩Q)=P(P∣Q)⋅P(Q)=21P(Q).
From P(Q∣P)=P(P)P(P∩Q), we get
P(P∩Q)=P(Q∣P)⋅P(P)=31⋅41=121.
- Equate the two expressions for P(P∩Q) to find P(Q).
21P(Q)=121⇒P(Q)=61.
- Find P(Q) and P(P∩Q).
P(Q)=1−P(Q)=1−61=65.
Also, P(P∩Q)=P(P)−P(P∩Q)=41−121=123−121=122=61.
- Find P(P∩Q). Since P∩Q is the complement of P∪Q, we can use:
P(P∩Q)=1−P(P∪Q).
First, P(P∪Q)=P(P)+P(Q)−P(P∩Q)=41+61−121. …
- COMEDK 2025Set 2025-E1 markMCQQ.If A and B are two events such that P(Aˉ)=0.3,P(B)=0.4,P(A∩Bˉ)=0.5, then find the value of P(B/A∪Bˉ) (A) 0.33 (B) 0.7 (C) 0.8 (D) 0.25
›Reveal solutionSolution
The problem asks for a conditional probability P(B∣A∪Bˉ). Using the definition of conditional probability and the given probabilities, we compute P(B∩(A∪Bˉ)) and P(A∪Bˉ), then divide. The final value is 0.25, so the correct option is (D).
We are given:
- P(Aˉ)=0.3, so P(A)=1−0.3=0.7.
- P(B)=0.4.
- P(A∩Bˉ)=0.5.
We need P(B∣A∪Bˉ), which is the probability that B occurs given that A or Bˉ (or both) occurs.
Concept and intuition:
Conditional probability P(X∣Y)=P(Y)P(X∩Y). Here X=B and Y=A∪Bˉ. So we need the probability that both B and (A∪Bˉ) happen, divided by the probability that A∪Bˉ happens. The key is to simplify the intersection B∩(A∪Bˉ) using set algebra — it often collapses to something simpler.
-
Simplify the numerator P(B∩(A∪Bˉ))
Using the distributive law:
B∩(A∪Bˉ)=(B∩A)∪(B∩Bˉ)
But B∩Bˉ=∅, so this is just B∩A.
Hence P(B∩(A∪Bˉ))=P(A∩B).
-
Find P(A∩B)
We know P(A)=0.7 and P(A∩Bˉ)=0.5.
Since A=(A∩B)∪(A∩Bˉ) and these are disjoint,
P(A)=P(A∩B)+P(A∩Bˉ)
⇒0.7=P(A∩B)+0.5
⇒P(A∩B)=0.2.
-
Find the denominator P(A∪Bˉ)
Use the inclusion-exclusion principle: …
- COMEDK 2026Set 2026-M1 markMCQQ.Advika chooses one of three scarves every morning: Red, Blue, or Green. The probability she chooses Red is 20%. The probability she chooses Blue is twice the probability of choosing Red. On the remaining days she wears a Green scarf. Once a scarf is chosen, she decides whether to wear a Hat (H) and Sunglasses (S). These choices are independent of each other but depend on the scarf colour: Scarf colour Red Blue Green P(H)0.50.40.1P(S)0.80.50.5 Advika is spotted outdoors wearing both a Hat and Sunglasses. What is the probability that she is wearing the Red scarf? (A) 31313 (B) 218 (C) 94 (D) 138
›Reveal solutionSolution
Bayes' theorem on scarf colour given that both a hat and sunglasses are worn. Priors P(R)=0.2, P(B)=0.4, P(G)=0.4; likelihoods P(H∩S∣colour)=P(H)P(S). The posterior P(R∣H∩S)=94 — option (C).
Concept. Hat and sunglasses are independent given the scarf, so P(H∩S∣colour)=P(H∣colour)⋅P(S∣colour). Bayes' theorem then reverses the conditioning to give the probability of the scarf colour from the observed accessories.
Step 1 — Priors.
P(R)=20%=0.2,P(B)=2P(R)=0.4,P(G)=1−0.2−0.4=0.4.
Step 2 — Likelihood of wearing both accessories for each colour.
P(H∩S∣R)=0.5×0.8=0.40,
P(H∩S∣B)=0.4×0.5=0.20,
P(H∩S∣G)=0.1×0.5=0.05. …
- COMEDK 2026Set 2026-A1 markMCQQ.Vishnu has two jars of marbles, Jar A and Jar B. Jar A contains 3 yellow marbles and 2 green marbles. Jar B contains 4 yellow marbles and 3 green marbles. Vishnu flips a fair coin. If it lands heads, he picks two marbles at random without replacement from Jar A. If it lands tails, he picks two marbles at random with replacement from Jar B. Given that Vishnu picked one yellow and one green marble, what is the probability that they came from Jar B? (A) 4121 (B) 8949 (C) 8940 (D) 4120
›Reveal solutionSolution
P(E∣A)=53 (without replacement), P(E∣B)=4924 (with replacement); Bayes gives P(B∣E)=8940 — option (C).
Likelihoods of drawing one yellow and one green (E).
Jar A (3 yellow, 2 green; two draws without replacement):
P(E∣A)=(25)(13)(12)=106=53.
Jar B (4 yellow, 3 green; two draws with replacement):
P(E∣B)=2⋅74⋅73=4924.
Bayes' theorem with P(A)=P(B)=21 (the 21 cancels): …
- COMEDK 2026Set 2026-M1 markMCQQ.Samhita faces a three-headed dragon. She wins a "Tactical medal" if she manages to defeat exactly one of the three heads. The battle proceeds head-by-head under the following conditions: The probability of defeating the first head is 31. After a win: if she defeats a head, the probability of defeating the next head is 32. After a loss: if she fails to defeat a head, the probability of defeating the next head is 41. What is the probability that Samhita earns the "Tactical medal"? (A) 7223 (B) 365 (C) 7217 (D) 7219
›Reveal solutionSolution
Summing the three disjoint "exactly one win" paths gives 121+181+81=7219 — option (D).
Set up the conditional probabilities. Let Wi mean "defeats head i" and Li mean "fails":
- P(W1)=31, so P(L1)=32.
- After a win: next-head win probability =32, so next-head loss probability =31.
- After a loss: next-head win probability =41, so next-head loss probability =43.
Earning the medal means exactly one of the three heads is defeated. The three disjoint sequences are W1L2L3, L1W2L3, and L1L2W3.
Path 1 — W1L2L3 (win, then loss after a win, then loss after a loss):
P=31⋅31⋅43=363=121
Path 2 — L1W2L3 (loss, then win after a loss, then loss after a win): …
- COMEDK 2023Set 2023-E1 markMCQQ.Bag A contains 3 white and 2 red balls. Bag B contains only 1 white ball. A fair coin is tossed. If head appears then 1 ball is drawn at random from bag A and put into bag B. However if tail appears then 2 balls are drawn at random from bag A and put into bag B. Now one ball is drawn at random from bag B. Given that the drawn ball from B is white, the probability that head appeared on the coin is (A) 3023 (B) 2312 (C) 2311 (D) 3019
›Reveal solutionSolution
Computing P(white drawn∣H)=54 and P(white∣T)=1511, Bayes' theorem gives P(H∣white)=2312.
Head (transfer 1 ball from A(3W,2R) to B(1W), then draw from B's 2 balls):
P(white)=53(1)+52(21)=53+51=54.
Tail (transfer 2 balls from A to B(1W), then draw from B's 3 balls):
P(WW)=103⇒P(white)=1,P(WR)=106⇒32,P(RR)=101⇒31. …
- KCET 2021Set A-11 markMCQQ.Given that A and B are two events such that P(B)=53, P(A/B)=21 and P(A∪B)=54, then P(A)= (A) 103 (B) 21 (C) 51 (D) 53
›Reveal solutionSolution
Turn the conditional probability into P(A∩B), then substitute into the addition theorem and solve for P(A).
Step 1 — Extract P(A∩B) from the conditional probability.
By definition,
P(A/B)=P(B)P(A∩B)(P(B)=0).
Rearranging (the multiplication theorem):
P(A∩B)=P(A/B)⋅P(B)=21×53=103.
This is the key move — the conditional probability is not directly usable in the union formula, but P(A∩B) is.
Step 2 — Apply the addition theorem.
P(A∪B)=P(A)+P(B)−P(A∩B).
The intersection is subtracted because the elements common to A and B would otherwise be counted twice.
Step 3 — Substitute the known values.
54=P(A)+53−103.
Step 4 — Solve for P(A). …
- COMEDK 2021Set 2021-B1 markMCQQ.At a certain university 4% of male students are over 6 feet tall and 1% of female students are over 6 feet tall. The total student population is divided in the ratio 3 : 2, in favor of female students. If a student is selected at random from amongst all those over 6 feet tall, what is the probability that the student is a female? (A) 1/3 (B) 2/5 (C) 3/11 (D) 3/5
›Reveal solutionSolution
Bayes' theorem gives P(female∣>6ft)=0.0220.006=113.
Population split 3:2 in favour of females ⇒ P(F)=53=0.6, P(M)=52=0.4.
Tall fractions: P(T∣F)=0.01, P(T∣M)=0.04.
By Bayes' theorem: …
- KCET 2020Set A-11 markMCQQ.Events E1 and E2 form a partition of the sample space S. A is any event such that P(E1)=P(E2)=21, P(E2/A)=21 and P(A/E2)=32, then P(E1/A) is (A) 21 (B) 32 (C) 1 (D) 41
›Reveal solutionSolution
A partition's posterior probabilities must add to 1, so P(E1∣A)=1−P(E2∣A)=1−21=21.
Step 1 — What "partition of the sample space" means.
E1 and E2 form a partition of S if they are mutually exclusive (E1∩E2=∅) and exhaustive (E1∪E2=S), with non-zero probabilities. So exactly one of them must occur.
Step 2 — Conditioning preserves the partition.
Conditioning on an event A (with P(A)>0) just renormalises probabilities inside A; it does not destroy the partition. Formally,
A=(A∩E1)∪(A∩E2),(A∩E1)∩(A∩E2)=∅
Dividing by P(A):
P(A)P(A∩E1)+P(A)P(A∩E2)=P(A)P(A)=1
which is precisely
P(E1∣A)+P(E2∣A)=1
The posterior probabilities of a partition must still sum to 1 — a fact worth remembering, since it turns many Bayes questions into a one-line subtraction.
Step 3 — Substitute the given value.
P(E1∣A)=1−P(E2∣A)=1−21=21 …
🎓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.