QlarIITy

MathematicsJEE Advanced 2016 · Paper 1Single correct

A computer producing factory has only two plants T1T_{1} and T2T_{2}. Plant T1T_{1} produces 20% and plant T2T_{2} produces 80% of the total computers produced. 7% of computers produced in the factory turn out to be defective. It is known thatPP (computer turns out to be defective given that it is produced in plant T1T_{1})=10P=10P (computer turns out to be defective given that it is produced in plant T2T_{2}),where P(E)P(E) denotes the probability of an event EE. A computer produced in the factory is randomly selected and it does not turn out to be defective. Then the probability that it is produced in plant T2T_{2} is

  1. Option A: 3673\frac{36}{73}
  2. Option B: 4779\frac{47}{79}
  3. Option C: 7893\frac{78}{93}
  4. Option D: 7583\frac{75}{83}
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Use the 7%7\% total to fix the defect rates (0.250.25 for T1T_{1} and 0.0250.025 for T2T_{2}), then apply Bayes' theorem to the observed event "not defective".

Concept refresher. If T1,T2T_{1},T_{2} partition the sample space and EE is the observed event, then

P(T2∣E)=P(T2)P(E∣T2)P(T1)P(E∣T1)+P(T2)P(E∣T2)P(T_{2}\mid E)=\frac{P(T_{2})P(E\mid T_{2})}{P(T_{1})P(E\mid T_{1})+P(T_{2})P(E\mid T_{2})}

Here the observed event is E=E= 'not defective' (Dˉ)(\bar{D}).

Approach. Use the total probability of a defect (7%) to find the two defect rates, convert them to non-defect rates, then apply Bayes' theorem.

  1. Step 1: Find the defect rates

    Let P(D∣T2)=pP(D\mid T_{2})=p, so P(D∣T1)=10pP(D\mid T_{1})=10p. By total probability:

    0.2(10p)+0.8p=0.07  ⟹  2.8p=0.07  ⟹  p=1400.2(10p)+0.8p=0.07\implies2.8p=0.07\implies p=\frac{1}{40}

    So P(D∣T1)=14P(D\mid T_{1})=\frac{1}{4} and P(D∣T2)=140P(D\mid T_{2})=\frac{1}{40}.

  2. Step 2: Non-defect rates

    P(Dˉ∣T1)=34,P(Dˉ∣T2)=3940P(\bar{D}\mid T_{1})=\frac{3}{4},\qquad P(\bar{D}\mid T_{2})=\frac{39}{40}
  3. Step 3: Apply Bayes' theorem

    P(T2∣Dˉ)=0.8×39400.2×34+0.8×3940=0.780.15+0.78=0.780.93=7893P(T_{2}\mid\bar{D})=\frac{0.8\times\frac{39}{40}}{0.2\times\frac{3}{4}+0.8\times\frac{39}{40}}=\frac{0.78}{0.15+0.78}=\frac{0.78}{0.93}=\frac{78}{93}

    Check: the denominator 0.93=1−0.070.93=1-0.07, as it must be.

Answer. (C)

Smart method. Imagine 1000 computers. T1T_{1} makes 200, of which 14\frac{1}{4}, i.e. 50, are defective (150 good). T2T_{2} makes 800, of which 140\frac{1}{40}, i.e. 20, are defective (780 good). Total defective =70=70, which is 7%, as given. Good computers =930=930, of which 780 are from T2T_{2}: probability 780930=7893\frac{780}{930}=\frac{78}{93}.

Why the other options are wrong

  • (A) 3673≈0.49\frac{36}{73}\approx0.49 is below the prior P(T2)=0.8P(T_{2})=0.8; a non-defective computer is evidence for the more reliable plant T2T_{2}, so the answer must exceed 0.80.8.
  • (B) 4779≈0.59\frac{47}{79}\approx0.59 is also below 0.80.8: it treats a good computer as evidence against T2T_{2}, the reverse of what the data say.
  • (D) 7583≈0.90\frac{75}{83}\approx0.90 is too large: the data fix P(T2∩Dˉ)=0.78P(T_{2}\cap\bar{D})=0.78 and P(Dˉ)=0.93P(\bar{D})=0.93, whose ratio is about 0.840.84.

Key takeaway

The trap. Plugging the defect rates into Bayes' formula is wrong here because the computer was found not defective, so the complements 1−P(D∣Ti)1-P(D\mid T_{i}) must be used.

How toppers think. They write down the observed event first and build every branch of the tree for exactly that event.

Remember. P(T2∣D′)=P(T2)P(D′∣T2)∑iP(Ti)P(D′∣Ti)P(T_{2}\mid D')=\frac{P(T_{2})P(D'\mid T_{2})}{\sum_{i}P(T_{i})P(D'\mid T_{i})}.

More on Bayes’ Theorem