SOLVER7 Study. Nothing Else.
Chapter 13 Miscellaneous Examples Q24

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.

CBSE Class 12 Maths · Probability

Solution

👶 Simple Explanation

Simple Explanation

Imagine a factory machine that is usually set up correctly. Most of the time it makes good products, but sometimes it is set up wrong and makes more bad ones. When we see two good products in a row, we want to guess whether the machine was set up right. Good machines make good products far more often than bad machines. So seeing two good products in a row is strong evidence the machine was set up correctly. We use a clever maths rule to turn that evidence into an exact probability.

Answer: The probability that the machine is correctly set up, given that it produced 2 acceptable items, is \[P(C \mid E) = \frac{81}{85} \approx 0.953.\]

📖 Machine Set-up Probability using Bayes' Theorem

Detailed Explanation

This is a classic Bayes' theorem problem. We are given some prior probabilities (how often the set-up is correct or incorrect) and a piece of evidence (the machine produced 2 acceptable items). We must find the reverse (posterior) probability that the set-up was correct, given this evidence. The key idea is that the two produced items are independent, so the probability of getting 2 acceptable items is the square of the probability of one acceptable item. Bayes' theorem then lets us flip the conditioning from P(evidence given cause) to P(cause given evidence).

Formula Used

Bayes' theorem: \[P(C \mid E) = \frac{P(C)\,P(E \mid C)}{P(C)\,P(E \mid C) + P(I)\,P(E \mid I)}\] Here \(C\) = correct set-up, \(I\) = incorrect set-up, \(E\) = event of getting 2 acceptable items.

Solution

  1. Step 1: Define the events. Let \(C\) be the event that the machine is correctly set up and \(I\) be the event that it is incorrectly set up. Let \(E\) be the event that the machine produces 2 acceptable items.
  2. Step 2: Write down the prior probabilities from the given data. Since 80% of set-ups are correct, \(P(C) = 0.8\) and \(P(I) = 0.2\).
  3. Step 3: Find the probability of 2 acceptable items under each set-up. If correctly set up, one item is acceptable with probability 0.9, so two independent acceptable items give \(P(E \mid C) = (0.9)^2 = 0.81\). If incorrectly set up, one item is acceptable with probability 0.4, so \(P(E \mid I) = (0.4)^2 = 0.16\).
  4. Step 4: Apply Bayes' theorem to find the required posterior probability. \[P(C \mid E) = \frac{P(C)\,P(E \mid C)}{P(C)\,P(E \mid C) + P(I)\,P(E \mid I)}\] Substituting the values: \[P(C \mid E) = \frac{0.8 \times 0.81}{0.8 \times 0.81 + 0.2 \times 0.16}\]
  5. Step 5: Compute the numerator and denominator. Numerator: \(0.8 \times 0.81 = 0.648\). Second term of denominator: \(0.2 \times 0.16 = 0.032\). So the denominator is \(0.648 + 0.032 = 0.680\).
  6. Step 6: Simplify the fraction. \[P(C \mid E) = \frac{0.648}{0.680} = \frac{648}{680} = \frac{81}{85}\] which is approximately \(0.9529\).

Final Answer

The probability that the machine is correctly set up, given that it produced 2 acceptable items, is \[P(C \mid E) = \frac{81}{85} \approx 0.953.\]

Common Mistake

