Q.If a machine is correctly set up, it produces 90% acceptable items. If it is incorrectly set up, it produces only 40% acceptable items. Past experience shows that 80% of the set ups are correctly done. If after a certain set up, the machine produces 2 acceptable items, find the probability that the machine is correctly setup.
🔒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 C = correctly set up, A = produces an acceptable item.
Given: P(C)=0.8, P(A∣C)=0.9, P(A∣C′)=0.4.
We need P(C∣2 acceptable items). Since items are independent given the setup:
-
P(2 acceptable∣C)=(0.9)2=0.81
P(2 acceptable∣C′)=(0.4)2=0.16
-
P(2 acceptable)=P(C)⋅0.81+P(C′)⋅0.16
=0.8×0.81+0.2×0.16=0.648+0.032=0.68
-
By Bayes' theorem: …
By Bayes' theorem, P(correct setup∣2 acceptable)=8581.
Let C = correct setup, C′ = incorrect setup, and E = "two acceptable items".
P(C)=0.8,P(C′)=0.2,P(acceptable∣C)=0.9,P(acceptable∣C′)=0.4.
Items are independent given the setup, so
P(E∣C)=(0.9)2=0.81,P(E∣C′)=(0.4)2=0.16.
Total probability of the observation:
P(E)=(0.81)(0.8)+(0.16)(0.2)=0.648+0.032=0.68. …
Method: Bayes' Theorem (finding the cause from the observed outcome)
Use this when you observe repeated results from one of two hidden states and want the probability of the state given the results. You know the per-item success rate for each setup, and want P(correct setup∣observed items).
Steps
Step 1: Set up the partition of possible causes.
List the mutually exclusive, exhaustive hypotheses (here: the machine was set up correctly or incorrectly) and write their prior probabilities P(Ei) (these must sum to 1).
Step 2: Write each likelihood.
For each cause, state P(A∣Ei) — the probability of the observed outcome (here: the machine produces two acceptable items) under that cause.
Step 3: Get the total probability of the outcome (the denominator).
By the law of total probability,
P(A)=∑iP(Ei)P(A∣Ei).
Step 4: Apply Bayes' theorem for the cause you want.
P(Ek∣A)=∑iP(Ei)P(A∣Ei)P(Ek)P(A∣Ek). …
Common Mistakes
Mistake 1: Using the single-item rate 0.9 instead of squaring it.
Why it's wrong: the observation is two acceptable items, so the likelihood is (0.9)2=0.81 for a correct setup (and (0.4)2=0.16 for an incorrect one). Correct approach: square the per-item probabilities before applying Bayes' theorem.
Mistake 2: Omitting the incorrect-setup branch from the denominator.
Why it's wrong: two acceptable items can also come from an incorrectly set-up machine. Correct approach: P(2 acceptable)=P(C)(0.9)2+P(C′)(0.4)2=0.68. …
- CA Foundation 2026Set jan-20261 markMCQQ.If in a class, 50% of the student study mathematics and science and 70% of the student study mathematics, then the probability of a student studying science given that he/she is already studying mathematics is (A) 73 (B) 76 (C) 74 (D) 75
›Reveal solutionSolution
Conditional probability P(S∣M)=P(M)P(M∩S).
Step 1 — identify the probabilities
50% study both maths and science, so P(M∩S)=0.5; 70% study maths, so P(M)=0.7.
Step 2 — apply the conditional-probability formula
P(S∣M)=P(M)P(M∩S)=0.70.5=75. …
- CA Foundation 2026Set jan-20261 markMCQQ.If two dice are rolled, then the probability of getting a greater number on the first die than the one on the second, given that the sum should be equal to 7 is (A) 21 (B) 31 (C) 61 (D) 32
›Reveal solutionSolution
Conditional probability on a reduced sample space: P(A∣B)=n(B)n(A∩B).
Step 1 — list the outcomes with sum 7.
(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)⇒n(B)=6.
Step 2 — count first die greater than second, among those.
(4,3),(5,2),(6,1) → 3 outcomes.
Step 3 — conditional probability.
P=63=21. …
- AHSEC Higher Secondary (HS) Final Examination 2026Set ANNUAL1 markMCQQ.If A and B are two events such that A⊂B and P(B)=0, then which of the following is correct?(i) P(A∣B)=P(A)P(B)(ii) P(A∣B)<P(A)(iii) P(A∣B)≥P(A)(iv) None of the above
›Reveal solutionSolution
A⊂B⇒A∩B=A⇒P(A∣B)=P(B)P(A)≥P(A) — option (iii).
By definition P(A∣B)=P(B)P(A∩B).
Because A⊂B, we have A∩B=A, so
P(A∣B)=P(B)P(A).
…
- CA Foundation 2023Set jun-20231 markMCQQ.If P(A)=31,P(B)=41,P(A/B)=61, the probability P(B/A) is (A) 81 (B) 41 (C) 83 (D) 21
›Reveal solutionSolution
P(B/A) = P(A∩B)/P(A) = (1/24)/(1/3) = 1/8.
Step 1 — Find the joint probability
P(A∩B)=P(A/B)P(B)=61×41=241
Step 2 — Apply the definition of conditional probability
P(B/A)=P(A)P(A∩B)=1/31/24=243=81
Watch outP(A/B) and P(B/A) are not equal — you must recompute the joint probability first, then divide by P(A), not P(B). …
- CA Foundation 2022Set dec-20221 markMCQQ.If P(A)=31, P(B)=43 and P(A∪B)=1211 then P(AB) is: (A) 61 (B) 94 (C) 21 (D) 81
›Reveal solutionSolution
P(A∩B)=1/6, so P(B|A)=(1/6)/(1/3)=1/2.
Step 1 — Intersection via the addition rule
P(A∩B)=P(A)+P(B)−P(A∪B)=31+43−1211=124+9−11=122=61
Step 2 — Apply the conditional-probability formula
P(AB)=P(A)P(A∩B)=1/31/6=21
Watch outOption (A) 1/6 is just P(A∩B) — you must still divide by P(A) to get the conditional probability. …
- CA Foundation 2021Set dec-20211 markMCQQ.For any two dependent events A and B, P(A)=5/9 and P(B)=6/11 and P(A∩B)=10/33. What are the values of P(A/B) and P(B/A)? (A) 5/9, 6/11 (B) 5/6, 6/11 (C) 1/9, 2/9 (D) 2/9, 4/9
›Reveal solutionSolution
Divide the joint probability by the conditioning event's probability: P(A∣B)=5/9, P(B∣A)=6/11.
Step 1 — Apply the conditional probability formula for P(A∣B)
P(A∣B)=P(B)P(A∩B)=6/1110/33=3310×611=198110=95
Step 2 — Apply it for P(B∣A)
P(B∣A)=P(A)P(A∩B)=5/910/33=3310×59=16590=116
Step 3 — Sanity check
Since P(A)P(B)=(5/9)(6/11)=10/33=P(A∩B), the conditionals collapse to the marginals — consistent with the computed values. …
- CA Foundation 2021Set dec-20211 markMCQQ.In a group of 20 males and 15 females, 12 males and 8 females are service holders. What is the probability that a person selected at random from the group is a service holder given that the selected person is a male? (A) 0.40 (B) 0.60 (C) 0.45 (D) 0.55
›Reveal solutionSolution
Condition on males only: 12 service holders out of 20 males = 0.60.
Step 1 — Identify the reduced sample space
Given the person is male, only the 20 males matter.
Step 2 — Apply the conditional formula
P(service∣male)=total malesmale service holders=2012=0.60
Watch outDo not divide by the full group of 35 — the condition 'given male' shrinks the denominator to 20. …
🎓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.