Q.For the factory of the previous question (machines A, B, C producing 25%, 35%, 40% of output with defective rates 5%, 4%, 2% respectively), an item selected at random is found to be defective. Find the probability that it was manufactured by machine A.
🔒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 — Bayes' Theorem
Bayes' Theorem: Learning from Evidence
Imagine you have a bag with 3 red marbles and 7 blue marbles. If you pick one at random, the chance it's red is 3 out of 10 — that's straightforward. But now suppose someone picks a marble, doesn't show it to you, but tells you it's not blue. Suddenly, the only possibilities left are the red marbles. The probability that the hidden marble is red jumps to 1 (certainty). You just updated your belief based on new evidence.
That's the core idea of Bayes' Theorem: how to revise a probability when you get new information. It answers the question: Given that I now know B happened, how should I change my belief about A?
The Intuition in One Sentence
Bayes' Theorem says: The probability that A is true, given that B is true, equals the probability that B would happen if A were true, times the original probability of A, divided by the overall probability of B.
In other words: Your updated belief = (likelihood of the evidence under your hypothesis) × (your prior belief) / (total probability of the evidence).
The Precise Statement
Let A and B be two events. Then:
P(A∣B)=P(B)P(B∣A)⋅P(A)
Where:
- P(A∣B) is the posterior probability — what you want: the probability of A given that B occurred.
- P(B∣A) is the likelihood — how probable the evidence B is if A is true.
- P(A) is the prior probability — your initial belief about A before seeing any evidence.
- P(B) is the marginal probability of B — the total chance that B happens, regardless of A.
P(A∣B)=P(B)P(B∣A)⋅P(A)
Why It Works: A Simple Example
Suppose 1% of a population has a disease. A test for the disease is 99% accurate: it correctly identifies 99% of those who have it (true positive) and correctly says 99% of those who don't have it are negative (true negative). You take the test and get a positive result. What is the probability you actually have the disease?
Many people guess 99%. But that's wrong — and Bayes' Theorem shows why.
Let D = "has the disease", T+ = "tests positive". We know:
- P(D)=0.01 (prior)
- P(T+∣D)=0.99 (likelihood)
- P(T+∣not D)=0.01 (false positive rate)
First, find P(T+), the total probability of a positive test:
P(T+)=P(T+∣D)P(D)+P(T+∣not D)P(not D)
=(0.99)(0.01)+(0.01)(0.99)=0.0099+0.0099=0.0198
Now apply Bayes:
P(D∣T+)=0.01980.99×0.01=0.01980.0099=0.5
So even with a positive test, there's only a 50% chance you have the disease. The test is good, but the disease is rare — most positive results come from the large number of healthy people who get false positives. …
[!TLDR] Bayes: P(A∣D)=P(A)P(D∣A)/P(D), with P(D)=0.0345 from the previous question. [!ANSW …
P(A∩D)=0.25×0.05=0.0125. From the previous question, P(D)=0.0345. By Bayes' theorem, $P(A\mid D)=\dfrac{0.0125}{0.0345}=\dfrac{125}{345}=\dfrac{25}{69}\approx0 …
Use the numerator P(A)P(D∣A) over the already-computed total P(D) (the total probabil …
Using P(D∣A)=0.05 itself as the final answer (confusing the machine's own defect rate with the reverse, posterio …
- CBSE 2026Set ANNUAL1 markQ.(Continuing the doctor case study of Q.36) Name the theorem of probability used in (ii).
›Reveal solutionSolution
Finding the probability of a cause (mode of transport) given an observed effect (being late) is exactly what Bayes' theorem computes.
…
- CBSE 2026Set SEM31 markMCQQ.A person regularly watches on TV either the Discovery channel or a Sports channel at night. The probability of watching Sports channel is 54. The probability of him falling asleep while watching the Discovery channel is 43 and in case of Sports channel this probability is 41. Then the probability of watching the Discovery channel if some day the person falls asleep is(a) 53(b) 54(c) 74(d) 73
›Reveal solutionSolution
Use Bayes' theorem with P(D)=51, P(S)=54 and the given sleeping probabilities.
This is a textbook Bayes'-theorem application from the NCERT/CBSE Class 12 probability chapter.
Let D = watches Discovery, S = watches Sports. Given P(S)=54, so P(D)=51. Also P(sleep∣D)=43 and P(sleep∣S)=41.
Total probability of falling asleep: …
- CBSE 2025Set ANNUAL1 markQ.Given three identical Boxes-I, II and III, each containing two coins. In Box-I both coins are gold coins, in Box-II both coins are silver coins and in the Box-III, there is one gold coin and one silver coin. A person chooses a Box at random and takes out a coin. Based on the above information answer the following: If the coin drawn is gold, then what is the probability that it is drawn from Box-II?
›Reveal solutionSolution
Since Box-II has no gold coins at all, it is impossible for a drawn gold coin to have come from Box-II: probability =0, confirmed via Bayes' theorem.
Let E1,E2,E3 be the events of selecting Box-I, Box-II, Box-III respectively, each equally likely:
P(E1)=P(E2)=P(E3)=31
Let G be the event of drawing a gold coin. The conditional probabilities are:
P(G∣E1)=1,P(G∣E2)=0,P(G∣E3)=21
By the law of total probability,
P(G)=P(E1)P(G∣E1)+P(E2)P(G∣E2)+P(E3)P(G∣E3) …
- CBSE 2025Set ANNUAL1 markQ.Given three identical Boxes-I, II and III, each containing two coins. In Box-I both coins are gold coins, in Box-II both coins are silver coins and in the Box-III, there is one gold coin and one silver coin. A person chooses a Box at random and takes out a coin. Based on the above information answer the following: If the coin drawn is gold coin, then what is the probability that the other coin in the Box is also a gold coin?
›Reveal solutionSolution
The only box where the other coin is also gold is Box-I, so this probability equals P(Box-I∣gold)=32 by Bayes' theorem.
If the drawn coin is gold and the other coin in the same box is also gold, the box must be Box-I (the only box with two gold coins). So we need P(E1∣G).
Using the same events and probabilities as before:
P(E1)=31,P(G∣E1)=1,P(G)=21 (computed via total probability)
…
- CBSE 2020Set HE8231 markQ.Write true or false: Probability that A speaks truth is 54. A coin is tossed, A reports that a head appears. The probability that actually there was head is 54.
›Reveal solutionSolution
The statement is True — the computed probability is indeed 54.
Let E1: the coin actually shows head, E2: the coin actually shows tail, and H: A reports that head appeared.
P(E1)=P(E2)=21 (fair coin, each outcome equally likely).
Since A speaks the truth with probability 54: P(H/E1)=54 (reports head truthfully when head occurs) and P(H/E2)=51 (lies, reporting head when actually tail occurred).
By Bayes' theorem: …
🎓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.