A common mistake is using the single-item probabilities 0.9 and 0.4 directly instead of squaring them. Since the machine produced 2 acceptable items and the items are independent, you must use \((0.9)^2\) and \((0.4)^2\), not 0.9 and 0.4.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Name the events clearly. Let \(C\) denote the event that the machine is correctly set up, \(I\) denote the event that it is incorrectly set up, and \(E\) denote the event that both items produced are acceptable. — Reason: Labelling events precisely prevents confusion when substituting into Bayes' theorem later.
  2. Step 2: Record the prior (before-evidence) probabilities directly from the problem. Since 80% of all set-ups are correct: \[P(C) = 0.8, \quad P(I) = 0.2\] — Reason: These are the starting (prior) probabilities before any items are inspected; they form the weights in Bayes' theorem.
  3. Step 3: Find the conditional probability \(P(E \mid C)\). When the machine is correctly set up, each item is acceptable with probability \(0.9\). Because the two items are produced independently: \[P(E \mid C) = (0.9)^2 = 0.81\] — Reason: Independence means we multiply individual probabilities; squaring handles two identical trials.
  4. Step 4: Find the conditional probability \(P(E \mid I)\). When the machine is incorrectly set up, each item is acceptable with probability \(0.4\). Again using independence: \[P(E \mid I) = (0.4)^2 = 0.16\] — Reason: Same logic as Step 3, but under the inferior set-up where the acceptance rate is much lower.
  5. Step 5: Compute the total (unconditional) probability of \(E\) using the law of total probability: \[P(E) = P(C)\,P(E \mid C) + P(I)\,P(E \mid I)\] Substituting: \[P(E) = (0.8)(0.81) + (0.2)(0.16) = 0.648 + 0.032 = 0.680\] — Reason: \(P(E)\) is the denominator in Bayes' formula; it accounts for all possible ways the evidence could have arisen.
  6. Step 6: Apply Bayes' theorem to find the posterior probability \(P(C \mid E)\): \[P(C \mid E) = \frac{P(C)\,P(E \mid C)}{P(E)} = \frac{(0.8)(0.81)}{0.680} = \frac{0.648}{0.680}\] — Reason: Bayes' theorem scales the prior probability of \(C\) by how well \(C\) explains the observed evidence, then normalises by \(P(E)\).
  7. Step 7: Simplify the fraction. Multiply numerator and denominator by 1000 to clear decimals: \[\frac{0.648}{0.680} = \frac{648}{680}\] Divide both by 8: \[\frac{648}{680} = \frac{81}{85}\] As a decimal: \(\frac{81}{85} \approx 0.953\). — Reason: Expressing the answer as a simplified fraction gives an exact result, while the decimal form aids interpretation.

Final Answer

The probability that the machine is correctly set up, given that it produced 2 acceptable items, is \[P(C \mid E) = \frac{81}{85} \approx 0.953.\]

Common Mistake

One common mistake: using the single-item acceptance probability (e.g. \(0.9\) or \(0.4\)) directly as \(P(E \mid C)\) or \(P(E \mid I)\) instead of squaring it — since \(E\) is the event that BOTH items are acceptable, you must account for two independent trials by squaring the individual probability.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Prior probabilities: \(P(C) = 0.8\), \(P(I) = 0.2\).
  2. Step 2: Likelihoods: \(P(E \mid C) = (0.9)^2 = 0.81\), \(P(E \mid I) = (0.4)^2 = 0.16\).
  3. Step 3: Total probability: \(P(E) = (0.8)(0.81) + (0.2)(0.16) = 0.648 + 0.032 = 0.680\).
  4. Step 4: Bayes' theorem: \(P(C \mid E) = \dfrac{0.648}{0.680} = \dfrac{81}{85}\).

Answer: The probability that the machine is correctly set up, given that it produced 2 acceptable items, is \[P(C \mid E) = \frac{81}{85} \approx 0.953.\]

➕ More Examples

More Examples

Example 1

Question: A factory has two types of machines, Type A and Type B. Type A produces 85% acceptable items and Type B produces 50% acceptable items. From past records, 70% of the machines in use are of Type A and 30% are of Type B. A machine is selected at random and it produces 2 acceptable items in a row. Find the probability that the selected machine is of Type A.

Solution: Let \( E_1 \) be the event that the selected machine is Type A, and \( E_2 \) be the event that it is Type B. Let \( A \) be the event that the machine produces 2 acceptable items consecutively. Step 1: Write the prior probabilities. \[P(E_1) = 0.70, \quad P(E_2) = 0.30\] Step 2: Write the conditional probabilities of producing one acceptable item. For Type A: \( P(\text{one acceptable} \mid E_1) = 0.85 \) For Type B: \( P(\text{one acceptable} \mid E_2) = 0.50 \) Since the two items are produced independently: \[P(A \mid E_1) = (0.85)^2 = 0.7225\] \[P(A \mid E_2) = (0.50)^2 = 0.25\] Step 3: Compute the total probability of event \( A \) using the Law of Total Probability. \[P(A) = P(E_1) \cdot P(A \mid E_1) + P(E_2) \cdot P(A \mid E_2)\] \[P(A) = (0.70)(0.7225) + (0.30)(0.25)\] \[P(A) = 0.50575 + 0.075 = 0.58075\] Step 4: Apply Bayes' Theorem to find \( P(E_1 \mid A) \). \[P(E_1 \mid A) = \frac{P(E_1) \cdot P(A \mid E_1)}{P(A)}\] \[P(E_1 \mid A) = \frac{(0.70)(0.7225)}{0.58075}\] \[P(E_1 \mid A) = \frac{0.50575}{0.58075}\] Converting to fractions for exactness: \( 0.85 = \frac{17}{20} \), so \( (0.85)^2 = \frac{289}{400} \). Also \( 0.50 = \frac{1}{2} \), so \( (0.50)^2 = \frac{1}{4} \). \[P(A) = \frac{7}{10} \cdot \frac{289}{400} + \frac{3}{10} \cdot \frac{1}{4} = \frac{2023}{4000} + \frac{300}{4000} = \frac{2323}{4000}\] \[P(E_1 \mid A) = \frac{\dfrac{7}{10} \cdot \dfrac{289}{400}}{\dfrac{2323}{4000}} = \frac{\dfrac{2023}{4000}}{\dfrac{2323}{4000}} = \frac{2023}{2323}\]

