Solveeit Logo

Question

Question: If a machine is correctly set up, it produces 90% Acceptable items. If it is incorrectly set up, it ...

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 experiences show that 80% of the setups are correctly done. if after a certain setup, the machine produces 2 acceptable items, find the probability that the machine is correctly set up.

Explanation

Solution

Hint: We need the probability that the machine is correctly set up. So, use the concept of conditional probability to find the probabilities of producing 2 acceptable items when it is given a correctly set up machine and also the probability of producing 2 items when it is given that machine is in incorrect setup. If three events A,B,C are such that AB=1A\cup B=1 and AB=0A\cap B=0 then we can write, the below formula:
P(A/C)=P(A)×P(C/A)P(A)×P(C/A)+P(B)×P(C/B)P\left( A/C \right)=\dfrac{P\left( A \right)\times P\left( C/A \right)}{P\left( A \right)\times P\left( C/A \right)+P\left( B \right)\times P\left( C/B \right)}

Complete step-by-step answer:
Let us assume following three conditions before solving the equation:
E1{{E}_{1}}: Event that machine is in the correct setup.
E2{{E}_{2}}: Event that the machine is in incorrect setup.
AA: Event that the machine produces two acceptable items.

By basic knowledge of probability, if three events A,B,C all such that AB=1A\cup B=1 and AB=0A\cap B=0 then we write formula:
P(A/C)=P(A)×P(C/A)P(A)×P(C/A)+P(B)×P(C/B)P\left( A/C \right)=\dfrac{P\left( A \right)\times P\left( C/A \right)}{P\left( A \right)\times P\left( C/A \right)+P\left( B \right)\times P\left( C/B \right)}
Here we have,
A=E1,B=E2,C=A  \begin{aligned} & A={{E}_{1}},\,\,B={{E}_{2}},\,\,C=A \\\ & \\\ \end{aligned}
By substituting these in above formula, we convert it into:
P(E1/A)=P(E1)×P(A/E1)P(E1)×P(A/E1)+P(E2)×P(A/E2).......(i)P\left( {{E}_{1}}/A \right)=\dfrac{P\left( {{E}_{1}} \right)\times P\left( A/{{E}_{1}} \right)}{P\left( {{E}_{1}} \right)\times P\left( A/{{E}_{1}} \right)+P\left( {{E}_{2}} \right)\times P\left( A/{{E}_{2}} \right)}.......(i)
For solving above equation, we need value of P(E1),P(E2),P(A/E1),P(A/E2)P\left( {{E}_{1}} \right),P\left( {{E}_{2}} \right),P\left( A/{{E}_{1}} \right),P\left( A/{{E}_{2}} \right), for these values we have following cases:
Case 1: Solving for the value of P(E1)P\left( {{E}_{1}} \right): Probability of correct setup
P(E1)=80%=80100P\left( {{E}_{1}} \right)=80\%=\dfrac{80}{100}
Case 2: Solving for the value of P(E2)P\left( {{E}_{2}} \right): Probability of machine with incorrect setup.
P(E1)=(10080)%=20%P\left( {{E}_{1}} \right)=\left( 100-80 \right)\%=20\%
By simplifying above we can say that P(E2)=0.2P\left( {{E}_{2}} \right)=0.2
Case 3: Solving for P(A/E1)P\left( A/{{E}_{1}} \right): Probability of 2 acceptable items if it is given it has the correct setup. Given that it is 90% for producing acceptable items with correct setup.
It is given for 1 item but we have 2 items. So, we get:
P(A/E1)=90%×90%=0.9×0.9P\left( A/{{E}_{1}} \right)=90\% \times 90\%=0.9\times 0.9
By simplifying above we can say that
P(A/E1)=0.81P\left( A/{{E}_{1}} \right)=0.81
Case 4: solving for P(A/E2)P\left( A/{{E}_{2}} \right): Probability of 2 acceptable items with incorrect setup.
Given that it is 40% for producing acceptable items with incorrect setup.
It is given for 1 item but we have 2 items. So, we get:
P(A/E2)=40%×40%=0.4×0.4P\left( A/{{E}_{2}} \right)=40\% \times 40\%=0.4\times 0.4
By simplifying the above equation, we can say value of the P(A/E2)P\left( A/{{E}_{2}} \right) =0.16
By substituting these values into equation (i), we get:
P(E1/A)=0.8×0.810.8×0.81+0.2×0.16=0.6480.680P\left( {{E}_{1}}/A \right)=\dfrac{0.8\times 0.81}{0.8\times 0.81+0.2\times 0.16}=\dfrac{0.648}{0.680}
By solving above equation, we get the value as follows:
P(E1/A)=0.95P\left( {{E}_{1}}/A \right)=0.95
Therefore, the probability of the machine being correctly set up if it produces 2 acceptable items is 0.95.

Note: Be careful while applying the formula of P(E1/A)P\left( {{E}_{1}}/A \right) as if you write representation wrongly you may lead to different answers. Don’t forget to multiply the terms 2 times in case 3, 4 as the given value is for 1 item. If you don’t take this step you may lead to the wrong answer.