Answer: \(P(E_1 \mid A) = \dfrac{2023}{2323}\)

Example 2

Question: A diagnostic test for a disease is being evaluated. When a patient has the disease, the test gives a positive result 95% of the time. When a patient does not have the disease, the test still gives a positive result (false positive) 20% of the time. It is known that 60% of patients sent for this test actually have the disease. A patient is tested and the result is positive on both of 2 independent tests conducted. Find the probability that the patient actually has the disease.

Solution: Let \( D \) be the event that the patient has the disease, and \( D^c \) be the event that the patient does not have the disease. Let \( A \) be the event that both independent tests give a positive result. Step 1: State the prior probabilities. \[P(D) = 0.60, \quad P(D^c) = 0.40\] Step 2: State the conditional probabilities for a single test. Probability of a positive result given the patient has the disease: \( P(+\mid D) = 0.95 \) Probability of a positive result given the patient does not have the disease: \( P(+\mid D^c) = 0.20 \) Since the two tests are independent: \[P(A \mid D) = (0.95)^2 = 0.9025\] \[P(A \mid D^c) = (0.20)^2 = 0.04\] Step 3: Compute the total probability of \( A \). \[P(A) = P(D) \cdot P(A \mid D) + P(D^c) \cdot P(A \mid D^c)\] \[P(A) = (0.60)(0.9025) + (0.40)(0.04)\] \[P(A) = 0.5415 + 0.016 = 0.5575\] Converting to fractions: \( 0.95 = \frac{19}{20} \) so \( (0.95)^2 = \frac{361}{400} \). Also \( 0.20 = \frac{1}{5} \) so \( (0.20)^2 = \frac{1}{25} \). \[P(A) = \frac{3}{5} \cdot \frac{361}{400} + \frac{2}{5} \cdot \frac{1}{25}\] \[P(A) = \frac{1083}{2000} + \frac{2}{125} = \frac{1083}{2000} + \frac{32}{2000} = \frac{1115}{2000} = \frac{223}{400}\] Step 4: Apply Bayes' Theorem. \[P(D \mid A) = \frac{P(D) \cdot P(A \mid D)}{P(A)}\] \[P(D \mid A) = \frac{\dfrac{3}{5} \cdot \dfrac{361}{400}}{\dfrac{223}{400}}\] \[P(D \mid A) = \frac{\dfrac{1083}{2000}}{\dfrac{223}{400}} = \frac{1083}{2000} \times \frac{400}{223} = \frac{1083}{5 \times 223} = \frac{1083}{1115}\]

Answer: \(P(D \mid A) = \dfrac{1083}{1115}\)

🎯 Try a Similar Question

Try a Similar Question

Question: A factory has two types of machine setups: correct and incorrect. When a machine is correctly set up, it produces 80% acceptable items. When incorrectly set up, it produces only 50% acceptable items. From past records, 70% of all setups are done correctly. After a particular setup, the machine produces 2 consecutive acceptable items (assumed independent). Find the probability that the machine was correctly set up.

Solution

  1. Step 1: Define the Events: Let \( C \) = event that the machine is correctly set up, and \( I \) = event that the machine is incorrectly set up. Let \( E \) = event that 2 consecutive acceptable items are produced.
  2. Step 2: Write the Prior Probabilities: From past records: \( P(C) = 0.70 \) and \( P(I) = 0.30 \).
  3. Step 3: Compute the Likelihoods: When correctly set up, the probability of one acceptable item is 0.80, so the probability of 2 independent acceptable items is \( P(E \mid C) = (0.80)^2 = 0.64 \). When incorrectly set up, the probability of one acceptable item is 0.50, so \( P(E \mid I) = (0.50)^2 = 0.25 \).
  4. Step 4: Compute the Total Probability of E: Using the law of total probability: \[P(E) = P(C) \cdot P(E \mid C) + P(I) \cdot P(E \mid I)\] Substituting values: \[P(E) = (0.70)(0.64) + (0.30)(0.25) = 0.448 + 0.075 = 0.523\]
  5. Step 5: Apply Bayes' Theorem: The probability that the machine is correctly set up given that 2 acceptable items were produced is \[P(C \mid E) = \frac{P(C) \cdot P(E \mid C)}{P(E)} = \frac{(0.70)(0.64)}{0.523} = \frac{0.448}{0.523}\]
  6. Step 6: Simplify the Result: Converting to fractions for exactness: \( P(C) = \frac{7}{10} \), \( P(E \mid C) = \frac{16}{25} \), \( P(I) = \frac{3}{10} \), \( P(E \mid I) = \frac{1}{4} \). So \[P(E) = \frac{7}{10} \times \frac{16}{25} + \frac{3}{10} \times \frac{1}{4} = \frac{112}{250} + \frac{3}{40}\] Converting to a common denominator of 1000: \[P(E) = \frac{448}{1000} + \frac{75}{1000} = \frac{523}{1000}\] Therefore: \[P(C \mid E) = \frac{\frac{7}{10} \times \frac{16}{25}}{\frac{523}{1000}} = \frac{\frac{112}{250}}{\frac{523}{1000}} = \frac{112}{250} \times \frac{1000}{523} = \frac{448}{523}\]

Answer: The probability that the machine is correctly set up, given that it produced 2 consecutive acceptable items, is \[P(C \mid E) = \frac{448}{523} \approx 0.857.\]

Everything you get with Solver7

More questions in Probability

Chapter 13 Examples Q1 65/4/1 2022 / Section A Q1 Chapter 13 Examples Q2 65/4/1 2022 / Section A Q2(a) Chapter 13 Examples Q3 65/4/1 2022 / Section A Q2(b) 65/4/2 2024 / Section A Q3 Chapter 13 Examples Q4 65/2/3 2026 / Section A Q4 Chapter 13 Examples Q5 65/2/1 2022 / Section A Q4 Chapter 13 Examples Q6 65/2/1 2022 / Section A Q5 Chapter 13 Examples Q7 Chapter 13 Examples Q8 65/2/2 2023 / Section A Q8 Chapter 13 Examples Q9 Chapter 13 Examples Q10 Chapter 13 Examples Q11 65/1/1 2024 / Section A Q11 65/2/1 2024 / Section A Q11 65/3/1 2024 / Section A Q11 Chapter 13 Examples Q12 65/1/1 2023 / Section A Q12 Chapter 13 Examples Q13 Chapter 13 Examples Q14 65/3/1 2023 / Section A Q14 Chapter 13 Examples Q15 Chapter 13 Examples Q16 65(B) 2026 / Section A Q16 Chapter 13 Examples Q17 65(B) 2026 / Section A Q17 Chapter 13 Examples Q18 65(B) 2026 / Section A Q18 65/2/1 2022 / Section C Q14(a) 65/3/1 2026 / Section A Q18 65/4/1 2023 / Section A Q18 65/4/1 2026 / Section A Q18 65/5/1 2026 / Section A Q18 Chapter 13 Examples Q19 65/1/1 2026 / Section A Q19 65/2/1 2022 / Section C Q14(b) 65/4/1 2022 / Section C Q14(a) Chapter 13 Examples Q20 65(B) 2026 / Section A Q20 65/4/1 2022 / Section C Q14(b) Chapter 13 Examples Q21 Chapter 13 Miscellaneous Examples Q22 Chapter 13 Miscellaneous Examples Q23 Exercise 13.1 Q1 Exercise 13.1 Q2 Exercise 13.1 Q3(i) Exercise 13.1 Q3(ii) 65/2/3 2026 / Section C Q26(a)i Exercise 13.1 Q3(iii) 65/2/3 2026 / Section C Q26(a)ii Exercise 13.1 Q4 65/2/3 2026 / Section C Q26(b) Exercise 13.1 Q5(i) 65/2/2 2023 / Section C Q28(a)